Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- local variables for API functions. any changes to the line below will be lost on re-generation
- local client_set_event_callback, ui_reference, ui_set = client.set_event_callback, ui.reference, ui.set
- local fYaw, fYawValue = ui_reference("AA", "Anti-aimbot angles", "Yaw")
- local fBodyYaw, fBodyYawValue = ui_reference("AA", "Anti-aimbot angles", "Body Yaw")
- local fFakeBodyYawValue = ui_reference("AA", "Anti-aimbot angles", "Fake yaw limit")
- local bJitter = false
- -- 35 and 60
- function SwapJitter()
- if bJitter then bJitter = false else bJitter = true end
- end
- function Main(event)
- local isMovingLeft = event.in_moveleft == 1
- local isMovingRight = event.in_moveright == 1
- if isMovingLeft ~= true and isMovingRight ~= true then
- if bJitter then
- ui_set(fFakeBodyYawValue, 35)
- else
- ui_set(fFakeBodyYawValue, 60)
- end
- ui_set(fYawValue, 0)
- ui_set(fBodyYawValue, 60)
- else
- ui_set(fFakeBodyYawValue, 60)
- end
- if isMovingRight then
- ui_set(fYawValue, -7)
- ui_set(fBodyYawValue, 60)
- else if isMovingLeft then
- ui_set(fBodyYawValue, -60)
- ui_set(fYawValue, 7)
- end
- end
- end
- client_set_event_callback("setup_command", Main)
- client_set_event_callback("paint", SwapJitter)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement