Advertisement
GangHaning

USSJ

Dec 8th, 2016
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.62 KB | None | 0 0
  1. repeat
  2. wait()
  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 WS = Humanoid.WalkSpeed
  28. local Head = Character:WaitForChild("Head")
  29. local Torso = Character:WaitForChild("Torso")
  30. local HRP = Character:WaitForChild("HumanoidRootPart")
  31. local RArm = Character:WaitForChild("Right Arm")
  32. local LArm = Character:WaitForChild("Left Arm")
  33. local RLeg = Character:WaitForChild("Right Leg")
  34. local LLeg = Character:WaitForChild("Left Leg")
  35. msgz = Instance.new("Message", PGui)
  36. msgz.Text = "Chat \'USSJ\' to go USSJ, and \'off\' to turn it off!"
  37. game.Debris:AddItem(msgz, 6.5)
  38. local Joints = {Head = Torso.Neck, Torso = HRP.RootJoint, RArm = Torso["Right Shoulder"], LArm = Torso["Left Shoulder"], RLeg = Torso["Right Hip"], LLeg = Torso["Left Hip"]}
  39. local Refresh = function()
  40. Joints.Head.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  41. Joints.Torso.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  42. Joints.RArm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  43. Joints.LArm.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  44. Joints.RLeg.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  45. Joints.LLeg.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  46. Joints.Head.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  47. Joints.Torso.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  48. Joints.RArm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  49. Joints.LArm.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  50. Joints.RLeg.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  51. Joints.LLeg.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  52. end
  53.  
  54. local Transformed, Occupied = false, false
  55. local Create = assert(LoadLibrary("RbxUtility")).Create
  56. local Part = Create("Part")({TopSurface = 0, BottomSurface = 0, formFactor = "Custom", Size = Vector3.new(1, 1, 1), Anchored = true, CanCollide = false})
  57. local Anims = {Scrunch = function(active)
  58. if active then
  59. for i = 0, 10, 0.5 do
  60. wait(0.016666666666667)
  61. Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0)
  62. Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0)
  63. Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01)
  64. Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01)
  65. end
  66. else
  67. do
  68. for i = 0, 10, 0.5 do
  69. wait(0.016666666666667)
  70. Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse()
  71. Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse()
  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.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155)
  84. Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155)
  85. Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015)
  86. Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015)
  87. end
  88. else
  89. do
  90. for i = 0, 10, 0.75 do
  91. wait(0.016666666666667)
  92. Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155):inverse()
  93. Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155):inverse()
  94. Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015):inverse()
  95. Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015):inverse()
  96. end
  97. end
  98. end
  99. end
  100. }
  101. Flash = function(Par, Col, Duration, Delay, Async)
  102. pcall(function()
  103. Par = Par or PGui
  104. if not Col then
  105. Col = BrickColor:White().Color
  106. Duration = Duration or 10
  107. if not Delay then
  108. Delay = 1 / Duration
  109. local G = Create("ScreenGui")({Parent = Par})
  110. if not Col then
  111. 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})
  112. local f = function()
  113. for i = 0, Duration, Delay do
  114. wait(0.016666666666667)
  115. F.Transparency = i / Duration
  116. end
  117. pcall(game.Destroy, G)
  118. end
  119.  
  120. if Async then
  121. f = coroutine.wrap(f)
  122. end
  123. return f()
  124. end
  125. end
  126. end
  127. end
  128. )
  129. end
  130.  
  131. Shake = function(Duration, Delay, Async, Distance)
  132. pcall(function()
  133. local Cam = workspace.CurrentCamera
  134. Duration = Duration or 10
  135. if not Delay then
  136. Delay = 1 / Duration
  137. Distance = Distance or 15
  138. local f = function()
  139. for i = 0, Duration, Delay do
  140. wait(0.016666666666667)
  141. local R = Cam.CoordinateFrame - Cam.CoordinateFrame.p
  142. local Scroll = Cam.CoordinateFrame.p - Cam.Focus.p.magnitude
  143. 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))
  144. Cam.CoordinateFrame = NewF * CFrame.new(0, 0, Scroll)
  145. end
  146. end
  147.  
  148. if Async then
  149. f = coroutine.wrap(f)
  150. end
  151. return f()
  152. end
  153. end
  154. )
  155. end
  156.  
  157. Sound = function(Prnt, Id, Pit, Vol)
  158. pcall(function()
  159. local cp = game:service("ContentProvider")
  160. if type(Id) == "number" then
  161. cp:Preload("rbxassetid://" .. Id)
  162. Id = "rbxassetid://" .. Id
  163. else
  164. if type(Id) == "string" then
  165. cp:Preload(Id)
  166. Id = Id
  167. end
  168. end
  169. local S = Create("Sound")({Parent = Prnt or workspace, SoundId = Id, Volume = Vol or 1, Pitch = Pit or 1})
  170. S:Play()
  171. S:Stop()
  172. S:Play()
  173. game:service("Debris"):AddItem(S, 0.9)
  174. end
  175. )
  176. end
  177.  
  178. local Chat = function(Source, Txt, Col)
  179. if not Source then
  180. Source = Head
  181. end
  182. local c = game:service("Chat")
  183. if not Col then
  184. c:Chat(Source, Txt, math.random(0, 2))
  185. end
  186. end
  187.  
  188. Transform = function(active)
  189. if active and not Occupied and not Transformed then
  190. Occupied = true
  191. Humanoid.WalkSpeed = 0
  192. local cp = game:service("ContentProvider")
  193. Hair = {}
  194. mp = Part:clone()
  195. mp.Parent = Head
  196. mp.CFrame = Head.CFrame
  197. mp.Name = "Main"
  198. mp.Transparency = 1
  199. mp.Anchored = false
  200. local w = Create("Weld")({Parent = mp, Part0 = mp, Part1 = Head, C0 = CFrame.new()})
  201. cp:Preload("rbxassetid://9982590", "rbxassetid://3270017", "rbxassetid://13425802", "rbxassetid://98444143", "rbxassetid://98444243")
  202. for i = 1, 6 do
  203. local h = Part:clone()
  204. h.CFrame = Head.CFrame
  205. h.Parent = mp
  206. h.Transparency = 1
  207. h.Size = Vector3.new(0.2, 0.2, 0.2)
  208. h.Anchored = false
  209. h:BreakJoints()
  210. local w = Create("Weld")({Parent = h, Part0 = h, Part1 = Head, C0 = CFrame.new()})
  211. local m = Create("SpecialMesh")({Parent = h, MeshType = "FileMesh", MeshId = "rbxassetid://74868480", TextureId = "rbxassetid://98444243", Scale = Vector3.new(1.1, 1.25, 1.1)})
  212. if i > 1 then
  213. m.Scale = Vector3.new(1.125, 1.3, 1.125)
  214. m.MeshId = "rbxassetid://98444143"
  215. end
  216. table.insert(Hair, h)
  217. end
  218. Hair[1].Weld.C0 = CFrame.new(0, -0.1, 0) * CFrame.Angles(-0.15, -0.2, 0)
  219. Hair[2].Weld.C0 = CFrame.new(0, -0.75, -0.3) * CFrame.Angles(0.3, 0, 0)
  220. Hair[3].Weld.C0 = CFrame.new(0, -0.6, -0.2) * CFrame.Angles(1.25, math.rad(180), 0)
  221. Hair[4].Weld.C0 = CFrame.new(0.1, -0.6, -0.4) * CFrame.Angles(0.35, -0.2, -0.35)
  222. Hair[5].Weld.C0 = CFrame.new(-0.1, -0.6, -0.4) * CFrame.Angles(0.35, 0.2, 0.35)
  223. Hair[4].Mesh.Scale = Vector3.new(0.7, 0.95, 1)
  224. Hair[6].Weld.C0 = CFrame.new(0, -1, -0.4)
  225. Hair[5].Mesh.Scale = Hair[4].Mesh.Scale
  226. Hair[6].Mesh.Scale = Hair[4].Mesh.Scale
  227. Sound(Head, 98333808, 1, 0.85)
  228. Sound(Head, 2248511, 0.25, 0.55)
  229. wait(0.2)
  230. Chat(nil, "I\'ll show you my raging fury!", "Blue")
  231. SSF = Create("Fire")({Parent = HRP, Color = Color3.new(1, 1, 0), Heat = 10, SecondaryColor = Color3.new(1, 0.66666666666667, 0), Size = 7})
  232. Anims.Scrunch(true)
  233. for i = 1, 5 do
  234. Shake(25, 0.5, 5)
  235. Flash(nil, BrickColor.new("New Yeller").Color, 10, 0.25, true)
  236. Sound(Head, 2101137, 0.5, 0.8)
  237. Sound(Head, 3264793, 0.55, 0.9)
  238. local h = Part:clone()
  239. h.CFrame = Torso.CFrame
  240. h.Parent = Torso
  241. h.Transparency = 1
  242. h.Size = Vector3.new(1, 1, 1)
  243. h.Anchored = false
  244. h.BrickColor = BrickColor.new("New Yeller")
  245. h:BreakJoints()
  246. local w = Create("Weld")({Parent = h, Part0 = h, Part1 = HRP, C0 = CFrame.new(0, 2.5, 0)})
  247. local m = Create("SpecialMesh")({Parent = h, MeshType = "FileMesh", MeshId = "http://www.roblox.com/asset/?id=20329976", Scale = Vector3.new(8, 3, 8)})
  248. local org = w.C0
  249. for _i = 1, 15 do
  250. h.Transparency = _i / 15
  251. w.C0 = org * CFrame.new(math.random() - 0.5, math.random() - 0.5, math.random() - 0.5) * CFrame.Angles(0, _i / 3, 0)
  252. wait(0.033333333333333)
  253. end
  254. h:Destroy()
  255. end
  256. coroutine.resume(coroutine.create(function()
  257. for i = 1, 1 do
  258. local h = Part:clone()
  259. h.CFrame = Torso.CFrame
  260. h.Parent = Torso
  261. h.Transparency = 1
  262. h.Size = Vector3.new(1, 1, 1)
  263. h.Anchored = false
  264. h.BrickColor = BrickColor.new("New Yeller")
  265. h.Material = "Neon"
  266. h:BreakJoints()
  267. local w = Create("Weld")({Parent = h, Part0 = h, Part1 = HRP, C0 = CFrame.new() * CFrame.Angles(math.rad(90), 0, 0)})
  268. local m = Create("SpecialMesh")({Parent = h, MeshType = "FileMesh", MeshId = "rbxassetid://3270017", Scale = Vector3.new(1, 1, 1)})
  269. local org = w.C0
  270. for _i = 1, 75 do
  271. wait(0.055555555555556)
  272. w.C0 = org * CFrame.new(math.random() - 0.5, 0, math.random() - 0.5)
  273. m.Scale = Vector3.new(_i * 1.5, _i * 1.5, _i * 1.5)
  274. h.Transparency = _i / 75
  275. end
  276. h:Destroy()
  277. end
  278. end
  279. ))
  280. Shake(25, 0.5, 5)
  281. Flash(nil, BrickColor.new("New Yeller").Color, 10, 1, true)
  282. Sound(Head, 2101137, 0.5, 0.8)
  283. Sound(Head, 3264793, 0.55, 0.9)
  284. local h = Part:clone()
  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("New Yeller")
  291. h.Material = "Neon"
  292. h:BreakJoints()
  293. local w = Create("Weld")({Parent = h, Part0 = h, Part1 = HRP, C0 = CFrame.new(0, 2.5, 0)})
  294. local m = Create("SpecialMesh")({Parent = h, MeshType = "FileMesh", MeshId = "http://www.roblox.com/asset/?id=20329976", Scale = Vector3.new(2, 2, 2)})
  295. local h2 = h:Clone()
  296. h2.Parent = Torso
  297. h2:breakJoints()
  298. local w2 = Create("Weld")({Parent = h2, Part0 = h2, Part1 = HRP, C0 = CFrame.new(0, 0, 0)})
  299. local m2 = Create("SpecialMesh")({Parent = h2, MeshType = "Sphere", Scale = Vector3.new(2, 2, 2)})
  300. local org = w.C0
  301. do
  302. do
  303. local org2 = w2.C0
  304. for _i = 1, 75 do
  305. ran = math.random() - 0.5
  306. h.Transparency = _i / 75
  307. if _i % 15 == 0 then
  308. Shake(25, 0.5, 5)
  309. Flash(nil, BrickColor.new("New Yeller").Color, 10, 0.25, true)
  310. end
  311. w.C0 = org * CFrame.new(ran, 0, ran2) * CFrame.Angles(0, _i / 3, 0)
  312. m.Scale = m.Scale + Vector3.new(0.6, 0.5, 0.6)
  313. m2.Scale = m2.Scale + Vector3.new(1, 1, 1)
  314. h2.Transparency = _i / 75
  315. w2.C0 = org2 * CFrame.new(ran, 0, ran2) * CFrame.Angles(0, _i / 6, 0)
  316. wait(0.055555555555556)
  317. end
  318. h:Destroy()
  319. h2:Destroy()
  320. Chat(nil, "H-H-H-HAA-HAAAAAAAAAA~", "Red")
  321. for _,v in pairs(Hair) do
  322. if v.Name == "Hair" then
  323. v.Transparency = 1
  324. end
  325. end
  326. coroutine.resume(coroutine.create(function()
  327. for _ = 1, 6 do
  328. for i = 1, 0, -0.07 do
  329. wait(0.03030303030303)
  330. Hair[_].Transparency = i
  331. Hair[_].Mesh.Scale = Hair[_].Mesh.Scale + Vector3.new(0, 0.015, 0)
  332. Hair[_].Weld.C0 = Hair[_].Weld.C0 * CFrame.new(0, 0, -0.0025)
  333. end
  334. end
  335. for _,v in pairs(Hair) do
  336. v.Transparency = 0
  337. end
  338. end
  339. ))
  340. Flash(nil, BrickColor.new("New Yeller").Color, 10, 0.25, true)
  341. Anims.Scrunch(false)
  342. Anims.Implode(true)
  343. SSF.Heat = 20
  344. SSF.Size = 10
  345. Sound(Head, 98333808, 1, 0.85)
  346. Sound(Head, 2248511, 0.65, 0.65)
  347. Chat(nil, "I\'LL FADE YOU OUT!")
  348. Anims.Implode(false)
  349. Humanoid.WalkSpeed = 16
  350. Transformed = true
  351. Occupied = false
  352. if not active and not Occupied and Transformed then
  353. Occupied = true
  354. Anims.Scrunch(true)
  355. Humanoid.WalkSpeed = 0
  356. Sound(Head, 2248511, 0.75, 0.6)
  357. Sound(Head, 2691586, 0.7, 0.4)
  358. Sound(Head, 2785493, 0.55, 0.9)
  359. Sound(Head, 2785493, 0.7, 0.7)
  360. Shake(15, 0.5, 20)
  361. Flash(nil, Color3.new(1, 1, 1), 7, 0.1, true)
  362. coroutine.resume(coroutine.create(function()
  363. wait(2)
  364. for i = 1, 0, -0.05 do
  365. wait(0.016666666666667)
  366. for _,v in pairs(Hair) do
  367. if v.Name == "Hair" then
  368. v.Transparency = i
  369. end
  370. end
  371. end
  372. for _,v in pairs(Hair) do
  373. if v.Name == "Hair" then
  374. v.Transparency = 0
  375. end
  376. end
  377. end
  378. ))
  379. for i = 0, 1, 0.01 do
  380. wait(0.016666666666667)
  381. for _,v in pairs(Hair) do
  382. v.Transparency = i
  383. end
  384. end
  385. Sound(Head, 2800815, 0.85, 1)
  386. Sound(Head, 2800815, 0.55, 0.8)
  387. Sound(Head, 2691586, 0.45, 0.3)
  388. pcall(game.Destroy, SSF)
  389. pcall(game.Destroy, mp)
  390. Hair = {}
  391. Chat(nil, "That was fun.", "Blue")
  392. Anims.Scrunch(false)
  393. Humanoid.WalkSpeed = 16
  394. Transformed = false
  395. Occupied = false
  396. end
  397. end
  398. end
  399. end
  400. end
  401.  
  402. Player.Chatted:connect(function(Msg)
  403. if Character.trans.Value == false and Character.Occupied.Value == false then
  404. Msg = Msg:lower()
  405. if Msg == "ussj" and Character.switch.Value == "" then
  406. Character.switch.Value = "ussj"
  407. Character.trans.Value = true
  408. Transform(true)
  409. Humanoid.MaxHealth = Humanoid.MaxHealth + tonumber("15")
  410. wait(1)
  411. Humanoid.Health = Humanoid.Health + tonumber("15")
  412. Character.trans.Value = false
  413. else
  414. if Msg == "off" and Character.switch.Value == "ussj" then
  415. Character.trans.Value = true
  416. Transform(false)
  417. Humanoid.Health = Humanoid.Health - tonumber("15")
  418. wait(1)
  419. Humanoid.MaxHealth = Humanoid.MaxHealth - tonumber("15")
  420. Character.trans.Value = false
  421. Character.switch.Value = ""
  422. end
  423. end
  424. end
  425. end
  426. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement