Advertisement
Dark_EccentricYT

Untitled

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