Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- me = script.Parent.Parent
- Owner = script.Parent.ththth00
- function CreateTag(Attacker, VictimHumanoid)
- for i, v in pairs(VictimHumanoid:GetChildren()) do
- if v.Name == "creator" then
- v:Remove()
- end
- end
- Tag = Instance.new("ObjectValue")
- Tag.Parent = VictimHumanoid
- Tag.Name = "creator"
- Tag.Value = Attacker
- end
- function bleh(hit)
- humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid ~= nil then
- if humanoid.Parent ~= me then
- Ex = Instance.new("Explosion")
- Ex.Parent = Workspace
- Ex.BlastRadius = 8
- Ex.Position = hit.Parent.Torso.Position
- Ex.BlastPressure = 0
- 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)
- humanoid.Sit = true
- humanoid.Health = humanoid.Health - 30
- CreateTag(Owner.Value, humanoid)
- end
- end
- end
- script.Parent.Touched:connect(bleh)
Add Comment
Please, Sign In to add comment