hecknes

ForceField

Nov 11th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. local tweenservice = game:GetService("TweenService")
  2.  
  3.  
  4. local part = Instance.new("Part",game.Workspace)
  5. part.Name = ("Insance")
  6. local weld = Instance.new("Weld",part)
  7. weld.Part0 = part
  8.  
  9.  
  10. local plr = game.Players.LocalPlayer
  11. local mouse = plr:GetMouse()
  12.  
  13. local char = plr.Character
  14. local hum = char:WaitForChild("Humanoid")
  15. part.CanCollide = false
  16. part.Anchored = true
  17. part.Transparency = 1
  18.  
  19.  
  20. local en = true
  21. mouse.KeyDown:connect(function(key)
  22. if not en then return end
  23. en = false
  24. if key == "x" then
  25. part.CFrame = char.UpperTorso.CFrame
  26. part.Transparency = 0.7
  27. part.Shape = ("Ball")
  28. part.Material = ("Neon")
  29. part.BrickColor = BrickColor.new("Toothpaste")
  30. weld.Part1 = char.HumanoidRootPart
  31.  
  32.  
  33.  
  34. local tweenservice = game:GetService("TweenService")
  35. wait(1)
  36.  
  37. local tweeningInfo = TweenInfo.new(
  38.  
  39. 3, -- Length
  40. Enum.EasingStyle.Linear, -- Easing style
  41. Enum.EasingDirection.Out,
  42. 100000000000,
  43. true,
  44. 0.05
  45.  
  46.  
  47.  
  48. )
  49.  
  50.  
  51. local partPR = {
  52.  
  53. Size = Vector3.new(10,10,10);
  54. Color = Color3.fromRGB(255,255,0);
  55.  
  56.  
  57.  
  58. }
  59.  
  60. local tween = tweenservice:Create(part,tweeningInfo,partPR)
  61. wait()
  62. tween:Play()
  63. for i = 1,100000000000000000000000000000000000,1 do
  64. part.Position = char.UpperTorso.Position
  65. hum.Health = hum.Health + 1000000000000000000000000000000000000
  66. hum.MaxHealth = 1000000000000000000000000000000000000
  67. wait()
  68.  
  69. end
  70.  
  71.  
  72. end
  73. wait(100000000000000000000000000)
  74. en = true
  75. end)
Advertisement
Add Comment
Please, Sign In to add comment