---------- IGNORE ---------- if game.UserInputService.TouchEnabled and not game.UserInputService.KeyboardEnabled then --Mobile lp:Kick("How smart can you be to do this?") elseif game.GuiService:IsTenFootInterface() then --Console lp:Kick("Okay..I give up..How is this possible") end ---------------------------- lp = game.Players.LocalPlayer local d = 4 -- delay until it will share bomb getgenv().TpBack = false getgenv().AlwaysGetRid = false getgenv().AlwaysGiveLastSecond = false local part = Instance.new("Part",game.Workspace) part.Name = "Your Mum" part.Anchored = true part.Transparency = 0.98 part.Position = Vector3.new(-973.9384765625, 78.19808959960938, -7.505751132965088) part.Size = Vector3.new(1000, 0.1, 1000) local function ExplodeMummyWithHugeBomb() -- weirdo.. local c = lp.Character or lp.CharacterAdded:Wait() local rp = game.Players:GetPlayers()[math.random(1,#game.Players:GetPlayers())] if rp ~= lp and c:FindFirstChildWhichIsA("Tool") then print("I am going to pass the bomb to: "..rp.Name) local hrp = rp.Character and rp.Character:FindFirstChild("HumanoidRootPart", 0.5) local lhrp = c and c:FindFirstChild("HumanoidRootPart", 0.5) repeat if lhrp and hrp then lhrp.CFrame = hrp.CFrame end task.wait(0.05) until not c:FindFirstChildWhichIsA("Tool") task.wait() if getgenv().TpBack then lhrp.CFrame = part.CFrame * CFrame.new(0,4,0) end end end local function ClaimMummyBomb() local c = lp.Character or lp.CharacterAdded:Wait() for _, p in pairs(game.Players:GetPlayers()) do if p ~= lp and p.Character:FindFirstChildWhichIsA("Tool") then print(p.Name.."is holding the god damn bomb!") local hrp = p.Character and p.Character:FindFirstChild("HumanoidRootPart", 0.5) local lhrp = c and c:WaitForChild("HumanoidRootPart", 0.5) repeat if lhrp and hrp then lhrp.CFrame = hrp.CFrame end task.wait(0.05) until not p.Character:FindFirstChildWhichIsA("Tool") -- Simply, because: lp may haven't collected, no matter if he tried task.wait() if getgenv().TpBack then lhrp.CFrame = part.CFrame * CFrame.new(0,4,0) end end end end function TeleportToSafeMummyZone() local c = lp.Character or lp.CharacterAdded:Wait() local lhrp = c and c:FindFirstChild("HumanoidRootPart", 0.5) if lhrp then lhrp.CFrame = part.CFrame * CFrame.new(0,10,0) end end function AfterYouBlowOnMummyEffect() -- Wth ClaimMummyBomb() task.wait() for _, t in pairs(Enum.HumanoidStateType:GetEnumItems()) do game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(t, false) end game.Players.LocalPlayer.Character.Humanoid:ChangeState(4) task.wait(0.2) end game.UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Z then ClaimMummyBomb() elseif input.KeyCode == Enum.KeyCode.E then getgenv().TpBack = not getgenv().TpBack elseif input.KeyCode == Enum.KeyCode.X then ExplodeMummyWithHugeBomb() elseif input.KeyCode == Enum.KeyCode.C then AfterYouBlowOnMummyEffect() elseif input.KeyCode == Enum.KeyCode.V then TeleportToSafeMummyZone() elseif input.KeyCode == Enum.KeyCode.Q then getgenv().AlwaysGetRid = not getgenv().AlwaysGetRid repeat ExplodeMummyWithHugeBomb() task.wait(0.1) until getgenv().AlwaysGetRid == false elseif input.KeyCode == Enum.KeyCode.R then getgenv().AlwaysGiveLastSecond = not getgenv().AlwaysGiveLastSecond repeat if lp.Character.Head:FindFirstChild("BombTimerBillboard") and tonumber(lp.Character.Head:FindFirstChild("BombTimerBillboard").TimerText.Text:match("%d+")) < d then ExplodeMummyWithHugeBomb() end for _, p in pairs(game.Players:GetPlayers()) do if p and p.Character and p.Character.Head:FindFirstChild("BombTimerBillboard") and tonumber(p.Character.Head:FindFirstChild("BombTimerBillboard").TimerText.Text:match("%d+")) > d then ClaimMummyBomb() -- I could simply remake that (due to not-necessary statements inside the function), but nevermind. end end task.wait(0.1) until getgenv().AlwaysGiveLastSecond == false end end)