Universal Script 📌
7.5k Views
198 Executions

InfJump

Universal Script 📌
Kosma
KosmaPublished 5
4 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Infinity Jump

Updates

  1. Script edited: Create script

View Raw
local Player = game:GetService'Players'.LocalPlayer;
local UIS = game:GetService'UserInputService';

_G.JumpHeight = 50;

function Action(Object, Function) if Object ~= nil then Function(Object); end end

UIS.InputBegan:connect(function(UserInput)
    if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
        Action(Player.Character.Humanoid, function(self)
            if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
                Action(self.Parent.HumanoidRootPart, function(self)
                    self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
                end)
            end
        end)
    end
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
10
0
Approved 25 minutes ago
Key System
Script hub
3.0M
1.1M
Bumped 5 hours ago
Key System

Script hub

#6 today

CanHub V2 200 GAMES KEYLESS

Script hub
235
103
1 day ago
Script hub
277.6k
165.7k
Bumped 6 hours ago
Key System
Universal Script 📌
6.7k
17.1k
Bumped 6 hours ago
Script hub
1.7M
432.5k
Bumped 8 hours ago
Key System

Script hub

#7 today

Verified script badgeAxonic Hub | 50+ Games Supported