local function onMouseClick(player) local Points = player.leaderstats.Points
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserID,000000) then Points.Value = Points.Value + 250 else print("Player doesnt have gamepass") end end
script.Parent.ClickDetector.MouseClick:connect(onMouseClick)

1 comment
it's
player.UserIdlowercase on thed