how to open after howers later in roblox
It sounds like you want to know how to make something open after hours later in Roblox, like a door or gate that unlocks after a timer. A simple way is to set a wait time, then change the part’s visibility and collision so players can pass through it.
Simple Roblox door script
Put a Script inside the door part:
lua
local door = script.Parent
task.wait(3600) -- 1 hour
door.Transparency = 1
door.CanCollide = false
If you want it to close again later , you can add another wait and switch
the values back. Roblox DevForum examples use Transparency and CanCollide
for this exact behavior.
If you want a repeating timer
lua
local door = script.Parent
while true do
task.wait(3600) -- closed for 1 hour
door.Transparency = 1
door.CanCollide = false
task.wait(10) -- open for 10 seconds
door.Transparency = 0
door.CanCollide = true
end
That version makes the door open every hour, stay open for 10 seconds, then close again.
If you meant the Roblox game
There are walkthrough videos and a wiki page for After Hours on Roblox, which suggest it is a horror game about surviving overnight in a store. If you meant how to open a specific door or area in that game, the exact solution depends on the chapter or room.
Short version
- Use
task.wait(time)for the delay.
- Set
Transparency = 1to hide the door.
- Set
CanCollide = falseso players can walk through it.
- Reverse those values to close it again.
If you want, I can turn this into a version for a ProximityPrompt , a button , or a key door.