GangHaning

Super Android

Dec 8th, 2016
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. wait(1)
  2. local p = game:service("Players").LocalPlayer
  3. local char = game.Workspace:WaitForChild(p.Name)
  4. local m = p:GetMouse()
  5. local PGui = p:WaitForChild("PlayerGui")
  6. spawn(function()
  7. m = Instance.new("Message", p.PlayerGui)
  8. m.Text = "PRESS \'J\' TO GO SUPER ANDROID"
  9. wait(1)
  10. m:remove()
  11. end)
  12. local t = char:WaitForChild'Torso'
  13. local trans = false
  14. local part = Instance.new('Part')
  15. part.Name = "TransformationPart"
  16. part.Size = Vector3.new(1,1,1)
  17. part.CanCollide = false
  18. part.Anchored = true
  19. part.TopSurface = "Smooth"
  20. part.BottomSurface = "Smooth"
  21. --~~Functions~~--
  22. function lightninglol(part,part2,Vector,siz,color)
  23. local pos = part.Position
  24. local pos2 = part.Position+(Vector*1.4)
  25. local radius = 0.5
  26. local numParts = 6
  27. local model = part
  28. local lv = CFrame.new(pos,pos2).lookVector
  29. local dist = (pos-pos2).magnitude
  30. local dbp = dist/numParts
  31. local last = pos
  32. for i = 1,numParts do
  33. local p = Instance.new("Part",model)
  34. p.Size = siz
  35. p.CanCollide = false
  36. p.Anchored = true
  37. p.Material = "Neon"
  38. p.BrickColor = color
  39. p.Transparency = 0.5
  40. local x = math.random(-2,2)/2*dbp/4
  41. local y = math.random(-2,2)/2*dbp/4
  42. local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0)
  43. local dist2 = (p2.p-last).magnitude
  44. local mid = (p2.p+last)/2
  45. local m = Instance.new("BlockMesh",p)
  46. m.Scale = Vector3.new(radius,radius,dist2)
  47. p.CFrame = CFrame.new(mid,p2.p)
  48. last = p2.p
  49. game:GetService("Debris"):AddItem(p,0.2)
  50. end
  51. end
  52. --~~Transformation~~--
  53. local transform = function(active)
  54. if active == false then
  55. active = true
  56. t.Anchored = true
  57. for i = 1,20 do
  58. local p2 = part:Clone()
  59. p2.Parent = t
  60. p2.CFrame = t.CFrame*CFrame.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))
  61. p2.Anchored = false
  62. p2.CanCollide = false
  63. p2.BrickColor = BrickColor.new("Black")
  64. p2.Material = "Neon"
  65. local bb = Instance.new('BodyPosition')
  66. bb.Position = t.Position
  67. bb.P = 20000
  68. bb.Parent = p2
  69. delay(0,function()
  70. for i=1,10 do
  71. p2.Transparency = i/10
  72. p2.CFrame = p2.CFrame * CFrame.Angles(math.rad(2),math.rad(4),math.rad(2))
  73. wait()
  74. end
  75. p2:Destroy()
  76. end)
  77. wait(0.1)
  78. end
  79. delay(0,function()
  80. for i=1, 30 do
  81. local p2 = part:Clone()
  82. p2.CFrame = t.CFrame*CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28)
  83. p2.BrickColor = BrickColor.new("Bright red")
  84. p2.Material = "Neon"
  85. p2.Parent = t
  86. local mr = Instance.new("SpecialMesh", p2)
  87. mr.MeshType = "Cylinder"
  88. mr.Scale = Vector3.new(400,0.6,0.6)
  89. delay(0,function()
  90. for i=1,25 do
  91. wait(0.071428571428571)
  92. p2.Transparency = i/25
  93. p2.CFrame = p2.CFrame * CFrame.Angles(0.05, 0.05, 0.05)
  94. end
  95. p2:Remove()
  96. end)
  97. wait(0.1)
  98. end
  99. end)
  100. for i=1,60 do
  101. lightninglol(t,nil,Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60)),Vector3.new(1,1,1),BrickColor.new("Really black"))
  102. wait()
  103. end
  104. for i=1,4 do
  105. t.CFrame = t.CFrame * CFrame.new(0,2,0)
  106. wait(0.13)
  107. end
  108. local p2 = part:Clone()
  109. p2.CFrame = t.CFrame
  110. p2.BrickColor = BrickColor.new("Really red")
  111. p2.Material = "Neon"
  112. local mr = Instance.new("SpecialMesh",p2)
  113. mr.Name = "MM"
  114. mr.Scale = Vector3.new(5,5,5)
  115. mr.MeshId = "http://www.roblox.com/Asset/?id=9982590"
  116. for i = 1,math.random(3,6) do
  117. local p22 = p2:Clone()
  118. p22.Parent = t
  119. p22.CFrame = t.CFrame
  120. for i=1,10 do
  121. p22.MM.Scale = p22.MM.Scale + Vector3.new(3,3,3)
  122. p22.Transparency = i/10
  123. wait()
  124. end
  125. p22:Remove()
  126. end
  127. wait()
  128. end
  129. for i = 1,4 do
  130. t.CFrame = t.CFrame * CFrame.new(0,-2,0)
  131. wait()
  132. end
  133. t.Anchored = false
  134. local hh = script.Hair:Clone()
  135. hh.Parent = char
  136. hh.CFrame = char.Head.CFrame * CFrame.new(0,1,0.25) * CFrame.Angles(0,math.rad(180),0)
  137. function makeWeld(a, b)
  138. local weld = Instance.new("Motor6D")
  139. if(not a or not b)then return weld end
  140. weld.Part0 = a
  141. weld.Part1 = b
  142. weld.C0 = CFrame.new()
  143. weld.C1 = b.CFrame:inverse() * a.CFrame
  144. weld.Parent = a
  145. return weld;
  146. end
  147. makeWeld(hh,char.Head)
  148. local colorpicked = BrickColor.Random()
  149. for _,hats in ipairs(char:GetChildren()) do
  150. if hats.ClassName == "Hat" then
  151. hats:Remove()
  152. elseif hats.Name == "Body Colors" then
  153. hats.HeadColor = colorpicked
  154. hats.TorsoColor = colorpicked
  155. hats.LeftArmColor = colorpicked
  156. hats.LeftLegColor = colorpicked
  157. hats.RightArmColor = colorpicked
  158. hats.RightLegColor = colorpicked
  159. end
  160. end
  161. end
  162. wait(1)
  163. local m = p:GetMouse()
  164. m.KeyDown:connect(function(k)
  165. if k == "j" then
  166. transform(trans)
  167. end
  168. end)
  169. --~~End of Script~~--
Add Comment
Please, Sign In to add comment