I am making a FPS game, and I find it disturbing when the player’s shirt is identical to the color of the weapon. So what I am trying to do is make so that the player’s shirt is removed or invisible when the tool is equipped and the only local player should be affected by this script. So that any other player sees the local player with the shirts. (Sorry, if i was bad at explaining what I wanted, this is my first forum)
local Tool = script.Parent
Tool.Equipped:Connect(function()
local Character = Tool.Parent
local Shirt = Character:FindFirstChildOfClass("Shirt")
if Shirt then
Shirt:Destroy()
end
end)
Your explanation was fine, this would be a local script placed inside the tool.