local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local hrp = character:WaitForChild("HumanoidRootPart") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.H then --change if needed hrp.CFrame = hrp.CFrame * CFrame.Angles(0, math.rad(50), 0) humanoid:ChangeState(Enum.HumanoidStateType.Jumping) task.wait(0.1) hrp.CFrame = hrp.CFrame * CFrame.Angles(0, math.rad(-50), 0) end end)