Advertisement
SlySlixty

Untitled

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