Advertisement
princeofheaven

Untitled

Aug 23rd, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. script.Parent = game.Players.PrinceOfHeaven.Backpack
  2. player = game.Players.LocalPlayer
  3. mouse = player:GetMouse()
  4. function onKeyDown(key)
  5. Key = key:lower()
  6. if Key == "z" then
  7. x = Instance.new("Part")
  8. x.BrickColor = BrickColor.new("Bright red")
  9. x.Size = Vector3.new(10, 10, 10)
  10. x.TopSurface = "Smooth"
  11. x.BottomSurface = "Smooth"
  12. x.Shape = "Ball"
  13. x.Transparency = 0.5
  14. x.Touched:connect(function(hit)
  15. hit.Parent.Humanoid.Health = 0
  16. end)
  17. y = Instance.new("BodyVelocity")
  18. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  19. y.velocity = player.Character.Torso.CFrame.lookVector*80
  20. x.Parent = Workspace
  21. y.Parent = x
  22. f = Instance.new("Fire", x)
  23. f.Size = 12
  24. f.Heat = 0
  25. spawn(function()
  26. for i = 1,100 do
  27. wait()
  28. torsoc = CFrame game.Players.PrinceOfHeaven.Character.Torso.CFrame
  29. x.torsoc * CFrame.new(i,0,0)
  30. end
  31. end)
  32. wait(6)
  33. x:remove()
  34. y:remove()
  35.  
  36. end
  37. end
  38. mouse.KeyDown:connect(onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement