Script doesnt work even though there is no errors at all

Did you type script.Parent.Parent or is the localscript inside the tool?
It can’t get the module from backpack.

Try to make some checks.
Like local player = game.Players.LocalPlayer

If player:FindFirstChild(“Backpack”) then

1 Like

no, should i do that or no???

Show us how you did that please.

If you put the script outside of the tool how’s it supposed to work?

1 Like

Also here’s a video.

Baseplate - Roblox Studio 2021-02-03 17-23-11 on Vimeo

i typed this with 1 parent not 2
image

didnt you told me to put the local in the tool?

but then how does my scripts give a error? is it because i made a error? i cant see anything in that video so i cant understand

Yes I did. Let me fix the tool for you and give you the tool.

1 Like

tool (1).rbxm (8.0 KB)

(also somewhere in the script I said “change this to the toolname”, it’s supposed to be module’s name in game.replicatedstorage not the toolname)

now it just gives a error for the color???
image
image

What object’s color you are trying to change in the script?
If It’s in the tool then, change the module’s parent to the tool.
(Also change the game.replicatedstorage:findfirstchild to script.Parent:FindFirstChild(“ModuleName”) in the script.)

1 Like

your script.Parent is assigning to ReplicatedStorage. :open_mouth:

(If you want to change something in the tool, after doing what I said above, change the script.Parent to script.Parent:FindFirstChild(“PartName”).Color…

1 Like

its not about changing something in the tool tho.
im trying to change a part’s color with a mode
take a look at the game Q.U.B.E 2, that pretty much explains the point

but then again the mode in the module is referenced in a line for the part

Then you can use events if you want everyone to see it. Or put the module in the tool, and then find the part, then change the color of it.
I can give ya another tool model if ya want that.

Do script.Parent.Color3 or script.Parent.BackgroundColor3 or something like that.