The script below isn’t working. Is there a fix to it?
local man = part.Parent:FindFirstChild("Humanoid")
script.Parent.Touched:Connect()function part()
if man then
workspace.door.CanCollide = false
end
end
The script below isn’t working. Is there a fix to it?
local man = part.Parent:FindFirstChild("Humanoid")
script.Parent.Touched:Connect()function part()
if man then
workspace.door.CanCollide = false
end
end