Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 9 years ago

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

Log in to vote
1
Answered by
Scriptree 125
9 years ago

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!

0
Thanks! I just realized that Workspace and Anchored weren't capitalized. redeyemeat 0 — 9y
0
No problem, if the answer helped, please accept it. Scriptree 125 — 9y
0
Just in case it isn't obvious, the time you put in wait is in seconds DigitalVeer 1473 — 9y
Ad

Answer this question