My Code:
game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if game.MarketplaceService:PlayerOwnsAsset(player,4463855) then character.Humanoid.WalkSpeed = 36
end end) end)
So, though I can't see what wrong with you script I can help you make it so that people don't ask about things like the "ends" in your script. To present your script, go to Code block at the top of the area where you type click on it, and then put your code inside the dashes, like this:
game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if game.MarketplaceService:PlayerOwnsAsset(player,4463855) then character.Humanoid.WalkSpeed = 36 end end) end)
Hope that helped a bit, though sorry to get you excited for an answer I didn't provide.
game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if game:GetService("GamePassService"):PlayerHassPass(player, 4463855) then character.Humanoid.WalkSpeed = 36 end end) end)
Try that, make sure it is a localscript, and preferably put it in ServerScriptService.