Hi! I am currently trying a system where when a player touches a part it becomes and stays green and the other players do not see what has become green (they see its initial color in white). So I created a script and in it I put this:
local part = script.Parent
local player = game.Players.LocalPlayer
game.Players.PlayerAdded:Connect(function(player)
part.Touched:Connect(function(Hit)
script.Parent.BrickColor = BrickColor.new("Lime green")
end)
end)
my problem now is that everyone sees when the part changes color. Thank you in advance for your help!

5 comments
Hey! I have already tried this but it dont work for a part
I edited my answer, try this code instead
Hey, Ty for your help! I have putted this script and replaced the name of the part but it seems like it still dont work: there a video: https://streamable.com/vaznbi Ty in advance for your help!
edited again, fingers crossed it actually works now
Ty a lot!