-- Infinite Jump (Hold Space) for Solara -- This works by listening to UserInput and forcing Humanoid:ChangeState to Jump local UserInputService = game:GetService("UserInputService") local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:Wait() local Humanoid = Character:WaitForChild("Humanoid") local holdingSpace = false -- Detect when Space is pressed UserInputService.InputBegan:Connect(function(input, isProcessed) if isProcessed then return end if input.KeyCode == Enum.KeyCode.Space then holdingSpace = true while holdingSpace do Humanoid:ChangeState(Enum.HumanoidStateType.Jumping) task.wait(0.1) -- adjust speed of infinite jump end end end) -- Detect when Space is released UserInputService.InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.Space then holdingSpace = false end end) -- Refresh Humanoid when character respawns Player.CharacterAdded:Connect(function(newChar) Character = newChar Humanoid = Character:WaitForChild("Humanoid") end)