Advertisement
memberhero

aspark2 not inspired to make

Oct 16th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.14 KB | None | 0 0
  1. repeat
  2. wait(0.5)
  3. until game:service("Players").LocalPlayer.Character ~= nil
  4. local Player = game:service("Players").LocalPlayer
  5. local ch = Player.Character
  6. local occ = Instance.new("BoolValue", ch)
  7. occ.Name = "Occupied"
  8. local swi = Instance.new("StringValue", ch)
  9. swi.Name = "switch"
  10. local trans = Instance.new("BoolValue", ch)
  11. trans.Name = "trans"
  12. repeat wait() until ch.Humanoid ~= nil
  13. ch.Humanoid.Died:connect(function()
  14. Player.CharacterAdded:connect(function(chz)
  15. local occ = Instance.new("BoolValue", chz)
  16. occ.Name = "Occupied"
  17. local swi = Instance.new("StringValue", chz)
  18. swi.Name = "switch"
  19. local trans = Instance.new("BoolValue", chz)
  20. trans.Name = "trans"
  21. end
  22. )
  23. end)
  24. local PGui = Player:WaitForChild("PlayerGui")
  25. local Character = Player.Character
  26. local Humanoid = Character:WaitForChild("Humanoid")
  27. local Head = Character:WaitForChild("Head")
  28. local Torso = Character:WaitForChild("Torso")
  29. local HRP = Character:WaitForChild("HumanoidRootPart")
  30. local RArm = Character:WaitForChild("Right Arm")
  31. local LArm = Character:WaitForChild("Left Arm")
  32. local RLeg = Character:WaitForChild("Right Leg")
  33. local LLeg = Character:WaitForChild("Left Leg")
  34. msgz = Instance.new("Message", PGui)
  35. msgz.Text = "Chat \'aspark2\' to go aspark2, and \'off\' to turn it off!"
  36. game.Debris:AddItem(msgz, 6.5)
  37. local Joints = {Head = Torso.Neck, Torso = HRP.RootJoint, RArm = Torso["Right Shoulder"], LArm = Torso["Left Shoulder"], RLeg = Torso["Right Hip"], LLeg = Torso["Left Hip"]}
  38. local Refresh = function()
  39. Joints.Head.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  40. Joints.Torso.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  41. Joints.RArm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  42. Joints.LArm.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  43. Joints.RLeg.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  44. Joints.LLeg.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  45. Joints.Head.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  46. Joints.Torso.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  47. Joints.RArm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  48. Joints.LArm.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  49. Joints.RLeg.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  50. Joints.LLeg.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  51. end
  52.  
  53. Anims = {Pose = function(active)
  54. if active then
  55. for i = 0, 10, 0.5 do
  56. wait(0.016666666666667)
  57. Joints.Head.C0 = Joints.Head.C0 * CFrame.Angles(0.015, 0, 0)
  58. Joints.Torso.C0 = Joints.Torso.C0 * CFrame.Angles(0.01, 0, 0)
  59. Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, 0.03, math.rad(70) / 10)
  60. Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, -0.03, -math.rad(70) / 10)
  61. Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.015)
  62. Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.01, 0)
  63. end
  64. else
  65. do
  66. for i = 0, 10, 0.5 do
  67. wait(0.016666666666667)
  68. Joints.Head.C0 = Joints.Head.C0 * CFrame.Angles(0.015, 0, 0):inverse()
  69. Joints.Torso.C0 = Joints.Torso.C0 * CFrame.Angles(0.01, 0, 0):inverse()
  70. Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, 0.03, math.rad(70) / 10):inverse()
  71. Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, -0.03, -math.rad(70) / 10):inverse()
  72. Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.015):inverse()
  73. Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.01, 0):inverse()
  74. end
  75. end
  76. end
  77. end
  78. , Implode = function(active)
  79. if active then
  80. for i = 0, 7, 0.5 do
  81. wait(0.016666666666667)
  82. Joints.Head.C0 = Joints.Head.C0 * CFrame.Angles(-0.025, 0, 0)
  83. Joints.Torso.C0 = Joints.Torso.C0 * CFrame.Angles(-0.02, 0, 0)
  84. Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.05, -0.015, math.rad(100) / 10)
  85. Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.05, 0.015, -math.rad(100) / 10)
  86. Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.025, -0.02, -0.025)
  87. Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.01, 0.03)
  88. end
  89. else
  90. do
  91. for i = 0, 7, 0.5 do
  92. wait(0.016666666666667)
  93. Joints.Head.C0 = Joints.Head.C0 * CFrame.Angles(-0.025, 0, 0):inverse()
  94. Joints.Torso.C0 = Joints.Torso.C0 * CFrame.Angles(-0.02, 0, 0):inverse()
  95. Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.05, -0.015, math.rad(100) / 10):inverse()
  96. Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.05, 0.015, -math.rad(100) / 10):inverse()
  97. Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.025, -0.02, -0.025):inverse()
  98. Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.01, 0.03):inverse()
  99. end
  100. end
  101. end
  102. end
  103. }
  104. local Transformed, Occupied = false, false
  105. local Create = assert(LoadLibrary("RbxUtility")).Create
  106. local Part = Create("Part")({TopSurface = 0, BottomSurface = 0, formFactor = "Custom", Size = Vector3.new(1, 1, 1), Anchored = true, CanCollide = false})
  107. local Flash = function(Par, Col, Duration, Delay, Async)
  108. pcall(function()
  109. Par = Par or PGui
  110. if not Col then
  111. Col = BrickColor:White().Color
  112. Duration = Duration or 10
  113. if not Delay then
  114. Delay = 1 / Duration
  115. local G = Create("ScreenGui")({Parent = Par})
  116. if not Col then
  117. local F = Create("Frame")({Parent = G, BorderSizePixel = 0, Size = UDim2.new(1.2, 0, 1.2, 0), Position = UDim2.new(), ZIndex = 10, BackgroundColor3 = Color3.new(1, 1, 1), Transparency = 0})
  118. local f = function()
  119. for i = 0, Duration, Delay do
  120. wait(0.016666666666667)
  121. F.Transparency = i / Duration
  122. end
  123. pcall(game.Destroy, G)
  124. end
  125.  
  126. if Async then
  127. f = coroutine.wrap(f)
  128. end
  129. return f()
  130. end
  131. end
  132. end
  133. end
  134. )
  135. end
  136.  
  137. local Shake = function(Duration, Delay, Distance, Async)
  138. pcall(function()
  139. local Cam = workspace.CurrentCamera
  140. Duration = Duration or 10
  141. if not Delay then
  142. Delay = 1 / Duration
  143. Distance = Distance or 15
  144. local f = function()
  145. for i = 0, Duration, Delay do
  146. wait(0.016666666666667)
  147. local R = Cam.CoordinateFrame - Cam.CoordinateFrame.p
  148. local Scroll = (Cam.CoordinateFrame.p - Cam.Focus.p).magnitude
  149. local NewF = CFrame.new(Cam.Focus.p) * R * CFrame.new(math.random(-Distance, Distance) / (Distance / 0.25), math.random(-Distance, Distance) / (Distance / 0.25), math.random(-Distance, Distance) / (Distance / 0.25))
  150. Cam.CoordinateFrame = NewF * CFrame.new(0, 0, Scroll)
  151. end
  152. end
  153.  
  154. if Async then
  155. f = coroutine.wrap(f)
  156. end
  157. return f()
  158. end
  159. end
  160. )
  161. end
  162.  
  163. local Sound = function(Prnt, Id, Pit, Vol)
  164. pcall(function()
  165. local cp = game:service("ContentProvider")
  166. if type(Id) == "number" then
  167. cp:Preload("rbxassetid://" .. Id)
  168. Id = "rbxassetid://" .. Id
  169. else
  170. if type(Id) == "string" then
  171. cp:Preload(Id)
  172. Id = Id
  173. end
  174. end
  175. local S = Create("Sound")({Parent = Prnt or workspace, SoundId = Id, Volume = Vol or 1, Pitch = Pit or 1})
  176. S:Play()
  177. S:Stop()
  178. S:Play()
  179. game:service("Debris"):AddItem(S, 0.9)
  180. end
  181. )
  182. end
  183.  
  184. local Chat = function(Par, Msg, Col)
  185. if Msg then
  186. if not Par then
  187. Par = Head
  188. end
  189. if not Col then
  190. Col = math.random(0, 2)
  191. end
  192. game:service("Chat"):Chat(Par, Msg, Col)
  193. end
  194. end
  195.  
  196. local Transform = function(active)
  197. if active and not Transformed and not Occupied then
  198. Occupied = true
  199. Humanoid.WalkSpeed = 0
  200. local cp = game:service("ContentProvider")
  201. Hair = {}
  202. mp = Part:clone()
  203. mp.Parent = Head
  204. mp.CFrame = Head.CFrame
  205. mp.Name = "Main"
  206. mp.Transparency = 1
  207. mp.Anchored = false
  208. local w = Create("Weld")({Parent = mp, Part0 = mp, Part1 = Head, C0 = CFrame.new()})
  209. cp:Preload("rbxassetid://169271913", "rbxassetid://9982590", "rbxassetid://5000000000000000000070017", "rbxassetid://13425802", "rbxassetid://98444143", "rbxassetid://98444243")
  210. do
  211. for i = 1, 6 do
  212. local h = Part:clone()
  213. h.CFrame = Head.CFrame
  214. h.Parent = mp
  215. h.Transparency = 1
  216. h.Size = Vector3.new(0.2, 0.2, 0.2)
  217. h.Material = "Neon"
  218. h.Anchored = false
  219. h:BreakJoints()
  220. local w = Create("Weld")({Parent = h, Part0 = h, Part1 = Head, C0 = CFrame.new()})
  221. local m = Create("SpecialMesh")({Parent = h, MeshType = "FileMesh", MeshId = "rbxassetid://167554431 ", TextureId = "rbxassetid://98444243", Scale = Vector3.new(1, 1, 1), VertexColor = Vector3.new(0.2, 0.2, 0.2)})
  222. if i > 1 then
  223. m.Scale = Vector3.new(1.125, 1.3, 1.125)
  224. m.MeshId = "rbxassetid://98444143"
  225. m.VertexColor = Vector3.new(0.2, 0.2, 0.2)
  226. end
  227. table.insert(Hair, h)
  228. end
  229. end
  230. Hair[1].Weld.C0 = CFrame.new()
  231. Hair[2].Mesh.Scale = Vector3.new(1, 1.2, 1)
  232. Hair[2].Weld.C0 = CFrame.new(0, -0.85, -0.45) * CFrame.Angles(0.65, 0, 0)
  233. Hair[3].Weld.C0 = CFrame.new(0, -1, -0.25) * CFrame.Angles(-0.15, 0, 0)
  234. Hair[4].Weld.C0 = CFrame.new(0.35, -0.6, -0.4) * CFrame.Angles(0.4, -0.2, -0.35)
  235. Hair[5].Weld.C0 = CFrame.new(-0.35, -0.6, -0.4) * CFrame.Angles(0.4, 0.2, 0.35)
  236. Hair[4].Mesh.Scale = Vector3.new(0.7, 0.95, 1)
  237. Hair[6].Weld.C0 = CFrame.new(0, -0.85, -0.35) * CFrame.Angles(-0.76, 0, 0)
  238. Hair[5].Mesh.Scale = Hair[4].Mesh.Scale
  239. Hair[6].Mesh.Scale = Hair[4].Mesh.Scale
  240. Anims.Pose(true)
  241. Chat(nil, "WHAT\'S HAPPENING?!?! I CAN\'T CONTROL MYSELF!", nil)
  242. Flash(nil, BrickColor.new("Royal purple").Color, 3, 0.05, true)
  243. Shake(16, 0.05, 55, true)
  244. coroutine.resume(coroutine.create(function()
  245. for i = 1, 2 do
  246. Sound(Head, 2248511, 0.4, 0.6)
  247. Sound(Head, 2691586, 0.4, 0.4)
  248. Shake(8, 0.05, 55, true)
  249. wait(1)
  250. end
  251. end
  252. ))
  253. local spi = Part:Clone()
  254. spi.Parent = Torso
  255. spi.Anchored = false
  256. spi.Transparency = 0.01
  257. spi.BrickColor = BrickColor.new("Royal purple")
  258. spi.Material = "Neon"
  259. local w = Instance.new("Weld", spi)
  260. w.Part0 = spi
  261. w.Part1 = Torso
  262. local m = Instance.new("SpecialMesh", spi)
  263. m.Scale = Vector3.new(10, 10, 10) * 2.5
  264. m.MeshType = "Sphere"
  265. do
  266. do
  267. local growing = true
  268. coroutine.resume(coroutine.create(function()
  269. local angle = 0
  270. while wait(0.05) and growing do
  271. angle = angle % 100 + 0.3
  272. m.Scale = Vector3.new(25 + math.sin(angle) * 2.5, 25 + math.sin(angle) * 2.5, 25 + math.sin(angle) * 2.5)
  273. end
  274. end
  275. ))
  276. do
  277. for i = 1, 9 do
  278. wait(0.9)
  279. Shake(8, 0.05, 55, true)
  280. Sound(Head, 2248511, 0.4, 0.6)
  281. Sound(Head, 2691586, 0.4, 0.4)
  282. Sound(Head, 2101137, 0.50000000000000000000, 0.8)
  283. Sound(Head, 2101137, 0.55, 0.8)
  284. Sound(Head, 2101137, 0.45, 0.6)
  285. Flash(nil, BrickColor.new("Royal purple").Color, 2, 0.05, true)
  286. for i = 1, math.random(4, 5) do
  287. local p = Part:Clone()
  288. p.Parent = Torso
  289. p.Anchored = false
  290. p.CFrame = Torso.CFrame
  291. p.BrickColor = BrickColor.new("Royal purple")
  292. local w = Instance.new("Weld", p)
  293. w.Part0 = p
  294. w.Part1 = Torso
  295. w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28)
  296. local m = Instance.new("CylinderMesh", p)
  297. m.Scale = Vector3.new(math.random() * 6, 500000000000000000000, math.random() * 6)
  298. coroutine.resume(coroutine.create(function()
  299. for i = 1, 12 do
  300. wait(0.14285714285714)
  301. w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05)
  302. p.Transparency = i / 12
  303. end
  304. p:Destroy()
  305. end
  306. ))
  307. end
  308. end
  309. end
  310. Anims.Pose(false)
  311. Anims.Implode(true)
  312. Sound(Head, 5000000000000000000064793, 0.55, 0.9)
  313. Sound(Head, 2974249, 0.65, 0.9)
  314. Sound(Head, 2974000, 0.65, 0.9)
  315. Flash(nil, BrickColor.new("Royal purple").Color, 10, 0.1, true)
  316. Chat(nil, "SPARKS, I WON\'T LET YOU CONTROL ME!", nil)
  317. growing = false
  318. wait(2.1)
  319. pcall(function()
  320. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=233943193"
  321. end
  322. )
  323. wait(0.1)
  324. pcall(function()
  325. end
  326. )
  327. coroutine.resume(coroutine.create(function()
  328. for i = 0, 1, 0.075 do
  329. wait(0.016666666666667)
  330. for _,v in pairs(Character:GetChildren()) do
  331. if v.Name == "Hair" then
  332. v.Transparency = i
  333. end
  334. end
  335. end
  336. for _,v in pairs(Character:GetChildren()) do
  337. if v.Name == "Hair" then
  338. v.Transparency = 1
  339. end
  340. end
  341. end
  342. ))
  343. Sound(Head, 98333808, 1, 1)
  344. for i = 1, 0, -0.075 do
  345. wait(0.016666666666667)
  346. for _,v in pairs(Hair) do
  347. v.Transparency = i
  348. end
  349. end
  350. for _,v in pairs(Hair) do
  351. v.Transparency = 0
  352. end
  353. Sound(Head, 98333808, 1, 1)
  354. Sound(Head, 5000000000000000000064793, 0.55, 0.9)
  355. Sound(Head, 2974249, 0.65, 0.9)
  356. Sound(Head, 2974000, 0.65, 0.9)
  357. Shake(15, 0.25, 40, true)
  358. Flash(nil, BrickColor.new("Royal purple").Color, 10, 0.1, true)
  359. coroutine.resume(coroutine.create(function()
  360. for i = 1, 2 do
  361. Sound(Head, 2248511, 0.3, 0.6)
  362. Sound(Head, 2691586, 0.3, 0.4)
  363. Sound(Head, 5000000000000000000064793, 0.55, 0.9)
  364. Sound(Head, 2974249, 0.65, 0.9)
  365. Sound(Head, 2974000, 0.65, 0.9)
  366. wait(3)
  367. end
  368. end
  369. ))
  370. for i = 1, 50 do
  371. wait(0.045)
  372. m.Scale = m.Scale - Vector3.new(1, 1, 1) / 1.95
  373. end
  374. SSF = Create("Fire")({Parent = HRP, Color = Color3.new(1, 0, 0), Heat = 20, SecondaryColor = Color3.new(0.33333333333333, 0, 0), Size = 8})
  375. Chat(nil, "This is..", nil)
  376. wait(1)
  377. spi.BrickColor = BrickColor.new("Royal purple")
  378. Flash(nil, BrickColor.new("Royal purple").Color, 7, 0.1, true)
  379. for i = 1, 20 do
  380. m.Scale = m.Scale + Vector3.new(6, 6, 6)
  381. spi.Transparency = i / 20
  382. wait(0.03)
  383. end
  384. Chat(nil, "SUPER SAIYAN FOUR!", nil)
  385. spi:Destroy()
  386. SSF.Size = 12
  387. Anims.Implode(false)
  388. Humanoid.WalkSpeed = 16
  389. Transformed = true
  390. Occupied = false
  391. if not active and Transformed and not Occupied then
  392. Occupied = true
  393. Humanoid.WalkSpeed = 0
  394. Anims.Pose(true)
  395. Chat(nil, "It\'s time..", nil)
  396. Sound(Head, 2248511, 0.75, 0.6)
  397. Sound(Head, 2691586, 0.7, 0.4)
  398. Sound(Head, 2785493, 0.55, 0.9)
  399. Sound(Head, 2785493, 0.7, 0.7)
  400. Shake(5, 0.1, 20, true)
  401. Flash(nil, Color3.new(1, 1, 1), 7, 0.1, false)
  402. coroutine.resume(coroutine.create(function()
  403. for i = 1, 0, -0.075 do
  404. wait(0.016666666666667)
  405. for _,v in pairs(Character:GetChildren()) do
  406. if v.Name == "Hair" then
  407. v.Transparency = i
  408. end
  409. end
  410. end
  411. for _,v in pairs(Character:GetChildren()) do
  412. if v.Name == "Hair" then
  413. v.Transparency = 0
  414. end
  415. end
  416. end
  417. ))
  418. for i = 0, 1, 0.075 do
  419. wait(0.016666666666667)
  420. for _,v in pairs(Hair) do
  421. v.Transparency = i
  422. end
  423. end
  424. for _,v in pairs(Hair) do
  425. v.Transparency = 1
  426. end
  427. Sound(Head, 2800815, 0.85, 1)
  428. Sound(Head, 2800815, 0.55, 0.8)
  429. Sound(Head, 2691586, 0.45, 0.3)
  430. Hair = {}
  431. pcall(game.Destroy, mp)
  432. pcall(game.Destroy, SSF)
  433. pcall(function()
  434. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=233943193"
  435. end
  436. )
  437. wait(0.1)
  438. pcall(function()
  439. end
  440. )
  441. Chat(nil, "You\'re an unworthy opponent", "Blue")
  442. Anims.Pose(false)
  443. Humanoid.WalkSpeed = 16
  444. wait(0.35)
  445. Transformed = false
  446. Occupied = false
  447. end
  448. end
  449. end
  450. end
  451. end
  452.  
  453. Player.Chatted:connect(function(Msg)
  454. if Character.trans.Value == false and Character.Occupied.Value == false then
  455. if Msg:lower() == "aspark2" and Character.switch.Value == "" then
  456. Character.switch.Value = "aspark2"
  457. Character.trans.Value = true
  458. Transform(true)
  459. Humanoid.MaxHealth = Humanoid.MaxHealth + tonumber("50000000000000000000")
  460. wait(1)
  461. Humanoid.Health = Humanoid.Health + tonumber("50000000000000000000")
  462. Character.trans.Value = false
  463. else
  464. if Msg:lower() == "off" and Character.switch.Value == "aspark2" then
  465. Character.trans.Value = true
  466. Transform(false)
  467. Humanoid.Health = Humanoid.Health - tonumber("50000000000000000000")
  468. wait(1)
  469. Humanoid.MaxHealth = Humanoid.MaxHealth - tonumber("50000000000000000000")
  470. Character.trans.Value = false
  471. Character.switch.Value = ""
  472. end
  473. end
  474. end
  475. end
  476. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement