Advertisement
DDDDDtuij

Last leak to all you guys out there! ;(

Feb 17th, 2017
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.51 KB | None | 0 0
  1. -- Decompiled by Blyat
  2. -- Fixed by Bad
  3.  
  4. local player = game.Players.localPlayer
  5. local char = player.Character
  6. for u,c in pairs(player.Character:GetChildren()) do
  7. if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then
  8. c.Handle.BrickColor = BrickColor.new("Really black")
  9. c.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  10. end
  11. end
  12. local setupPart = function(part)
  13.  
  14. part.Anchored = true
  15. part.FormFactor = "Custom"
  16. part.CanCollide = false
  17. part.BrickColor = BrickColor.new("Gold")
  18. part.Material = "Neon"
  19. part.TopSurface = "SmoothNoOutlines"
  20. part.BottomSurface = "SmoothNoOutlines"
  21. part.FrontSurface = "SmoothNoOutlines"
  22. part.BackSurface = "SmoothNoOutlines"
  23. part.LeftSurface = "SmoothNoOutlines"
  24. part.RightSurface = "SmoothNoOutlines"
  25. end
  26.  
  27. local player = game.Players.LocalPlayer
  28. repeat
  29. wait()
  30. until player.Character
  31. local rs = game:GetService("RunService").RenderStepped
  32. local char = player.Character
  33. local HRP = char.HumanoidRootPart
  34. local Head = char.Head
  35. local tents = {}
  36. getValue = function(p, x)
  37.  
  38. return p[2] + 0.5 * x * (p[3] - p[1] + x * (2 * p[1] - 5 * p[2] + 4 * p[3] - p[4] + x * (3 * (p[2] - p[3]) + p[4] - p[1])))
  39. end
  40.  
  41. getV3Cubic = function(tabl, perc)
  42.  
  43. local x, y, z = {}, {}, {}
  44. if perc >= 2 then
  45. perc = perc % 1
  46. for i = 3, 6 do
  47. table.insert(x, tabl[i].x)
  48. table.insert(y, tabl[i].y)
  49. table.insert(z, tabl[i].z)
  50. end
  51. local X, Y, Z = getValue(x, perc), getValue(y, perc), getValue(z, perc)
  52. return Vector3.new(X, Y, Z)
  53. else
  54. do
  55. if perc >= 1 then
  56. perc = perc % 1
  57. for i = 2, 5 do
  58. table.insert(x, tabl[i].x)
  59. table.insert(y, tabl[i].y)
  60. table.insert(z, tabl[i].z)
  61. end
  62. local X, Y, Z = getValue(x, perc), getValue(y, perc), getValue(z, perc)
  63. return Vector3.new(X, Y, Z)
  64. else
  65. do
  66. for i = 1, 4 do
  67. table.insert(x, tabl[i].x)
  68. table.insert(y, tabl[i].y)
  69. table.insert(z, tabl[i].z)
  70. end
  71. do
  72. local X, Y, Z = getValue(x, perc), getValue(y, perc), getValue(z, perc)
  73. return Vector3.new(X, Y, Z)
  74. end
  75. end
  76. end
  77. end
  78. end
  79. end
  80.  
  81. local rainbow = {"Really black", "Really black", "Really black", "Really black", "Really black", "Really black", "Really black", "Really black", "Really black"}
  82. local rainbowCount = 1
  83. local isRainbow = true
  84. for i = 0, 4 do
  85. local m = Instance.new("Model", char)
  86. m.Name = "Tentac00l"
  87. local parts = {}
  88. local lastpart = Head
  89. local defC0 = nil
  90. rainbowCount = 1
  91. for j = 0, 8 do
  92. local sizex = 0.25 - 0.2 * (j / 8)
  93. local sizey = 1.875 - 1.125 * (j / 8)
  94. local p = Instance.new("Part")
  95. p.Size = Vector3.new(0.2, 0.2, 0.2)
  96. p.BrickColor = BrickColor.new("Really black")
  97. p.TopSurface = 0
  98. p.BottomSurface = 0
  99. p.CanCollide = false
  100. p.Material = "SmoothPlastic"
  101. p.TopSurface = 0
  102. p.BottomSurface = 0
  103. local mesh = Instance.new("CylinderMesh", p)
  104. mesh.Name = "CyMesh"
  105. mesh.Scale = Vector3.new(sizex, sizey, sizex) * 5
  106. p.Parent = m
  107. local p2 = p:Clone()
  108. p2.Parent = m
  109. p2.CyMesh.Scale = p2.CyMesh.Scale + Vector3.new(0.075, 0.001, 0.075) * 5
  110. p2.Material = "Neon"
  111. if isRainbow then
  112. p2.BrickColor = BrickColor.new(tostring(rainbow[rainbowCount]))
  113. else
  114. p2.BrickColor = BrickColor.new(j % 2 == 1 and "Toothpaste" or "Electric blue")
  115. end
  116. rainbowCount = rainbowCount + 1
  117. p2.Transparency = 0.35
  118. local w2 = Instance.new("Weld", p)
  119. w2.Parent = p2
  120. w2.Part0 = p
  121. w2.Part1 = p2
  122. local w = Instance.new("Weld", p)
  123. w.Parent = p
  124. w.Part0 = lastpart
  125. w.Part1 = p
  126. if i % 2 ~= 0 or not 96 then
  127. do
  128. w.C0 = CFrame.Angles(0, math.rad(-10 + 200 * i / 4), math.rad(-30 + (j or 70))) * CFrame.new(0, 0.6, 0)
  129. w.C1 = CFrame.new(0, -0.125, 0)
  130. defC0 = w.C0
  131. w.C0 = CFrame.new(0, mesh.Scale.y / 10, 0)
  132. w.C1 = CFrame.new(0, -sizey / 2, 0)
  133. table.insert(parts, {p, w, p2})
  134. lastpart = p
  135. rs:wait()
  136. -- DECOMPILER ERROR at PC262: LeaveBlock: unexpected jumping out IF_THEN_STMT
  137.  
  138. -- DECOMPILER ERROR at PC262: LeaveBlock: unexpected jumping out IF_STMT
  139.  
  140. end
  141. end
  142. end
  143. local randoms = {Vector3.new(0, 0, 0), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100), Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100)}
  144. table.insert(tents, {0, randoms, parts, defC0})
  145. end
  146. player.Chatted:connect(function(msg)
  147.  
  148. if string.sub(msg:lower(), 1, 4) == "col/" then
  149. for i,v in pairs(tents) do
  150. for j,o in pairs(v[3]) do
  151. o[3].BrickColor = BrickColor.new(string.sub(msg, 5))
  152. end
  153. end
  154. else
  155. do
  156. if string.sub(msg:lower(), 1, 7) == "/e col/" then
  157. for i,v in pairs(tents) do
  158. for j,o in pairs(v[3]) do
  159. o[3].BrickColor = BrickColor.new(string.sub(msg, 8))
  160. end
  161. end
  162. end
  163. end
  164. end
  165. end
  166. )
  167. rs:connect(function()
  168.  
  169. for i,v in pairs(tents) do
  170. v[1] = v[1] % 200 + 1
  171. if v[1] == 1 then
  172. v[2][1] = v[2][2]
  173. v[2][2] = v[2][3]
  174. v[2][3] = v[2][4]
  175. v[2][4] = v[2][5]
  176. v[2][5] = v[2][6]
  177. v[2][6] = Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100)
  178. end
  179. local p0 = v[2][1]
  180. local p1 = v[2][2]
  181. local p2 = v[2][3]
  182. local p3 = v[2][4]
  183. local p4 = v[2][5]
  184. local p5 = v[2][6]
  185. local arr = {p0, p1, p2, p3, p4, p5}
  186. local dir = i % 2 == 0 and 1 or -1
  187. for j,V in pairs(v[3]) do
  188. local val = math.sin(math.pi / 2 * 2 * ((v[1] + 100 * j / #v[3] * dir) % 100 / 100))
  189. local off = getV3Cubic(arr, (v[1] + 340 * (j / #v[3])) / 200)
  190. V[3].Transparency = 0.12 + val * 0.65
  191. if j == 1 then
  192. V[2].C0 = v[4] * CFrame.Angles(off.x * 2, off.y * 2, off.z * 2)
  193. else
  194. V[2].C0 = CFrame.new(0, V[2].C0.y, 0) * CFrame.Angles(off.x * 2 * (1 + 0.75 * (j / #v[3])), off.y * 2 * (1 + 0.75 * (j / #v[3])), off.z * 2 * (1 + 0.75 * (j / #v[3])))
  195. end
  196. end
  197. end
  198. end
  199. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement