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

Can LocalScripts be put on parts?

If I make a local script for when you touch a part it disappears and put it on a part. If one person activates the script, will someone else have to touch the part to make it disappear? If not, how?

I'm just double checking.

3 comments

0

Are you trying to create local parts?

0

I just want to know how to make parts that are only changed on one client.

0

Use instance.new("Part") in a local script to create local parts

1 answer

✓ Accepted answer

To answer your question, no, local scripts will not run under the parent of the workspace. Local scripts only work when placed in the StarterGui, StarterPack, StarterCharacterScripts, or StarterPlayerScripts.

However if you have the the local scripts under one of these parents you can access the workspace, but anything you do won't replicate to other clients because of FE (filtering enabled).

So I wouldn't use a local script in your case because the part will only disappear on one client. I would recommend just using a normal script parented under the part.

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