I need help with something

This question Is kinda dumb but I need help with a script, I wanna made a button that when a player presses It turns neon but I want It to turn neon only for the player that pressed It.

1 Like

Change the color of the light client-side.

I’m pretty sure you can listen for ProximityPrompts and ClickDetectors on the client aswell.

Use LocalScript if you are not then do the common button script and add the function

Is the button on the screen (UI) or on a part/object?

LOCAL scriPt somewhere

local Part = workspace.Part1232
local ClickyThing = Part.ClickDetector

ClickyThing.MouseClick:Connect(function(Dude)
	Part.Material = Enum.Material.Neon
end)

works on starterplayerscripts