Problem with this script

This script does not work.
If you know the reason, it would be very helpful.
Thanks!

local Players = game:GetService("Players")
local Player = Players.LocalPlayer

local Backpack = Player.Backpack

local MyBrush = Backpack.MyBrush

MyBrush.Equipped:Connect(function()
	print("Brush equipped!!!!!!")
end)

StarterPlayer>StarterPlayerScripts>Brush(LocalScript)

1 Like

is the ‘RequiresHandle’ property under your tool set to false?

image

set it to false
chars chars chars

Nothing :confused:

This text will be hidden

Notice that when you are equipping that tool, it will now be inside the character and not in Backpack

I assume this is why it happens.

To fix it, assign it with script.Parent with a local script inside the tool.

1 Like