You see, I have added an IntValue in ServerStorage, and used this script in a Part in workspace:
local part = workspace.Part part.Touched:Connect(function() game.ServerStorage.IntValue.Value = 1 if game.ServerStorage.IntValue.Value==1 then part.Color = BrickColor.new("Really red") end end)
Instead, try this:
local part = workspace.Part part.Touched:Connect(function() game.ServerStorage.IntValue.Value = 1 game.ServerStorage.IntValue.Changed:Connect(function() if game.ServerStorage.IntValue.Value==1 then part.Color = BrickColor.new("Really red") end end end)