What's the error? "Then"

Hello im having trouble , whats the error how do i fix it?
( refer to redline “Then” )

I think you need to add the brackets after Data,CarName) as you started with a bracket but did not complete it

(table.find(Data, CarName))

Before:
image
After:
image

That errror normally appears when the if statement isn’t complete, like:

if value.Value = 10 then

Error

if value.Value == 10 then

No error

Your problem is what @X0BaconHairDude0X said, as you started with a bracket, but there’s only one in the end

1 Like

thank you so much , im literally so dumb

Thanks for the info , its fixed !

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.