local MarketPlaceService = game:GetService("MarketplaceService") local GamepassTools = game.ReplicatedStorage:FindFirstChild("Gamepasses") local function GiveTool(Player, ID, Tool) if MarketPlaceService:UserOwnsGamePassAsync(Player.UserId, ID) then Tool:Clone().Parent = Player.Backpack Tool:Clone().Parent = Player.StarterGear end end game.Players.PlayerAdded:Connect(function(Player) GiveTool(Player, 0, GamepassTools:FindFirstChild("Flashlight")) end)