Advertisement
quanito600x

Untitled

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