Hi I was making this script and when I saved it the players walkspeed didn't go to 0. Can you help?
game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
plr = game.Players.LocalPlayer
script.Parent.TextWrapped = true
plr.CameraMinZoomDistance = 1
plr.CameraMaxZoomDistance = 1
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
wait(5)
script.Parent.Text = "Hello " ..plr.Name.. ", and welcome to Conscious!"
wait(3)
script.Parent.Text = "You are probably wondering who I am..."
wait(3)
script.Parent.Text = "I am your Conscious telling you what to do and when to do it."
wait(3)
script.Parent.Text = "I am you."
wait(3)
script.Parent.Text = ""
plr.CameraMaxZoomDistance = 10
plr.CameraMinZoomDistance = 10
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
local a = game.ReplicatedStorage.Flashlight:Clone()
a.Parent = plr.Backpack
local b = game.ReplicatedStorage.Flashlight:Clone()
b.Parent = plr.StarterPack
wait(2)
script.Parent.Text = "To be continued..."

1 comment
Why don't you use player.Character:WaitForChild("Humanoid") instead of repeat wait() until char:FindFirstChild("Humanoid")?