Manohub -v3
Views: 540Executions: 97
  • Keyless
  • Mobile untested

Advertisement

About this script

-- StarterPlayer -> StarterCharacterScripts 에 배치

local UserInputService = game:GetService("UserInputService")

local Players = game:GetService("Players")

local player = Players.LocalPlayer

local character = player.Character or player.CharacterAdded:Wait()

local humanoid = character:WaitForChild("Humanoid")

-- 무한 점프 활성화 상태 변수

local canInfiniteJump = true

UserInputService.JumpRequest:Connect(function()

if canInfiniteJump then

-- 플레이어의 상태를 점프 가능 상태로 강제 전환

humanoid:ChangeState(Enum.HumanoidStateType.Jumping)

end

end)