I made a game, the gamepasses show up when the server is relatively empty, but after that they do not. I have it set up so it checks to see if the player owns the gamepass, and then copies the model from Lighting to put it in the player's inventory.
Script:
game.Players.PlayerAdded:connect(function(player) while true do if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, 4988705) then if player.Backpack:FindFirstChild("Broomstick") == nil and player.Character:FindFirstChild("Broomstick") == nil then print(player.Name .. " got an item!") local b = game.Lighting:FindFirstChild("Broomstick"):Clone() b.Parent = player.Backpack end end wait(1)
end end)
Broomstick is the name of the tool in Lighting that is being cloned. Why is this unreliable?