Can someone explain what wrong plox!
local playeh = game.Players.LocalPlayer
if game:GetService("MarketplaceService"):PlayerOwnsAsset(playeh,458322331) then
v.leaderstats.Points.Value = v.leaderstats.Points.Value * 4
end
error 01:07:34.520 - MarketplaceService:PlayerOwnsAsset() player should be of type Player, but is of type nil 01:07:34.521 - Stack Begin 01:07:34.521 - Script 'ServerScriptService.MainServerScript', Line 291 01:07:34.521 - Stack End
can someone help me fix the code please?

1 comment
Sorry for the title question being messed up