Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- me = script.Parent.Parent
- Owner = script.Parent.Owner
- function CreateTag(Attacker, VictimHumanoid)
- for i, v in pairs(VictimHumanoid:GetChildren()) do
- if v.Name == "yapjingwei" then
- v:Remove()
- end
- end
- Tag = Instance.new("ObjectValue")
- Tag.Parent = VictimHumanoid
- Tag.Name = "yapjingwei"
- Tag.Value = "thomasthomas15"
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement