Advertisement
saladleaf

(AutoHotKey v2) Auto Roblox Laugh Clip Script

Mar 14th, 2025 (edited)
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Autohotkey 1.73 KB | Software | 0 0
  1. /* NOTE: In order for this to work, follow these steps:
  2.     1. Set camera sensitivity to 0.1
  3.     2. Move flat against the wall you want to clip through.
  4.     3. Go into first person and move your so that it is facing opposite the wall.
  5.     4. Press the key you set to activate the macro (this is Insert by default).
  6. */
  7.  
  8. ; Sets CoordMode for mouse and colour checking to absolute (entire screen).
  9. CoordMode "Pixel", "Screen"
  10. CoordMode "Mouse", "Screen"
  11.  
  12. ; NOTE: In order to change which key activates the macro, change "Insert" to the key you want the macro to be bound to.
  13. Insert::{
  14.  
  15.     ; Tab into Roblox window if not already.
  16.     if !WinActive("ahk_exe RobloxPlayerBeta.exe")
  17.         WinActivate "ahk_exe RobloxPlayerBeta.exe"
  18.    
  19.     ; Set to windowed mode if not already.
  20.     if (PixelGetColor(15, 15) != 0xDFE0E1)
  21.         SendInput "{f11}"
  22.  
  23. /* The auto camera movement is unreliable at best, if you want to try it, delete this line and the line with /* below.
  24.     ; Move camera to correct position for clip.
  25.     SendMode "Event"
  26.     Send "{WheelDown 4}"
  27.     Sleep 25
  28.     SendEvent "{Click 960 540 Right Down}{Click 1066 505 Right Up}"
  29.     Sleep 25
  30.     SendMode "Input"
  31.     SendInput "{s down}"
  32.     Sleep 100
  33.     SendInput "{s up}"
  34. */
  35.        
  36.     ; Clear chat and send/enter "/e laugh".
  37.     SendInput "/"
  38.     Sleep 25
  39.     SendInput "^a{Backspace}"
  40.     Sleep 25
  41.     SendInput "/e laugh"
  42.     Sleep 25
  43.     SendInput "{Enter}"
  44.     Sleep 200
  45.  
  46.     ; Perform clip and go back to fullscreen (freeze game, unfreeze while pressing shift, s and space).
  47.  
  48.     MouseMove 1900, 10, 1
  49.     Click "D"
  50.     Sleep 100
  51.  
  52.     SendMode "Event"
  53.     SendInput "{s down}{LShift}{Space down}"
  54.     Sleep 500
  55.     MouseMove 960, 540, 1  
  56.     Sleep 100
  57.     Click "U"
  58.                                                                                                    
  59.     Sleep 250
  60.     SendInput "{s up}{Space up}"
  61.     SendMode "Input"
  62. }                                                  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement