Advertisement
Guest User

co

a guest
Nov 27th, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Char = Player.Character
  3. Torso = Char.Torso
  4. Mouse = Player:GetMouse()
  5.  
  6. function onKeyDown(key)
  7. key = key:lower()
  8. if key == "v" then
  9. Ball = Instance.new("Part")
  10. Ball.Parent = Workspace
  11. Ball.Shape = "Ball"
  12. Ball.Size = Vector3.new(5,5,5)
  13. Ball.BrickColor = BrickColor.new("Really red")
  14. Ball.Transparency = 0.4
  15. Ball.TopSurface = 0
  16. Ball.BottomSurface = 0
  17. Ball.CFrame = Torso.CFrame * CFrame.new(0,0.5,-5)
  18. Bv = Instance.new("BodyVelocity")
  19. Bv.Parent = Ball
  20. Bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  21. Bv.velocity = Torso.CFrame.lookVector * 100
  22. function Touched()
  23. Player.Head:Destroy
  24. game.Debris:AddItem(Ball,1.5)
  25.  
  26. end
  27.  
  28.  
  29. end
  30. script.Parent.Touched:connect(Touched)
  31. Mouse.KeyDown:connect (onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement