Setting StarterPlayer properties via Local SCript

I am simply trying to set StarterPlayer properties via a local script however, with no errors, I am not getting the results I am anticipated. Any ideas as to why this isn’t working on the player? Location is StarterCharacterScripts…

local starterPlayer = game:GetService("StarterPlayer")

local player = game:GetService('Players').LocalPlayer

player.CharacterAdded:Wait()

starterPlayer.CharacterWalkSpeed = 5000
1 Like

Your code is in the right place but you have to set the humanoid walk speed instead:

local player = game.Players.LocalPlayer

local char = player.Character

char.Humanoid.WalkSpeed = 5000

I assume the server sets your ws when you spawn, so you have to change that speed from the server.

1 Like

Thank you very much!!! It worked perfectly for me.

1 Like