soocke21

Untitled

Feb 20th, 2020
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. example:
  2. local movements = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } -- diffrent movement types
  3. local function move1( )
  4. RunConsoleCommand( "+forward" )
  5. LocalPlayer():ConCommand( "act cheer" )
  6. timer.Simple( .5, function( )
  7. RunConsoleCommand( "-forward" )
  8. end )
  9. end
  10. local function move2( )
  11. RunConsoleCommand( "+left" )
  12. RunConsoleCommand( "+back" )
  13. LocalPlayer():ConCommand( "act laugh" )
  14. timer.Simple(.5, function()
  15. RunConsoleCommand( "-left" )
  16. RunConsoleCommand( "-back" )
  17. end )
  18. end
  19. local function move3( )
  20. RunConsoleCommand( "+back" )
  21. LocalPlayer():ConCommand( "act muscle" )
  22. timer.Simple( .5, function( )
  23. RunConsoleCommand( "-back" )
  24. end )
  25. end
  26. local function move4( )
  27. RunConsoleCommand( "+right" )
  28. RunConsoleCommand( "+forward" )
  29. LocalPlayer():ConCommand( "act robot" )
  30. timer.Simple( .5, function( )
  31. RunConsoleCommand( "-right" )
  32. RunConsoleCommand( "-forward" )
  33. end )
  34. end
  35. local function move5( )
  36. RunConsoleCommand( "+moveright" )
  37. LocalPlayer():ConCommand( "act zombie" )
  38. timer.Simple( .5, function( )
  39. RunConsoleCommand( "-moveright" )
  40. end )
  41. end
  42. local function move6( )
  43. RunConsoleCommand( "+back" )
  44. LocalPlayer():ConCommand( "act robot" )
  45. timer.Simple( .5, function( )
  46. RunConsoleCommand( "-back" )
  47. end )
  48. end
  49. local function move7( )
  50. RunConsoleCommand( "+right" )
  51. RunConsoleCommand( "+moveleft" )
  52. timer.Simple( .5, function( )
  53. RunConsoleCommand( "-right" )
  54. RunConsoleCommand( "-moveleft" )
  55. LocalPlayer():ConCommand( "act dance" )
  56. end )
  57. end
  58. local function move8( )
  59. RunConsoleCommand( "+jump" )
  60. RunConsoleCommand( "+duck" )
  61. timer.Simple( .5, function( )
  62. RunConsoleCommand( "-jump" )
  63. RunConsoleCommand( "-duck" )
  64. LocalPlayer():ConCommand( "act agree" )
  65. end )
  66. end
  67. local function move9( )
  68. RunConsoleCommand( "+attack" )
  69. LocalPlayer():ConCommand( "act becon" )
  70. timer.Simple( .5, function( )
  71. RunConsoleCommand( "-attack" )
  72. end )
  73. end
  74. local function move10( )
  75. RunConsoleCommand( "+zoom" )
  76. LocalPlayer():ConCommand( "act disagree" )
  77. timer.Simple( .5, function( )
  78. RunConsoleCommand( "-zoom" )
  79. end )
  80. end
Advertisement
Add Comment
Please, Sign In to add comment