New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

How do i make a Anchored block with script?

Asked by 8 days ago

Please tell me were i went wrong..

game.Workspace.Door = true
0
hahahah valledestroy 36 — 8d

2 answers

Log in to vote
1
Answered by 8 days ago

What are you trying to do? You are just setting up a boolean value with the part, not the part's property.

game.Workspace.Door.Anchored = true
0
HOw come i never understand these scripts :( , wait... can you do the same thing with a local variable? iivSnooxy 41 — 8d
0
Not really understood by what you said. Ask that in another question SilentsReplacement 440 — 8d
0
Is it possible that I could Anchor an object by using a local variable, if so how? iivSnooxy 41 — 8d
0
You declare the variable for the part for e.g local part = game.Workspace.Part and then you set the variable to anchored since you already defined it SilentsReplacement 440 — 7d
Ad
Log in to vote
1
Answered by 8 days ago

you have to write:

game.Workspace.Door.Anchored = true
0
because you cant set the door to true hahahhah valledestroy 36 — 8d
0
Dang best me to the easy one. SethHeinzman 268 — 8d
0
Dang best me to the easy one. SethHeinzman 268 — 8d

Answer this question