pheonin55

Untitled

Jun 30th, 2017
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.45 KB | None | 0 0
  1.  
  2. -- params : ...
  3.  
  4. while not getmetatable(shared) do
  5. wait()
  6. end
  7. shared(script)
  8. local player = game:GetService("Players").LocalPlayer
  9. repeat
  10. wait()
  11. until player.Character
  12. local char = player.Character
  13. local torso = char:WaitForChild("Torso")
  14. local mouse = player:GetMouse()
  15. local color = BrickColor.new("Really black")
  16. local material = "Neon"
  17. local trans = 0.5
  18. local debounce = false
  19. for u,c in pairs(player.Character:GetChildren()) do
  20. if c.className == "Hat" and c.Name ~= "Hybrid Goggles" then
  21. c.Handle.BrickColor = BrickColor.new("Really black")
  22. c.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  23. end
  24. end
  25. blast = function()
  26.  
  27. local b = Instance.new("Part", workspace)
  28. game.Debris:AddItem(b, 2)
  29. b.Size = Vector3.new(5, 5, 5)
  30. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  31. b.TopSurface = "Smooth"
  32. b.BottomSurface = "Smooth"
  33. b.CanCollide = false
  34. b.BrickColor = color
  35. b.Transparency = trans
  36. b.Material = material
  37. local v = Instance.new("BodyVelocity", b)
  38. v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  39. v.Velocity = torso.CFrame.lookVector * 50
  40. r = Instance.new("BodyAngularVelocity", b)
  41. r.AngularVelocity = Vector3.new(25, 25, 25)
  42. b.Touched:connect(function(hit)
  43.  
  44. p = hit.Parent
  45. if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
  46. b:Remove()
  47. p.Humanoid:TakeDamage(35)
  48. end
  49. end
  50. )
  51. end
  52.  
  53. death = function()
  54.  
  55. local b = Instance.new("Part", workspace)
  56. game.Debris:AddItem(b, 2)
  57. b.Size = Vector3.new(5, 5, 5)
  58. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  59. b.TopSurface = "Smooth"
  60. b.BottomSurface = "Smooth"
  61. b.CanCollide = false
  62. b.BrickColor = color
  63. b.Transparency = trans
  64. b.Material = material
  65. local v = Instance.new("BodyVelocity", b)
  66. v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  67. v.Velocity = torso.CFrame.lookVector * 50
  68. r = Instance.new("BodyAngularVelocity", b)
  69. r.AngularVelocity = Vector3.new(25, 25, 25)
  70. b.Touched:connect(function(hit)
  71.  
  72. p = hit
  73. if p and p.Name ~= "Base" and p.Name ~= player.Name then
  74. p:Remove()
  75. end
  76. end
  77. )
  78. end
  79.  
  80. wall = function()
  81.  
  82. local b = Instance.new("Part", workspace)
  83. game.Debris:AddItem(b, 5)
  84. b.Size = Vector3.new(1, 1, 1)
  85. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  86. b.TopSurface = "Smooth"
  87. b.BottomSurface = "Smooth"
  88. b.CanCollide = false
  89. b.Anchored = true
  90. b.BrickColor = color
  91. b.Transparency = trans
  92. b.Material = material
  93. for i = 1, 50 do
  94. wait()
  95. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  96. b.Size = b.Size + Vector3.new(0.5, 0.5, 0)
  97. end
  98. b.CanCollide = true
  99. b.Touched:connect(function(hit)
  100.  
  101. p = hit.Parent
  102. if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
  103. p.Humanoid:TakeDamage(5)
  104. end
  105. end
  106. )
  107. end
  108.  
  109. fade = function()
  110.  
  111. for i,v in pairs(char:GetChildren()) do
  112. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  113. v.Transparency = 0.5
  114. end
  115. end
  116. for i,v in pairs(char:GetChildren()) do
  117. if v.className == "Hat" then
  118. v.Handle.Transparency = 0.5
  119. end
  120. end
  121. end
  122.  
  123. unfade = function()
  124.  
  125. for i,v in pairs(char:GetChildren()) do
  126. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  127. v.Transparency = 0
  128. end
  129. end
  130. for i,v in pairs(char:GetChildren()) do
  131. if v.className == "Hat" then
  132. v.Handle.Transparency = 0
  133. end
  134. end
  135. end
  136.  
  137. dash = function(x)
  138.  
  139. b = Instance.new("Part", workspace)
  140. game.Debris:AddItem(b, 0.7)
  141. b.Size = Vector3.new(3, 3, 3)
  142. b.BrickColor = color
  143. b.Material = material
  144. b.CanCollide = false
  145. b.CFrame = torso.CFrame * x
  146. t = Instance.new("BodyVelocity", b)
  147. r = Instance.new("BodyAngularVelocity", b)
  148. r.AngularVelocity = Vector3.new(15, 15, 15)
  149. for i = 1, 5 do
  150. wait()
  151. b.Transparency = b.Transparency + 0.1
  152. torso.CFrame = torso.CFrame * CFrame.new(0, 0, -1)
  153. end
  154. end
  155.  
  156. mouse.KeyDown:connect(function(key)
  157.  
  158. if key == "v" then
  159. holding = true
  160. fade()
  161. while holding and wait(0.01) do
  162. dash(CFrame.new(2, 1, 0))
  163. dash(CFrame.new(-2, -1, 1))
  164. dash(CFrame.new(0, 1, 3))
  165. end
  166. end
  167. end
  168. )
  169. mouse.KeyUp:connect(function(key)
  170.  
  171. if key == "v" then
  172. unfade()
  173. holding = false
  174. end
  175. end
  176. )
  177. mouse.KeyDown:connect(function(key)
  178.  
  179. if key == "e" and debounce == false then
  180. debounce = true
  181. blast()
  182. wait(0.5)
  183. debounce = false
  184. end
  185. end
  186. )
  187. mouse.KeyDown:connect(function(key)
  188.  
  189. if key == "q" and debounce == false then
  190. debounce = true
  191. wall()
  192. wait(0.5)
  193. debounce = false
  194. end
  195. end
  196. )
  197. mouse.KeyDown:connect(function(key)
  198.  
  199. if key == "t" and debounce == false then
  200. debounce = true
  201. death()
  202. wait(0.5)
  203. debounce = false
  204. end
  205. end
  206. )
  207. local player = game.Players.LocalPlayer
  208. repeat
  209. wait()
  210. until player.Character
  211. local rs = game:GetService("RunService").RenderStepped
  212. local char = player.Character
  213. local HRP = char.HumanoidRootPart
  214. local Head = char.Head
  215. local tents = {}
  216. getValue = function(p, x)
  217.  
  218. 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])))
  219. end
  220.  
  221. getV3Cubic = function(tabl, perc)
  222.  
  223. local x, y, z = {}, {}, {}
  224. if perc >= 2 then
  225. perc = perc % 1
  226. for i = 3, 6 do
  227. table.insert(x, tabl[i].x)
  228. table.insert(y, tabl[i].y)
  229. table.insert(z, tabl[i].z)
  230. end
  231. else
  232. do
  233. if perc >= 1 then
  234. perc = perc % 1
  235. for i = 2, 5 do
  236. table.insert(x, tabl[i].x)
  237. table.insert(y, tabl[i].y)
  238. table.insert(z, tabl[i].z)
  239. end
  240. else
  241. do
  242. for i = 1, 4 do
  243. table.insert(x, tabl[i].x)
  244. table.insert(y, tabl[i].y)
  245. table.insert(z, tabl[i].z)
  246. end
  247. do
  248. local X, Y, Z = getValue(x, perc), getValue(y, perc), getValue(z, perc)
  249. return Vector3.new(X, Y, Z)
  250. end
  251. end
  252. end
  253. end
  254. end
  255. end
  256.  
  257. local rainbow = {"Institutional white", "Institutional white", "Institutional white", "Institutional white", "Institutional white", "Institutional white", "Institutional white", "Institutional white", "Institutional white"}
  258. local rainbowCount = 1
  259. local isRainbow = true
  260. for i = 0, 4 do
  261. local m = Instance.new("Model", char)
  262. m.Name = "Tentac00l"
  263. local parts = {}
  264. local lastpart = Head
  265. local defC0 = nil
  266. rainbowCount = 1
  267. for j = 0, 8 do
  268. local sizex = 0.25 - 0.2 * (j / 8)
  269. local sizey = 1.875 - 1.125 * (j / 8)
  270. local p = Instance.new("Part")
  271. p.Size = Vector3.new(0.2, 0.2, 0.2)
  272. p.BrickColor = BrickColor.new("Really black")
  273. p.TopSurface = 0
  274. p.BottomSurface = 0
  275. p.CanCollide = false
  276. p.Material = "SmoothPlastic"
  277. p.TopSurface = 0
  278. p.BottomSurface = 0
  279. local mesh = Instance.new("CylinderMesh", p)
  280. mesh.Name = "CyMesh"
  281. mesh.Scale = Vector3.new(sizex, sizey, sizex) * 5
  282. p.Parent = m
  283. local p2 = p:Clone()
  284. p2.Parent = m
  285. p2.CyMesh.Scale = p2.CyMesh.Scale + Vector3.new(0.075, 0.001, 0.075) * 5
  286. p2.Material = "Neon"
  287. if isRainbow then
  288. p2.BrickColor = BrickColor.new(tostring(rainbow[rainbowCount]))
  289. else
  290. p2.BrickColor = BrickColor.new(j % 2 == 1 and "Toothpaste" or "Electric blue")
  291. end
  292. rainbowCount = rainbowCount + 1
  293. p2.Transparency = 0.35
  294. local w2 = Instance.new("Weld", p)
  295. w2.Parent = p2
  296. w2.Part0 = p
  297. w2.Part1 = p2
  298. local w = Instance.new("Weld", p)
  299. w.Parent = p
  300. w.Part0 = lastpart
  301. w.Part1 = p
  302. if i % 2 ~= 0 or not 96 then
  303. do
  304. w.C0 = CFrame.Angles(0, math.rad(-10 + 200 * i / 4), math.rad(-30 + (j ~= 0 or 70))) * CFrame.new(0, 0.6, 0)
  305. w.C1 = CFrame.new(0, -0.125, 0)
  306. defC0 = w.C0
  307. w.C0 = CFrame.new(0, lastpart.CyMesh.Scale.y / 10, 0)
  308. w.C1 = CFrame.new(0, -sizey / 2, 0)
  309. table.insert(parts, {p, w, p2})
  310. lastpart = p
  311. rs:wait()
  312. -- DECOMPILER ERROR at PC332: LeaveBlock: unexpected jumping out IF_THEN_STMT
  313.  
  314. -- DECOMPILER ERROR at PC332: LeaveBlock: unexpected jumping out IF_STMT
  315.  
  316. end
  317. end
  318. end
  319. 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)}
  320. table.insert(tents, {0, randoms, parts, defC0})
  321. end
  322. player.Chatted:connect(function(msg)
  323.  
  324. if string.sub(msg:lower(), 1, 4) == "col/" then
  325. for i,v in pairs(tents) do
  326. for j,o in pairs(v[3]) do
  327. o[3].BrickColor = BrickColor.new(string.sub(msg, 5))
  328. end
  329. end
  330. else
  331. do
  332. if string.sub(msg:lower(), 1, 7) == "/e col/" then
  333. for i,v in pairs(tents) do
  334. for j,o in pairs(v[3]) do
  335. o[3].BrickColor = BrickColor.new(string.sub(msg, 8))
  336. end
  337. end
  338. end
  339. end
  340. end
  341. end
  342. )
  343. rs:connect(function()
  344.  
  345. for i,v in pairs(tents) do
  346. v[1] = v[1] % 200 + 1
  347. if v[1] == 1 then
  348. v[2][1] = v[2][2]
  349. v[2][2] = v[2][3]
  350. v[2][3] = v[2][4]
  351. v[2][4] = v[2][5]
  352. v[2][5] = v[2][6]
  353. v[2][6] = Vector3.new(math.random(-28, 28) / 100, math.random(-42, 42) / 100, math.random(-28, 28) / 100)
  354. end
  355. local p0 = v[2][1]
  356. local p1 = v[2][2]
  357. local p2 = v[2][3]
  358. local p3 = v[2][4]
  359. local p4 = v[2][5]
  360. local p5 = v[2][6]
  361. local arr = {p0, p1, p2, p3, p4, p5}
  362. local dir = i % 2 == 0 and 1 or -1
  363. for j,V in pairs(v[3]) do
  364. local val = math.sin(math.pi / 2 * 2 * ((v[1] + 100 * j / #v[3] * dir) % 100 / 100))
  365. local off = getV3Cubic(arr, (v[1] + 340 * (j / #v[3])) / 200)
  366. V[3].Transparency = 0.12 + val * 0.65
  367. if j == 1 then
  368. V[2].C0 = v[4] * CFrame.Angles(off.x * 2, off.y * 2, off.z * 2)
  369. else
  370. 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])))
  371. end
  372. end
  373. end
  374. end
  375. )
  376. Model = Instance.new("Model", game.Workspace)
  377. Model.Name = "ShadowFigs"
  378. Model.ChildAdded:connect(function(Child)
  379.  
  380. wait(0.2)
  381. if Child.Name == "ShadowClone" and Child.Name ~= "HoverBlocks" then
  382. local Light = Instance.new("PointLight", Child.Torso)
  383. Light.Color = Color3.new(1, 1, 1)
  384. Light.Range = 10
  385. Light.Brightness = 2
  386. Light.Shadows = true
  387. for t = 1, 5 do
  388. wait(0.1)
  389. for i = 1, #Child:GetChildren() do
  390. Child:GetChildren()[i].Transparency = t / 10 + 0.5
  391. end
  392. end
  393. Child:remove()
  394. end
  395. end
  396. )
  397. Parts = {"Head", "Torso", "Left Arm", "Left Leg", "Right Arm", "Right Leg"}
  398. repeat
  399. wait()
  400. until game.Players.LocalPlayer
  401. Plr = game.Players.LocalPlayer
  402. PlrChildren = Plr:GetChildren()
  403. Plr.Character.Humanoid.WalkSpeed = 32
  404. for i = 1, #PlrChildren do
  405. print(PlrChildren[i])
  406. end
  407. do
  408. while 1 do
  409. Posit = Plr.Character.HumanoidRootPart.Position
  410. wait(0.1)
  411. if Plr.Character.HumanoidRootPart.Position == Posit or Plr.Character.Humanoid.WalkSpeed == 32 then
  412. Set = Instance.new("Model", game.Workspace.ShadowFigs)
  413. Set.Name = "ShadowClone"
  414. for i = 1, #Parts do
  415. PartClone = Plr.Character[Parts[i]]:Clone()
  416. RotationX = math.rad(Plr.Character[Parts[i]].Rotation.X)
  417. RotationY = math.rad(Plr.Character[Parts[i]].Rotation.Y)
  418. RotationZ = math.rad(Plr.Character[Parts[i]].Rotation.Z)
  419. PartClone.CFrame = CFrame.new(Plr.Character[Parts[i]].Position) * CFrame.Angles(RotationX, RotationY, RotationZ)
  420. PartClone.Parent = Set
  421. PartClone.Anchored = true
  422. PartClone.CanCollide = false
  423. PartClone.Transparency = 0.7
  424. PartClone.Material = "Neon"
  425. PartClone.BrickColor = BrickColor.new("White")
  426. if PartClone.Name == "Head" or PartClone.Name == "Torso" then
  427. Children = PartClone:GetChildren()
  428. for i = 1, #Children do
  429. if Children[i].ClassName ~= "Mesh" and Children[i].ClassName ~= "SpecialMesh" then
  430. Children[i]:remove()
  431. end
  432. end
  433. end
  434. end
  435. end
  436. end
  437. end
Add Comment
Please, Sign In to add comment