How do I put a wait function at the start of the function? can someone please help me
2.game.workspace.Part.Material="Slate"
To wait a certain amount of time in scripts, use wait()
1 | wait( 10 ) -- replace 10 with the time in seconds you want to wait |
2 | game.Workspace.Part.Material = "Slate" |