Advertisement
memberhero

Stop Time And Resume Time Script

Jan 12th, 2018
1,099
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. ---A JJBA Refrence Cuz What Else Am i Gonna Do?
  2. warn'Controls Z Is Stop Time And X Is Resume Time Amd E Is To Block'
  3. plr = game.Players.LocalPlayer
  4. mouse = plr:GetMouse()
  5. guardhp = 100--change this to your guard hp can even be infinte
  6. mouse.KeyDown:connect(function(k)
  7. k:lower()
  8. if k == "z" then
  9. print("Time has Stopped")
  10. sound = Instance.new("Sound",plr.Character)
  11. sound.SoundId = "rbxassetid://1055792303"
  12. sound:Play()
  13. for i,v in next, game.Players:GetChildren() do
  14. v.Character.Torso.Anchored = true
  15. wait(1)
  16. if plr.Character.Torso.Anchored == true then
  17. plr.Character.Torso.Anchored = false
  18. end
  19. end
  20. end
  21. end)
  22. mouse.KeyDown:connect(function(k)
  23. k:lower()
  24. if k == "x" then
  25. print("Time has Resumed")
  26. sound = Instance.new("Sound",plr.Character)
  27. sound.SoundId = "rbxassetid://864569342"
  28. sound:Play()
  29. for i,v in next, game.Players:GetChildren() do
  30. v.Character.Torso.Anchored = false
  31. end
  32. end
  33. end)
  34. mouse.KeyDown:connect(function(k)
  35. k:lower()
  36. if k == "e" then
  37. model = Instance.new("Model",game.Workspace)
  38. model.Name = plr.Name.."s Wall"
  39. Huma = Instance.new("Humanoid",model)
  40. Huma.Health = guardhp
  41. Huma.MaxHealth = guardhp
  42. Wall = Instance.new("Part",model)
  43. Wall.Size = Vector3.new(34, 15, 2)
  44. Wall.Name = "Head"
  45. Wall.Position = plr.Character.Torso.CFrame.lookVector*9
  46. wait(5)
  47. model:Remove()
  48. end
  49. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement