function onTouched(hit) local owner = script.Parent.Parent.Parent.Owner local h = hit.Parent:findFirstChild("Humanoid") if (h ~= nil) then if h.Parent.Name == owner.Value then script.Parent.CanCollide = false wait(2) script.Parent.CanCollide = true else h.Health = 0 end end end script.Parent.Touched:connect(onTouched)
Thats my Script for berezaa's tycoon kit door if anybody sees something wrong Tell us
Thanks -RobloxGloryGroup