Advertisement
impreston

Untitled

Sep 13th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. local ball = Instance.new("Part")
  2. ball.Shape = "Ball"
  3. ball.Color = Color3.fromRGB(255,0,0)
  4. ball.Material = "Neon"
  5. ball.CanCollide = false
  6. ball.Anchored = true
  7. ball.Size = Vector3.new(7,7,7)
  8. ball.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  9. ball.Parent = game.Workspace
  10.  
  11. for i=1,150 do
  12. ball.Size = Vector3.new(1,1,1)
  13. ball.Transparency = ball.Transparency + .005
  14. wait(.001)
  15. end
  16.  
  17. ball.Touched:Connect(function(th)
  18. if th.Parent:FindFirstChild("Humanoid") and th.Parent.Parent.Name ~= game.Players.LocalPlayer.Name then
  19. th.Parent:FindFirstChild("Humanoid").Health =th.Parent:FindFirstChild("Humanoid").Health - 50
  20. end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement