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

Walk threw able parts ?

How do you make a part able to be walk threw able ?

1 comment

1

Threw is the past tense of throw. "I threw a ball". Through is the word you are looking for. "I walked through the door".

3 answers

✓ Accepted answer

Epicyes13 is absolutely correct; however, I will help you scripting-wise. The 'CanCollide' property of a part uses a boolean value, which means true or false. It's rather quite easy to manipulate such through Lua code. Here is an example:

brick = script.Parent --Be sure to put this script inside of a brick
brick.CanCollide = false --Set to false; able to walk through

If you have any further questions, feel free to send me a message through ROBLOX.

~Misclear

In the properties of a part, there is a property called "CanCollide". If you set this to false, or unchecked, objects will go through it. Make sure it is anchored, or else it will fall through the baseplate.

There are two ways to do this; through the properties, or through script.

1 To make it walk-through make sure the 'Properties' tab is viewable, select your brick, and uncheck the CanCollide setting. Make sure your brick is Anchored (Another setting, right next to CanCollide) or else it will fall through the baseplate.

2 To make it walk-through via script; you can do this:

game.Workspace.Part.CanCollide = false -- change part to whatever your brick is named
game.Workspace.Part.Anchored = true -- this is so it doesn't fall through the baseplate

Hope I helped :)

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