Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Make game.workspace.BasePlate.Anchored=false unanchored after some time?

Hi, I'm new to scripting and I want to learn by myself and hopefully with help from others. So far, I know how to do basic commands like game.workspace.BasePlate.Anchored=false . But I want to know how do I make it so that I can make the brick unanchored after some time using the line above?

1 answer

You can add a wait(), so the script will wait the amount of time you put in between the brackets, before it continues on. Example would be:

wait(5) -- 5 is the amount of time it would wait before it goes on, you can change it.
game.Workspace.BasePlate.Anchored = false

Hope that helped!

3 comments

0

Thanks! I just realized that Workspace and Anchored weren't capitalized.

0

No problem, if the answer helped, please accept it.

0

Just in case it isn't obvious, the time you put in wait is in seconds

This discussion is preserved as it was. New answers, comments, and votes are closed.