Advertisement
SuperToast22

Untitled

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