How is this dribbling system made?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I’m trying to replicate this “directional dribbling style” based from a game called “Locked”.

  2. What is the issue? Include screenshots / videos if possible!

External Media

I’m trying to replicate this dribbling system where it “magnetizes the ball” to you whenever you m1, but also pushes it forwards while its on the ground.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I’ve tried most of the body movers including Body Position and Body Velocity(The problem with body velocity it doesnt magnetize it to you whenever you shoot the ball and just pushes it more forwards.)

And yes, I’ve tried looking around the dev forum for help.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

--dribble movement code
local function dribble(parent, amount, timer,hitter)
	local kb ="BodyPosition")
	kb.Parent = parent
	kb.MaxForce =,0,8000)
	kb.P = 55000
	kb.D = 1500
	kb.Position = hitter.Position + hitter.CFrame.LookVector * 4
	debris:AddItem(kb, .04)
	for i,v in pairs(parent:GetChildren()) do
		if v.ClassName == "BodyPosition" then
			if v ~= kb then

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.