asdasdasdasdaaaa

Untitled

Jun 30th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3. mouse = plr:GetMouse()
  4.  
  5. plr.Character.Humanoid.MaxHealth = math.huge
  6. plr.Character.Humanoid.Health = math.huge
  7.  
  8.  
  9. mouse.KeyDown:connect(function(key)
  10. if key == "f" then
  11. local orb = Instance.new("Part",char)
  12. orb.CanCollide = false
  13. orb.Size = Vector3.new(5,5,5)
  14. orb.Position = char.Torso.Position
  15. orb.Transparency = 0.5
  16. orb.Locked = true
  17. orb.Material = "Neon"
  18. orb.Shape = "Ball"
  19. orb.Touched:connect(function(hit) if hit:IsDescendantOf(char) ~= true and hit.Name ~= "Base" then
  20. hit.Character.Humanoid.MaxHealth = -25
  21. hit.Character.Humanoid.Health = -25
  22. orb.Size = Vector3.new(6,6,6)
  23. wait(0.199)
  24. orb.Size = Vector3.new(7,7,7)
  25. wait(0.199)
  26. orb.Size = Vector3.new(8,8,8)
  27. wait(0.199)
  28. orb.Size = Vector3.new(9,9,9)
  29. wait(0.199)
  30. orb:Remove() end end)
  31. game:GetService("Debris"):AddItem(orb,4)
  32. local bv = Instance.new("BodyVelocity",orb)
  33. orb.CFrame = CFrame.new(orb.Position,mouse.hit.p)
  34. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  35. bv.velocity = orb.CFrame.lookVector*150
  36. end
  37. end)
Advertisement
Add Comment
Please, Sign In to add comment