My Character Is Not Moving after I activate this

Whenever I try to walk I can’t
I am using this script to stop after I trigger it to start

		rs:BindToRenderStep("move",


			Enum.RenderPriority.Character.Value +1,
			function()
				if localPlayer.Character then
					local hum = localPlayer.Character:FindFirstChild("Humanoid")
					if hum then
						hum:Move(Vector3.new(0, 0, 0), true)
					end
				end	
			end
		)

rs meaning Run Service

1 Like

When you put something into renderstepped, the function passed runs every frame.

The code you have tells the humanoid to not move relative to the camera. So essentially, it’s impossible to move.

What is your goal?

I am trying to make a roll script so it starts and waits a few seconds and then does that @Ninja_Deer