Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local hitbox = script.Parent:WaitForChild("Hitbox") or script.Parent:FindFirstChild("Hitbox")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local mutators = ReplicatedStorage:FindFirstChild("Mutators")
- repeat wait() until #hitbox:GetChildren() == 6
- for _,c in pairs(hitbox:GetChildren()) do
- c.Touched:Connect(function(touch)
- if not touch:FindFirstChild("kills") then return end
- local h = script.Parent:FindFirstChild("Humanoid")
- if not h then return end
- if mutators.Invincibility.Value then return end
- if h.Health == 0 then return end
- h.Health = 0
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement