Im trying to make a gamepass and I keep getting this error message in the output "WaitForChild is not a valid member of player" local mps = game:GetService("MarketplaceService") local gamepass_id = 8614520
game.Players.PlayerAdded:Connect(function(player) if mps:UserOwnsGamePassAsync(player.UserId, gamepass_id) then game.ServerStorage.SpeedCoil:Clone().Parent = player:WaitforChild("Backpack") game.ServerStorage.SpeedCoil:Clone().Parent = player:WaitForChild("StarterGear") end end)
game.ReplicatedStorage.Give.OnServerEvent:connect(function(player) game.ServerStorage.SpeedCoil:Clone().Parent = player:WaitforChild("Backpack") game.ServerStorage.SpeedCoil:Clone().Parent = player:WaitForChild("StarterGear") end) help?!!!!

1 comment
Could you make it a code block please? https://scriptinghelpers.org/help/how-post-good-questions-answers Scroll down and read about Formatting