Advertisement
RanggaBS

Rapid punch

Jul 10th, 2021 (edited)
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. function main()
  2.     while not SystemIsReady() or AreaIsLoading() do
  3.         Wait(0)
  4.     end
  5.     while true do
  6.         Wait(0)
  7.         if PedIsPlaying(gPlayer, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Cross", true) and IsButtonBeingPressed(6, 0) then
  8.             PedSetActionNode(gPlayer, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Release/JAB", "Act/Player.act")
  9.         end
  10.     end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement