I have this error at the end of end)
.
I have tried multiple things eg remove the bracket, add another end etc but still it comes up with an error:

Thank you in advance.
Notice: What the script does is that if a player has a gamepass they then have +5 levels for a obby I’m making.
1 Like
Can you send the script? that may help some.
1 Like
Here is some of it:
if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
player.leaderstats.Stage.Value = player.leaderstats.Stage.Value + 1
end
end)
---Im not going to give away all my script
1 Like
remove the end), you don’t need it as it’s not a function
1 Like
Don’t use the end), try that. If an error occurs, just add the end) back and delete the parentheses
1 Like
Also, If one of our solutions work, make sure to check the ‘solution’ box on either N0TKingmine7’s or mine. Thanks. 
2 Likes
Both didn’t work (but I found a solution myself) which is why is didn’t make it a solution.
2 Likes