how i new am roblox studio
You can use a wait() function to delay the script for x amount of seconds. For example,
1 | wait( 3 ) -- Number of seconds for the delay |
2 | script.Parent.Visible = false -- Sets the visibility of the UI that the script is attached to as false |
Use the wait() function and change the amount of time in the wait function. (I’m replying to your little brother momgggbghghghghg)
1 | brick.Anchored = true -- just to make sure the brick is anchored |
2 | wait( 4 ) -- the delay |
3 | script.Parent.Transparency = 1 -- part transparency, to make a GUI Invisible, make it Visible. |
4 |
5 | script.Parent.CanCollide = false -- delete this line if you don’t want this brick to be go though |