Advertisement
KiroOnTop

Untitled

Jun 23rd, 2022
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro2/main/ui2"))()
  2. local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))()
  3. NotifyLib.prompt('YukoWare - InfJump', 'Loading..', 5)
  4. NotifyLib.prompt('YukoWare', 'Enjoy ;) ;)', 5)'
  5.  
  6. local Player = game:GetService'Players'.LocalPlayer;
  7. local UIS = game:GetService'UserInputService';
  8.  
  9. _G.JumpHeight = 50;
  10.  
  11. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  12.  
  13. UIS.InputBegan:connect(function(UserInput)
  14. if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
  15. Action(Player.Character.Humanoid, function(self)
  16. if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  17. Action(self.Parent.HumanoidRootPart, function(self)
  18. self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  19. end)
  20. end
  21. end)
  22. end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement