How to make the an object jump with player

how to make the bowl jump when the player (fish) jumps?
here’s a video


any help is appreciated, thanks!

1 Like

Maybe, weld the bowl to the fish when the player jumps and unweld it when they aren’t jumping?

1 Like

try using humanoid states. and then connect add LinearVelocity to bowl

Humanoid.StateChanged

humanoid.StateChanged:Connect(function(old,new)
	if new == Enum.HumanoidStateType.Freefall and old == Enum.HumanoidStateType.Running then
		print("Jumped")
	end
end)
1 Like

I think you can use userinputservice.jumprequest to detect when player jump and let bowl.assemblylinearvelocity += Vector3.new(0,1,0) —Y Axis speed * fish.AssemblylinearVelocity.Y

1 Like

how? i dont know how to do that

1 Like

do what @lostresosostedyIII said

most optimal, probably

you can use Humanoid.StateChanged to weld and unweld the fishbowl based on humanoid state

1 Like

it doesn’t work, messes up everythig. is there any other way?

1 Like

code?

i don’t th ink there’s a diffeerent way, you just probably did it incorrectly

1 Like

You could try using an AlignPosition on the Y axis. It migut be better than a weld.

1 Like