Advertisement
Vawntei

Untitled

Jul 28th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. player = script.Parent.Parent
  2. char = player.Character
  3. tool1 = Instance.new("Tool",player.Backpack)
  4. tool1.RequiresHandle = false
  5. enabled = false
  6.  
  7. tool1.Activated:connect(function()
  8. if not enabled then enabled = true
  9. wait()
  10. local rasen = Instance.new("Part",workspace)
  11. rasen.Shape = "Ball"
  12. rasen.BrickColor = BrickColor.new("Teal")
  13. rasen.Size = Vector3.new(1.5,1.5,1.5)
  14. rasen.Transparency = 0.5
  15. local weld = Instance.new("Weld")
  16. weld.Part0 = char["Right Arm"]
  17. weld.Part1 = rasen
  18. weld.Parent = weld.Part0
  19. weld.C0 = weld.C0 * CFrame.new(0,-1.5,0)
  20. local rs = char.Torso["Right Shoulder"]
  21. rs.C0 = rs.C0 * CFrame.Angles(0,0,1.5)
  22. char.Humanoid.WalkSpeed = 50
  23. rasen.Touched:connect(function(hit)
  24. if hit.Parent:FindFirstChild("Humanoid")then
  25. local enabled = false
  26. if not enabled then enabled = true
  27. hit.Parent.Humanoid:TakeDamage(25)
  28. rasen:Destroy()
  29. char.Humanoid.WalkSpeed = 16
  30. enabled = false
  31. rs.C0 = rs.c0 * CFrame.Angles(0,0,-1.5)
  32. end
  33. end
  34. end)
  35. wait(5)
  36. rasen:Destroy()
  37. char.Humanoid.WalkSpeed = 16
  38. wait(8)
  39. enabled = false
  40. end
  41. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement