title: Set Humanoid WalkSpeed
body: <p>I found this script in a similar question but, I'm getting the error <code>16:11:18.560 - Workspace.Script:2: attempt to index nil with 'Character'</code></p>
  
  <pre><code>local Player = game:GetService("Players").LocalPlayer
  local character = Player.Character or Player.CharacterAdded:Wait()
  local HumanoidRootPart = character:WaitForChild("HumanoidRootPart")
  -- setting speed
  local Humanoid =  character:WaitForChild("Humanoid")
  if Humanoid then
  Humanoid.WalkSpeed = 25
  end
  </code></pre>
  
  <p>Can anyone help me?</p>