Greetings, I’ve been making an One Way Door, I did get a script which was helpful and working but the problem with the door is that players could stay IN the door making them go inside or outside, which is pretty annoying if you ask me, even sometimes players reach the censor switching ON the door. Any helpful script? Any helpful videos on YouTube? Someone?
Thanks!
Script:
censor = game.Workspace.Censor
door= game.Workspace.Door
debounce = true
function touchingCensor(hit)
if debounce == true then
debounce = false
print("touched")
door.CanCollide = false
door.Transparency = 1
wait(2)
door.CanCollide = true
door.Transparency = 0
debounce = true
end
end
censorPart.Touched:Connect(touchingCensor)