local UIS = game:GetService("UserInputService") local player = game.Players.LocalPlayer local function onJumpRequest() local character = player.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end UIS.JumpRequest:Connect(onJumpRequest)