Tips for making a new movement system for my game

So, I am working on a game. And one of the core things about the game is movement, I want to make a completely new movement system for the game similar to Nico’s Nextbots’ bhopping. I’ve seen several topics about it, but they don’t help much. Where should I start?
Here’s an example:
https://streamable.com/zhtejb

1 Like

Something like

local CanBHop = false --Don't touch since the script below will do the thingy
local Power = 50 --BHop power
Humanoid.Landed:Connect(function() --Path the Humanoid to the Player Character
CanBHop = true
task.wait(0.1) --Time frame you can BHop
CanBHop = false
end)
Humanoid.Jump:Connect(function()
If CanBHop then --BHop is true
Torso.Velocity += Torso.CFrame.LookVector*Power
end
end)
1 Like

image

1 Like

Use this:

Humanoid.FreeFalling:Connect(function(active)
	if not active then
      CanBHop = true
      task.wait(0.1) --Time frame you can BHop
      CanBHop = false
	end
end)

Whoops, I forgot landed wasn’t an event.

local CanBHop = false --Don't touch since the script below will do the thingy
local Power = 50 --BHop power
Humanoid.Jumping:Connect(function()
if Humanoid.FloorMaterial == Enum.Material.Air and CanBHop == true then
Torso.Velocity += Torso.CFrame.LookVector*Power
else
CanBHop = true
task.wait(0.1) --Time frame you can BHop
CanBHop = false
end
end)

This should work. It detects when the players jumps or landed.