I have a door that will stay locked for a 5 minutes then unlock(not collide) and disappear. How would I make a gamepass to enter the door before the 5 minute wait time?
Here's the door(brick) disappearing script:
while true do
wait(300)
script.Parent.CanCollide=true
script.Parent.Transparency=0
wait(0,1)
script.Parent.CanCollide=false
script.Parent.Transparency=1
end
|