local MegaVipGamepassId = 0 -- Gamepass Id
game.Players.PlayerAdded:connect(function(Player)
Player:WaitForDataReady()
if game:GetService("GamePassService"):PlayerHasPass(Player, MegaVipGamepassId) then
coroutine.resume(coroutine.create(function()
while wait() do
repeat wait() until Player.Character ~= nil
Player.Character.Humanoid.WalkSpeed = 32
end
end))
end
end)
I'm getting this error:
Humanoid is not a valid member of Model Script 'ServerScriptService.Script', Line 9 Stack End

2 comments
try Player.Character:WaitForChild("Humanoid").WalkSpeed = 32.
^The WaitForChild method doesn't return the child you're waiting for, it returns the time it took for the child to not be nil. So by you saying that it's like saying wait(1).WlkSpeed = 32