Advertisement
Treyzotic

Untitled

Mar 15th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. me = script.Parent.Parent
  2.  
  3. kenjunjun = script.Parent.epiclightining
  4.  
  5. for i, v in pairs(VictimHumanoid:GetChildren()) do
  6. if v.Name == "creator" then
  7. v:Remove()
  8. end
  9. end
  10. Tag = Instance.new("ObjectValue")
  11. Tag.Parent = VictimHumanoid
  12. Tag.Name = "creator"
  13. Tag.Value = Attacker
  14. end
  15.  
  16. function bleh(hit)
  17. humanoid = hit.Parent:findFirstChild("Humanoid")
  18. if humanoid ~= nil then
  19. if humanoid.Parent ~= me then
  20. Ex = Instance.new("Explosion")
  21. Ex.Parent = Workspace
  22. Ex.BlastRadius = 8
  23. Ex.Position = hit.Parent.Torso.Position
  24. Ex.BlastPressure = 0
  25. 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)
  26. humanoid.Sit = true
  27. humanoid.Health = humanoid.Health - 30
  28. CreateTag(kenjunjun.Value, humanoid)
  29. end
  30. end
  31. end
  32. script.Parent.Touched:connect(bleh)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement