this what i have tried but it does not work:
local passId = 5778889
game.Players.PlayerAdded:connect(function()
function isAuthenticated(player)
return game:GetService("GamePassService"):PlayerHasPass(player, passId)
end
game.Players.PlayerAdded:connect(function(plr)
if isAuthenticated(plr) then
repeat wait(0.001) until game.Players.LocalPlayer.Character.Humanoid
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = game.Players.LocalPlayer.Character.Humanoid.WalkSpeed +100
end)
end)

3 comments
This is not a request site.
He is not making a request. He is showing code that he is trying to fix.
in function isAuthenticated(player) return game:GetService(“GamePassService”):PlayerHasPass(player, passId) end. You just defined a function, but never actually ran it.