Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Easy Question "+" Assigment Not Working in script there is an error??

Asked by 3 years ago

hi i have a simple problem this line is giving me an error surface.FindFirstChild("Score").Value+votevalue.Value it's giving me incomplete statement

1 answer

Log in to vote
0
Answered by
SteamG00B 1633 Moderation Voter
3 years ago
Edited 3 years ago

You need to set values equal to values.

So to fix it:

surface.FindFirstChild("Score").Value=surface.FindFirstChild("Score").Value+votevalue.Value

If this answers your question, mark it as the accepted answer, and if not, just let me know if you have anymore questions.

Ad

Answer this question