Hello, I am making an Escape game and when you touch a checkpoint it turns green But only for that player unless another player touches it and it turns green for them etc. I have tried watching a video but it doesn’t seem work it stays the same color.
this is the Local script Inserted in Starter GIU
local part = game.Workspace.spawn1
part.Touched:Connected (function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
part.BrickColor = BrickColor.new("Lime green")
end
end)
I am not the best at scripting
I know how to make a brick change color when touched but not locally
Thanks in advanced Epicyann10