This is an extremely simple script and for some reason I am not able to figure out how to fix this.It doesn't work in studio solo mode where I'm testing it.Please help.
a=game.Workspace:FindFirstChild('Player1')
function alba()
a:FindFirstChild('Humanoid').WalkSpeed=12
end
alba()

1 comment
When you test in studio the player name is "Player1",its default for everyone.