My intro I made works in studio whenever I test it but not in game? Why is this?

game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
wait(1)
script.Sound8:Play()
for x = 0, 5000, 10 do
	script.Parent.Frame.ImageLabel.ImageTransparency = script.Parent.Frame.ImageLabel.ImageTransparency + 0.002
	script.Parent.Frame.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency + 0.002
	script.Parent.Frame.ImageLabel.Rotation = x
	wait()
end
for x = .5, 0, -.1 do
	script.Sound8.Volume = x
	wait(.1)
end
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16