If I wanted to give a different item to players that own a gamepass, would this work?
local penguinShooter = game.ServerStorage["Penguin Shooter"];
if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,751736364) then
while true do
wait(27)
for _,v in next,game.Players:GetPlayers() do
if not v.Backpack:FindFirstChild(penguinShooter.Name) then
sword:Clone().Parent = v.Backpack;
end
end
wait(58)
end
else
print("they don't own the gamepass")
end
This is probably wrong but I'm still learning..

2 comments
Please expand your question, it isn't clear what you want to do
Fixed tabbing. Please do this yourself next time.