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

How do i make a Anchored block with script?

Please tell me were i went wrong..

game.Workspace.Door = true

1 comment

0

hahahah

2 answers

✓ Accepted answer

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

4 comments

0

HOw come i never understand these scripts :( , wait... can you do the same thing with a local variable?

0

Not really understood by what you said. Ask that in another question

0

Is it possible that I could Anchor an object by using a local variable, if so how?

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

you have to write:

game.Workspace.Door.Anchored = true

3 comments

0

because you cant set the door to true hahahhah

0

Dang best me to the easy one.

0

Dang best me to the easy one.

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