Why is my double walkspeed script not working? I have the correct game pass id in there and there are no errors in the out put. What’s the deal with this script not working?
Does anybody know what I did wrong here?
-- Script
local gamepassID = 10199952
local moveSpeed = 32
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserID, gamepassID) then
character:WaitForChild("Humanoid").WalkSpeed = moveSpeed
end
end)
end)