Advertisement
gokusteve

Untitled

Jun 13th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1.  
  2. 1.me = script.Parent.Parent
  3.  
  4.  
  5. 2.
  6.  
  7.  
  8. 3.Owner = script.Parent.Owner
  9.  
  10.  
  11. 4.
  12.  
  13.  
  14. 5.function CreateTag(Attacker, VictimHumanoid)
  15.  
  16.  
  17. 6. for i, v in pairs(VictimHumanoid:GetChildren()) do
  18.  
  19.  
  20. 7. if v.Name == "gokusteve" then
  21.  
  22.  
  23. 8. v:Remove()
  24.  
  25.  
  26. 9. end
  27.  
  28.  
  29. 10. end
  30.  
  31.  
  32. 11. Tag = Instance.new("ObjectValue")
  33.  
  34.  
  35. 12. Tag.Parent = VictimHumanoid
  36.  
  37.  
  38. 13. Tag.Name = "creator"
  39.  
  40.  
  41. 14. Tag.Value = Attacker
  42.  
  43.  
  44. 15.end
  45.  
  46.  
  47. 16.
  48.  
  49.  
  50. 17.function bleh(hit)
  51.  
  52.  
  53. 18. humanoid = hit.Parent:findFirstChild("Humanoid")
  54.  
  55.  
  56. 19. if humanoid ~= nil then
  57.  
  58.  
  59. 20. if humanoid.Parent ~= me then
  60.  
  61.  
  62. 21. Ex = Instance.new("Explosion")
  63.  
  64.  
  65. 22. Ex.Parent = Workspace
  66.  
  67.  
  68. 23. Ex.BlastRadius = 8
  69.  
  70.  
  71. 24. Ex.Position = hit.Parent.Torso.Position
  72.  
  73.  
  74. 25. Ex.BlastPressure = 0
  75.  
  76.  
  77. 26. hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.new(math.random(-5, 5), 0, math.random(-5, 5)) * CFrame.Angles(0, math.random(-3, 3), 0)
  78.  
  79.  
  80. 27. humanoid.Sit = true
  81.  
  82.  
  83. 28. humanoid.Health = humanoid.Health - 30
  84.  
  85.  
  86. 29. CreateTag(Owner.Value, humanoid)
  87.  
  88.  
  89. 30. end
  90.  
  91.  
  92. 31. end
  93.  
  94.  
  95. 32.end
  96.  
  97.  
  98. 33.script.Parent.Touched:connect(bleh)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement