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)

1 comment
Thanks!