Score=0
if workspace.PartScoreBoard.SurfaceGui.Frame.Pin1.BackgroundColor3 == Color3(1, 0, 1) then
Score = +1
end
I'm trying to add to the value when when the color of a certain background turns pink.
But so far I'm not getting anywhere, how Do I add to score when something happens?

2 comments
Thank you!
Actually, "+1" is not valid in Lua.