I’m trying to make a script work so that when you click a part it turns green for only 1 person. It’s not changing green for 1 person though and there is no hints in the output.
Localscripts will fire ClickDetector if it descends from player or character
try moving your localscript do starterplayerscripts…
i just checked here… it is working fine…
local clickDetector = game.Workspace.Part.ClickDetector
local part = game.Workspace.Part
local function onClick(plr)
part.Color = Color3.new(0.271214, 1, 0.270527)
end
clickDetector.MouseClick:Connect(onClick)