I need a tool to detect a change of a value in Workspace, but the script won't detect it, any help?
while true do
if game.Workspace.Value.Value == 1 then
script.Parent.Part.Material = Enum.Material.Neon
else
script.Parent.Part.Material = Enum.Material.Plastic
end
wait(1)
end
This is the script I've used, won't work.

8 comments
If within a tool, use the activated event like BlackBooks did and fire the server
It didnt work for me
Because the value isn't 1, switch to server mode and change the value to 1
I thought you could change the things without using server mode, thanks
yeah you can't because of filtering enabled, stops clients editing things on server side
tell me if it works
it does
k thats good