So far i have this idk how to go further:

game.Players.LocalPlayer.CharacterAdded:Wait()
local Character = game.Players.LocalPlayer.Character

if Character.Humanoid.HumanoidState == Enum.HumanoidStateType.Jumping then
	local BP = Instance.new("BodyPosition")
	BP.Parent = Character.HumanoidRootPart
	game:GetService("UserInputService"):Connect(function(Input)
		if Input.KeyCode == Enum.KeyCode.W then
			BP.Position = 
		end
	end)
end

EDIT: I solved my self its now good funcitoning

1 comment

0

Please try to write a bit more code, it looks like you stopped writing for no reason.