Advertisement
SlySlixty

Untitled

Feb 19th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.89 KB | None | 0 0
  1. local ScriptLink = [[PASTE LINK HERE]]
  2.  
  3. --//Do not touch anything below this line, you may break it.
  4. local FeSource = nil;pcall(function()FeSource = game:GetService("HttpService"):GetAsync("https://raw.githubusercontent.com/WaverlyCole/FE-Compatibility-VoidSb-/master/translate.lua")end);
  5. local ScriptSource = nil;pcall(function()ScriptSource = game:GetService("HttpService"):GetAsync(ScriptLink)end);
  6. if not FeSource then error("Failed to grab update! Try again later.",0)end;if not ScriptSource then error("Failed to get link!",0)end;
  7. local FeConversion = loadstring(FeSource);local FeSucc,FeErr = pcall(FeConversion);if not FeSucc then warn(FeErr)error("Failed to initiate! Try again later.",0) end;
  8. local Script = loadstring(ScriptSource);local Succ,Err = pcall(Script);if not Succ then warn(Err)error("Error loading script.",0) end;--Leaked by Mike The Hacker
  9. local Plr = game:GetService'Players'.LocalPlayer
  10. local UIS = game:GetService'UserInputService'
  11. local Chr = Plr.Character or Plr.CharacterAdded:Wait()
  12. local Hum = Chr:WaitForChild'Humanoid'
  13. local HRP = Chr:WaitForChild'HumanoidRootPart'
  14. local RiA = Chr:WaitForChild'Right Arm'
  15. local LiA = Chr:WaitForChild'Left Arm'
  16. local Head = Chr:WaitForChild'Head'
  17. local Torso = Chr:WaitForChild'Torso'
  18. local attack = false
  19. local anim = Hum.Animator
  20. local Form = "None"
  21. local RS = Torso:FindFirstChild("Right Shoulder")
  22. local LS = Torso:FindFirstChild("Left Shoulder")
  23. local RH = Torso:FindFirstChild("Right Hip")
  24. local LH = Torso:FindFirstChild("Left Hip")
  25. local RJ = HRP:FindFirstChild("RootJoint")
  26. local N = Torso:FindFirstChild("Neck")
  27. local ang = CFrame.Angles
  28. local rd = math.rad
  29. local Mouse = Plr:GetMouse()
  30. local Debris = game:GetService'Debris'
  31. local cf = CFrame.new
  32. local necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  33. local vt = Vector3.new
  34. local euler=CFrame.fromEulerAnglesXYZ
  35. local RootCF=euler(-1.57,0,3.14)
  36. local CP = game:GetService'ContentProvider'
  37. local PL = {743886825,597269159,437432504,186934658,560718478,568141359,858904104,870984991,710665860,533682002,533682286,741623151,738749992,711351773}
  38. for a,a in pairs(PL)do
  39. CP:Preload('rbxassetid://'..tostring(a))
  40. end
  41. Hum.MaxHealth = math.huge
  42. Hum.Health = math.huge
  43. Hum.WalkSpeed = 100
  44. Hum.JumpPower = 50
  45. if Head:FindFirstChild'face' then
  46. Head:WaitForChild'face'.Texture = 'rbxassetid://710665860'
  47. else
  48. local a = Instance.new('Decal', Head)
  49. a.Texture = 'rbxassetid://710665860'
  50. end
  51. for a, a in pairs(Chr:GetChildren()) do
  52. if a:IsA'Shirt' or a:IsA'Pants' or a:IsA'Hat' or a:IsA'Accessory' then
  53. a:Destroy()
  54. end
  55. end
  56. for a, a in pairs(Head:GetChildren()) do
  57. if a:IsA'Sound' then
  58. a:Destroy()
  59. end
  60. end
  61. local S = Instance.new("Shirt", Chr)
  62. S.Name = "Shirt"
  63. local Pants = Instance.new("Pants", Chr)
  64. Pants.Name = "Pants"
  65. S.ShirtTemplate = 'rbxassetid://533682002'
  66. Pants.PantsTemplate = 'rbxassetid://533682286'
  67. local W2 = Instance.new("Weld", Head)
  68. W2.Part0 = Head
  69. local train = Instance.new("Part", Head)
  70. train.Anchored = true
  71. train.CanCollide = false
  72. train.Size = vt(3, 2, 6)
  73. train.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  74. W2.Part1 = train
  75. W2.C1 = cf(0.05, -0.9, -0.5) * ang(0, rd(0), 0)
  76. train.Anchored = false
  77. local TrainMesh = Instance.new("SpecialMesh", train)
  78. TrainMesh.MeshType = Enum.MeshType.FileMesh
  79. TrainMesh.Scale = vt(6.25, 6.25, 6.25)
  80. TrainMesh.MeshId = "rbxassetid://560718478"
  81. TrainMesh.TextureId = "rbxassetid://0"
  82. local function HSLtoRGB(hue, sat, light)
  83. local c = light > .5 and (2 - 2 * light) * sat or (2 * light) * sat
  84. local h2 = hue / 60
  85. local x = c * (1 - math.abs((h2 % 2) - 1))
  86. local rgbvals = {{c, x, 0}, {x, c, 0}, {0, c, x}, {0, x, c}, {x, 0, c}, {c, 0, x}}
  87. local rgb = rgbvals[math.floor(h2) + 1]
  88. for i = 1, 3 do rgb[i] = rgb[i] + (light - .5 * c) end
  89. return Color3.new(rgb[1], rgb[2], rgb[3])
  90. end
  91. local function New(Object, Parent, Name, Data)
  92. local Object = Instance.new(Object)
  93. for Index, Value in pairs(Data or {}) do
  94. Object[Index] = Value
  95. end
  96. Object.Parent = Parent
  97. Object.Name = Name
  98. return Object
  99. end
  100. local function QuaternionFromCFrame(cf)
  101. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  102. local trace = m00 + m11 + m22
  103. if trace > 0 then
  104. local s = math.sqrt(1 + trace)
  105. local recip = 0.5/s
  106. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  107. else
  108. local i = 0
  109. if m11 > m00 then
  110. i = 1
  111. end
  112. if m22 > (i == 0 and m00 or m11) then
  113. i = 2
  114. end
  115. if i == 0 then
  116. local s = math.sqrt(m00-m11-m22+1)
  117. local recip = 0.5/s
  118. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  119. elseif i == 1 then
  120. local s = math.sqrt(m11-m22-m00+1)
  121. local recip = 0.5/s
  122. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  123. elseif i == 2 then
  124. local s = math.sqrt(m22-m00-m11+1)
  125. local recip = 0.5/s
  126. return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  127. end
  128. end
  129. end
  130. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  131. local xs, ys, zs = x + x, y + y, z + z
  132. local wx, wy, wz = w*xs, w*ys, w*zs
  133. local xx = x*xs
  134. local xy = x*ys
  135. local xz = x*zs
  136. local yy = y*ys
  137. local yz = y*zs
  138. local zz = z*zs
  139. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  140. end
  141. local function QuaternionSlerp(a, b, t)
  142. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  143. local startInterp, finishInterp;
  144. if cosTheta >= 0.0001 then
  145. if (1 - cosTheta) > 0.0001 then
  146. local theta = math.acos(cosTheta)
  147. local invSinTheta = 1/math.sin(theta)
  148. startInterp = math.sin((1-t)*theta)*invSinTheta
  149. finishInterp = math.sin(t*theta)*invSinTheta
  150. else
  151. startInterp = 1-t
  152. finishInterp = t
  153. end
  154. else
  155. if (1+cosTheta) > 0.0001 then
  156. local theta = math.acos(-cosTheta)
  157. local invSinTheta = 1/math.sin(theta)
  158. startInterp = math.sin((t-1)*theta)*invSinTheta
  159. finishInterp = math.sin(t*theta)*invSinTheta
  160. else
  161. startInterp = t-1
  162. finishInterp = t
  163. end
  164. end
  165. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  166. end
  167. local function clerp(a,b,t)
  168. local qa = {QuaternionFromCFrame(a)}
  169. local qb = {QuaternionFromCFrame(b)}
  170. local ax, ay, az = a.x, a.y, a.z
  171. local bx, by, bz = b.x, b.y, b.z
  172. local _t = 1-t
  173. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  174. end
  175. local RightArm = New("Model", Chr, "RightArm", {})
  176. local MainPart = New("Part", RightArm, "MainPart", {
  177. Transparency = 1,
  178. Transparency = 1,
  179. FormFactor = Enum.FormFactor.Symmetric,
  180. Size = Vector3.new(1, 2, 1),
  181. CFrame = cf(2.011096, 6.31690788, -3.92582893, 0.00918400101, -0.262283146, 0.964947343, 0.259330034, 0.932596445, 0.251021653, -0.965745091, 0.247934431, 0.0765828639),
  182. CanCollide = false,
  183. })
  184. New("ManualWeld", MainPart, "Weld", {
  185. Part0 = MainPart,
  186. Part1 = RiA,
  187. C0 = cf(0, 0, 0, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),
  188. C1 = cf(-2.86102295e-006, -9.05990601e-006, -2.38418579e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639)
  189. })
  190. Hitbox = New("Part", RightArm, "Hitbox", {
  191. BrickColor = BrickColor.new("Really black"),
  192. Transparency = 1,
  193. Transparency = 1,
  194. Size = Vector3.new(1, 4, 1),
  195. CFrame = cf(22.2733669, 5.0842762, -22.1737366, -0.964945257, -0.262290984, 0.00919180829, -0.251027077, 0.93259424, 0.259333313, -0.0765930116, 0.247935042, -0.965744138),
  196. CanCollide = false,
  197. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  198. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  199. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  200. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  201. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  202. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  203. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  204. })
  205. New("ManualWeld", Hitbox, "Weld", {
  206. Part0 = Hitbox,
  207. Part1 = MainPart,
  208. C0 = cf(0, 0, 0, -0.964945257, -0.251027077, -0.0765930116, -0.262290984, 0.93259424, 0.247935042, 0.00919180829, 0.259333313, -0.965744138),
  209. C1 = cf(-1.52587891e-005, -1.00003147, -1.71661377e-005, 0.0091838371, 0.259330064, -0.965745151, -0.262283117, 0.932596445, 0.247934505, 0.964947283, 0.251021653, 0.0765827149)
  210. })
  211. CorruptedPart = New("Part", RightArm, "CorruptedPart", {
  212. BrickColor = BrickColor.new("Bright violet"),
  213. Material = Enum.Material.Sand,
  214. Size = Vector3.new(1, 2, 1),
  215. CFrame = cf(2.011096, 6.3169179, -3.92581391, -0.964945257, -0.262290984, 0.00919180829, -0.251027077, 0.93259424, 0.259333313, -0.0765930116, 0.247935042, -0.965744138),
  216. CanCollide = false,
  217. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  218. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  219. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  220. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  221. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  222. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  223. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  224. })
  225. New("BlockMesh", CorruptedPart, "Mesh", {
  226. Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),
  227. })
  228. New("ManualWeld", CorruptedPart, "Weld", {
  229. Part0 = CorruptedPart,
  230. Part1 = MainPart,
  231. C0 = cf(0, 0, 0, -0.964945138, -0.251027018, -0.0765930042, -0.262290984, 0.932594121, 0.247935027, 0.00919180084, 0.259333313, -0.965744197),
  232. C1 = cf(-1.1920929e-005, 1.28746033e-005, 3.57627869e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639)
  233. })
  234. CorruptedPart = New("Part", RightArm, "CorruptedPart", {
  235. BrickColor = BrickColor.new("Bright violet"),
  236. Material = Enum.Material.Sand,
  237. Size = Vector3.new(1, 0.600000024, 0.400000036),
  238. CFrame = cf(2.14866924, 6.03215551, -4.72580194, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),
  239. CanCollide = false,
  240. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  241. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  242. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  243. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  244. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  245. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  246. Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  247. })
  248. New("SpecialMesh", CorruptedPart, "Mesh", {
  249. Scale = Vector3.new(1.75, 3, 4.5),
  250. MeshType = Enum.MeshType.Sphere,
  251. })
  252. New("ManualWeld", CorruptedPart, "Weld", {
  253. Part0 = CorruptedPart,
  254. Part1 = MainPart,
  255. C0 = cf(0, 1, 0, -1., -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),
  256. C1 = cf(0, -0.499982834, 7.62939453e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639)
  257. })
  258. local swinganim = Hum:LoadAnimation(New("Animation", Chr, "Swing", {
  259. AnimationId = "rbxassetid://186934658"
  260. }))
  261. local function SoulSteal(pos)
  262. local soul = Instance.new("Part", Chr)
  263. soul.Size = vt(0, 0, 0)
  264. soul.CanCollide = false
  265. soul.Anchored = false
  266. soul.Position = pos
  267. soul.CFrame = cf(pos.X, pos.Y, pos.Z)
  268. soul.Transparency = 1
  269. local ptc = Instance.new("ParticleEmitter", soul)
  270. ptc.Texture = "rbxassetid://149468041"
  271. ptc.Size = NumberSequence.new(.8)
  272. ptc.LockedToPart = true
  273. ptc.Speed = NumberRange.new(0)
  274. ptc.Lifetime = NumberRange.new(9999)
  275. local bodpos = Instance.new("BodyPosition", soul)
  276. bodpos.Position = pos
  277. soul.Touched:Connect(function(hit)
  278. if hit.Parent == Chr then
  279. soul:Destroy()
  280. end
  281. end)
  282. spawn(function()
  283. while soul and wait(.125) do
  284. bodpos.Position = Torso.Position
  285. end
  286. end)
  287. end
  288. local function KillMortal(hitdude)
  289. local torsy = nil
  290. if hitdude:FindFirstChild'Torso'then
  291. torsy = hitdude.Torso
  292. elseif hitdude:FindFirstChild'UpperTorso'then
  293. torsy = hitdude.UpperTorso
  294. end
  295. local val = Instance.new("ObjectValue", hitdude)
  296. val.Name = "HasBeenHit"
  297. hitdude:BreakJoints()
  298. SoulSteal(torsy.Position)
  299. local chi = hitdude:GetChildren()
  300. for i = 1, #chi do
  301. if chi[i]:IsA"Part" or chi[i]:IsA"MeshPart" then
  302. local bodpos = Instance.new("BodyPosition", chi[i])
  303. bodpos.Position = chi[i].Position + vt(math.random(0, 0), math.random(0, 0), math.random(0, 0))
  304. chi[i].BrickColor = BrickColor.new("Bright violet")
  305. spawn(function()
  306. wait(1.25)
  307. chi[i]:Destroy()
  308. end)
  309. end
  310. end
  311. for i = 1, 4 do
  312. for i = 1, #chi do
  313. if chi[i]:IsA"Part" or chi[i]:IsA"MeshPart" then
  314. chi[i].Transparency = chi[i].Transparency + .25
  315. wait(.01)
  316. end
  317. end
  318. end
  319. end
  320. local bladeactive = false
  321. MainPart.Touched:Connect(function(hit)
  322. if bladeactive == true then
  323. if hit.Parent:FindFirstChild'Humanoid' and not hit.Parent:FindFirstChild'HasBeenHit' and hit.Parent ~= Chr then
  324. local Sound = Instance.new('Sound', RiA)
  325. Sound.SoundId = 'rbxassetid://0'
  326. Sound.Volume = 2
  327. Sound:Play()
  328. KillMortal(hit.Parent)
  329. end
  330. end
  331. end)
  332. local name = Instance.new("BillboardGui", Chr)
  333. name.Size = UDim2.new(0, 100, 0, 40)
  334. name.StudsOffset = vt(0, 6, 0)
  335. name.Adornee = Head
  336. local txt = Instance.new("TextLabel", name)
  337. txt.BackgroundTransparency = 1
  338. txt.BorderSizePixel = 0
  339. txt.Text = "???"
  340. txt.Font = "Fantasy"
  341. txt.FontSize = "Size24"
  342. txt.TextStrokeTransparency = 0
  343. txt.TextStrokeColor3 = Color3.new(0, 0, 0)
  344. txt.TextColor3 = Color3.new(0, 0, 0)
  345. txt.Size = UDim2.new(1, 0, .5, 0)
  346. trazx = Instance.new("ParticleEmitter")
  347. local function swait(num)
  348. if num == 0 or num == nil then
  349. game:GetService'RunService'.Heartbeat:wait(0)
  350. else
  351. for i = 0, num do
  352. game:GetService'RunService'.Heartbeat:wait(0)
  353. end
  354. end
  355. end
  356. local function lerpz(joint, prop, CFramermz, alp)
  357. joint[prop] = joint[prop]:lerp(CFramermz, alp)
  358. end
  359. local RSC0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  360. local RSC1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  361. local LSC0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  362. local LSC1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  363. local RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  364. local RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  365. local LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  366. local LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  367. local NC0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  368. local NC1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  369. local RJC0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  370. local RJC1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  371. local function resetlerp()
  372. RJ.C0 = RJC0
  373. RJ.C1 = RJC1
  374. N.C0 = NC0
  375. N.C1 = NC1
  376. RS.C0 = RSC0
  377. RS.C1 = RSC1
  378. LS.C0 = LSC0
  379. LS.C1 = LSC1
  380. RH.C0 = RHC0
  381. RH.C1 = RHC1
  382. LH.C0 = LHC0
  383. LH.C1 = LHC1
  384. end
  385. local function SSJB()
  386. if Form == "None"then
  387. Form = "SSJB"
  388. anim.Parent = nil
  389. for i = 1, 35 do
  390. swait()
  391. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  392. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  393. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(140)), 0.3)
  394. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  395. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(-140)), 0.3)
  396. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  397. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  398. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  399. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  400. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  401. end
  402. for i = 1, 15 do
  403. swait()
  404. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
  405. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  406. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(45)), 0.5)
  407. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  408. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-45)), 0.5)
  409. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  410. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
  411. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  412. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
  413. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  414. end
  415. for i, v in pairs(Chr:GetChildren()) do
  416. if v:IsA'Part' then
  417. local tra = trazx:clone()
  418. tra.Parent = v
  419. tra.LightEmission = 1
  420. tra.Color = ColorSequence.new(Color3.new(0, 0, 0))
  421. tra.Rate = 12
  422. tra.Rotation = NumberRange.new(-5, 5)
  423. tra.Lifetime = NumberRange.new(1.5, 2)
  424. tra.Size = NumberSequence.new({
  425. NumberSequenceKeypoint.new(0, 0.1, 0),
  426. NumberSequenceKeypoint.new(1, 0, 0)
  427. })
  428. tra.Transparency = NumberSequence.new({
  429. NumberSequenceKeypoint.new(0, 1, 0),
  430. NumberSequenceKeypoint.new(0.135, 0, 0),
  431. NumberSequenceKeypoint.new(0.875, 0, 0),
  432. NumberSequenceKeypoint.new(1, 1, 0)
  433. })
  434. tra.Speed = NumberRange.new(0.5)
  435. tra.VelocitySpread = 360
  436. tra.VelocityInheritance = 0.5
  437. tra.ZOffset = 2
  438. tra.Acceleration = vt(0, 2.5, 0)
  439. end
  440. end
  441. local tra = trazx:clone()
  442. tra.Parent = HRP
  443. tra.Texture = "rbxassetid://741623151"
  444. tra.LightEmission = 0.8
  445. tra.Color = ColorSequence.new(Color3.new(0, 0, 0))
  446. tra.Rate = 250
  447. tra.Rotation = NumberRange.new(-5, 5)
  448. tra.Lifetime = NumberRange.new(0.75)
  449. tra.Size = NumberSequence.new({
  450. NumberSequenceKeypoint.new(0, 4.81, 0.875),
  451. NumberSequenceKeypoint.new(1, 2.13, 0.875)
  452. })
  453. tra.Transparency = NumberSequence.new({
  454. NumberSequenceKeypoint.new(0, 1, 0),
  455. NumberSequenceKeypoint.new(0.0399, 0.85, 0),
  456. NumberSequenceKeypoint.new(0.394, 0.9, 0),
  457. NumberSequenceKeypoint.new(0.699, 1, 0),
  458. NumberSequenceKeypoint.new(1, 1, 0)
  459. })
  460. tra.Speed = NumberRange.new(15)
  461. tra.VelocitySpread = 360
  462. tra.VelocityInheritance = 0.5
  463. tra.ZOffset = 3.5
  464. tra.Acceleration = vt(0, 25, 0)
  465.  
  466. for i = 1, 25 do
  467. for i = 1, 3 do
  468. swait()
  469. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.4) * ang(rd(12), rd(0), rd(0)), 0.5)
  470. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  471. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(50)), 0.5)
  472. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  473. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-50)), 0.5)
  474. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  475. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-12), rd(12)), 0.5)
  476. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  477. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(12), rd(-12)), 0.5)
  478. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  479. end
  480. for i = 1, 3 do
  481. swait()
  482. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
  483. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  484. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(45)), 0.5)
  485. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  486. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-45)), 0.5)
  487. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  488. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
  489. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  490. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
  491. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  492. end
  493. end
  494. TrainMesh.MeshType = Enum.MeshType.FileMesh
  495. TrainMesh.Scale = vt(0.05, 0.05, 0.05)
  496. TrainMesh.MeshId = "rbxassetid://437432504"
  497. W2.C1 = cf(0, 0.4, -2.1) * ang(0, rd(0), 0)
  498. local S2 = Instance.new("Sound", HRP)
  499. S2.SoundId = "rbxassetid://597269159"
  500. S2.Volume = 1
  501. S2:Play()
  502. txt.Text = "I've tapped into an interesting power."
  503. wait(2)
  504. txt.Text = "???"
  505. local SE = Instance.new("ChorusSoundEffect", S2)
  506. tra.LightEmission = 0.8
  507. tra.Color = ColorSequence.new(Color3.new(0, 0, 0))
  508. tra.Rate = 250
  509. tra.Rotation = NumberRange.new(-5, 5)
  510. tra.Lifetime = NumberRange.new(0.2, 0.4)
  511. tra.Size = NumberSequence.new({
  512. NumberSequenceKeypoint.new(0, 4.81, 0.875),
  513. NumberSequenceKeypoint.new(1, 2.13, 0.875)
  514. })
  515. tra.Transparency = NumberSequence.new({
  516. NumberSequenceKeypoint.new(0, 1, 0),
  517. NumberSequenceKeypoint.new(0.0399, 0.8, 0),
  518. NumberSequenceKeypoint.new(0.394, 0.8, 0),
  519. NumberSequenceKeypoint.new(0.699, 1, 0),
  520. NumberSequenceKeypoint.new(1, 1, 0)
  521. })
  522. tra.Speed = NumberRange.new(5)
  523. tra.VelocitySpread = 360
  524. tra.VelocityInheritance = 0.5
  525. tra.ZOffset = 3.5
  526. tra.Acceleration = vt(0, 150, 0)
  527. local tra = trazx:clone()
  528. tra.Parent = HRP
  529. tra.Texture = "rbxassetid://257173628"
  530. tra.LightEmission = 1
  531. tra.Rate = 20
  532. tra.Rotation = NumberRange.new(360, 720)
  533. tra.Lifetime = NumberRange.new(0.75)
  534. tra.Size = NumberSequence.new({
  535. NumberSequenceKeypoint.new(0, 2.5, 0.875),
  536. NumberSequenceKeypoint.new(1, 2.5, 0.875)
  537. })
  538. tra.Transparency = NumberSequence.new({
  539. NumberSequenceKeypoint.new(0, 0, 0),
  540. NumberSequenceKeypoint.new(0, 0., 0),
  541. NumberSequenceKeypoint.new(0, 0, 0),
  542. NumberSequenceKeypoint.new(0, 0, 0),
  543. NumberSequenceKeypoint.new(1, 1, 0)
  544. })
  545. tra.Speed = NumberRange.new(0)
  546. tra.VelocitySpread = 360
  547. tra.VelocityInheritance = 0
  548. tra.ZOffset = 3.5
  549. tra.Acceleration = vt(0, 0, 0)
  550. local tra = trazx:clone()
  551. tra.Parent = HRP
  552. tra.Texture = "rbxassetid://380961170"
  553. tra.LightEmission = 1
  554. tra.Rate = 25
  555. tra.RotSpeed = NumberRange.new(5000,10000)
  556. tra.Rotation = NumberRange.new(0, 0)
  557. tra.Lifetime = NumberRange.new(1)
  558. tra.Size = NumberSequence.new({
  559. NumberSequenceKeypoint.new(0, 0, 0),
  560. NumberSequenceKeypoint.new(1, 10, 0)
  561. })
  562. tra.Transparency = NumberSequence.new({
  563. NumberSequenceKeypoint.new(0, 0, 0),
  564. NumberSequenceKeypoint.new(0, 0., 0),
  565. NumberSequenceKeypoint.new(0, 0, 0),
  566. NumberSequenceKeypoint.new(0, 0, 0),
  567. NumberSequenceKeypoint.new(1, 1, 0)
  568. })
  569. tra.Speed = NumberRange.new(3)
  570. tra.VelocitySpread = 0
  571. tra.VelocityInheritance = 0
  572. tra.ZOffset = 0
  573. tra.Acceleration = vt(0, 0, 0)
  574.  
  575. local s = Instance.new("Sound", Head)
  576. s.SoundId = "rbxassetid://0"
  577. s.Volume = 1
  578. s.Looped = true
  579. s:Play()
  580. for i = 1, 50 do
  581. swait()
  582. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  583. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  584. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(-25)), 0.3)
  585. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  586. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(25)), 0.3)
  587. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  588. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  589. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  590. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  591. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  592. end
  593. resetlerp()
  594. attack = false
  595. anim.Parent = Hum
  596. elseif Form == "SSJB" then
  597. Form = "Kaioken"
  598. anim.Parent = nil
  599. for i = 1, 35 do
  600. swait()
  601. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  602. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  603. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(140)), 0.3)
  604. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  605. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(-140)), 0.3)
  606. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  607. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  608. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  609. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  610. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  611. end
  612. local S2 = Instance.new("Sound", HRP)
  613. S2.SoundId = "rbxassetid://0"
  614. S2.Volume = 1
  615. S2:Play()
  616. for i = 1, 15 do
  617. swait()
  618. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
  619. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  620. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(45)), 0.5)
  621. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  622. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-45)), 0.5)
  623. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  624. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
  625. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  626. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
  627. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  628. end
  629. local tra = trazx:clone()
  630. tra.Parent = HRP
  631. tra.Texture = "rbxassetid://0"
  632. tra.LightEmission = 0.8
  633. tra.Color = ColorSequence.new(Color3.new(255, 255, 255))
  634. tra.Rate = 75
  635. tra.Rotation = NumberRange.new(-5, 5)
  636. tra.Lifetime = NumberRange.new(0.3)
  637. tra.Size = NumberSequence.new({
  638. NumberSequenceKeypoint.new(0, 8, 0.875),
  639. NumberSequenceKeypoint.new(1, 9, 0.875)
  640. })
  641. tra.Transparency = NumberSequence.new({
  642. NumberSequenceKeypoint.new(0, 1, 0),
  643. NumberSequenceKeypoint.new(0.0399, 0.531, 0),
  644. NumberSequenceKeypoint.new(0.394, 0.906, 0),
  645. NumberSequenceKeypoint.new(0.699, 1, 0),
  646. NumberSequenceKeypoint.new(1, 1, 0)
  647. })
  648. tra.Speed = NumberRange.new(75)
  649. tra.VelocitySpread = 360
  650. tra.VelocityInheritance = 0.5
  651. tra.ZOffset = 3
  652. tra.Acceleration = vt(0, 350, 0)
  653. local s = Instance.new("Sound", HRP)
  654. s.SoundId = "rbxassetid://0"
  655. s.Volume = 5
  656. s:Play()
  657. for i = 1, 2 do
  658. Instance.new("ChorusSoundEffect", s)
  659. end
  660. for i = 1, 23 do
  661. for i = 1, 3 do
  662. swait()
  663. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.4) * ang(rd(12), rd(0), rd(0)), 1)
  664. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 1)
  665. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(50)), 1)
  666. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  667. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-50)), 1)
  668. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  669. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-12), rd(12)), 1)
  670. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  671. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(12), rd(-12)), 1)
  672. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  673. end
  674. for i = 1, 3 do
  675. swait()
  676. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 1)
  677. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 1)
  678. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(45)), 1)
  679. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  680. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-45)), 1)
  681. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  682. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 1)
  683. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  684. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 1)
  685. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  686. end
  687. end
  688. tra.LightEmission = 0.8
  689. tra.Color = ColorSequence.new(Color3.new(255, 255, 255))
  690. tra.Rate = 100
  691. tra.Rotation = NumberRange.new(-5, 5)
  692. tra.Lifetime = NumberRange.new(0.3)
  693. tra.Size = NumberSequence.new({
  694. NumberSequenceKeypoint.new(0, 8, 0.875),
  695. NumberSequenceKeypoint.new(1, 9, 0.875)
  696. })
  697. tra.Transparency = NumberSequence.new({
  698. NumberSequenceKeypoint.new(0, 1, 0),
  699. NumberSequenceKeypoint.new(0.0399, 0.531, 0),
  700. NumberSequenceKeypoint.new(0.394, 0.906, 0),
  701. NumberSequenceKeypoint.new(0.699, 1, 0),
  702. NumberSequenceKeypoint.new(1, 1, 0)
  703. })
  704. tra.Speed = NumberRange.new(25)
  705. tra.VelocitySpread = 360
  706. tra.VelocityInheritance = 0.5
  707. tra.ZOffset = 3
  708. tra.Acceleration = vt(0, 350, 0)
  709. for i = 1, 50 do
  710. swait()
  711. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  712. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  713. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(-25)), 0.3)
  714. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  715. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(25)), 0.3)
  716. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  717. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  718. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  719. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  720. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  721. end
  722. resetlerp()
  723. attack = false
  724. anim.Parent = Hum
  725. txt.Text = "A fusion between Rose and Super Saiyan Three!"
  726. wait(3)
  727. txt.Text = "???"
  728. end
  729. end
  730. local function computeDirection(vec)
  731. local lenSquared = vec.magnitude * vec.magnitude
  732. local invSqrt = 1 / math.sqrt(lenSquared)
  733. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  734. end
  735. local function SB()
  736. resetlerp()
  737. anim.Parent = nil
  738. HRP.Anchored = true
  739. local Sound = Instance.new('Sound', HRP)
  740. Sound.SoundId = 'rbxassetid://858904104'
  741. Sound.Volume = 4.5
  742. Sound:Play()
  743. local PE = Instance.new("Part", workspace)
  744. PE.Size = vt(3, 3, 3)
  745. PE.Material = "Neon"
  746. PE.BrickColor = BrickColor.new("Really red")
  747. PE.CanCollide = false
  748. PE.Anchored = true
  749. PE.Shape = "Ball"
  750. PE.CFrame = HRP.CFrame * cf(0, 120, 0)
  751. PE.Transparency = 0.1
  752. for i = 1, 50 do
  753. swait()
  754. HRP.CFrame = cf(Torso.CFrame:toWorldSpace(cf(0, 0, 0)).p, Mouse.hit.p)
  755. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  756. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  757. lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(10), rd(0), rd(180)), 0.5)
  758. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  759. lerpz(LS, "C0", LSC0 * cf(0, 0.5, 0) * ang(rd(10), rd(0), rd(0)), 0)
  760. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
  761. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
  762. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
  763. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
  764. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0)
  765. txt.Text = "DIVINE WRATH:PURIFCATION!"
  766. end
  767. for i = 1, 95 do
  768. HRP.CFrame = cf(Torso.CFrame:toWorldSpace(cf(0, 0, 0)).p, Mouse.hit.p)
  769. PE.Size = PE.Size + vt(2, 2, 2)
  770. PE.CFrame = HRP.CFrame * cf(0, 120, 0)
  771. swait()
  772. end
  773. local Hit = false
  774. PE.Touched:Connect(function(H)
  775. if Hit == false and H.Parent and H.Parent ~= Chr and H.Parent:FindFirstChild'Torso'and H.Parent:FindFirstChild'Humanoid'then
  776. Hit = true
  777. KillMortal(H.Parent)
  778. wait(.75)
  779. Hit = false
  780. end
  781. end)
  782. Sound:Stop()
  783. for i = 1, 4 do
  784. swait()
  785. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(10), rd(0)), 0.5)
  786. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  787. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.5)
  788. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  789. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.5)
  790. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  791. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.5)
  792. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  793. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.5)
  794. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  795. txt.Text = "???"
  796. end
  797. W2.C0 = cf(0, 0, 0)
  798. local Sound4 = Instance.new("Sound", PE)
  799. Sound4.Volume = 4
  800. Sound4:Play()
  801. Sound4.SoundId = "rbxassetid://870984991"
  802. PE.CFrame = cf(HRP.CFrame:toWorldSpace(cf(0, 0, 0)).p, Mouse.hit.p)
  803. PE.CFrame = PE.CFrame * cf(0, 0, -100)
  804. local t = Mouse.Hit.p
  805. local d = t - PE.Position
  806. d = computeDirection(d)
  807. local pos = PE.Position + (d * 10.0)
  808. PE.Anchored = false
  809. PE.CFrame = CFrame.new(pos, pos + d) * CFrame.Angles(math.pi/2, 0, 0)
  810. local ff = Instance.new("BodyForce")
  811. ff.force = vt(0, PE:GetMass() * 196.1, 0.0)
  812. ff.Parent = PE
  813. PE.Velocity = d * -160
  814. swait()
  815. PE.CFrame = PE.CFrame * cf(0, 0, -1)
  816. anim.Parent = Hum
  817. wait(2.25)
  818. resetlerp()
  819. HRP.Anchored = false
  820. if PE then
  821. PE:Destroy()
  822. end
  823. end
  824. local function NO(part)
  825. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  826. end
  827. local function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  828. local fp=Instance.new("Part", parent)
  829. fp.formFactor=formfactor
  830. fp.Reflectance=reflectance
  831. fp.Transparency=transparency
  832. fp.CanCollide=false
  833. fp.Locked=true
  834. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  835. fp.Name=name
  836. fp.Size=size
  837. fp.Position=Torso.Position
  838. NO(fp)
  839. fp.Material=material
  840. fp:BreakJoints()
  841. return fp
  842. end
  843. local function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  844. local fp = Instance.new("Part", parent)
  845. fp.formFactor = formfactor
  846. fp.Reflectance = reflectance
  847. fp.Transparency = transparency
  848. fp.CanCollide = false
  849. fp.Locked=true
  850. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  851. fp.Name = name
  852. fp.Size = size
  853. fp.Position = LiA.Position
  854. NO(fp)
  855. fp.Material="Neon"
  856. fp:BreakJoints()
  857. return fp
  858. end
  859. local function mesh(Mesh,part,meshtype,meshid,offset,scale)
  860. local mesh=Instance.new(Mesh)
  861. mesh.Parent=part
  862. if Mesh=="SpecialMesh" then
  863. mesh.MeshType=meshtype
  864. mesh.MeshId=meshid
  865. end
  866. mesh.Offset=offset
  867. mesh.Scale=scale
  868. return mesh
  869. end
  870. local function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  871. local prt=ppart(3,workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  872. prt.Anchored=true
  873. prt.CFrame=cframe
  874. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  875. Debris:AddItem(prt,5)
  876. coroutine.resume(coroutine.create(function(Part,Mesh)
  877. for i=0,1,delay do
  878. wait()
  879. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  880. Part.Transparency=i
  881. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  882. end
  883. Part.Parent=nil
  884. end),prt,msh)
  885. end
  886. local function CB(parent,t)
  887. local counter=0
  888. local size=1
  889. for i=0,t,1 do
  890. swait()
  891. counter=counter+1
  892. if counter%5==0 then
  893. if size==1 then
  894. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  895. elseif size==2 then
  896. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  897. elseif size==3 then
  898. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  899. end
  900. end
  901. end
  902. end
  903. function so(id,par,vol,pit)
  904. coroutine.resume(coroutine.create(function()
  905. local sou = Instance.new("Sound",par or workspace)
  906. sou.Volume=vol
  907. sou.Pitch=pit or 1
  908. sou.SoundId=id
  909. swait()
  910. sou:Play()
  911. Debris:AddItem(sou,6)
  912. end))
  913. end
  914. local function computeDirection(vec)
  915. local lenSquared = vec.magnitude * vec.magnitude
  916. local invSqrt = 1 / math.sqrt(lenSquared)
  917. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  918. end
  919. local function Blast()
  920. for i=0,1,.1 do
  921. swait()
  922. RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(60)),.3)
  923. Torso.Neck.C0 = clerp(N.C0,necko *ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
  924. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  925. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  926. RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(-3),math.rad(65),math.rad(0)),.3)
  927. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(-25),math.rad(-110),math.rad(0))*ang(math.rad(-25),math.rad(0),math.rad(0)),.3)
  928. end
  929. so("rbxassetid://199145659",LiA,1,1)
  930. efprt=part(Enum.FormFactor.Custom,workspace,Enum.Material.Neon,0,0,"Really red","BallEffect",vt(45, 45, 45))
  931. efprt.Anchored = true
  932. efprt.Position = Vector3.new(2e5,2e5,2e5)
  933. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  934. CB(LiA,35)
  935. for i=0,1,.1 do
  936. swait()
  937. RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
  938. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *ang(math.rad(0),math.rad(0),math.rad(60)),.3)
  939. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  940. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  941. RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(0),math.rad(110),math.rad(0)),.3)
  942. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(0),math.rad(-70),math.rad(0)),.3)
  943. end
  944. txt.Text = "Have a ki blast."
  945. so("rbxassetid://199145534",LiA,1,1.2)
  946. efprt:BreakJoints()
  947. local t = Mouse.Hit.p
  948. local d = t - LiA.Position
  949. d = computeDirection(d)
  950. local pos = LiA.Position + (d * 10.0)
  951. efprt.Anchored = false
  952. efprt.CFrame = CFrame.new(pos, pos + d) * CFrame.Angles(math.pi/2, 0, 0)
  953. local ff = Instance.new("BodyForce")
  954. ff.force = vt(0, efprt:GetMass() * 196.1, 0.0)
  955. ff.Parent = efprt
  956. efprt.Velocity = d * 160
  957. efprt.Touched:Connect(function(hit)
  958. if not hit:IsDescendantOf(Chr)and not hit.Parent:FindFirstChild'HasBeenHit'and hit.Parent and hit.Parent:FindFirstChild'Humanoid'and hit.Parent:FindFirstChild'Torso'then
  959. KillMortal(hit.Parent)
  960. ff:Destroy()
  961. efprt.Anchored=true
  962. efprt:Destroy()
  963. end
  964. end)
  965. Debris:AddItem(efprt,6)
  966. resetlerp()
  967. end
  968. local function Blast2()
  969. for i=0,1,.1 do
  970. swait()
  971. RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(60)),.3)
  972. Torso.Neck.C0 = clerp(N.C0,necko *ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
  973. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  974. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  975. RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(-3),math.rad(65),math.rad(0)),.3)
  976. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(-25),math.rad(-110),math.rad(0))*ang(math.rad(-25),math.rad(0),math.rad(0)),.3)
  977. end
  978. so("rbxassetid://199145659",LiA,1,1)
  979. efprt=part(Enum.FormFactor.Custom,workspace,Enum.Material.Neon,0,0,"Really red","BallEffect",vt(15, 15, 15))
  980. efprt.Anchored = true
  981. efprt.Position = Vector3.new(2e5,2e5,2e5)
  982. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  983. CB(LiA,35)
  984. for i=0,1,.1 do
  985. swait()
  986. RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
  987. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *ang(math.rad(0),math.rad(0),math.rad(60)),.3)
  988. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  989. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  990. RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(0),math.rad(110),math.rad(0)),.3)
  991. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(0),math.rad(-70),math.rad(0)),.3)
  992. end
  993. so("rbxassetid://199145534",LiA,1,1.2)
  994. efprt:BreakJoints()
  995. local t = Mouse.Hit.p
  996. local d = t - LiA.Position
  997. d = computeDirection(d)
  998. local pos = LiA.Position + (d * 10.0)
  999. efprt.Anchored = false
  1000. efprt.CFrame = CFrame.new(pos, pos + d) * CFrame.Angles(math.pi/2, 0, 0)
  1001. local ff = Instance.new("BodyForce")
  1002. ff.force = vt(0, efprt:GetMass() * 196.1, 0.0)
  1003. ff.Parent = efprt
  1004. efprt.Velocity = d * 160
  1005. efprt.Touched:Connect(function(hit)
  1006. if not hit:IsDescendantOf(Chr)and not hit.Parent:FindFirstChild'HasBeenHit'and hit.Parent and hit.Parent:FindFirstChild'Humanoid'and hit.Parent:FindFirstChild'Torso'then
  1007. KillMortal(hit.Parent)
  1008. ff:Destroy()
  1009. efprt.Anchored=true
  1010. efprt:Destroy()
  1011. end
  1012. end)
  1013. Debris:AddItem(efprt,6)
  1014. resetlerp()
  1015. end
  1016. local function Blast3()
  1017. for i=0,1,.1 do
  1018. swait()
  1019. RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(60)),.3)
  1020. Torso.Neck.C0 = clerp(N.C0,necko *ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1021. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  1022. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  1023. RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(-3),math.rad(65),math.rad(0)),.3)
  1024. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(-25),math.rad(-110),math.rad(0))*ang(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1025. end
  1026. so("rbxassetid://199145659",LiA,1,1)
  1027. efprt=part(Enum.FormFactor.Custom,workspace,Enum.Material.Neon,0,0,"Really red","BallEffect",vt(15, 15, 15))
  1028. efprt.Anchored = true
  1029. efprt.Position = Vector3.new(2e5,2e5,2e5)
  1030. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  1031. CB(LiA,35)
  1032. for i=0,1,.1 do
  1033. swait()
  1034. RJ.C0 = clerp(RJ.C0,RootCF*cf(0,0,0)* ang(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1035. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *ang(math.rad(0),math.rad(0),math.rad(60)),.3)
  1036. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * ang(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  1037. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * ang(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  1038. RH.C0=clerp(RH.C0,cf(1,-1,0)*ang(math.rad(0),math.rad(110),math.rad(0)),.3)
  1039. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*ang(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1040. end
  1041. so("rbxassetid://199145534",LiA,1,1.2)
  1042. efprt:BreakJoints()
  1043. local t = Mouse.Hit.p
  1044. local d = t - LiA.Position
  1045. d = computeDirection(d)
  1046. local pos = LiA.Position + (d * 10.0)
  1047. efprt.Anchored = false
  1048. efprt.CFrame = CFrame.new(pos, pos + d) * CFrame.Angles(math.pi/2, 0, 0)
  1049. local ff = Instance.new("BodyForce")
  1050. ff.force = vt(0, efprt:GetMass() * 196.1, 0.0)
  1051. ff.Parent = efprt
  1052. efprt.Velocity = d * 160
  1053. efprt.Touched:Connect(function(hit)
  1054. if not hit:IsDescendantOf(Chr)and not hit.Parent:FindFirstChild'HasBeenHit'and hit.Parent and hit.Parent:FindFirstChild'Humanoid'and hit.Parent:FindFirstChild'Torso'then
  1055. KillMortal(hit.Parent)
  1056. ff:Destroy()
  1057. efprt.Anchored=true
  1058. efprt:Destroy()
  1059. end
  1060. end)
  1061. Debris:AddItem(efprt,6)
  1062. resetlerp()
  1063. end
  1064. Ev = UIS.InputBegan:Connect(function(Key, Gc)
  1065. if Gc then
  1066. return
  1067. end
  1068. if attack == false and Key.UserInputType == Enum.UserInputType.MouseButton1 then
  1069. attack = true
  1070. swinganim:Play()
  1071. bladeactive = true
  1072. wait(.7)
  1073. bladeactive = false
  1074. attack = false
  1075. swinganim:Stop()
  1076. elseif attack == false and Key.UserInputType == Enum.UserInputType.Keyboard then
  1077. if Key.KeyCode == Enum.KeyCode.Z and attack == false then
  1078. attack = true
  1079. SB()
  1080. wait(.75)
  1081. attack = false
  1082. elseif Key.KeyCode == Enum.KeyCode.X and attack == false then
  1083. attack = true
  1084. SSJB()
  1085. elseif Key.KeyCode == Enum.KeyCode.Q and attack == false then
  1086. attack = true
  1087. Blast()
  1088. wait(3)
  1089. txt.Text = "???"
  1090. CB(efprt, 100)
  1091. wait(.45)
  1092. attack = false
  1093. end
  1094. end
  1095. end)
  1096. spawn(function()
  1097. while wait(.25)do
  1098. for i = 1,150 do
  1099. wait()
  1100. TrainMesh.VertexColor = vt(HSLtoRGB(i*2,1,0.5).r,HSLtoRGB(i*2,1,0.5).g,HSLtoRGB(i*2,1,0.5).b)
  1101. end
  1102. wait()
  1103. local reversei = 150
  1104. for i = 1,150 do
  1105. wait()
  1106. TrainMesh.VertexColor = vt(HSLtoRGB(reversei*2,1,0.5).r,HSLtoRGB(reversei*2,1,0.5).g,HSLtoRGB(reversei*2,1,0.5).b)
  1107. reversei = reversei-1
  1108. end
  1109. end
  1110. end)
  1111. Hum.Died:Connect(function()
  1112. local a = Instance.new("Part", workspace)
  1113. a.Transparency = 1
  1114. a.Anchored = true
  1115. a.CFrame = Torso.CFrame
  1116. name.Parent = a
  1117. name.Adornee = a
  1118. local S = Instance.new('Sky', game:GetService'Lighting')
  1119. S.Name = ' 1341 63469 '
  1120. S.SkyboxBk = "rbxassetid://711351773"
  1121. S.SkyboxDn = "rbxassetid://711351773"
  1122. S.SkyboxUp = "rbxassetid://711351773"
  1123. S.SkyboxRt = "rbxassetid://711351773"
  1124. S.SkyboxLf = "rbxassetid://711351773"
  1125. S.SkyboxFt = "rbxassetid://711351773"
  1126. txt.Text = "I WILL NOT LOSE TO A FILTHY NINGEN!!!"
  1127. txt.FontSize = "Size48"
  1128. wait(1.85)
  1129. for a,a in pairs(game:GetService'Players':GetPlayers())do
  1130. if a.Character and a.Character:FindFirstChild'Head'then
  1131. a.Character:BreakJoints()
  1132. end
  1133. end
  1134. wait(2)
  1135. name:Destroy()
  1136. S:Destroy()
  1137. Ev:Disconnect()
  1138. script:Destroy()
  1139. end)
  1140. warn'Loaded!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement