Advertisement
Guest User

Roblox Force Field Script

a guest
Jun 1st, 2018
16,300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Mouse = Player:GetMouse()
  3. debounce = false
  4. Mouse.KeyDown:connect(function(Key)
  5. if not debounce then
  6. debounce = false
  7. if Key == 'r' then print("RClick")
  8. local Animate = Instance.new("Animation")
  9. local Sound = Instance.new("Sound")
  10. Sound.Parent = Player.Character["Head"]
  11. Sound.SoundId = "http://www.roblox.com/asset/?id=1436494061"
  12. Sound:Play()
  13. Animate.AnimationId = "http://www.roblox.com/asset/?id=01872705158"
  14. Animate.Name = "HelloEmo"
  15. local animLoader = Player.Character.Humanoid:LoadAnimation(Animate) print("LoadAnimate")
  16. animLoader:Play()
  17.  
  18. Player.Character.Humanoid.WalkSpeed = 0
  19. Player.Character.Humanoid.Health = 0.01
  20. Player.Character.Humanoid.PlatformStand = true
  21.  
  22. wait(2)
  23. Player.Character.Humanoid.PlatformStand = false
  24. Player.Character.Humanoid.Health = 100
  25. Player.Character.Humanoid.WalkSpeed = 70
  26.  
  27. local Sound = Instance.new("Sound")
  28. Sound.Parent = Player.Character["Head"]
  29. Sound.SoundId = "http://www.roblox.com/asset/?id=357613509"
  30. Sound:Play()
  31.  
  32.  
  33.  
  34. local ff = Instance.new("ForceField")
  35. ff.Parent = script.Parent.Parent.Character
  36. wait(7)
  37.  
  38. Player.Character.Humanoid.WalkSpeed = 70
  39.  
  40. end
  41. wait()
  42. debounce = false
  43. end
  44. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement