Script doesnt work even though there is no errors at all

there is no need for events since the game is singleplayer
and finding a part would be pointless since the game is gonan have tons of the same part
also no there is no need for a tool again

thats literally what i did bro

no you just did color. color3 is different

It says script.Parent.Color here.

Edit after 1 minute:
You could also use BrickColor and BrickColor.new() if you want.

1 Like

image
image

Based off the error, It’s trying to change the color of replicated storage. Which isn’t possible.

Oh, I see now. Indeed Color and Color3 are not a valid properties of ReplicatedStorage.

Edit after 1 minute:
Therefore it’s looking for a child or event of ReplicatedStorage called “Color3”, which there isn’t.

1 Like

Yep, trying explaining that earlier too

What part’s color you’re trying to change? (Also back)
You cannot change ReplicatedStorage’s color.
If you want to change a part’s color on Workspace you can use this:

game.Workspace:FindFirstChild("YourPartName").BrickColor = BrickColor.new("ColorName")
2 Likes

Or you could use a custom color:

game.Workspace:WaitForChild("YourPartName").Color3 = Color3.fromRGB(r, g, b)
2 Likes

but that just changes the color WITH the mode. i only want to change it on a specific mode
which iirc its already in one of the scripts

I have no idea what you mean. We are trying to help you locate the part you want to change right now lol.

1 Like

Can you send the file of it? It might be easier to fix it.

I’ve already sent a file with a fix. And it works. Now we are trying to figure out what he wants to do with a module.

1 Like

so basically we know the part of the color module is this right
image
this line in the tool makes it so when we click the part it only changes if its on a specific mode
but this just makes it so when we click the part it changes the mode with it

This is correct. Before it was script.Parent which was ReplicatedStorage.

ok but the thing is this needs to work when clicked on a specific mode
the thing is when i playtest this and click the part it just changes the color AND the mode
which is wrong and it should change the color on the specific mode

So you want the module to be run when tool is on a specific mode. Then there’s no problems anymore(errors) so you can just mark this thread as solved. (You can mark the file message I’ve sent to you as solved since that solves the error in the localscript.)

no there IS problems
watch this video (me staring at the part is just me trying to click)

What do you mean? Please be more specific so we can help you.