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()
wait(10) -- replace 10 with the time in seconds you want to wait game.Workspace.Part.Material="Slate"