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

Why is this erroring?

Asked by 8 years ago
if click.leaderstats.Tickets.Value >= prize.Price.Value then

09:44:25.151 - Workspace.Prizes.Script:5: attempt to perform arithmetic on field 'Tickets' (a userdata value)

Tickets is a NumberValue

Answer this question