Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help? Berezaa's Door

Asked by 8 years ago

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

Answer this question