Advertisement
qwbbedly

Untitled

Dec 17th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 124.35 KB | None | 0 0
  1.  
  2.  
  3. -- YEET
  4. plr = game.Players.LocalPlayer
  5. mouse = plr:GetMouse()
  6. part = nil
  7. bp = nil
  8. particles = nil
  9. local Character = plr.Character
  10. -- Trinitum
  11. local s = Instance.new("Sound")
  12. s.Name = "Trinity"
  13. s.SoundId = "https://www.roblox.com/asset/?id=251976044"
  14. s.Pitch = 1.3
  15. s.Volume = 10
  16. s.Looped = false
  17. s.archivable = false
  18. s.Parent = Character.Head
  19. wait(0.1)
  20. s:play()
  21. -- Trinity Aura
  22.  
  23. --local mouse1 = Instance.new("BoolValue", Character)
  24. --mouse1.name = "mouse1"
  25. local RightArm = Character["Right Arm"]
  26. local RootPart = Character.Torso
  27. EffectModel = Instance.new("Model", Character)
  28. it = Instance.new
  29. cf = CFrame.new
  30. EffectModel.Name = "Effects"
  31. local EffecMo = EffectModel
  32. Gring = it("Part", EffectModel)
  33. Gring.Size = Vector3.new(8, 0, 8)
  34. Gring.CFrame = RootPart.CFrame
  35. Gring.Transparency = 1
  36. Gring.Anchored = true
  37. Gring.CanCollide = false
  38. rgui = it("SurfaceGui", Gring)
  39. rgui.Face = "Top"
  40. igui = it("ImageLabel", rgui)
  41. igui.BackgroundTransparency = 1
  42. igui.Size = UDim2.new(1, 0, 1, 0)
  43. igui.Image = "rbxassetid://1245317611"
  44. igui.ImageColor3 = Color3.new(25, 25, 255)
  45. rtgui = rgui:clone()
  46. rtgui.Parent = Gring
  47. rtgui.Face = "Bottom"
  48. Lring = Instance.new("Part", EffectModel)
  49. Lring.CanCollide = false
  50. Lring.Anchored = false
  51. Lring.CFrame = RightArm.CFrame * CFrame.new(0, -1, 0)
  52. Lring.Transparency = 0
  53. rgui = Instance.new("BillboardGui")
  54. rgui.Parent = Lring
  55. rgui.Size = UDim2.new(3, 0, 2.4, 0)
  56. rgui.AlwaysOnTop = false
  57. rimg = Instance.new("ImageLabel")
  58. rimg.Parent = rgui
  59. rimg.BackgroundTransparency = 1
  60. rimg.Size = UDim2.new(1, 0, 1, 0)
  61. rimg.Image = "rbxassetid://200369289"
  62. rimg.ImageColor3 = Color3.new(255, 255, 0)
  63. local rotnum = 0
  64. function rayCast(Position, Direction, Range, Ignore)
  65. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  66. end
  67. function clerp(a, b, t, c, d)
  68. return a:Lerp(b, t)
  69. end
  70. game["Run Service"].RenderStepped:connect(function()
  71. rotnum = rotnum + 1
  72. local hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  73. if hitfloor2 ~= nil then
  74. Gring.CFrame = clerp(Gring.CFrame, cf(posfloor2) * CFrame.Angles(0, math.rad(5 * rotnum), 0), 1)
  75. end
  76. end)
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83. -- Moves
  84.  
  85.  
  86. math.randomseed(tick())
  87. plr = game:service("Players").LocalPlayer
  88. ch, char = plr.Character, plr.Character
  89. hum = ch.Humanoid
  90. tor, torso, rootpart, rj = ch.Torso, ch.Torso, ch.HumanoidRootPart, ch.HumanoidRootPart.RootJoint
  91. m, mouse = plr:GetMouse(), plr:GetMouse()
  92. cfn, ang, mr, int = CFrame.new, CFrame.Angles, math.rad, Instance.new
  93. bc = BrickColor.new
  94. head = ch.Head
  95. cam = workspace.CurrentCamera
  96. rj.C0 = cfn()
  97. rj.C1 = cfn()
  98. lib = {}
  99. lib.cone = "1033714"
  100. lib.ring = "3270017"
  101. lib.yato = "579392805"
  102. rbx = "rbxassetid://"
  103. v3 = Vector3.new
  104. cn = CFrame.new
  105. ca2 = CFrame.Angles
  106. mf = math.floor
  107. mran = math.random
  108. rn = mran
  109. mrad = math.rad
  110. rd = mrad
  111. mdeg = math.deg
  112. dg = mdeg
  113. function ca(x, y, z)
  114. return ca2(mrad(x), mrad(y), mrad(z))
  115. end
  116. function mran2(a, b)
  117. return mran(a * 1000, b * 1000) / 1000
  118. end
  119. ud = UDim2.new
  120. bn = BrickColor.new
  121. c3 = Color3.new
  122. function getSound(id)
  123. game:service("ContentProvider"):Preload("rbxassetid" .. tostring(id))
  124. local s = int("Sound", ch.Head)
  125. s.SoundId = "rbxassetid://" .. tostring(id - 1)
  126. s.Volume = 1
  127. return s
  128. end
  129. char.Humanoid.HipHeight = 1
  130. local combostring = ""
  131. local attackstring = ""
  132. blocksound = getSound(260433722)
  133. blocksound.Pitch = 1
  134. startsound = getSound(588738950)
  135. startsound.Pitch = 1
  136. endsound = getSound(588736246)
  137. endsound.Pitch = 1
  138. endsound.Volume = 2
  139. swsound = getSound(588736970)
  140. swexp = getSound(365002939)
  141. swexp.Pitch = 1
  142. spexp = getSound(131166206)
  143. spexp.Pitch = 1.2
  144. startsound2 = getSound(260433769)
  145. startsound2.Pitch = 0.8
  146. startsound3 = getSound(260433769)
  147. startsound3.Pitch = 0.89
  148. chargesound = getSound(181004944)
  149. chargesound.Pitch = 1
  150. basicsound = getSound(131166206)
  151. basicsound.Pitch = 1.2
  152. dodgesound = getSound(177162407)
  153. dodgesound.Pitch = 1.4
  154. landsound = getSound(315775190)
  155. rushsound = getSound(131166206)
  156. swoosh = getSound(131166206)
  157. swoosh.Volume = 2
  158. aerialcharge = getSound(265109959)
  159. aerialcharge.Pitch = 1.1
  160. curse = getSound(231917971)
  161. glass = getSound(130779172)
  162. magictone1 = getSound(131166206)
  163. game:GetService("Chat"):Chat(head, "Trinity Qwbbedly")
  164. tweenTable = {}
  165. altTweenTable = {}
  166. local alljoints = {}
  167. textTable = {}
  168. local fx = {}
  169. moves = {}
  170. connectlist = {}
  171. cooldowns = {}
  172. movers = {}
  173. local linetable = {}
  174. local run = false
  175. idle = false
  176. local animPlaying = false
  177. local runLeg = false
  178. canRunLeg = false
  179. local deb = false
  180. local basicswitch = false
  181. local canExecuteMoves = true
  182. maxmana = 1000
  183. mana = 1000
  184. chain = 0
  185. hum.MaxHealth = 333
  186. spawn(function()
  187. wait()
  188. hum.Health = 333
  189. end)
  190. local terradrillhowl = Instance.new("Sound", torso)
  191. terradrillhowl.SoundId = "rbxassetid://138677306"
  192. terradrillhowl.Volume = 10
  193. local terranovaspawn = Instance.new("Sound", torso)
  194. terranovaspawn.SoundId = "rbxassetid://237142728"
  195. terranovaspawn.Volume = 10
  196. local managui = int("ScreenGui", plr.PlayerGui)
  197. managui.Name = "Mana Gui"
  198. local frame = int("Frame", managui)
  199. frame.Size = UDim2.new(0.15, 0, 0.02, 0)
  200. frame.Position = UDim2.new(0.83, 0, 0.7, 0)
  201. frame.BackgroundColor3 = BrickColor.new("Black").Color
  202. frame.BorderColor3 = BrickColor.new("Cool yellow").Color
  203. frame.BorderSizePixel = 6
  204. local manabartext = int("TextLabel", frame)
  205. manabartext.ZIndex = 2
  206. manabartext.Size = UDim2.new(1, 0, 1, 0)
  207. manabartext.TextColor3 = BrickColor.new("White").Color
  208. manabartext.TextStrokeTransparency = 1
  209. manabartext.Font = "SourceSansLight"
  210. manabartext.Text = tostring(mana) .. "/" .. tostring(maxmana)
  211. manabartext.FontSize = "Size18"
  212. manabartext.BackgroundTransparency = 1
  213. local manabar = int("Frame", frame)
  214. manabar.Size = UDim2.new(1, 0, 1, 0)
  215. manabar.BorderSizePixel = 0
  216. manabar.BackgroundColor3 = BrickColor.new("Bright blue").Color
  217. manabar.Size = UDim2.new(mana / maxmana, 0, 1, 0)
  218. local chainframe = int("Frame", managui)
  219. chainframe.Size = frame.Size
  220. chainframe.BackgroundTransparency = 1
  221. chainframe.Position = frame.Position + UDim2.new(0.07, 0, -0.05, 0)
  222. local chaintext = int("TextLabel", chainframe)
  223. chaintext.BackgroundTransparency = 1
  224. chaintext.TextStrokeColor3 = BrickColor.new("White").Color
  225. chaintext.TextStrokeTransparency = 1
  226. chaintext.Size = UDim2.new(1, 0, 1, 0)
  227. chaintext.Font = "Antique"
  228. chaintext.FontSize = "Size48"
  229. chaintext.Text = "0x"
  230. ypcall(function()
  231. ch.Animate:Destroy()
  232. ch.Humanoid.Animator:Destroy()
  233. end)
  234. if ch:findFirstChild("Riven") then
  235. ch.Riven:Destroy()
  236. end
  237. local tube = int("Model", ch)
  238. tube.Name = "Riven"
  239. script.Parent = tube
  240. function Weld(p0, p1, x, y, z, rx, ry, rz, par)
  241. p0.Position = p1.Position
  242. local w = Instance.new("Motor", par or p0)
  243. w.Part0 = p1
  244. w.Part1 = p0
  245. w.C0 = CFrame.new(x or 0, y or 0, z or 0) * CFrame.Angles(rx or 0, ry or 0, rz or 0)
  246. w.MaxVelocity = 0.1
  247. return w
  248. end
  249. function clerp(c1, c2, sp)
  250. local R1, R2, R3 = c1:toEulerAnglesXYZ()
  251. local R21, R22, R23 = c2:toEulerAnglesXYZ()
  252. return CFrame.new(c1.X + (c2.X - c1.X) * sp, c1.Y + (c2.Y - c1.Y) * sp, c1.Z + (c2.Z - c1.Z) * sp) * CFrame.Angles(R1 + (R21 - R1) * sp, R2 + (R22 - R2) * sp, R3 + (R23 - R3) * sp)
  253. end
  254. function Tween(Weld, Stop, Step, a)
  255. ypcall(function()
  256. local function func()
  257. local Start = Weld.C1
  258. local X1, Y1, Z1 = Start:toEulerAnglesXYZ()
  259. local Stop = Stop
  260. local X2, Y2, Z2 = Stop:toEulerAnglesXYZ()
  261. if not Step then
  262. Step = 0.1
  263. end
  264. table.insert(tweenTable, {
  265. th = 0,
  266. Weld = Weld,
  267. Step = Step,
  268. Start = Start,
  269. X1 = X1,
  270. Y1 = Y1,
  271. Z1 = Z1,
  272. Stop = Stop,
  273. X2 = X2,
  274. Y2 = Y2,
  275. Z2 = Z2
  276. })
  277. end
  278. if a then
  279. coroutine.wrap(func)()
  280. else
  281. func()
  282. end
  283. end)
  284. end
  285. function altTween(Weld, Stop, Step, a)
  286. ypcall(function()
  287. local function func()
  288. local Start = Weld.C1
  289. local X1, Y1, Z1 = Start:toEulerAnglesXYZ()
  290. local Stop = Stop
  291. local X2, Y2, Z2 = Stop:toEulerAnglesXYZ()
  292. if not Step then
  293. Step = 0.1
  294. end
  295. table.insert(altTweenTable, {
  296. th = 0,
  297. Weld = Weld,
  298. Step = Step,
  299. Start = Start,
  300. X1 = X1,
  301. Y1 = Y1,
  302. Z1 = Z1,
  303. Stop = Stop,
  304. X2 = X2,
  305. Y2 = Y2,
  306. Z2 = Z2
  307. })
  308. end
  309. if a then
  310. coroutine.wrap(func)()
  311. else
  312. func()
  313. end
  314. end)
  315. end
  316. function weld(p0, p1, c0)
  317. local w = Instance.new("Weld", p0)
  318. w.Part0 = p0
  319. w.Part1 = p1
  320. w.C0 = c0
  321. return w
  322. end
  323. function cp(parent, color, size, anchored, cancollide)
  324. local newp = Instance.new("Part", parent)
  325. newp.TopSurface = "SmoothNoOutlines"
  326. newp.BottomSurface = "SmoothNoOutlines"
  327. newp.FrontSurface = "SmoothNoOutlines"
  328. newp.BackSurface = "SmoothNoOutlines"
  329. newp.RightSurface = "SmoothNoOutlines"
  330. newp.LeftSurface = "SmoothNoOutlines"
  331. newp.FormFactor = "Custom"
  332. newp.BrickColor = bc(color)
  333. local rn = math.random(3)
  334. if rn == 1 then
  335. end
  336. newp.Size = size
  337. newp.Anchored = anchored
  338. newp.CanCollide = cancollide
  339. newp:BreakJoints()
  340. return newp
  341. end
  342. function cpa(parent, MeshID, color, size, anchored, cancollide)
  343. local newp = Instance.new("MeshPart", parent)
  344. newp.TopSurface = "SmoothNoOutlines"
  345. newp.BottomSurface = "SmoothNoOutlines"
  346. newp.FrontSurface = "SmoothNoOutlines"
  347. newp.BackSurface = "SmoothNoOutlines"
  348. newp.RightSurface = "SmoothNoOutlines"
  349. newp.LeftSurface = "SmoothNoOutlines"
  350. newp.FormFactor = "Custom"
  351. newp.BrickColor = bc(color)
  352. local rn = math.random(3)
  353. if rn == 1 then
  354. end
  355. newp.Size = size
  356. newp.Anchored = anchored
  357. newp.CanCollide = cancollide
  358. newp:BreakJoints()
  359. return newp
  360. end
  361.  
  362. function destroyJoints()
  363. for i = 1, 5 do
  364. for _, v in pairs(alljoints) do
  365. ypcall(function()
  366. v:Destroy()
  367. table.remove(alljoints, _)
  368. end)
  369. end
  370. end
  371. end
  372. function initializeJoints()
  373. destroyJoints()
  374. rabr = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
  375. rabr.Transparency = 1
  376. rabr.Name = "Locker"
  377. rabr.Position = torso.Position
  378. bw = Weld(rabr, torso, 1.5, 0.5, 0, 0, 0, 0)
  379. bw.Parent = tube
  380. bw.Name = "bw"
  381. rw = Weld(rabr, torso, 1.5, 0.5, 0, 0, 0, 0)
  382. rw.Parent = tube
  383. rw.Name = "rw"
  384.  
  385. w = Instance.new("Weld", tube)
  386. w.Part0, w.Part1 = ch["Right Arm"], rabr
  387. w.C1 = CFrame.new(0, -0.5, 0)
  388. labr = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
  389. labr.Transparency = 1
  390. labr.Name = "Locker"
  391. labr.Position = torso.Position
  392. lw = Weld(labr, torso, -1.5, 0.5, 0, 0, 0, 0)
  393. lw.Parent = tube
  394. lw.Name = "lw"
  395. ww = Instance.new("Weld", tube)
  396. ww.Part0, ww.Part1 = ch["Left Arm"], labr
  397. ww.C1 = CFrame.new(0, -0.5, 0)
  398. rlabr = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
  399. rlabr.Transparency = 1
  400. rlabr.Name = "Locker"
  401. rlabr.Position = torso.Position
  402. rlw = Weld(rlabr, torso, 0.5, -1.5, 0, 0, 0, 0)
  403. rlw.Parent = tube
  404. rlw.Name = "rlw"
  405. wl = Instance.new("Weld", tube)
  406. wl.Part0, wl.Part1 = ch["Right Leg"], rlabr
  407. wl.C1 = CFrame.new(0, -0.5, 0)
  408. llabr = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
  409. llabr.Transparency = 1
  410. llabr.Name = "Locker"
  411. llabr.Position = torso.Position
  412. llw = Weld(llabr, torso, -0.5, -1.5, 0, 0, 0, 0)
  413. llw.Parent = tube
  414. llw.Name = "llw"
  415. wwl = Instance.new("Weld", tube)
  416. wwl.Part0, wwl.Part1 = ch["Left Leg"], llabr
  417. wwl.C1 = CFrame.new(0, -0.5, 0)
  418. nk = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
  419. nk.Transparency = 1
  420. nk.Name = "Locker"
  421. nk.Position = torso.Position
  422. neck = Weld(nk, torso, 0, 2, 0, 0, 0, 0)
  423. neck.Parent = tube
  424. neck.Name = "neck"
  425. www = Instance.new("Weld", tube)
  426. www.Part0, www.Part1 = ch.Head, nk
  427. www.C1 = CFrame.new(0, -0.5, 0)
  428. table.insert(alljoints, rabr)
  429. table.insert(alljoints, labr)
  430. table.insert(alljoints, rw)
  431. table.insert(alljoints, lw)
  432. table.insert(alljoints, w)
  433. table.insert(alljoints, ww)
  434. table.insert(alljoints, rlabr)
  435. table.insert(alljoints, llabr)
  436. table.insert(alljoints, rlw)
  437. table.insert(alljoints, llw)
  438. table.insert(alljoints, wl)
  439. table.insert(alljoints, wwl)
  440. table.insert(alljoints, nk)
  441. table.insert(alljoints, neck)
  442. table.insert(alljoints, www)
  443. end
  444. function cyl(prt)
  445. local c = int("CylinderMesh", prt)
  446. return c
  447. end
  448. function blo(prt)
  449. local c = int("BlockMesh", prt)
  450. c.Name = "bmsh"
  451. return c
  452. end
  453. function sphere(prt)
  454. local c = int("SpecialMesh", prt)
  455. c.MeshType = "Sphere"
  456. return c
  457. end
  458. initializeJoints()
  459. function reset()
  460. if run == false and animPlaying == false then
  461. altTweenTable = {}
  462. Tween(llw, cfn(0, -0.08 * math.sin(tick() * 1.5), 0) * ang(0, 0, mr(5)))
  463. Tween(rlw, cfn(0, -0.08 * math.sin(tick() * 1.5), 0) * ang(0, 0, mr(-5)))
  464. Tween(rw, cfn(0, 0.1 * math.sin(tick() * 1.5), 0) * ang(0, 25.5, mr(-15) + mr(-5 * math.sin(tick() * 1.5))))
  465. Tween(lw, cfn(0, 0.1 * math.sin(tick() * 1.5), 0) * ang(0, -25, mr(15) + mr(5 * math.sin(tick() * 1.5))))
  466. Tween(neck, cfn())
  467. Tween(rj, cfn(0, 0.08 * math.sin(tick() * 1.5), 0), 0.3)
  468. end
  469. end
  470. function resetLegs()
  471. altTweenTable = {}
  472. Tween(llw, cfn())
  473. Tween(rlw, cfn())
  474. end
  475. function walkCycle()
  476. if run == true and animPlaying == false then
  477. tweenTable = {}
  478. Tween(rj, cfn())
  479. Tween(llw, cfn(0, 0, -0.2 * math.sin(tick() * 8)) * ang(mr(10) + mr(60 * math.sin(tick() * 8)), 0, 0), 0.6)
  480. Tween(rlw, cfn(0, 0, 0.2 * math.sin(tick() * 8)) * ang(mr(10) + mr(-60 * math.sin(tick() * 8)), 0, 0), 0.6)
  481. Tween(rw, cfn( 0, 0, 20 * math.sin(tick() * 0)) * ang(mr(10) + mr(60 * math.sin(tick() * 8)), 0, 0), 0.6)
  482. Tween(lw, cfn( 0, 0, 0.2 * math.sin(tick() * 0)) * ang(mr(10) + mr(-60 * math.sin(tick() * 8)), 0, 0), 0.6)
  483. Tween(lw, cfn( 0, 0, 0.2 * math.sin(tick() * 0)) * ang(mr(10) + mr(-60 * math.sin(tick() * 8)), 0, 0), 0.6)
  484. end
  485. end
  486. function walkLegs()
  487. if runLeg == true then
  488. altTweenTable = {}
  489. altTween(llw, cfn(0, 0, -0.2 * math.sin(tick() * 8)) * ang(mr(20) + mr(50 * math.sin(tick() * 8)), 0, 0), 0.6)
  490. altTween(rlw, cfn(0, 0, 0.2 * math.sin(tick() * 8)) * ang(mr(20) + mr(-50 * math.sin(tick() * 8)), 0, 0), 0.6)
  491. end
  492. end
  493. function dealDamage(man, damage, crit, multi, lifesteal)
  494. if man and man:findFirstChild("Humanoid") and man.Head then
  495. local dm = damage
  496. local cr = false
  497. local hm = man.Humanoid
  498. if crit and crit > 0 then
  499. local c = math.random(crit)
  500. if c == 1 then
  501. cr = true
  502. end
  503. end
  504. if cr == true then
  505. if not multi then
  506. dm = dm * 1.5
  507. else
  508. dm = dm * multi
  509. end
  510. end
  511. hm:TakeDamage(dm)
  512. if lifesteal then
  513. local plife = lifesteal * dm
  514. if hum.Health < hum.MaxHealth then
  515. hum.Health = hum.Health + plife
  516. local bbg = int("BillboardGui", tube)
  517. bbg.Size = UDim2.new(1, 0, 1, 0)
  518. bbg.StudsOffset = Vector3.new(0, 2, 0)
  519. bbg.StudsOffset = bbg.StudsOffset + Vector3.new(math.random(-math.random(50) / 10, math.random(50) / 10), 0, math.random(-math.random(50) / 10, math.random(50) / 10))
  520. bbg.Adornee = ch.Head
  521. bbg.AlwaysOnTop = true
  522. local tlabl = int("TextLabel", bbg)
  523. tlabl.Size = UDim2.new(1, 0, 1, 0)
  524. tlabl.Text = tostring(plife)
  525. tlabl.BackgroundTransparency = 1
  526. tlabl.TextColor3 = BrickColor.new("Bright green").Color
  527. tlabl.TextStrokeColor3 = BrickColor.new("White").Color
  528. tlabl.TextStrokeTransparency = 0
  529. tlabl.Font = "Antique"
  530. tlabl.FontSize = "Size60"
  531. table.insert(textTable, bbg)
  532. end
  533. end
  534. chain = chain + 1
  535. if hm.MaxHealth >= 99999 then
  536. hm.Parent:BreakJoints()
  537. end
  538. local bbg = int("BillboardGui", tube)
  539. bbg.Size = UDim2.new(1, 0, 1, 0)
  540. bbg.StudsOffset = Vector3.new(0, 2, 0)
  541. bbg.StudsOffset = bbg.StudsOffset + Vector3.new(math.random(-math.random(50) / 10, math.random(50) / 10), 0, math.random(-math.random(50) / 10, math.random(50) / 10))
  542. bbg.Adornee = man.Head
  543. bbg.AlwaysOnTop = true
  544. local tlabl = int("TextLabel", bbg)
  545. tlabl.Size = UDim2.new(1, 0, 1, 0)
  546. tlabl.Text = tostring(dm)
  547. tlabl.BackgroundTransparency = 1
  548. tlabl.TextColor3 = BrickColor.new("White").Color
  549. tlabl.TextStrokeColor3 = BrickColor.new("White").Color
  550. if cr == true then
  551. tlabl.TextColor3 = BrickColor.new("Really red").Color
  552. tlabl.TextStrokeColor3 = BrickColor.new("White").Color
  553. end
  554. tlabl.TextStrokeTransparency = 0
  555. tlabl.Font = "Antique"
  556. tlabl.FontSize = "Size60"
  557. table.insert(textTable, bbg)
  558. return dm
  559. end
  560. end
  561. local tp = cp(tube, "White", Vector3.new(1, 1, 1))
  562. tp.Transparency = 1
  563. weld(ch["Right Arm"], tp, cfn(0, -1, 0))
  564. function addFx(item, int, final, func)
  565. table.insert(fx, {
  566. item = item,
  567. int = int,
  568. func = func,
  569. final = final,
  570. stepval = 0
  571. })
  572. end
  573.  
  574.  
  575. function addMove(name, key, cooldown, func, manacost)
  576. moves[name] = {
  577. key = key,
  578. cooldown = cooldown,
  579. func = func,
  580. manacost = manacost
  581. }
  582. end
  583. function drawLine(point_a, point_b, bc_code, angle)
  584. local dist = (point_a - point_b).magnitude
  585. if dist > 1 then
  586. local rad = dist / 3
  587. local line = Instance.new("Part", tube)
  588. line.Anchored = true
  589. line.FormFactor = "Custom"
  590. line.BrickColor = BrickColor.new(bc_code)
  591. line.TopSurface = "SmoothNoOutlines"
  592. line.BottomSurface = "SmoothNoOutlines"
  593. line.LeftSurface = "SmoothNoOutlines"
  594. line.RightSurface = "SmoothNoOutlines"
  595. line.FrontSurface = "SmoothNoOutlines"
  596. line.BackSurface = "SmoothNoOutlines"
  597. line.Material = "Neon"
  598. line.CanCollide = false
  599. line.Size = Vector3.new(0.5, 0.5, dist)
  600. Instance.new("BlockMesh", line).Name = "blok"
  601. line.CFrame = CFrame.new(point_a, point_b) * CFrame.new(0, 0, -rad)
  602. return line
  603. end
  604. end
  605. function depleteMana(amount)
  606. if mana > 0 then
  607. if mana - amount > 0 then
  608. mana = mana - amount
  609. return true
  610. else
  611. return false
  612. end
  613. end
  614. end
  615. function executeMove(name)
  616. if canExecuteMoves == true and ch and hum and hum.Health > 0 then
  617. local can = true
  618. for _, v in pairs(cooldowns) do
  619. if v.move == name then
  620. can = false
  621. break
  622. end
  623. end
  624. if can == true then
  625. local can2 = true
  626. if moves[name].manacost then
  627. local a = depleteMana(moves[name].manacost)
  628. if not a then
  629. can2 = false
  630. end
  631. end
  632. if can2 then
  633. moves[name].func()
  634. end
  635. end
  636. end
  637. end
  638. function addToCList(what, key)
  639. local a = {
  640. what,
  641. key = key,
  642. up = false
  643. }
  644. table.insert(connectlist, a)
  645. return a
  646. end
  647. function waitForUp(what)
  648. repeat
  649. wait()
  650. until what.up == true
  651. end
  652. function addMover(what, step, func)
  653. table.insert(movers, {
  654. mover = what,
  655. step = step,
  656. lastpoint = what.CFrame,
  657. func = func
  658. })
  659. end
  660. local CreateRegion3FromLocAndSize = function(Position, Size)
  661. local SizeOffset = Size / 2
  662. local Point1 = Position - SizeOffset
  663. local Point2 = Position + SizeOffset
  664. return Region3.new(Point1, Point2)
  665. end
  666.  
  667. local lightsword = Instance.new("Model", Character)
  668. lightsword.Name = "TriniLightSword"
  669. local Handle = Instance.new("Part", lightsword)
  670. Handle.BrickColor = BrickColor.new("Really black")
  671. Handle.Material = "Neon"
  672. local TriniLightMesh = Instance.new("SpecialMesh", Handle)
  673. TriniLightMesh.MeshType = "FileMesh"
  674. TriniLightMesh.MeshId = "http://www.roblox.com/asset/?id=12171188"
  675. TriniLightMesh.Scale = Vector3.new(0.3,.3,.5)
  676. Handle.CFrame = torso.CFrame
  677. local LSW = Weld(Handle, torso, 0, -0.7, .6,99.1,-5,-10)
  678. LSW.Parent = Character
  679. LSW.Name = "LSW1"
  680.  
  681. local shield = Instance.new("Part", Character)
  682. shield.Transparency = 1
  683. local robot = Instance.new("Part", Character)
  684. local robot2 = Instance.new("Part", Character)
  685. local robot3 = Instance.new("Part", Character)
  686. local robot4 = Instance.new("Part", Character)
  687. local robot5 = Instance.new("Part", Character)
  688. local mesh5 = Instance.new("CylinderMesh", robot5)
  689. local robot6 = Instance.new("Part", Character)
  690. local robot7 = Instance.new("Part", Character)
  691. local robot8 = Instance.new("Part", Character)
  692. local robot9 = Instance.new("Part", Character)
  693. local robot10 = Instance.new("Part", Character)
  694. local shieldframe = Instance.new("SurfaceGui", shield)
  695. shieldframe.Face = "Front"
  696. local shielda = Instance.new("ImageLabel", shieldframe)
  697. shielda.Size = UDim2.new(1, 0, 1, 0)
  698. shielda.Image = "rbxassetid://1245317611"
  699. shielda.BackgroundTransparency = 1
  700. shielda.BorderSizePixel = 0
  701. local shieldb = shieldframe:Clone()
  702. shieldb.Parent = shield
  703. shieldb.Face = "Back"
  704.  
  705. local righthandle = cp(tube, "White", Vector3.new(1,1,1))
  706. weld(ch["Torso"], righthandle, cfn(-2.5, 1.9, -1.7))
  707. righthandle.Transparency = 1
  708. local lefthandle = cp(tube, "White", Vector3.new(1,1,1)) --1.45, 2.25, 3.45,2.7,3,-3)
  709. weld(ch["Torso"], lefthandle, cfn(-1.5, 1.9, -1.7))
  710. lefthandle.Transparency = 1
  711. shield.Name = "shield"
  712. shield.Parent = Character
  713. shield.Position = torso.Position
  714. shield.Size = Vector3.new(3,3,.001)
  715. shield.CanCollide = false
  716. robot.Transparency = 0
  717. robot.Name = "robot1"
  718. robot.Material = "Metal"
  719. robot.BrickColor = BrickColor.new("Medium stone grey")
  720. robot.Position = torso.Position
  721. robot.Size = Vector3.new(.8,1.4,.8)
  722. robot.CanCollide = false
  723. robot2.Transparency = 0
  724. robot2.Name = "robot2"
  725. robot2.Parent = Character
  726. robot2.Material = "Neon"
  727. robot2.BrickColor = BrickColor.new("Really black")
  728. robot2.Position = torso.Position
  729. robot2.Size = Vector3.new(.15,.15,1.15)
  730. robot2.CanCollide = false
  731. robot3.Transparency = 0
  732. robot3.Name = "robot3"
  733. robot3.Parent = Character
  734. robot3.Material = "Metal"
  735. robot3.BrickColor = BrickColor.new("Medium stone grey")
  736. robot3.Position = torso.Position
  737. robot3.Size = Vector3.new(1.1,.2,.2)
  738. robot3.CanCollide = false
  739. robot4.Transparency = 0
  740. robot4.Name = "robot4"
  741. robot4.Parent = Character
  742. robot4.Material = "Neon"
  743. robot4.BrickColor = BrickColor.new("Really black")
  744. robot4.Position = torso.Position
  745. robot4.Transparency = 0
  746. robot4.CanCollide = false
  747. robot4.Size = Vector3.new(.15,.15,1.15)
  748. robot5.Transparency = 0
  749. robot5.CanCollide = false
  750. robot5.Name = "robot5"
  751. robot5.Parent = Character
  752. robot5.Material = "Neon"
  753. robot5.BrickColor = BrickColor.new("Cool yellow")
  754. robot5.Position = torso.Position
  755. robot5.Size = Vector3.new(.3,.5,.3)
  756. robot6.Transparency = 0
  757. robot6.Name = "robot6"
  758. robot6.Parent = Character
  759. robot6.CanCollide = false
  760. robot6.Material = "Neon"
  761. robot6.BrickColor = BrickColor.new("Fawn brown")
  762. robot6.Position = torso.Position
  763. robot6.Size = Vector3.new(1,.15,.15)
  764. robot7.Transparency = 0
  765. robot7.CanCollide = false
  766. robot7.Name = "robot7"
  767. robot7.Material = "Neon"
  768. robot7.BrickColor = BrickColor.new("Cool yellow")
  769. robot7.Parent = Character
  770. robot7.Position = torso.Position
  771. robot7.Size = Vector3.new(.25,1,.25)
  772. robot8.Transparency = 0
  773. robot8.Name = "robot8"
  774. robot8.Parent = Character
  775. robot8.Material = "Neon"
  776. robot8.CanCollide = false
  777. robot8.BrickColor = BrickColor.new("Cool yellow")
  778. robot8.Position = torso.Position
  779. robot8.Size = Vector3.new(.25,1,.25)
  780. robot9.Transparency = 0
  781. robot9.Name = "robot9"
  782. robot9.Parent = Character
  783. robot9.Material = "Metal"
  784. robot9.CanCollide = false
  785. robot9.BrickColor = BrickColor.new("Medium stone grey")
  786. robot9.Position = torso.Position
  787. robot9.Size = Vector3.new(.35,.35,1.9)
  788. robot10.Name = "robot10"
  789. robot10.Parent = Character
  790. robot10.Material = "Metal"
  791. robot10.BrickColor = BrickColor.new("Medium stone grey")
  792. robot10.Position = torso.Position
  793. robot10.CanCollide = false
  794. robot10.Size = Vector3.new(.35,.35,1.9)
  795. local bw2 = Weld(robot2, torso, -2.2, 2.8, 3.20,3,0,0)
  796. bw2.Parent = Character
  797. bw2.Name = "bw2"
  798. local bw3 = Weld(robot3, torso, -2, 2.9, 3.75,0,0,0)
  799. bw3.Parent = Character
  800. bw3.Name = "bw3"
  801. local bw4 = Weld(robot4, torso, -1.8, 2.8, 3.20,3,0,0)
  802. bw4.Parent = Character
  803. bw4.Name = "bw4"
  804. local bw5 = Weld(robot5, torso, -2, 2.9, 3,0,0,0)
  805. bw5.Parent = Character
  806. bw5.Name = "bw5"
  807. local bw6 = Weld(robot6, torso, -2, 2.9, 3,0,0,0)
  808. bw6.Parent = Character
  809. bw6.Name = "bw6"
  810. local bw7 = Weld(robot7, torso, -1.5, 2.8, 3.8,3,3,-2.8)
  811. bw7.Parent = Character
  812. bw7.Name = "bw7"
  813. local bw8 = Weld(robot8, torso, -2.5, 2.8, 3.8,3,-3,2.8)
  814. bw8.Parent = Character
  815. bw8.Name = "bw8"
  816. local bw9 = Weld(robot9, torso, -2.55, 2.25, 3.45,2.7,-3,3)
  817. bw9.Parent = Character
  818. bw9.Name = "bw9"
  819. local bw10 = Weld(robot10, torso, -1.45, 2.25, 3.45,2.7,3,-3)
  820. bw10.Parent = Character
  821. bw10.Name = "bw10"
  822. local bw = Weld(robot, torso, -2, 3.7, 3,0,0,0)
  823. bw.Parent = Character
  824. bw.Name = "bw"
  825. local aw = Weld(shield, torso, -2, 2, -1.5,0,0,0)
  826. aw.Parent = Character
  827. aw.Name = "aw"
  828.  
  829. --[[repeat
  830. allahshiled = 1
  831. shield.CFrame = CFrame.new(0,0,1)
  832. allashshield = allahshiled + 1
  833. wait()
  834. until allahshiled == 100000000]]--
  835.  
  836. function addCoolDown(move)
  837. local a = {
  838. timeleft = moves[move].cooldown,
  839. move = move
  840. }
  841. table.insert(cooldowns, a)
  842. end
  843. addMove("taunt", "h", 3, function()
  844. deb = false
  845. idle = true
  846. game:GetService("Chat"):Chat(head, math.random(1000), 2)
  847. local RandomTaunt = math.random(1, 6)
  848. for i = 0, 1, 0.1 do
  849. end
  850. if RandomTaunt == 1 then
  851. game:GetService("Chat"):Chat(head, "Trinitatis novum", 2)
  852. elseif RandomTaunt == 2 then
  853. game:GetService("Chat"):Chat(head, "limbo.?", 2)
  854. elseif RandomTaunt == 3 then
  855. game:GetService("Chat"):Chat(head, "only gamble.", 2)
  856. elseif RandomTaunt == 4 then
  857. game:GetService("Chat"):Chat(head, "go away.", 2)
  858. elseif RandomTaunt == 5 then
  859. game:GetService("Chat"):Chat(head, "you're bad.", 2)
  860. elseif RandomTaunt == 6 then
  861. game:GetService("Chat"):Chat(head, "ultimus trinity", 2)
  862. end
  863. local a = addToCList("taunt", "h")
  864. waitForUp(a)
  865. addCoolDown("taunt")
  866. deb = false
  867. idle = true
  868. reset()
  869. animPlaying = false
  870. end, -50)
  871. addMove("terra", "j", 100, function()
  872. game:GetService("Chat"):Chat(head, "Terra Nova", 3)
  873. deb = false
  874. idle = true
  875. local pcaf = tor.CFrame
  876. terranovaspawn:Play()
  877. local terra = Instance.new("Model", workspace)
  878. terra.Name = "terra"
  879. local terranova = cp(terra, "Grime", Vector3.new(33.3,2,33.3), true, true)
  880. terranova.CFrame = pcaf * CFrame.new(0, 100, 0)
  881. terranova.Material = "Grass"
  882. terranova.CanCollide = true
  883. terranova.Name = "trinityterra"
  884. local terranovaglow = cp(workspace, "Grime", Vector3.new(33.4,2.1,33.4), true, true)
  885. terranovaglow.CFrame = terranova.CFrame
  886. terranovaglow.Material = "Neon"
  887. terranovaglow.CanCollide = false
  888. terranovaglow.Transparency = 0.7
  889. local terranovan = cp(terra, "Really black", Vector3.new(32,16,32), true, true)
  890. terranovan.CFrame = terranova.CFrame * CFrame.new(0, -8, 0)
  891. terranovan.Material = "Neon"
  892. terranovan.CanCollide = false
  893. local terralaser = cp(terra, "Cool yellow", Vector3.new(3,2048,3), true, true)
  894. terralaser.CFrame = terranova.CFrame * CFrame.new(0, -20, 0)
  895. terralaser.Material = "Neon"
  896. terralaser.CanCollide = false
  897. terralaser.Transparency = 0.333
  898. local terradrilllaser = Instance.new("CylinderMesh", terralaser)
  899. local terradrill = cp(terra, "Cool yellow", Vector3.new(15,2048,15), true, true)
  900. terradrill.CFrame = terranova.CFrame * CFrame.new(0, -20, 0)
  901. terradrill.Material = "Neon"
  902. terradrill.CanCollide = false
  903. terradrill.Transparency = 0.333
  904. local terradrillmesh = Instance.new("CylinderMesh", terradrill)
  905. local gravityfield = cp(terra, "Cool yellow", Vector3.new(25,25,25), true, true)
  906. gravityfield.CFrame = terranova.CFrame * CFrame.new(0, -5, 0)
  907. gravityfield.Material = "Neon"
  908. gravityfield.CanCollide = false
  909. gravityfield.Transparency = 0
  910. local gravitationalfieldmesh = Instance.new("SpecialMesh", gravityfield)
  911. local lowertrin = Instance.new("Part",terra)
  912. lowertrin.CFrame = terranova.CFrame * CFrame.new(0,-104,0)
  913. lowertrin.Size = Vector3.new(30,.2,30)
  914. lowertrin.Transparency = 1
  915. lowertrin.Anchored = true
  916. gravitationalfieldmesh.MeshType = "FileMesh"
  917. gravitationalfieldmesh.MeshId = "rbxassetid://3270017"
  918. gravitationalfieldmesh.TextureId = "rbxassetid://408737564"
  919. gravitationalfieldmesh.Scale = Vector3.new(333,333,150)
  920. gravityfield.Orientation = Vector3.new(90,0,0)
  921. local loterragui = Instance.new("SurfaceGui", lowertrin)
  922. loterragui.Face = "Top"
  923. local loterraguiframe = Instance.new("ImageLabel", loterragui)
  924. loterraguiframe.Size = UDim2.new(1, 0, 1, 0)
  925. loterraguiframe.BackgroundTransparency = 1
  926. loterraguiframe.BorderSizePixel = 0
  927. loterraguiframe.Image = "rbxassetid://1245317611"
  928. loterraguiframe.ImageTransparency = 0.1
  929.  
  930.  
  931. local bm = blo(terranova)
  932. bm.Scale = Vector3.new(0,1,0)
  933. bm.Scale = Vector3.new(0,0,0)
  934. addFx(terranova, 0.05, nil, function()
  935. bm.Scale = bm.Scale + Vector3.new(0.05, .05, 0.05)
  936. end)
  937. local bm = blo(terranovan)
  938. bm.Scale = Vector3.new(0,0,0)
  939. bm.Scale = Vector3.new(0,0,0)
  940. addFx(terranovan, 0.05, nil, function()
  941. bm.Scale = bm.Scale + Vector3.new(0.05, .05, 0.05)
  942. end)
  943. local terragui = Instance.new("SurfaceGui", terranova)
  944. terragui.Face = "Top"
  945. local terraguiframe = Instance.new("ImageLabel", terragui)
  946. terraguiframe.Size = UDim2.new(1, 0, 1, 0)
  947. terraguiframe.BackgroundTransparency = 1
  948. terraguiframe.BorderSizePixel = 0
  949. terraguiframe.Image = "rbxassetid://1245317611"
  950. terraguiframe.ImageTransparency = 1
  951. wait (.3)
  952. terraguiframe.ImageTransparency = 0.3
  953. terraguiframe.ImageColor3 = Color3.new(255, 25, 25)
  954. local underterra = terragui:Clone()
  955. underterra.Parent = terranovan
  956. underterra.Face = "Bottom"
  957. local a = addToCList("terra", "j")
  958.  
  959. rootpart.CFrame = terranova.CFrame * CFrame.new(0,5,0)
  960.  
  961. terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
  962. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  963. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  964. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  965. wait(.5)
  966. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  967. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  968. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  969. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  970. wait(.5)
  971. terradrillmesh.Scale = Vector3.new(0,0,0)
  972. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  973. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  974. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  975. wait(.5)
  976. terradrillmesh.Scale = Vector3.new(0,0,0)
  977. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  978. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  979. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  980. wait(.5)
  981. terradrillmesh.Scale = Vector3.new(0,0,0)
  982. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  983. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  984. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  985. wait(.5)
  986. terradrillmesh.Scale = Vector3.new(1.5,1,1,5)
  987. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  988. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  989. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  990. terradrillhowl:Play()
  991. wait(.5)
  992. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  993. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  994. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  995. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  996. wait (.5)
  997. terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
  998. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  999. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1000. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1001. wait(.5)
  1002. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  1003. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1004. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1005. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1006. wait(.5)
  1007. terradrillmesh.Scale = Vector3.new(0,0,0)
  1008. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1009. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1010. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1011. wait(.5)
  1012. terradrillmesh.Scale = Vector3.new(0,0,0)
  1013. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1014. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1015. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1016. wait(.5)
  1017. terradrillmesh.Scale = Vector3.new(0,0,0)
  1018. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1019. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1020. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1021. wait(.5)
  1022. terradrillmesh.Scale = Vector3.new(1.5,1,1,5)
  1023. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1024. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1025. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1026. terradrillhowl:Play()
  1027. wait(.5)
  1028. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  1029. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1030. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1031. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1032. wait (.5)
  1033. terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
  1034. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1035. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1036. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1037. wait(.5)
  1038. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  1039. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1040. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1041. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0) -- yee
  1042. wait(.5)
  1043. terradrillmesh.Scale = Vector3.new(0,0,0)
  1044. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1045. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1046. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1047. wait(.5)
  1048. terradrillmesh.Scale = Vector3.new(0,0,0)
  1049. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1050. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1051. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1052. wait(.5)
  1053. terradrillmesh.Scale = Vector3.new(0,0,0)
  1054. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1055. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1056. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1057. wait(.5)
  1058. terradrillmesh.Scale = Vector3.new(1.5,1,1,5)
  1059. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1060. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1061. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1062. terradrillhowl:Play()
  1063. wait(.5)
  1064. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  1065. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1066. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1067. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1068. wait (.5)
  1069. terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
  1070. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1071. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1072. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1073. wait(.5)
  1074. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  1075. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1076. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1077. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1078. wait(.5)
  1079. terradrillmesh.Scale = Vector3.new(0,0,0)
  1080. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1081. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1082. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1083. wait(.5)
  1084. terradrillmesh.Scale = Vector3.new(0,0,0)
  1085. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1086. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1087. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1088. wait(.5)
  1089. terradrillmesh.Scale = Vector3.new(0,0,0)
  1090. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1091. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1092. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1093. wait(.5)
  1094. terradrillmesh.Scale = Vector3.new(1.5,1,1,5)
  1095. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1096. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1097. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1098. terradrillhowl:Play()
  1099. wait(.5)
  1100. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  1101. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1102. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1103. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1104. wait (.5)
  1105. terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
  1106. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1107. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1108. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1109. wait(.5)
  1110. terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
  1111. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1112. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1113. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1114. wait(.5)
  1115. terradrillmesh.Scale = Vector3.new(0,0,0)
  1116. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1117. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1118. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1119. wait(.5)
  1120. terradrillmesh.Scale = Vector3.new(0,0,0)
  1121. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1122. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1123. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1124. wait(.5)
  1125. terradrillmesh.Scale = Vector3.new(0,0,0)
  1126. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1127. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1128. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1129. wait(.5)
  1130. terradrillmesh.Scale = Vector3.new(0,0,0)
  1131. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1132. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1133. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1134. wait(.5)
  1135. terradrillmesh.Scale = Vector3.new(0,0,0)
  1136. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1137. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1138. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1139. wait(.5)
  1140. terradrillmesh.Scale = Vector3.new(0,0,0)
  1141. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1142. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1143. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1144. wait(.5)
  1145. terradrillmesh.Scale = Vector3.new(0,0,0)
  1146. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1147. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1148. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1149. wait(.5)
  1150. terradrillmesh.Scale = Vector3.new(0,0,0)
  1151. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1152. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1153. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1154. wait(.5)
  1155. terradrillmesh.Scale = Vector3.new(0,0,0)
  1156. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1157. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1158. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1159. wait(.5)
  1160. terradrillmesh.Scale = Vector3.new(0,0,0)
  1161. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1162. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1163. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1164. wait(.5)
  1165. terradrillmesh.Scale = Vector3.new(0,0,0)
  1166. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1167. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1168. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1169. wait(.5)
  1170. terradrillmesh.Scale = Vector3.new(0,0,0)
  1171. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1172. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1173. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1174. wait(.5)
  1175. terradrillmesh.Scale = Vector3.new(0,0,0)
  1176. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1177. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1178. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1179. wait(.5)
  1180. terradrillmesh.Scale = Vector3.new(0,0,0)
  1181. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1182. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1183. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1184. wait(.5)
  1185. terradrillmesh.Scale = Vector3.new(0,0,0)
  1186. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1187. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1188. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1189. wait(.5)
  1190. terradrillmesh.Scale = Vector3.new(0,0,0)
  1191. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1192. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1193. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1194. wait(.5)
  1195. terradrillmesh.Scale = Vector3.new(0,0,0)
  1196. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1197. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1198. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1199. wait(.5)
  1200. terradrillmesh.Scale = Vector3.new(0,0,0)
  1201. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1202. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1203. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1204. wait(.5)
  1205. terradrillmesh.Scale = Vector3.new(0,0,0)
  1206. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1207. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1208. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1209. wait(.5)
  1210. terradrillmesh.Scale = Vector3.new(0,0,0)
  1211. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1212. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1213. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1214. wait(.5)
  1215. terradrillmesh.Scale = Vector3.new(0,0,0)
  1216. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1217. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1218. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1219. wait(.5)
  1220. terradrillmesh.Scale = Vector3.new(0,0,0)
  1221. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1222. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1223. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1224. wait(.5)
  1225. terradrillmesh.Scale = Vector3.new(0,0,0)
  1226. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1227. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1228. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1229. wait(.5)
  1230. terradrillmesh.Scale = Vector3.new(0,0,0)
  1231. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1232. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1233. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1234. wait(.5)
  1235. terradrillmesh.Scale = Vector3.new(0,0,0)
  1236. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1237. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1238. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1239. wait(.5)
  1240. terradrillmesh.Scale = Vector3.new(0,0,0)
  1241. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1242. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1243. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1244. wait(.5)
  1245. terradrillmesh.Scale = Vector3.new(0,0,0)
  1246. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1247. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1248. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1249. wait(.5)
  1250. terradrillmesh.Scale = Vector3.new(0,0,0)
  1251. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1252. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1253. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1254. wait(.5)
  1255. terradrillmesh.Scale = Vector3.new(0,0,0)
  1256. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1257. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1258. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1259. wait(.5)
  1260. terradrillmesh.Scale = Vector3.new(0,0,0)
  1261. terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1262. terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1263. terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
  1264. wait ()
  1265. terranova:Destroy()
  1266. terranovan:Destroy()
  1267. terradrill:Destroy()
  1268. terralaser:Destroy()
  1269. terranovaglow:Destroy()
  1270. gravityfield:Destroy()
  1271. waitForUp(a)
  1272. addCoolDown("terra")
  1273. deb = false
  1274. idle = true
  1275. reset()
  1276. animPlaying = false
  1277.  
  1278. end, 150)
  1279.  
  1280. addMove("block_normal", "f", 0.5, function()
  1281. game:GetService("Chat"):Chat(head, "Trinitatis protector", 2)
  1282. deb = true
  1283. idle = false
  1284. local ws = hum.WalkSpeed
  1285. tor.CFrame = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.X, tor.Position.Y, mouse.Hit.p.Z))
  1286. hum.WalkSpeed = 0
  1287. tweenTable = {}
  1288. animPlaying = true
  1289. local pcf = tor.CFrame
  1290. Tween(rj, cfn() * ang(0, mr(-45), 0), 0.2)
  1291. Tween(rw, cfn() * ang(mr(-86), mr(-15), 0), 0.2)
  1292. Tween(lw, cfn() * ang(0, mr(5), mr(20)), 0.2)
  1293. blocksound:Play()
  1294. local block = cp(workspace, "Cool yellow", Vector3.new(33,33,33), true, true)
  1295. block.CFrame = pcf * CFrame.new(0, 0, 0)
  1296. block.Material = "Neon"
  1297. block.CanCollide = false
  1298. block.Transparency = .333
  1299. local bm = blo(block)
  1300. bm.Scale = Vector3.new(0, 0, 0.9)
  1301. addFx(block, 0.05, nil, function()
  1302. bm.Scale = bm.Scale + Vector3.new(0.05, 0.05, 0.05)
  1303. end)
  1304. local a = addToCList("block_connect", "f")
  1305. waitForUp(a)
  1306. addCoolDown("block_normal")
  1307. hum.WalkSpeed = ws
  1308. deb = false
  1309. addFx(block, 0.05, "destroy", function()
  1310. block.Transparency = block.Transparency + 0.05
  1311. block.bmsh.Scale = block.bmsh.Scale + Vector3.new(-0.07, -0.07, -0.07)
  1312. end)
  1313. idle = true
  1314. reset()
  1315. animPlaying = false
  1316. end, 15)
  1317. addMove("curse", "g", 10, function()
  1318. game:GetService("Chat"):Chat(head, "Trinima, morbus tuus", 2)
  1319. deb = true
  1320. idle = false
  1321. animPlaying = true
  1322. canRunLeg = true
  1323. tweenTable = {}
  1324. altTweenTable = {}
  1325. Tween(rj, cfn() * ang(0, mr(-90), 0), 0.2)
  1326. Tween(rw, cfn() * ang(0, 0, mr(-90)), 0.2)
  1327. Tween(lw, cfn() * ang(0, mr(5), mr(20)), 0.2)
  1328. tor.CFrame = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.X, tor.Position.Y, mouse.Hit.p.Z))
  1329. wait(0.15)
  1330. curse:Play()
  1331. addCoolDown("curse")
  1332. local bullet = cp(tube, "White", Vector3.new(1, 1, 1))
  1333. bullet.Material = "Neon"
  1334. bullet.CFrame = CFrame.new(tube.lefthandle.CFrame.p, Vector3.new(m.Hit.p.X, m.Hit.p.Y, m.Hit.p.Z))
  1335. bullet.Transparency = 1
  1336. local bulletfx = bullet:clone()
  1337. bulletfx.Transparency = 1
  1338. bulletfx.Parent = bullet
  1339. bulletfx.Anchored = true
  1340. sphere(bulletfx)
  1341. local angle = 0
  1342. local lastpoint = bullet.CFrame
  1343. addMover(bullet, 0.8, function()
  1344. angle = angle + 1
  1345. local angles = CFrame.Angles(0, 0, mr(angle))
  1346. bulletfx.CFrame = bullet.CFrame
  1347. local fxp = cp(tube, "Cool yellow", Vector3.new(1, 1, 1), true)
  1348. fxp.CFrame = bulletfx.CFrame
  1349. local bmesh = int("SpecialMesh", fxp)
  1350. bmesh.MeshType = "FileMesh"
  1351. bmesh.MeshId = rbx .. lib.ring
  1352. bmesh.Scale = Vector3.new(2, 2, 2)
  1353. addFx(fxp, 0.07, "destroy", function()
  1354. bulletfx.CFrame = bullet.CFrame
  1355. bmesh.Scale = bmesh.Scale - Vector3.new(0.1, 0.1, 0)
  1356. fxp.Transparency = fxp.Transparency + 0.07
  1357. end)
  1358. end)
  1359. bullet.Touched:connect(function(p)
  1360. if not p:isDescendantOf(ch) then
  1361. do
  1362. local thing
  1363. local region = CreateRegion3FromLocAndSize(bullet.Position, bullet.Size * 2)
  1364. for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 50)) do
  1365. if v.Parent and v.Parent:findFirstChild("Humanoid") then
  1366. thing = v
  1367. break
  1368. end
  1369. end
  1370. local mgp = cp(tube, "White", Vector3.new(1, 1, 1), true)
  1371. mgp.Transparency = 1
  1372. mgp.CFrame = bullet.CFrame
  1373. game.Debris:AddItem(mgp, 3)
  1374. local tsound = glass:clone()
  1375. tsound.Volume = 2
  1376. tsound.Parent = mgp
  1377. tsound:Play()
  1378. local position = bullet.CFrame
  1379. if thing and thing.Parent then
  1380. dealDamage(thing.Parent, 10, 16)
  1381. do
  1382. local humin = thing.Parent.Humanoid
  1383. spawn(function()
  1384. for i = 1, 10 do
  1385. wait(1)
  1386. if thing.Parent then
  1387. dealDamage(thing.Parent, 0.05 * humin.MaxHealth, 10000, 10000, 10000)
  1388. end
  1389. end
  1390. end)
  1391. end
  1392. end
  1393. local blast = cp(tube, "Cool yellow", Vector3.new(2, 2, 2), true, false)
  1394. blast.Material = "Neon"
  1395. local spm2 = blo(blast)
  1396. spm2.Name = "mesh"
  1397. blast.CFrame = CFrame.new(position.X, position.Y, position.Z) * ang(mr(math.random(90)), mr(math.random(90)), mr(math.random(90)))
  1398. if p.Name == "Torso" or p.Parent and p.Parent:findFirstChild("Torso") then
  1399. blast.CFrame = p.Parent.Torso.CFrame * ang(mr(math.random(90)), mr(math.random(90)), mr(math.random(90)))
  1400. end
  1401. for i = 1, 5 do
  1402. do
  1403. local fx = blast:clone()
  1404. fx.Parent = tube
  1405. fx.CFrame = blast.CFrame * ang(mr(math.random(90)), mr(math.random(90)), mr(math.random(90)))
  1406. addFx(fx, 0.05, "destroy", function()
  1407. fx.mesh.Scale = fx.mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
  1408. fx.Transparency = fx.Transparency + 0.05
  1409. end)
  1410. end
  1411. end
  1412. addFx(blast, 0.05, "destroy", function()
  1413. spm2.Scale = spm2.Scale + Vector3.new(0.1, 0.1, 0.1)
  1414. blast.Transparency = blast.Transparency + 0.05
  1415. end)
  1416. bullet:Destroy()
  1417. bulletfx:Destroy()
  1418. end
  1419. end
  1420. end)
  1421. game.Debris:AddItem(bullet, 3)
  1422. local bv = int("BodyVelocity", bullet)
  1423. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1424. bv.Velocity = bullet.CFrame.lookVector * 150
  1425. wait(0.5)
  1426. reset()
  1427. deb = false
  1428. canRunLeg = false
  1429. animPlaying = false
  1430. end, 60)
  1431. local bg = false
  1432. addMove("beam", "e", 5, function()
  1433. game:GetService("Chat"):Chat(head, "Trinima Laser Trinitatis", 2)
  1434. tweenTable = {}
  1435. animPlaying = true
  1436. idle = false
  1437. deb = true
  1438. local pcf = tor.CFrame
  1439. canRunLeg = true
  1440. startsound:Play()
  1441. chargesound.Looped = true
  1442. chargesound:Play()
  1443. Tween(rj, cfn() * ang(0, mr(-90), 0), 0.2)
  1444. Tween(rw, cfn() * ang(0, 0, mr(-90)), 0.2)
  1445. Tween(lw, cfn() * ang(0, mr(5), mr(20)), 0.2)
  1446. bg = true
  1447. local a = addToCList("beam_connect", "e")
  1448. local charge = cp(tube, "Fawn brown", Vector3.new(1, 1, 1))
  1449. charge.Material = "Neon"
  1450. local spm = int("SpecialMesh", charge)
  1451.  
  1452. spm.MeshType = "Sphere"
  1453. spm.Name = "sphere"
  1454. weld(ch["Right Arm"], charge, cfn(0, -2, 0))
  1455. local up = false
  1456. local multiplier = 1
  1457. local cn = chargesound.DidLoop:connect(function()
  1458. local fx = charge:clone()
  1459. fx.Parent = tube
  1460. fx.CFrame = charge.CFrame
  1461. weld(charge, fx, cfn())
  1462. addFx(fx, 0.07, "destroy", function()
  1463. if fx and fx:findFirstChild("sphere") then
  1464. fx.sphere.Scale = fx.sphere.Scale + Vector3.new(3, 3, 3)
  1465. fx.Transparency = fx.Transparency + 0.07
  1466. end
  1467. end)
  1468. end)
  1469. spawn(function()
  1470. repeat
  1471. wait()
  1472. if spm.Scale.X < 7 then
  1473. spm.Scale = spm.Scale + Vector3.new(0.05, 0.05, 0.05)
  1474. multiplier = multiplier + 0.1
  1475. end
  1476. until up == true
  1477. end)
  1478. waitForUp(a)
  1479. cn:Disconnect()
  1480. up = true
  1481. addCoolDown("beam")
  1482. chargesound:Stop()
  1483. endsound:Play()
  1484. local ringFx = cp(tube, "White", Vector3.new(2, 2, 2), true, false)
  1485. ringFx.CFrame = charge.CFrame * ang(mr(-90), 0, 0)
  1486. ringFx.Material = "Neon"
  1487. local spm = int("SpecialMesh", ringFx)
  1488. spm.MeshId = rbx .. lib.ring
  1489. spm.Scale = Vector3.new(2, 2, 2)
  1490. addFx(ringFx, 0.08, "destroy", function()
  1491. spm.Scale = spm.Scale + Vector3.new(0.2, 0.2, 0)
  1492. ringFx.Transparency = ringFx.Transparency + 0.08
  1493. end)
  1494. local beam = cp(tube, "Cool yellow", Vector3.new(5, 5, 5), true, false)
  1495. local ray = Ray.new(charge.CFrame.p, (mouse.Hit.p - charge.CFrame.p).unit * 300)
  1496. local part, position = workspace:FindPartOnRay(ray, ch, false, true)
  1497. local distance = (charge.CFrame.p - position).magnitude
  1498. beam.Size = Vector3.new(3, 3, distance)
  1499. beam.Material = "Neon"
  1500. beam.CFrame = CFrame.new(charge.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  1501. local blast = cp(tube, "Cool yellow", Vector3.new(8, 8, 8), true, false)
  1502. blast.Material = "Neon"
  1503. blast.CFrame = CFrame.new(position.X, position.Y, position.Z)
  1504. local region = CreateRegion3FromLocAndSize(blast.Position, blast.Size * 2)
  1505. local people = {}
  1506. for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 100)) do
  1507. if v and v.Parent and v.className == "Part" and v.Parent:findFirstChild("Humanoid") then
  1508. local can = false
  1509. if not v.Parent:findFirstChild("HitDeb") then
  1510. can = true
  1511. end
  1512. if can == true then
  1513. local db = Instance.new("StringValue", v.Parent)
  1514. db.Name = "HitDeb"
  1515. game.Debris:AddItem(db, 0.5)
  1516. local humin = v.Parent.Humanoid
  1517. if humin then
  1518. local php = humin.Health
  1519. dealDamage(humin.Parent, 20 * multiplier, 10000)
  1520. humin.Sit = true
  1521. humin.PlatformStand = true
  1522. if php <= humin.Health and humin.MaxHealth ~= math.huge then
  1523. print("equal")
  1524. humin:TakeDamage(20 * multiplier)
  1525. end
  1526. end
  1527. end
  1528. end
  1529. end
  1530. local blastsound = getSound(262562443)
  1531. blastsound.Parent = blast
  1532. blastsound.Volume = 5
  1533. blastsound:Play()
  1534. blastsound:Stop()
  1535. blastsound:Play()
  1536. canRunLeg = false
  1537. runLeg = false
  1538. animPlaying = false
  1539. tweenTable = {}
  1540. local spm2 = int("SpecialMesh", blast)
  1541. spm2.MeshType = "Sphere"
  1542. addFx(blast, 0.008, "destroy", function()
  1543. spm2.Scale = spm2.Scale + Vector3.new(0.05, 0.05, 0.05)
  1544. blast.Transparency = blast.Transparency + 0.008
  1545. end)
  1546. addFx(beam, 0.1, "destroy", function()
  1547. beam.Transparency = beam.Transparency + 0.1
  1548. end)
  1549. addFx(charge, 0.1, "destroy", function()
  1550. charge.Transparency = charge.Transparency + 0.1
  1551. end)
  1552. bg = false
  1553. run = false
  1554. idle = true
  1555. reset()
  1556. deb = false
  1557. end, 60)
  1558.  
  1559. addMove("downslam", "q", 4, function()
  1560. game:GetService("Chat"):Chat(head, "Trinima Ululate aeria", 2) --Ululate aeria
  1561. currentkey = key
  1562. deb = true
  1563. animPlaying = true
  1564. altTweenTable = {}
  1565. tweenTable = {}
  1566. local rv = tor.CFrame.upVector
  1567. local bv = int("BodyVelocity", tor)
  1568. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1569. bv.Velocity = rv * -150
  1570. rushsound:Play()
  1571. Tween(rj, cfn() * ang(mr(180), 0, 0))
  1572. Tween(rw, cfn() * ang(mr(-180), 0, 0))
  1573. Tween(lw, cfn() * ang(mr(-180), 0, 0))
  1574. addCoolDown("downslam", 4)
  1575. spawn(function()
  1576. while true do
  1577. wait()
  1578. do
  1579. local cfx = cp(tube, "Cool yellow", Vector3.new(6, 6, 6), true, false)
  1580. cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
  1581. local b = blo(cfx)
  1582. addFx(cfx, 0.05, "destroy", function()
  1583. cfx.Transparency = cfx.Transparency + 0.05
  1584. b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
  1585. end)
  1586. if Vector3.new(0, tor.Velocity.Y, 0).magnitude < 2 then
  1587. break
  1588. end
  1589. end
  1590. end
  1591. end)
  1592. wait()
  1593. bv:Destroy()
  1594. multiplier = 1
  1595. repeat
  1596. wait()
  1597. until Vector3.new(0, tor.Velocity.Y, 0).magnitude < 2
  1598. local bhit, pos = FindGround(cn(tor.CFrame.p), ch)
  1599. local blast = cp(tube, "White", Vector3.new(10, 10, 10), true, false)
  1600. blast.CFrame = pos
  1601. local region = CreateRegion3FromLocAndSize(blast.Position, blast.Size * 3)
  1602. local people = {}
  1603. for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 100)) do
  1604. if v and v.Parent and v.className == "Part" and v.Parent:findFirstChild("Humanoid") then
  1605. local can = false
  1606. if not v.Parent:findFirstChild("HitDeb") then
  1607. can = true
  1608. end
  1609. if can == true then
  1610. local db = Instance.new("StringValue", v.Parent)
  1611. db.Name = "HitDeb"
  1612. game.Debris:AddItem(db, 0.5)
  1613. local humin = v.Parent.Humanoid
  1614. if humin then
  1615. local php = humin.Health
  1616. dealDamage(humin.Parent, 20 * multiplier, 10000)
  1617. humin.Sit = true
  1618. humin.PlatformStand = true
  1619. if php <= humin.Health and humin.MaxHealth ~= math.huge then
  1620. print("equal")
  1621. humin:TakeDamage(20 * multiplier)
  1622. end
  1623. end
  1624. end
  1625. end
  1626. end
  1627. local sp = sphere(blast)
  1628. blast.Material = "Neon"
  1629. landsound:Play()
  1630. addFx(blast, 0.02, "destroy", function()
  1631. sp.Scale = sp.Scale + Vector3.new(0.1, 0.1, 0.1)
  1632. blast.Transparency = blast.Transparency + 0.02
  1633. end)
  1634. animPlaying = false
  1635. deb = false
  1636. end, 40)
  1637. addMove("aerialsword", "r", 15, function()
  1638. game:GetService("Chat"):Chat(head, "Trinima Ultima tormentum",2)
  1639. deb = true
  1640. animPlaying = true
  1641. tweenTable = {}
  1642. altTweenTable = {}
  1643. canExecuteMoves = false
  1644. idle = false
  1645. run = false
  1646. aerialcharge:Play()
  1647. Tween(rw, cfn() * ang(mr(-90), 0, 0))
  1648. local bp, bgg
  1649. local a = addToCList("aerialsword", "r")
  1650. local still = true
  1651. bp = int("BodyPosition", tor)
  1652. bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1653. bp.Position = tor.Position
  1654. local sphr = cp(tube, "Cool yellow", Vector3.new(8, 8, 8), true)
  1655. sphr.Transparency = 1
  1656. sphr.Material = "Neon"
  1657. local spho = sphere(sphr)
  1658. spho.Name = "spho"
  1659. spho.Scale = Vector3.new(0, 0, 0)
  1660. sphr.CFrame = tor.CFrame
  1661. addFx(sphr, 0.07, nil, function()
  1662. spho.Scale = spho.Scale + Vector3.new(0.1, 0.1, 0.1)
  1663. sphr.Transparency = sphr.Transparency - 0.07
  1664. end)
  1665. Delay(6, function()
  1666. if not a.up then
  1667. a.up = true
  1668. end
  1669. end)
  1670. repeat
  1671. wait(0.3)
  1672. local b = depleteMana(35)
  1673. if b then
  1674. swsound:Play()
  1675. do
  1676. local fx = sphr:clone()
  1677. fx.Parent = tube
  1678. fx.CFrame = sphr.CFrame
  1679. addFx(fx, 0.07, "destroy", function()
  1680. fx.spho.Scale = fx.spho.Scale + Vector3.new(0.1, 0.1, 0.1)
  1681. fx.Transparency = fx.Transparency + 0.07
  1682. end)
  1683. local sw = int("Part")
  1684. game.Debris:AddItem(sw, 6)
  1685. sw.CanCollide = false
  1686. sw.Anchored = false
  1687. sw.BrickColor = BrickColor.new("Cool yellow")
  1688. sw.Material = "Neon"
  1689. sw.Size = Vector3.new(1, 1, 2)
  1690. sw.CFrame = CFrame.new(lefthandle.CFrame.p, Vector3.new(m.Hit.p.X, m.Hit.p.Y, m.Hit.p.Z))
  1691. sw.Parent = tube
  1692. sw.Transparency = 1
  1693. addFx(sw, 0.1, nil, function()
  1694. sw.Transparency = sw.Transparency - 0.1
  1695. end)
  1696. local spm = int("SpecialMesh", sw)
  1697. spm.MeshType = "FileMesh"
  1698. spm.MeshId = rbx .. lib.yato
  1699. spm.Scale = Vector3.new(0.05, 0.05, 0.05)
  1700. local vel = int("BodyVelocity", sw)
  1701. vel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1702. vel.Velocity = sw.CFrame.lookVector * 152
  1703. sw.CFrame = sw.CFrame * ang(0, mr(180), 0)
  1704. sw.Touched:connect(function(p)
  1705. if p:IsDescendantOf(ch) == false then
  1706. sw.Anchored = true
  1707. do
  1708. local mgp = cp(tube, "White", Vector3.new(1, 1, 1), true, false)
  1709. mgp.CFrame = sw.CFrame
  1710. mgp.Transparency = 1
  1711. game.Debris:AddItem(mgp, 2)
  1712. ssp = swexp:clone()
  1713. ssp.Parent = mgp
  1714. ssp.Volume = 2
  1715. ssp:Play()
  1716. local blast = cp(tube, "Cool yellow", Vector3.new(8, 8, 8), true)
  1717. blast.CFrame = sw.CFrame
  1718. local sp = sphere(blast)
  1719. addFx(sw, 0.05, "destroy", function()
  1720. sw.Transparency = sw.Transparency + 0.05
  1721. spm.Scale = spm.Scale + Vector3.new(0.01, 0.01, 0.01)
  1722. end)
  1723. addFx(blast, 0.07, "destroy", function()
  1724. blast.Transparency = blast.Transparency + 0.07
  1725. sp.Scale = sp.Scale + Vector3.new(0.1, 0.1, 0.1)
  1726. end)
  1727. local region = CreateRegion3FromLocAndSize(blast.Position, blast.Size * 2)
  1728. local people = {}
  1729. for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 100)) do
  1730. if v and v.Parent and v.className == "Part" and v.Parent:findFirstChild("Humanoid") then
  1731. local can = false
  1732. if not v.Parent:findFirstChild("HitDeb") then
  1733. can = true
  1734. end
  1735. if can == true then
  1736. local db = Instance.new("StringValue", v.Parent)
  1737. db.Name = "HitDeb"
  1738. game.Debris:AddItem(db, 0.2)
  1739. local humin = v.Parent.Humanoid
  1740. if humin then
  1741. local php = humin.Health
  1742. dealDamage(humin.Parent, 20 + math.random(50000), 50000)
  1743. humin.Sit = true
  1744. if php <= humin.Health and humin.MaxHealth ~= math.huge then
  1745. print("equal")
  1746. humin:TakeDamage(20000)
  1747. end
  1748. end
  1749. end
  1750. end
  1751. end
  1752. end
  1753. end
  1754. end)
  1755. end
  1756. else
  1757. a.up = true
  1758. end
  1759. until a.up == true
  1760. addFx(sphr, 0.07, "destroy", function()
  1761. sphr.Transparency = sphr.Transparency + 0.07
  1762. spho.Scale = spho.Scale + Vector3.new(0.1, 0.1, 0.1)
  1763. end)
  1764. still = false
  1765. spawn(function()
  1766. wait(0.3)
  1767. canExecuteMoves = true
  1768. end)
  1769. bp:Destroy()
  1770. tor.Anchored = false
  1771. deb = false
  1772. animPlaying = false
  1773. reset()
  1774. end, 200)
  1775. addMove("basic", "mb1", 0.001, function()
  1776. tweenTable = {}
  1777. animPlaying = true
  1778. deb = true
  1779. canRunLeg = true
  1780. torso.CFrame = CFrame.new(torso.Position, Vector3.new(mouse.Hit.p.X, torso.Position.Y, mouse.Hit.p.Z))
  1781. bg = true
  1782. idle = false
  1783. basicsound:Play()
  1784. if basicswitch == false then
  1785. Tween(rw, cfn() * ang(mr(0), mr(0), 0.3), 0)
  1786. Tween(rj, cfn() * ang(0, mr(0), 0), 0)
  1787. else
  1788. Tween(lw, cfn() * ang(mr(0), mr(0), 0.3), 0)
  1789. Tween(rj, cfn() * ang(0, mr(0), 0), 0)
  1790. end
  1791. wait(0.06)
  1792. local bullet = cp(tube, "Cool yellow", Vector3.new(1, 1, 1), false, false)
  1793. bullet.Transparency = 1
  1794. if basicswitch == false then
  1795. bullet.CFrame = righthandle.CFrame
  1796. bullet.CFrame = CFrame.new(righthandle.CFrame.p, Vector3.new(m.Hit.p.X, m.Hit.p.Y, m.Hit.p.Z))
  1797. basicswitch = true
  1798. else
  1799. bullet.CFrame = lefthandle.CFrame
  1800. bullet.CFrame = CFrame.new(lefthandle.CFrame.p, Vector3.new(m.Hit.p.X, m.Hit.p.Y, m.Hit.p.Z))
  1801. basicswitch = false
  1802. end
  1803. local bv = int("BodyVelocity", bullet)
  1804. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1805. bv.Velocity = bullet.CFrame.lookVector * 33
  1806. local bulletfx = cp(tube, "Really black", Vector3.new(.3, .3, .3), true, false)
  1807. bulletfx.CFrame = bullet.CFrame
  1808. bulletfx.Material = "Neon"
  1809. sphere(bulletfx)
  1810. local angle = 0
  1811. local lastpoint = bulletfx.CFrame
  1812. addCoolDown("basic")
  1813. addMover(bullet, 0.001, function()
  1814. angle = angle + 1
  1815. local angles = CFrame.Angles(math.rad(angle), mr(angle), 0)
  1816. bulletfx.CFrame = bullet.CFrame
  1817. bulletfx.CFrame = bulletfx.CFrame * angles
  1818. if 1 < (lastpoint.p - bulletfx.CFrame.p).magnitude then
  1819. do
  1820. local line = drawLine(lastpoint.p, bulletfx.CFrame.p, "Cool yellow", angles)
  1821. addFx(line, 0.005, "destroy", function()
  1822. line.blok.Scale = line.blok.Scale + Vector3.new(0.001, 0.001, 0)
  1823. line.Transparency = line.Transparency + 0.05
  1824. end)
  1825. lastpoint = bulletfx.CFrame
  1826. end
  1827. end
  1828. end)
  1829. bullet.Touched:connect(function(p)
  1830. if not p:isDescendantOf(ch) then
  1831. do
  1832. local thing
  1833. local region = CreateRegion3FromLocAndSize(bullet.Position, bullet.Size * 1)
  1834. for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 5)) do
  1835. if v.Parent and v.Parent:findFirstChild("Humanoid") then
  1836. thing = v
  1837. break
  1838. end
  1839. end
  1840. local explosound = getSound(142070128)
  1841. explosound.Volume = 0.8
  1842. explosound.Pitch = 1.2
  1843. explosound.Parent = p
  1844. explosound:Play()
  1845. local position = bullet.CFrame
  1846. if thing and thing.Parent then
  1847. dealDamage(thing.Parent, 5, 7)
  1848. end
  1849. local blast = cp(tube, "Cool yellow", Vector3.new(2, 2, 2), true, false)
  1850. blast.Material = "Neon"
  1851. local spm2 = sphere(blast)
  1852. blast.CFrame = CFrame.new(position.X, position.Y, position.Z)
  1853. addFx(blast, 0.05, "destroy", function()
  1854. spm2.Scale = spm2.Scale + Vector3.new(0.1, 0.1, 0.1)
  1855. blast.Transparency = blast.Transparency + 0.05
  1856. end)
  1857. bullet:Destroy()
  1858. bulletfx:Destroy()
  1859. end
  1860. end
  1861. end)
  1862. game.Debris:AddItem(bullet, 2.5)
  1863. game.Debris:AddItem(bulletfx, 2.5)
  1864. wait(0.1)
  1865. idle = true
  1866. reset()
  1867. deb = false
  1868. animPlaying = false
  1869. bg = false
  1870. end, 20)
  1871. local dumbbox, dhand
  1872. local darknum = 1
  1873. addMove("darkslash", "r", 2, function()
  1874. Handle.Transparency = 1
  1875. wait (.01)
  1876. game:GetService("Chat"):Chat(head, "DE DIVINA TRINITATE ICTUS", 2)
  1877. local oldspeed = hum.WalkSpeed
  1878. hum.WalkSpeed = 0
  1879. local meshd = "http://www.roblox.com/asset/?id=12171188"
  1880. tweenTable = {}
  1881. altTweenTable = {}
  1882. deb = true
  1883. animPlaying = true
  1884. canRunLeg = true
  1885. startsound2:Play()
  1886. local sp = cp(tube, "Cool yellow", Vector3.new(10, 10, 10), false, false)
  1887. sp.Material = "Neon"
  1888. sp.CFrame = tor.CFrame
  1889. sp.Transparency = 0.5
  1890. local sph = sphere(sp)
  1891. addFx(sp, 0.07, "destroy", function()
  1892. sph.Scale = sph.Scale - Vector3.new(0.05, 0.05, 0.05)
  1893. sp.Transparency = sp.Transparency + 0.035
  1894. end)
  1895. spawn(function()
  1896. for i = 1, 10 do
  1897. wait()
  1898. do
  1899. local cool1 = cp(tube, "Institutional white", Vector3.new(1.5, 1.5, 1.5), true)
  1900. cool1.Material = "Neon"
  1901. local ms1 = blo(cool1)
  1902. cool1.CFrame = tube.lefthandle.CFrame * ang(mr(math.random(90)), mr(math.random(90)), mr(math.random(90)))
  1903. addFx(cool1, 0.07, "destroy", function()
  1904. ms1.Scale = ms1.Scale + Vector3.new(0.08, 0.08, 0.08)
  1905. cool1.Transparency = cool1.Transparency + 0.07
  1906. end)
  1907. end
  1908. end
  1909. end)
  1910. addCoolDown("darkslash")
  1911. local allahsword = cp(tube, "White", Vector3.new(1, 1, 1))
  1912. local critmultiplier = 2.4
  1913. local spm = int("SpecialMesh", allahsword)
  1914. spm.MeshType = "FileMesh"
  1915. spm.MeshId = meshd
  1916. allahsword.Transparency = 1
  1917. tor.CFrame = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.X, tor.Position.Y, mouse.Hit.p.Z))
  1918. local tv = Vector3.new(tor.CFrame.lookVector.X, 0, tor.CFrame.lookVector.Z)
  1919. local col = BrickColor.new("Cool yellow").Color
  1920. spm.TextureId = rbx .. "132155326"
  1921. spm.Name = "mesh"
  1922. spm.VertexColor = Vector3.new(0, 0, 0)
  1923. spm.Scale = Vector3.new(1, 1, 1)
  1924. addFx(allahsword, 0.05, nil, function()
  1925. allahsword.Transparency = allahsword.Transparency - 0.05
  1926. end)
  1927. weld(ch["Right Arm"], allahsword, cfn(0, -4, -0.5) * ang(mr(110), 0, mr(180)))
  1928. Tween(rj, cfn() * ang(0, mr(-90), 0))
  1929. Tween(rw, cfn(0.5, 0.5, 0.5) * ang(mr(-55), mr(-35), 0))
  1930. Tween(lw, cfn(-0.5, 0.5, 0.5) * ang(mr(-55), mr(35), 0))
  1931. Delay(0.08, function()
  1932. local tstvel = int("BodyVelocity", tor)
  1933. tstvel.MaxForce = Vector3.new(math.huge, 0, math.huge)
  1934. tstvel.Velocity = tv * 35
  1935. game.Debris:AddItem(tstvel, 0.24)
  1936. end)
  1937. wait(0.22)
  1938. local hitbox = cp(tube, "White", Vector3.new(2, 12, 2))
  1939. hitbox.Transparency = 1
  1940. hitbox.CFrame = allahsword.CFrame
  1941. dumbbox = hitbox
  1942. dumbhand = allahsword
  1943. swoosh:Play()
  1944. spawn(function()
  1945. for i = 1, 10 do
  1946. wait()
  1947. do
  1948. local trl = allahsword:clone()
  1949. trl.Parent = tube
  1950. trl.CFrame = allahsword.CFrame
  1951. addFx(trl, 0.07, "destroy", function()
  1952. trl.Transparency = trl.Transparency + 0.07
  1953. end)
  1954. end
  1955. end
  1956. end)
  1957. addFx(allahsword, 0.05, "destroy", function()
  1958. allahsword.Transparency = allahsword.Transparency + 0.05
  1959. spm.Scale = spm.Scale + Vector3.new(0.1, 0.1, 0.1)
  1960. end)
  1961. hitbox.Touched:connect(function(v)
  1962. if v and v.Parent and v.Parent:findFirstChild("Humanoid") and not v:IsDescendantOf(ch) then
  1963. local can = false
  1964. if not v.Parent:findFirstChild("HitDeb") then
  1965. can = true
  1966. end
  1967. if can == true then
  1968. local sls = getSound(131166206)
  1969. sls.Pitch = 1 + math.random(3) / 10
  1970. sls.Parent = v
  1971. sls:Play()
  1972. local db = Instance.new("StringValue", v.Parent)
  1973. db.Name = "HitDeb"
  1974. game.Debris:AddItem(db, 0.5)
  1975. dealDamage(v.Parent, 1 + math.random(40), 60, critmultiplier)
  1976. end
  1977. end
  1978. end)
  1979. Tween(rj, cfn(0, 0, 0) * ang(mr(0), mr(90), 0))
  1980. Tween(rw, cfn(0.5, 0.8, 0) * ang(mr(-80), mr(-35), 0))
  1981. Tween(lw, cfn(-0.5, 0.8, 0) * ang(mr(-90), mr(35), 0))
  1982. wait(0.2)
  1983. hitbox:Destroy()
  1984. hum.WalkSpeed = oldspeed
  1985. reset()
  1986. animPlaying = false
  1987. canRunLeg = false
  1988. deb = false
  1989. wait (.1)
  1990. Handle.Transparency = .9
  1991. wait (.1)
  1992. Handle.Transparency = .8
  1993. wait (.1)
  1994. Handle.Transparency = .6
  1995. wait (.1)
  1996. Handle.Transparency = .4
  1997. wait (.1)
  1998. Handle.Transparency = .2
  1999. wait (.1)
  2000. Handle.Transparency = 0
  2001. end, 80)
  2002. addMove("darkspikes", "t", 0.4, function() --ADMORDEO
  2003. game:GetService("Chat"):Chat(head, "ADMORDEO", 2)
  2004. local lv = tor.CFrame
  2005. tweenTable = {}
  2006. animPlaying = true
  2007. deb = true
  2008. canRunLeg = true
  2009. magictone1:Play()
  2010. Tween(rj, cfn() * ang(0, mr(25), 0), 0.2)
  2011. Tween(rw, cfn() * ang(mr(25), mr(-20), 0), 0.2)
  2012. wait(0.2)
  2013. Tween(rj, cfn() * ang(0, mr(-55), 0), 0.15)
  2014. Tween(rw, cfn() * ang(mr(-115), mr(45), 0), 0.15)
  2015. Tween(neck, cfn() * ang(0, mr(55), 0))
  2016. local spot = 4
  2017. for i = 1, 10 do
  2018. wait(0.1)
  2019. do
  2020. local v = lv.lookVector * spot
  2021. spot = spot + 14
  2022. local spike = cp(tube, "Medium blue", Vector3.new(10, 1, 10), true, false)
  2023. spike.Material = "Neon"
  2024. spike.CFrame = lv * CFrame.new(0, 0, -spot)
  2025. local dam = cp(tube, "Red", Vector3.new(7, 10, 7), true, false)
  2026. dam.Material = "Neon"
  2027. local dml = cyl(dam)
  2028. local angls = CFrame.Angles(spike.CFrame:toEulerAnglesXYZ())
  2029. local bhit, pos = FindGround(cn(spike.CFrame.p), ch)
  2030. if bhit then
  2031. spike.CFrame = pos * CFrame.new(0, 0, 0)
  2032. do
  2033. local mgp = cp(tube, "White", Vector3.new(1, 1, 1), true, false)
  2034. mgp.Transparency = 1
  2035. mgp.CFrame = spike.CFrame
  2036. game.Debris:AddItem(mgp, 2)
  2037. local sn = spexp:clone()
  2038. sn.Parent = mgp
  2039. sn.Volume = 2
  2040. sn:Play()
  2041. dam.CFrame = spike.CFrame * CFrame.new(0, 5, 0)
  2042. local blast = dam
  2043. local region = CreateRegion3FromLocAndSize(blast.Position, blast.Size * 2)
  2044. local people = {}
  2045. for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 100)) do
  2046. if v and v.Parent and v.className == "Part" and v.Parent:findFirstChild("Humanoid") then
  2047. local can = false
  2048. if not v.Parent:findFirstChild("HitDeb") then
  2049. can = true
  2050. end
  2051. if can == true then
  2052. local db = Instance.new("StringValue", v.Parent)
  2053. db.Name = "HitDeb"
  2054. game.Debris:AddItem(db, 0.2)
  2055. local humin = v.Parent.Humanoid
  2056. if humin then
  2057. local php = humin.Health
  2058. dealDamage(humin.Parent, 10 + math.random(20), 30)
  2059. local testvel = int("BodyVelocity", v)
  2060. testvel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  2061. testvel.Velocity = lv.lookVector * 100
  2062. game.Debris:addItem(testvel, 1)
  2063. humin.Sit = true
  2064. if php <= humin.Health and humin.MaxHealth ~= math.huge then
  2065. print("equal")
  2066. humin:TakeDamage(30)
  2067. end
  2068. end
  2069. end
  2070. end
  2071. end
  2072. local cl = cyl(spike)
  2073. addFx(spike, 0.05, "destroy", function()
  2074. cl.Scale = cl.Scale - Vector3.new(0.05, 0, 0.05)
  2075. spike.Transparency = spike.Transparency + 0.05
  2076. end)
  2077. addFx(dml, 0.05, "destroy", function()
  2078. dml.Scale = dml.Scale - Vector3.new(0.05, -0.05, 0.05)
  2079. dam.Transparency = dam.Transparency + 0.05
  2080. end)
  2081. end
  2082. else
  2083. spike:Destroy()
  2084. end
  2085. end
  2086. end
  2087. wait(0.7)
  2088. deb = false
  2089. canRunLeg = false
  2090. animPlaying = false
  2091. reset()
  2092. end, 30)
  2093. --if mouse1 == true then
  2094. mouse.Button1Down:connect(function()
  2095. executeMove("basic")
  2096. end)
  2097. local vt
  2098. local dodgecool = false
  2099. function iPart(tab)
  2100. local v = Instance.new(tab.type or "Part")
  2101. if tab.type ~= "CornerWedgePart" then
  2102. v.formFactor = "Custom"
  2103. end
  2104. v.CanCollide = false
  2105. v.TopSurface = 0
  2106. v.BottomSurface = 0
  2107. v.Size = v3(tab[2], tab[3], tab[4])
  2108. if tab.co then
  2109. v.BrickColor = bn(tab.co)
  2110. end
  2111. if tab.tr then
  2112. v.Transparency = tab.tr
  2113. end
  2114. if tab.rf then
  2115. v.Reflectance = tab.rf
  2116. end
  2117. if tab.cf then
  2118. v.CFrame = tab.cf
  2119. end
  2120. if tab.an then
  2121. v.Anchored = tab.an
  2122. end
  2123. v.Parent = tab[1]
  2124. LastMade = v
  2125. return v
  2126. end
  2127. function iNew(tab)
  2128. local v = Instance.new(tab[1])
  2129. for Ind, Val in pairs(tab) do
  2130. if Ind ~= 1 and Ind ~= 2 then
  2131. v[Ind] = Val
  2132. end
  2133. end
  2134. v.Parent = tab[2] == 0 and LastMade or tab[2]
  2135. LastMade = v
  2136. return v
  2137. end
  2138. local ppart = iPart({
  2139. nil,
  2140. 0.2,
  2141. 0.2,
  2142. 0.2
  2143. })
  2144. ppart.Material = "SmoothPlastic"
  2145. ppart.TopSurface = "SmoothNoOutlines"
  2146. ppart.BottomSurface = "SmoothNoOutlines"
  2147. ppart.RightSurface = "SmoothNoOutlines"
  2148. ppart.LeftSurface = "SmoothNoOutlines"
  2149. ppart.Transparency = 0
  2150. ppart.Anchored = true
  2151. local CFrameFromTopBack = function(at, top, back)
  2152. local right = top:Cross(back)
  2153. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2154. end
  2155. function Triangle(a, b, c)
  2156. local edg1 = (c - a):Dot((b - a).unit)
  2157. local edg2 = (a - b):Dot((c - b).unit)
  2158. local edg3 = (b - c):Dot((a - c).unit)
  2159. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  2160. a, b = a, b
  2161. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  2162. a, b, c = b, c, a
  2163. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  2164. a, b, c = c, a, b
  2165. else
  2166. print("unreachable")
  2167. end
  2168. local len1 = (c - a):Dot((b - a).unit)
  2169. local len2 = (b - a).magnitude - len1
  2170. local width = (a + (b - a).unit * len1 - c).magnitude
  2171. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  2172. local list = {}
  2173. if len1 > 0.01 then
  2174. do
  2175. local w1 = iNew({
  2176. "WedgePart",
  2177. Pack,
  2178. FormFactor = "Custom",
  2179. BrickColor = ppart.BrickColor,
  2180. Transparency = ppart.Transparency,
  2181. Reflectance = ppart.Reflectance,
  2182. Material = ppart.Material,
  2183. CanCollide = ppart.CanCollide
  2184. })
  2185. w1.Parent = tube
  2186. local sz = v3(0.2, width, len1)
  2187. w1.Size = sz
  2188. local sp = iNew({
  2189. "SpecialMesh",
  2190. w1,
  2191. MeshType = "Wedge",
  2192. Scale = v3(0, 1, 1) * sz / w1.Size
  2193. })
  2194. w1:BreakJoints()
  2195. w1.Anchored = true
  2196. w1.Transparency = 0.7
  2197. Spawn(function()
  2198. for i = 0, 1, 0.1 do
  2199. wait()
  2200. w1.Transparency = w1.Transparency + 0.03
  2201. end
  2202. end)
  2203. w1.CFrame = maincf * ca2(math.pi, 0, math.pi / 2) * cn(0, width / 2, len1 / 2)
  2204. table.insert(list, w1)
  2205. end
  2206. end
  2207. if len2 > 0.01 then
  2208. do
  2209. local w2 = iNew({
  2210. "WedgePart",
  2211. Pack,
  2212. FormFactor = "Custom",
  2213. BrickColor = ppart.BrickColor,
  2214. Transparency = ppart.Transparency,
  2215. Reflectance = ppart.Reflectance,
  2216. Material = ppart.Material,
  2217. CanCollide = ppart.CanCollide
  2218. })
  2219. local sz = v3(0.2, width, len2)
  2220. w2.Size = sz
  2221. local sp = iNew({
  2222. "SpecialMesh",
  2223. w2,
  2224. MeshType = "Wedge",
  2225. Scale = v3(0, 1, 1) * sz / w2.Size
  2226. })
  2227. w2:BreakJoints()
  2228. w2.Anchored = true
  2229. w2.Transparency = 0.7
  2230. Spawn(function()
  2231. for i = 0, 1, 0.1 do
  2232. wait()
  2233. w2.Transparency = w2.Transparency + 0.03
  2234. end
  2235. end)
  2236. w2.CFrame = maincf * ca2(math.pi, math.pi, -math.pi / 2) * cn(0, width / 2, -len1 - len2 / 2)
  2237. w2.Parent = tube
  2238. table.insert(list, w2)
  2239. end
  2240. end
  2241. return unpack(list)
  2242. end
  2243. bclf = ch["Right Arm"].CFrame
  2244. scfr = bclf
  2245. ca = CFrame.Angles
  2246. cn = CFrame.new
  2247. v3 = Vector3.new
  2248. function Raycast(Pos, Dir, Ign)
  2249. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * 300), Ign)
  2250. end
  2251. function FindGround(cf, ig)
  2252. local ax, ay, az = cf:toEulerAnglesXYZ()
  2253. local bhit, bpos = Raycast(cf.p, cf.p - (cf.p + v3(0, 200, 0)), ig)
  2254. if bhit and bpos then
  2255. return bhit, cn(bpos) * ca(ax, ay, az)
  2256. end
  2257. end
  2258. currentkey = ""
  2259. mouse.KeyDown:connect(function(key)
  2260. if key == "q" and currentkey == "32" and Vector3.new(0, tor.Velocity.Y, 0).magnitude > 2 then
  2261. executeMove("downslam")
  2262. elseif key == "r" and currentkey == "32" and Vector3.new(0, tor.Velocity.Y, 0).magnitude > 2 then
  2263. executeMove("aerialsword")
  2264. end
  2265. if string.byte(key) == 32 and canExecuteMoves == true then
  2266. combostring = combostring .. "."
  2267. if combostring:match("..") and dodgecool == false then
  2268. currentkey = tostring(string.byte(key))
  2269. animPlaying = true
  2270. altTween(rj, cfn() * ang(mr(-15), 0, 0))
  2271. altTween(rw, cfn() * ang(mr(10), 0, mr(-15)))
  2272. altTween(lw, cfn() * ang(mr(10), 0, mr(15)))
  2273. dodgecool = true
  2274. combostring = ""
  2275. local rv = tor.CFrame.upVector
  2276. local bv = int("BodyVelocity", tor)
  2277. dodgesound:Play()
  2278. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  2279. bv.Velocity = rv * 150
  2280. spawn(function()
  2281. for i = 1, 14 do
  2282. wait()
  2283. do
  2284. local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
  2285. cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
  2286. local b = blo(cfx)
  2287. addFx(cfx, 0.05, "destroy", function()
  2288. cfx.Transparency = cfx.Transparency + 0.05
  2289. b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
  2290. end)
  2291. end
  2292. end
  2293. end)
  2294. wait()
  2295. bv:Destroy()
  2296. wait(0.4)
  2297. reset()
  2298. dodgecool = false
  2299. wait(0.4)
  2300. if currentkey == "32" then
  2301. currentkey = ""
  2302. end
  2303. if not deb then
  2304. animPlaying = false
  2305. end
  2306. end
  2307. end
  2308. if key == "d" and canExecuteMoves == true then
  2309. combostring = combostring .. "d"
  2310. if combostring:match("dd") and dodgecool == false then
  2311. dodgecool = true
  2312. combostring = ""
  2313. local rv = cam.CFrame.rightVector
  2314. local bv = int("BodyVelocity", tor)
  2315. dodgesound:Play()
  2316. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  2317. bv.Velocity = rv * 150
  2318. spawn(function()
  2319. for i = 1, 16 do
  2320. wait()
  2321. do
  2322. local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
  2323. cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
  2324. local b = blo(cfx)
  2325. addFx(cfx, 0.05, "destroy", function()
  2326. cfx.Transparency = cfx.Transparency + 0.05
  2327. b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
  2328. end)
  2329. end
  2330. end
  2331. end)
  2332. wait()
  2333. bv:Destroy()
  2334. wait(0.4)
  2335. dodgecool = false
  2336. end
  2337. elseif key == "w" and canExecuteMoves == true then
  2338. combostring = combostring .. "w"
  2339. if combostring:match("ww") and dodgecool == false then
  2340. dodgecool = true
  2341. combostring = ""
  2342. local rv = cam.CFrame:vectorToWorldSpace(Vector3.new(0, 0, -1))
  2343. local bv = int("BodyVelocity", tor)
  2344. dodgesound:Play()
  2345. bv.MaxForce = Vector3.new(math.huge, 0, math.huge)
  2346. bv.Velocity = rv * 150
  2347. spawn(function()
  2348. for i = 1, 16 do
  2349. wait()
  2350. do
  2351. local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
  2352. cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
  2353. local b = blo(cfx)
  2354. addFx(cfx, 0.05, "destroy", function()
  2355. cfx.Transparency = cfx.Transparency + 0.05
  2356. b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
  2357. end)
  2358. end
  2359. end
  2360. end)
  2361. wait()
  2362. bv:Destroy()
  2363. wait(0.4)
  2364. dodgecool = false
  2365. end
  2366. elseif key == "s" and canExecuteMoves == true then
  2367. combostring = combostring .. "s"
  2368. if combostring:match("ss") and dodgecool == false then
  2369. dodgecool = true
  2370. combostring = ""
  2371. local rv = cam.CFrame:vectorToWorldSpace(Vector3.new(0, 0, 1))
  2372. local bv = int("BodyVelocity", tor)
  2373. dodgesound:Play()
  2374. bv.MaxForce = Vector3.new(math.huge, 0, math.huge)
  2375. bv.Velocity = rv * 150
  2376. spawn(function()
  2377. for i = 1, 16 do
  2378. wait()
  2379. do
  2380. local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
  2381. cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
  2382. local b = blo(cfx)
  2383. addFx(cfx, 0.05, "destroy", function()
  2384. cfx.Transparency = cfx.Transparency + 0.05
  2385. b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
  2386. end)
  2387. end
  2388. end
  2389. end)
  2390. wait()
  2391. bv:Destroy()
  2392. wait(0.4)
  2393. dodgecool = false
  2394. end
  2395. elseif key == "a" and canExecuteMoves == true then
  2396. combostring = combostring .. "a"
  2397. if combostring:match("aa") and dodgecool == false then
  2398. dodgecool = true
  2399. combostring = ""
  2400. local rv = cam.CFrame.rightVector
  2401. local bv = int("BodyVelocity", tor)
  2402. dodgesound:Play()
  2403. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  2404. bv.Velocity = rv * -150
  2405. spawn(function()
  2406. for i = 1, 16 do
  2407. wait()
  2408. do
  2409. local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
  2410. cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
  2411. local b = blo(cfx)
  2412. addFx(cfx, 0.05, "destroy", function()
  2413. cfx.Transparency = cfx.Transparency + 0.05
  2414. b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
  2415. end)
  2416. end
  2417. end
  2418. end)
  2419. wait()
  2420. bv:Destroy()
  2421. wait(0.4)
  2422. dodgecool = false
  2423. end
  2424. end
  2425. if key == "f" then
  2426. if deb == false then
  2427. executeMove("block_normal")
  2428. end
  2429. elseif key == "h" then
  2430. if deb == false then
  2431. executeMove("taunt")
  2432. end
  2433. elseif key == "j" then
  2434. if deb == false then
  2435. executeMove("terra")
  2436. end
  2437. elseif key == "e" then
  2438. if deb == false then
  2439. executeMove("beam")
  2440. end
  2441. elseif key == "k" then
  2442. if deb == false then
  2443. executeMove("robot")
  2444. end
  2445. elseif key == "t" then
  2446. if deb == false then
  2447. executeMove("darkspikes")
  2448. end
  2449. elseif key == "g" then
  2450. if deb == false then
  2451. executeMove("curse")
  2452. end
  2453. elseif key == "r" and deb == false and Vector3.new(0, tor.Velocity.Y, 0).magnitude < 2 and currentkey ~= "32" then
  2454. executeMove("darkslash")
  2455. end
  2456. end)
  2457. mouse.KeyUp:connect(function(key)
  2458. for _, v in pairs(connectlist) do
  2459. if v.up == false and v.key == key then
  2460. v.up = true
  2461. table.remove(connectlist, _)
  2462. end
  2463. end
  2464. end)
  2465. mouse.Button1Up:connect(function()
  2466. for _, v in pairs(connectlist) do
  2467. if v.up == false then
  2468. v.up = true
  2469. table.remove(connectlist, _)
  2470. end
  2471. end
  2472. end)
  2473. local oldsize = mana / maxmana
  2474. local oldchain = 0
  2475. spawn(function()
  2476. while wait(1) do
  2477. if deb == false then
  2478. if chain == oldchain then
  2479. chain = 0
  2480. end
  2481. oldchain = chain
  2482. end
  2483. end
  2484. end)
  2485. game:service("RunService").Stepped:connect(function()
  2486. chaintext.Text = tostring(chain) .. "x"
  2487. manabartext.Text = tostring(mana) .. "/" .. tostring(maxmana)
  2488. if mana / maxmana ~= oldsize then
  2489. manabar:TweenSize(UDim2.new(mana / maxmana, 0, 1, 0), "Out", "Sine", 1, true)
  2490. oldsize = mana / maxmana
  2491. end
  2492. if dumbbox then
  2493. dumbbox.CFrame = dumbhand.CFrame * cfn(0, 0, 4) * ang(mr(-90), 0, 0)
  2494. end
  2495. for _, v in pairs(textTable) do
  2496. if 1 > v.TextLabel.TextTransparency then
  2497. v.TextLabel.TextTransparency = v.TextLabel.TextTransparency + 0.02
  2498. v.TextLabel.TextStrokeTransparency = v.TextLabel.TextStrokeTransparency + 0.02
  2499. v.StudsOffset = v.StudsOffset + Vector3.new(0, 0.02, 0)
  2500. else
  2501. v:Destroy()
  2502. table.remove(textTable, _)
  2503. end
  2504. end
  2505. if Vector3.new(tor.Velocity.X, 0, tor.Velocity.Z).magnitude > 2 then
  2506. run = true
  2507. elseif Vector3.new(tor.Velocity.X, 0, tor.Velocity.Z).magnitude < 2 then
  2508. run = false
  2509. idle = true
  2510. end
  2511. if Vector3.new(tor.Velocity.X, 0, tor.Velocity.Z).magnitude > 2 and canRunLeg == true then
  2512. runLeg = true
  2513. elseif Vector3.new(tor.Velocity.X, 0, tor.Velocity.Z).magnitude < 2 and canRunLeg == true then
  2514. runLeg = false
  2515. resetLegs()
  2516. end
  2517. for _, v in pairs(movers) do
  2518. if v.mover and v.mover:IsDescendantOf(tube) then
  2519. v.func()
  2520. else
  2521. table.remove(movers, _)
  2522. end
  2523. end
  2524. if bg and 0 < hum.Health then
  2525. tor.CFrame = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.X, tor.Position.Y, mouse.Hit.p.Z))
  2526. end
  2527. for _, v in pairs(fx) do
  2528. if 1 > v.stepval then
  2529. v.func()
  2530. v.stepval = v.stepval + v.int
  2531. elseif v.final then
  2532. if v.final == "destroy" then
  2533. v.item:Destroy()
  2534. table.remove(fx, _)
  2535. end
  2536. else
  2537. table.remove(fx, _)
  2538. end
  2539. end
  2540. for _, v in pairs(tweenTable) do
  2541. if v.Weld.C1 == v.Stop then
  2542. table.remove(tweenTable, _)
  2543. elseif v.th < 1 - v.Step then
  2544. v.th = v.th + v.Step
  2545. i = v.th
  2546. v.Weld.C1 = v.Weld.C1:lerp(CFrame.new(v.Start.p.X * (1 - i) + v.Stop.p.X * i, v.Start.p.Y * (1 - i) + v.Stop.p.Y * i, v.Start.p.Z * (1 - i) + v.Stop.p.Z * i) * CFrame.fromEulerAnglesXYZ(v.X1 * (1 - i) + v.X2 * i, v.Y1 * (1 - i) + v.Y2 * i, v.Z1 * (1 - i) + v.Z2 * i), 1)
  2547. else
  2548. v.Weld.C1 = v.Stop
  2549. end
  2550. end
  2551. for _, v in pairs(altTweenTable) do
  2552. if v.Weld.C1 == v.Stop then
  2553. table.remove(tweenTable, _)
  2554. elseif v.th < 1 - v.Step then
  2555. v.th = v.th + v.Step
  2556. i = v.th
  2557. v.Weld.C1 = v.Weld.C1:lerp(CFrame.new(v.Start.p.X * (1 - i) + v.Stop.p.X * i, v.Start.p.Y * (1 - i) + v.Stop.p.Y * i, v.Start.p.Z * (1 - i) + v.Stop.p.Z * i) * CFrame.fromEulerAnglesXYZ(v.X1 * (1 - i) + v.X2 * i, v.Y1 * (1 - i) + v.Y2 * i, v.Z1 * (1 - i) + v.Z2 * i), 1)
  2558. else
  2559. v.Weld.C1 = v.Stop
  2560. end
  2561. end
  2562. end)
  2563. local oldcombo
  2564. local thingz = false
  2565. spawn(function()
  2566. while wait(0.1) do
  2567. for _, v in pairs(cooldowns) do
  2568. if 0.1 > v.timeleft then
  2569. table.remove(cooldowns, _)
  2570. else
  2571. v.timeleft = v.timeleft - 0.1
  2572. end
  2573. end
  2574. end
  2575. end)
  2576. spawn(function()
  2577. while wait(0.1) do
  2578. if thingz == false then
  2579. oldcombo = combostring
  2580. thingz = true
  2581. else
  2582. if string.len(oldcombo) == string.len(combostring) then
  2583. combostring = ""
  2584. oldcombo = ""
  2585. end
  2586. thingz = false
  2587. end
  2588. end
  2589. end)
  2590. while wait() do
  2591. if mana < maxmana and not deb and not animPlaying then
  2592. mana = mana + 2
  2593. if mana == maxmana + 1 then
  2594. mana = maxmana
  2595. end
  2596. end
  2597. if animPlaying == true and runLeg == true then
  2598. walkLegs()
  2599. end
  2600. if run == true and animPlaying == false then
  2601. altTweenTable = {}
  2602. tweenTable = {}
  2603. walkCycle()
  2604. elseif idle == true and animPlaying == false then
  2605. tweenTable = {}
  2606. reset()
  2607. end
  2608. end
  2609. wait()
  2610. Player = game.Players.LocalPlayer
  2611. Object = Player.Character.HumanoidRootPart
  2612. Arm1 = Player.Character["Right Arm"]
  2613. PreviousA1 = Arm1.CFrame.p
  2614. Arm2 = Player.Character["Left Arm"]
  2615. PreviousA2 = Arm2.CFrame.p
  2616.  
  2617. Leg1 = Player.Character["Right Leg"]
  2618. PreviousL1 = Leg1.CFrame.p
  2619. Leg2 = Player.Character["Left Leg"]
  2620. PreviousL2 = Leg2.CFrame.p
  2621.  
  2622. Run = game["Run Service"]
  2623.  
  2624. PreviousP = Object.CFrame.p
  2625. Running = false
  2626. Phase = false
  2627. PhaseActive = false
  2628. Morph = false
  2629. MorphActive = false
  2630. Tornado = false
  2631. TornadoRadius = 50
  2632. TornadoActive = false
  2633. Portal = false
  2634. PortalEnd = false
  2635. MaxZ = 15
  2636. MinZ = -15
  2637. LightMaxX = 3
  2638. LightMinX = 1
  2639. LightMaxX2 = -1
  2640. LightMinX2 = -3
  2641. LightMaxY = 3
  2642. LightMinY = -1
  2643. Rotation = 0
  2644. Length = 10
  2645. Color = BrickColor.Yellow()
  2646. PColor = Color3.new(255,255,0)
  2647. PrevPoint1 = nil
  2648. PrevPoint2 = nil
  2649. PrevPoint3 = nil
  2650. PrevPoint4 = nil
  2651. PrevPoint5 = nil
  2652. PrevPoint6 = nil
  2653. PrevPoint7 = nil
  2654. PrevPoint8 = nil
  2655. PrevPoint9 = nil
  2656. PrevPoint10 = nil
  2657. PrevPoint11 = nil
  2658. PrevPoint12 = nil
  2659. angle = 0
  2660. Mouse = Player:GetMouse()
  2661. Player.Character.Humanoid.WalkSpeed = 18
  2662.  
  2663. Nil = function()
  2664. PrevPoint1 = "Empty"
  2665. PrevPoint2 = "Empty"
  2666. PrevPoint3 = "Empty"
  2667. PrevPoint4 = "Empty"
  2668. PrevPoint5 = "Empty"
  2669. PrevPoint6 = "Empty"
  2670. PrevPoint7 = "Empty"
  2671. PrevPoint8 = "Empty"
  2672. PrevPoint9 = "Empty"
  2673. PrevPoint10 = "Empty"
  2674. PrevPoint11 = "Empty"
  2675. PrevPoint12 = "Empty"
  2676. end
  2677.  
  2678. local Lightning = coroutine.wrap(function()
  2679. while wait() do
  2680. if Portal == false then
  2681. angle = angle + 0.6
  2682. local Model = Instance.new("Model",workspace)
  2683. Model.Name = "Lightning"
  2684. local Point1 = Instance.new("Part",Model)
  2685. Point1.Transparency = 1
  2686. Point1.Size = Vector3.new(0.2,0.2,0.2)
  2687. Point1.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point1.Size.Z/2))
  2688. Point1.Anchored = true
  2689. Point1.CanCollide = false
  2690. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  2691.  
  2692. local Point2 = Instance.new("Part",Model)
  2693. Point2.Transparency = 1
  2694. Point2.Size = Vector3.new(0.2,0.2,0.2)
  2695. Point2.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point2.Size.Z/2))
  2696. Point2.Anchored = true
  2697. Point2.CanCollide = false
  2698. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  2699.  
  2700. local Point3 = Instance.new("Part",Model)
  2701. Point3.Transparency = 1
  2702. Point3.Size = Vector3.new(0.2,0.2,0.2)
  2703. Point3.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point3.Size.Z/2))
  2704. Point3.Anchored = true
  2705. Point3.CanCollide = false
  2706. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  2707.  
  2708. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  2709. local Light = Instance.new("Part",Model)
  2710. local PointLight = Instance.new("PointLight",Light)
  2711. PointLight.Range = 5
  2712. PointLight.Color = PColor
  2713. Light.Transparency = 0.5
  2714. Light.BrickColor = Color
  2715. Light.Material = "Neon"
  2716. Light.Size = Vector3.new(0.25,0.25,distance)
  2717. Light.Anchored = true
  2718. Light.CanCollide = false
  2719. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  2720.  
  2721. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  2722. local Light = Instance.new("Part",Model)
  2723. local PointLight = Instance.new("PointLight",Light)
  2724. PointLight.Range = 5
  2725. PointLight.Color = PColor
  2726. Light.Transparency = 0.5
  2727. Light.BrickColor = Color
  2728. Light.Material = "Neon"
  2729. Light.Size = Vector3.new(0.25,0.25,distance2)
  2730. Light.Anchored = true
  2731. Light.CanCollide = false
  2732. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  2733.  
  2734. local Point1 = Instance.new("Part",Model)
  2735. Point1.Transparency = 1
  2736. Point1.Size = Vector3.new(0.2,0.2,0.2)
  2737. Point1.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point1.Size.Z/2))
  2738. Point1.Anchored = true
  2739. Point1.CanCollide = false
  2740. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  2741.  
  2742. local Point2 = Instance.new("Part",Model)
  2743. Point2.Transparency = 1
  2744. Point2.Size = Vector3.new(0.2,0.2,0.2)
  2745. Point2.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point2.Size.Z/2))
  2746. Point2.Anchored = true
  2747. Point2.CanCollide = false
  2748. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  2749.  
  2750. local Point3 = Instance.new("Part",Model)
  2751. Point3.Transparency = 1
  2752. Point3.Size = Vector3.new(0.2,0.2,0.2)
  2753. Point3.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point3.Size.Z/2))
  2754. Point3.Anchored = true
  2755. Point3.CanCollide = false
  2756. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  2757.  
  2758. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  2759. local Light = Instance.new("Part",Model)
  2760. local PointLight = Instance.new("PointLight",Light)
  2761. PointLight.Range = 5
  2762. PointLight.Color = PColor
  2763. Light.Transparency = 0.5
  2764. Light.BrickColor = Color
  2765. Light.Material = "Neon"
  2766. Light.Size = Vector3.new(0.25,0.25,distance)
  2767. Light.Anchored = true
  2768. Light.CanCollide = false
  2769. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  2770.  
  2771. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  2772. local Light = Instance.new("Part",Model)
  2773. local PointLight = Instance.new("PointLight",Light)
  2774. PointLight.Range = 5
  2775. PointLight.Color = PColor
  2776. Light.Transparency = 0.5
  2777. Light.BrickColor = Color
  2778. Light.Material = "Neon"
  2779. Light.Size = Vector3.new(0.3,0.3,distance2)
  2780. Light.Anchored = true
  2781. Light.CanCollide = false
  2782. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  2783.  
  2784. local Point1 = Instance.new("Part",Model)
  2785. Point1.Transparency = 1
  2786. Point1.Size = Vector3.new(0.2,0.2,0.2)
  2787. Point1.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  2788. Point1.Anchored = true
  2789. Point1.CanCollide = false
  2790. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  2791.  
  2792. local Point2 = Instance.new("Part",Model)
  2793. Point2.Transparency = 1
  2794. Point2.Size = Vector3.new(0.2,0.2,0.2)
  2795. Point2.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  2796. Point2.Anchored = true
  2797. Point2.CanCollide = false
  2798. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  2799.  
  2800. local Point3 = Instance.new("Part",Model)
  2801. Point3.Transparency = 1
  2802. Point3.Size = Vector3.new(0.2,0.2,0.2)
  2803. Point3.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  2804. Point3.Anchored = true
  2805. Point3.CanCollide = false
  2806. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  2807.  
  2808. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  2809. local Light = Instance.new("Part",Model)
  2810. local PointLight = Instance.new("PointLight",Light)
  2811. PointLight.Range = 5
  2812. PointLight.Color = PColor
  2813. Light.Transparency = 0.5
  2814. Light.BrickColor = Color
  2815. Light.Material = "Neon"
  2816. Light.Size = Vector3.new(0.25,0.25,distance)
  2817. Light.Anchored = true
  2818. Light.CanCollide = false
  2819. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  2820.  
  2821. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  2822. local Light = Instance.new("Part",Model)
  2823. local PointLight = Instance.new("PointLight",Light)
  2824. PointLight.Range = 5
  2825. PointLight.Color = PColor
  2826. Light.Transparency = 0.5
  2827. Light.BrickColor = Color
  2828. Light.Material = "Neon"
  2829. Light.Size = Vector3.new(0.25,0.25,distance2)
  2830. Light.Anchored = true
  2831. Light.CanCollide = false
  2832. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  2833.  
  2834. local Point1 = Instance.new("Part",Model)
  2835. Point1.Transparency = 1
  2836. Point1.Size = Vector3.new(0.2,0.2,0.2)
  2837. Point1.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  2838. Point1.Anchored = true
  2839. Point1.CanCollide = false
  2840. Point1.CFrame = Point1.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  2841.  
  2842. local Point2 = Instance.new("Part",Model)
  2843. Point2.Transparency = 1
  2844. Point2.Size = Vector3.new(0.2,0.2,0.2)
  2845. Point2.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  2846. Point2.Anchored = true
  2847. Point2.CanCollide = false
  2848. Point2.CFrame = Point2.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  2849.  
  2850. local Point3 = Instance.new("Part",Model)
  2851. Point3.Transparency = 1
  2852. Point3.Size = Vector3.new(0.2,0.2,0.2)
  2853. Point3.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  2854. Point3.Anchored = true
  2855. Point3.CanCollide = false
  2856. Point3.CFrame = Point3.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  2857.  
  2858. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  2859. local Light = Instance.new("Part",Model)
  2860. local PointLight = Instance.new("PointLight",Light)
  2861. PointLight.Range = 5
  2862. PointLight.Color = PColor
  2863. Light.Transparency = 0.5
  2864. Light.BrickColor = Color
  2865. Light.Material = "Neon"
  2866. Light.Size = Vector3.new(0.25,0.25,distance)
  2867. Light.Anchored = true
  2868. Light.CanCollide = false
  2869. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  2870.  
  2871. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  2872. local Light = Instance.new("Part",Model)
  2873. local PointLight = Instance.new("PointLight",Light)
  2874. PointLight.Range = 5
  2875. PointLight.Color = PColor
  2876. Light.Transparency = 0.5
  2877. Light.BrickColor = Color
  2878. Light.Material = "Neon"
  2879. Light.Size = Vector3.new(0.25,0.25,distance2)
  2880. Light.Anchored = true
  2881. Light.CanCollide = false
  2882. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  2883.  
  2884. local Children = Model:GetChildren()
  2885. wait(0.1)
  2886. for i = 1,#Children do
  2887. if Children[i]:IsA("Part") then
  2888. Children[i].Transparency = 1
  2889. end
  2890. game.Debris:AddItem(Children[i],0)
  2891. end
  2892.  
  2893. end
  2894. end
  2895. end)
  2896. Lightning()
  2897.  
  2898.  
  2899. local MaxX = 100
  2900. local MinX = -100
  2901. local MaxY = 100
  2902. local MinY = -100
  2903. local MaxZ = 100
  2904. local MinZ = -100
  2905. local Morph = coroutine.wrap(function()
  2906. while Run.Stepped:wait(0.1) do
  2907. if Morph == false then break end
  2908. local Model = Instance.new("Model",workspace)
  2909. if Player.Character:FindFirstChild("Shirt") then
  2910. local Shirt = Player.Character.Shirt:Clone()
  2911. Shirt.Parent = Model
  2912. end
  2913. if Player.Character:FindFirstChild("Pants") then
  2914. local Pants = Player.Character.Pants:Clone()
  2915. Pants.Parent = Model
  2916. end
  2917. local Humanoid = Instance.new("Humanoid",Model)
  2918. local LeftArm = Player.Character["Left Arm"]:Clone()
  2919. LeftArm.Parent = Model
  2920. LeftArm.Transparency = 0.4
  2921. LeftArm.Anchored = true
  2922. LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  2923. local RightArm = Player.Character["Right Arm"]:Clone()
  2924. RightArm.Parent = Model
  2925. RightArm.Transparency = 0.4
  2926. RightArm.Anchored = true
  2927. RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  2928. local LeftLeg = Player.Character["Left Leg"]:Clone()
  2929. LeftLeg.Parent = Model
  2930. LeftLeg.Transparency = 0.4
  2931. LeftLeg.Anchored = true
  2932. LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  2933. local RightLeg = Player.Character["Right Leg"]:Clone()
  2934. RightLeg.Parent = Model
  2935. RightLeg.Transparency = 0.4
  2936. RightLeg.Anchored = true
  2937. RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  2938. local Children = Model:GetChildren()
  2939. wait(0.01)
  2940. for i = 1,#Children do
  2941. if Children[i]:IsA("Part") then
  2942. Children[i].Transparency = 1
  2943. end
  2944. game.Debris:AddItem(Children[i],0)
  2945. end
  2946. end
  2947. end)
  2948.  
  2949.  
  2950. local Guis = coroutine.wrap(function()
  2951. local Gui = Instance.new("ScreenGui",Player.PlayerGui)
  2952. local TextBox = Instance.new("TextBox",Gui)
  2953. TextBox.Text = "Speed"
  2954. TextBox.BackgroundColor3 = Color3.new(255,255,255)
  2955. TextBox.BorderColor3 = Color3.new(0,0,0)
  2956. TextBox.Size = UDim2.new(0,200,0,25)
  2957. TextBox.Position = UDim2.new(0,10,0.5,-12.5)
  2958. TextBox.FocusLost:connect(function(EnterPressed)
  2959. if EnterPressed then
  2960. Player.Character.Humanoid.WalkSpeed = TextBox.Text
  2961. end
  2962. end)
  2963. local Flash = Instance.new("TextButton",Gui)
  2964. Flash.BackgroundColor3 = Color3.new(255,255,255)
  2965. Flash.BorderColor3 = Color3.new(0,0,0)
  2966. Flash.Size = UDim2.new(0,200,0,25)
  2967. Flash.Position = UDim2.new(0,10,0.5,22.5)
  2968. Flash.Text = "The Flash"
  2969. Flash.MouseButton1Click:connect(function()
  2970. Color = BrickColor.Yellow()
  2971. PColor = Color3.new(255,255,0)
  2972. end)
  2973. local RFlash = Instance.new("TextButton",Gui)
  2974. RFlash.BackgroundColor3 = Color3.new(255,255,255)
  2975. RFlash.BorderColor3 = Color3.new(0,0,0)
  2976. RFlash.Size = UDim2.new(0,200,0,25)
  2977. RFlash.Position = UDim2.new(0,10,0.5,57.5)
  2978. RFlash.Text = "The Reverse Flash"
  2979. RFlash.MouseButton1Click:connect(function()
  2980. Color = BrickColor.new("Really red")
  2981. PColor = Color3.new(255,0,0)
  2982. end)
  2983. local Zoom = Instance.new("TextButton",Gui)
  2984. Zoom.BackgroundColor3 = Color3.new(255,255,255)
  2985. Zoom.BorderColor3 = Color3.new(0,0,0)
  2986. Zoom.Size = UDim2.new(0,200,0,25)
  2987. Zoom.Position = UDim2.new(0,10,0.5,92.5)
  2988. Zoom.Text = "Zoom"
  2989. Zoom.MouseButton1Click:connect(function()
  2990. Color = BrickColor.new("Cyan")
  2991. PColor = Color3.new(0,170,255)
  2992. end)
  2993. end)
  2994. Guis()
  2995.  
  2996. Run.RenderStepped:connect(function()
  2997. if (Object.CFrame.p - PreviousP).magnitude > 7 and Player.Character.Humanoid.WalkSpeed > 25 and Portal == false and PortalEnd == false then
  2998. local Model = Instance.new("Model",workspace)
  2999. Model.Name = "Ray"
  3000. local Humanoid = Instance.new("Humanoid",Model)
  3001. if Player.Character:FindFirstChild("Shirt") ~= nil then
  3002. Player.Character.Shirt:Clone().Parent = Model
  3003. end
  3004. if Player.Character:FindFirstChild("Pants") ~= nil then
  3005. Player.Character.Pants:Clone().Parent = Model
  3006. end
  3007. local distance = (Object.CFrame.p - PreviousP).magnitude
  3008. local Light = Instance.new("Part",Model)
  3009. Light.Anchored = true
  3010. Light.CanCollide = false
  3011. Light.TopSurface = "SmoothNoOutlines"
  3012. Light.BottomSurface = "SmoothNoOutlines"
  3013. Light.BackSurface = "SmoothNoOutlines"
  3014. Light.FrontSurface = "SmoothNoOutlines"
  3015. Light.LeftSurface = "SmoothNoOutlines"
  3016. Light.RightSurface = "SmoothNoOutlines"
  3017. Light.Transparency = 1
  3018. Light.BrickColor = BrickColor.Black()
  3019. Light.Size = Vector3.new(2,2)
  3020. Light.CFrame = CFrame.new(Object.CFrame.p , PreviousP) * CFrame.new(0,0,-distance/2)
  3021.  
  3022. local PointLight = Instance.new("PointLight",Light)
  3023. PointLight.Range = 15
  3024. PointLight.Brightness = 100
  3025. PointLight.Color = PColor
  3026.  
  3027. local distance = (Arm1.CFrame.p - PreviousA1).magnitude
  3028.  
  3029. local Arm1Light = Instance.new("Part",Model)
  3030. Arm1Light.Name = "Right Arm"
  3031. Arm1Light.Anchored = true
  3032. Arm1Light.CanCollide = false
  3033. Arm1Light.TopSurface = "SmoothNoOutlines"
  3034. Arm1Light.BottomSurface = "SmoothNoOutlines"
  3035. Arm1Light.BackSurface = "SmoothNoOutlines"
  3036. Arm1Light.FrontSurface = "SmoothNoOutlines"
  3037. Arm1Light.LeftSurface = "SmoothNoOutlines"
  3038. Arm1Light.RightSurface = "SmoothNoOutlines"
  3039. Arm1Light.Transparency = 1
  3040. Arm1Light.BrickColor = BrickColor.Black()
  3041. Arm1Light.Size = Vector3.new(.1,.1)
  3042. Arm1Light.CFrame = CFrame.new(Arm1.CFrame.p , PreviousA1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  3043.  
  3044. local distance = (Arm2.CFrame.p - PreviousA2).magnitude
  3045.  
  3046. local Arm2Light = Instance.new("Part",Model)
  3047. Arm2Light.Name = "Left Arm"
  3048. Arm2Light.Anchored = true
  3049. Arm2Light.CanCollide = false
  3050. Arm2Light.TopSurface = "SmoothNoOutlines"
  3051. Arm2Light.BottomSurface = "SmoothNoOutlines"
  3052. Arm2Light.BackSurface = "SmoothNoOutlines"
  3053. Arm2Light.FrontSurface = "SmoothNoOutlines"
  3054. Arm2Light.LeftSurface = "SmoothNoOutlines"
  3055. Arm2Light.RightSurface = "SmoothNoOutlines"
  3056. Arm2Light.Transparency = 1
  3057. Arm2Light.BrickColor = BrickColor.Black()
  3058. Arm2Light.Size = Vector3.new(.1,.1)
  3059. Arm2Light.CFrame = CFrame.new(Arm2.CFrame.p , PreviousA2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  3060.  
  3061. local distance = (Leg1.CFrame.p - PreviousL1).magnitude
  3062.  
  3063. local Leg1Light = Instance.new("Part",Model)
  3064. Leg1Light.Name = "Right Leg"
  3065. Leg1Light.Anchored = true
  3066. Leg1Light.CanCollide = false
  3067. Leg1Light.TopSurface = "SmoothNoOutlines"
  3068. Leg1Light.BottomSurface = "SmoothNoOutlines"
  3069. Leg1Light.BackSurface = "SmoothNoOutlines"
  3070. Leg1Light.FrontSurface = "SmoothNoOutlines"
  3071. Leg1Light.LeftSurface = "SmoothNoOutlines"
  3072. Leg1Light.RightSurface = "SmoothNoOutlines"
  3073. Leg1Light.Transparency = 1
  3074. Leg1Light.BrickColor = BrickColor.Black()
  3075. Leg1Light.Size = Vector3.new(.1,.1)
  3076. Leg1Light.CFrame = CFrame.new(Leg1.CFrame.p , PreviousL1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  3077.  
  3078. local distance = (Leg2.CFrame.p - PreviousL2).magnitude
  3079.  
  3080. local Leg1Light = Instance.new("Part",Model)
  3081. Leg1Light.Name = "Left Leg"
  3082. Leg1Light.Anchored = true
  3083. Leg1Light.CanCollide = false
  3084. Leg1Light.TopSurface = "SmoothNoOutlines"
  3085. Leg1Light.BottomSurface = "SmoothNoOutlines"
  3086. Leg1Light.BackSurface = "SmoothNoOutlines"
  3087. Leg1Light.FrontSurface = "SmoothNoOutlines"
  3088. Leg1Light.LeftSurface = "SmoothNoOutlines"
  3089. Leg1Light.RightSurface = "SmoothNoOutlines"
  3090. Leg1Light.Transparency = 1
  3091. Leg1Light.BrickColor = BrickColor.Black()
  3092. Leg1Light.Size = Vector3.new(.1,.1)
  3093. Leg1Light.CFrame = CFrame.new(Leg2.CFrame.p , PreviousL2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)--]]
  3094.  
  3095. local Point1 = Instance.new("Part",Model)
  3096. Point1.Transparency = 1
  3097. Point1.Anchored = true
  3098. Point1.CanCollide = false
  3099. Point1.Size = Vector3.new(0.2,0.2,0.2)
  3100. Point1.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  3101. * CFrame.new(Light.Size.X/2 ,0 ,0)
  3102. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  3103. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3104.  
  3105. local Point2 = Instance.new("Part",Model)
  3106. Point2.Transparency = 1
  3107. Point2.Anchored = true
  3108. Point2.CanCollide = false
  3109. Point2.Size = Vector3.new(0.2,0.2,0.2)
  3110. Point2.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  3111. * CFrame.new(Light.Size.X/2 ,0 ,0)
  3112. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  3113. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3114.  
  3115. local Point5 = Instance.new("Part",Model)
  3116. Point5.Transparency = 1
  3117. Point5.Anchored = true
  3118. Point5.CanCollide = false
  3119. Point5.Size = Vector3.new(0.2,0.2,0.2)
  3120. Point5.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  3121. * CFrame.new(Light.Size.X/2 ,0 ,0)
  3122. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  3123. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3124.  
  3125. local Point6 = Instance.new("Part",Model)
  3126. Point6.Transparency = 1
  3127. Point6.Anchored = true
  3128. Point6.CanCollide = false
  3129. Point6.Size = Vector3.new(0.2,0.2,0.2)
  3130. Point6.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  3131. * CFrame.new(Light.Size.X/2 ,0 ,0)
  3132. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  3133. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3134.  
  3135. local Point3 = Instance.new("Part",Model)
  3136. Point3.Transparency = 1
  3137. Point3.Anchored = true
  3138. Point3.CanCollide = false
  3139. Point3.Size = Vector3.new(0.2,0.2,0.2)
  3140. Point3.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  3141. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  3142. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  3143. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3144.  
  3145. local Point4 = Instance.new("Part",Model)
  3146. Point4.Transparency = 1
  3147. Point4.Anchored = true
  3148. Point4.CanCollide = false
  3149. Point4.Size = Vector3.new(0.2,0.2,0.2)
  3150. Point4.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  3151. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  3152. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  3153. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3154.  
  3155. local Point7 = Instance.new("Part",Model)
  3156. Point7.Transparency = 1
  3157. Point7.Anchored = true
  3158. Point7.CanCollide = false
  3159. Point7.Size = Vector3.new(0.2,0.2,0.2)
  3160. Point7.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  3161. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  3162. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  3163. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3164.  
  3165. local Point8 = Instance.new("Part",Model)
  3166. Point8.Transparency = 1
  3167. Point8.Anchored = true
  3168. Point8.CanCollide = false
  3169. Point8.Size = Vector3.new(0.2,0.2,0.2)
  3170. Point8.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  3171. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  3172. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  3173. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3174.  
  3175. local Point9 = Instance.new("Part",Model)
  3176. Point9.Transparency = 1
  3177. Point9.Anchored = true
  3178. Point9.CanCollide = false
  3179. Point9.Size = Vector3.new(0.2,0.2,0.2)
  3180. Point9.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  3181. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  3182. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  3183. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3184.  
  3185. local Point10 = Instance.new("Part",Model)
  3186. Point10.Transparency = 1
  3187. Point10.Anchored = true
  3188. Point10.CanCollide = false
  3189. Point10.Size = Vector3.new(0.2,0.2,0.2)
  3190. Point10.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  3191. * CFrame.new(Light.Size.X/2 ,0 ,0)
  3192. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  3193. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3194.  
  3195. local Point11 = Instance.new("Part",Model)
  3196. Point11.Transparency = 1
  3197. Point11.Anchored = true
  3198. Point11.CanCollide = false
  3199. Point11.Size = Vector3.new(0.2,0.2,0.2)
  3200. Point11.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  3201. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  3202. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  3203. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3204.  
  3205. local Point12 = Instance.new("Part",Model)
  3206. Point12.Transparency = 1
  3207. Point12.Anchored = true
  3208. Point12.CanCollide = false
  3209. Point12.Size = Vector3.new(0.2,0.2,0.2)
  3210. Point12.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  3211. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  3212. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  3213. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  3214.  
  3215. if PrevPoint2 == nil or PrevPoint2 == "Empty" then
  3216. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  3217. local Light = Instance.new("Part",Model)
  3218. Light.Anchored = true
  3219. Light.CanCollide = false
  3220. Light.TopSurface = "SmoothNoOutlines"
  3221. Light.BottomSurface = "SmoothNoOutlines"
  3222. Light.BackSurface = "SmoothNoOutlines"
  3223. Light.FrontSurface = "SmoothNoOutlines"
  3224. Light.LeftSurface = "SmoothNoOutlines"
  3225. Light.RightSurface = "SmoothNoOutlines"
  3226. Light.Transparency = 0
  3227. Light.Size = Vector3.new(0.4,0.4,distance)
  3228. Light.Material = "Neon"
  3229. Light.BrickColor = Color
  3230. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  3231. elseif PrevPoint2 ~= nil then
  3232. local distance = (Point2.CFrame.p - PrevPoint2).magnitude
  3233. local Light = Instance.new("Part",Model)
  3234. Light.Anchored = true
  3235. Light.CanCollide = false
  3236. Light.TopSurface = "SmoothNoOutlines"
  3237. Light.BottomSurface = "SmoothNoOutlines"
  3238. Light.BackSurface = "SmoothNoOutlines"
  3239. Light.FrontSurface = "SmoothNoOutlines"
  3240. Light.LeftSurface = "SmoothNoOutlines"
  3241. Light.RightSurface = "SmoothNoOutlines"
  3242. Light.Transparency = 0
  3243. Light.Size = Vector3.new(0.4,0.4,distance)
  3244. Light.Material = "Neon"
  3245. Light.BrickColor = Color
  3246. Light.CFrame = CFrame.new(Point2.CFrame.p , PrevPoint2) * CFrame.new(0,0,-distance/2)
  3247. end
  3248.  
  3249. if PrevPoint4 == nil or PrevPoint4 == "Empty" then
  3250. local distance = (Point4.CFrame.p - Point3.CFrame.p).magnitude
  3251. local Light = Instance.new("Part",Model)
  3252. Light.Anchored = true
  3253. Light.CanCollide = false
  3254. Light.TopSurface = "SmoothNoOutlines"
  3255. Light.BottomSurface = "SmoothNoOutlines"
  3256. Light.BackSurface = "SmoothNoOutlines"
  3257. Light.FrontSurface = "SmoothNoOutlines"
  3258. Light.LeftSurface = "SmoothNoOutlines"
  3259. Light.RightSurface = "SmoothNoOutlines"
  3260. Light.Transparency = 0
  3261. Light.Size = Vector3.new(0.4,0.4,distance)
  3262. Light.Material = "Neon"
  3263. Light.BrickColor = Color
  3264. Light.CFrame = CFrame.new(Point4.CFrame.p , Point3.CFrame.p) * CFrame.new(0,0,-distance/2)
  3265. elseif PrevPoint4 ~= nil then
  3266. local distance = (Point4.CFrame.p - PrevPoint4).magnitude
  3267. local Light = Instance.new("Part",Model)
  3268. Light.Anchored = true
  3269. Light.CanCollide = false
  3270. Light.TopSurface = "SmoothNoOutlines"
  3271. Light.BottomSurface = "SmoothNoOutlines"
  3272. Light.BackSurface = "SmoothNoOutlines"
  3273. Light.FrontSurface = "SmoothNoOutlines"
  3274. Light.LeftSurface = "SmoothNoOutlines"
  3275. Light.RightSurface = "SmoothNoOutlines"
  3276. Light.Transparency = 0
  3277. Light.Size = Vector3.new(0.4,0.4,distance)
  3278. Light.Material = "Neon"
  3279. Light.BrickColor = Color
  3280. Light.CFrame = CFrame.new(Point4.CFrame.p , PrevPoint4) * CFrame.new(0,0,-distance/2)
  3281. end
  3282.  
  3283.  
  3284. if PrevPoint6 == nil or PrevPoint6 == "Empty" then
  3285. local distance = (Point6.CFrame.p - Point5.CFrame.p).magnitude
  3286. local Light = Instance.new("Part",Model)
  3287. Light.Anchored = true
  3288. Light.CanCollide = false
  3289. Light.TopSurface = "SmoothNoOutlines"
  3290. Light.BottomSurface = "SmoothNoOutlines"
  3291. Light.BackSurface = "SmoothNoOutlines"
  3292. Light.FrontSurface = "SmoothNoOutlines"
  3293. Light.LeftSurface = "SmoothNoOutlines"
  3294. Light.RightSurface = "SmoothNoOutlines"
  3295. Light.Transparency = 0
  3296. Light.Size = Vector3.new(0.4,0.4,distance)
  3297. Light.Material = "Neon"
  3298. Light.BrickColor = Color
  3299. Light.CFrame = CFrame.new(Point6.CFrame.p , Point5.CFrame.p) * CFrame.new(0,0,-distance/2)
  3300. elseif PrevPoint6 ~= nil then
  3301. local distance = (Point6.CFrame.p - PrevPoint6).magnitude
  3302. local Light = Instance.new("Part",Model)
  3303. Light.Anchored = true
  3304. Light.CanCollide = false
  3305. Light.TopSurface = "SmoothNoOutlines"
  3306. Light.BottomSurface = "SmoothNoOutlines"
  3307. Light.BackSurface = "SmoothNoOutlines"
  3308. Light.FrontSurface = "SmoothNoOutlines"
  3309. Light.LeftSurface = "SmoothNoOutlines"
  3310. Light.RightSurface = "SmoothNoOutlines"
  3311. Light.Transparency = 0
  3312. Light.Size = Vector3.new(0.4,0.4,distance)
  3313. Light.Material = "Neon"
  3314. Light.BrickColor = Color
  3315. Light.CFrame = CFrame.new(Point6.CFrame.p , PrevPoint6) * CFrame.new(0,0,-distance/2)
  3316. end
  3317.  
  3318. if PrevPoint8 == nil or PrevPoint8 == "Empty" then
  3319. local distance = (Point8.CFrame.p - Point7.CFrame.p).magnitude
  3320. local Light = Instance.new("Part",Model)
  3321. Light.Anchored = true
  3322. Light.CanCollide = false
  3323. Light.TopSurface = "SmoothNoOutlines"
  3324. Light.BottomSurface = "SmoothNoOutlines"
  3325. Light.BackSurface = "SmoothNoOutlines"
  3326. Light.FrontSurface = "SmoothNoOutlines"
  3327. Light.LeftSurface = "SmoothNoOutlines"
  3328. Light.RightSurface = "SmoothNoOutlines"
  3329. Light.Transparency = 0
  3330. Light.Size = Vector3.new(0.4,0.4,distance)
  3331. Light.Material = "Neon"
  3332. Light.BrickColor = Color
  3333. Light.CFrame = CFrame.new(Point8.CFrame.p , Point7.CFrame.p) * CFrame.new(0,0,-distance/2)
  3334. elseif PrevPoint8 ~= nil then
  3335. local distance = (Point8.CFrame.p - PrevPoint8).magnitude
  3336. local Light = Instance.new("Part",Model)
  3337. Light.Anchored = true
  3338. Light.CanCollide = false
  3339. Light.TopSurface = "SmoothNoOutlines"
  3340. Light.BottomSurface = "SmoothNoOutlines"
  3341. Light.BackSurface = "SmoothNoOutlines"
  3342. Light.FrontSurface = "SmoothNoOutlines"
  3343. Light.LeftSurface = "SmoothNoOutlines"
  3344. Light.RightSurface = "SmoothNoOutlines"
  3345. Light.Transparency = 0
  3346. Light.Size = Vector3.new(0.4,0.4,distance)
  3347. Light.Material = "Neon"
  3348. Light.BrickColor = Color
  3349. Light.CFrame = CFrame.new(Point8.CFrame.p , PrevPoint8) * CFrame.new(0,0,-distance/2)
  3350. end
  3351.  
  3352. if PrevPoint10 == nil or PrevPoint10 == "Empty" then
  3353. local distance = (Point10.CFrame.p - Point9.CFrame.p).magnitude
  3354. local Light = Instance.new("Part",Model)
  3355. Light.Anchored = true
  3356. Light.CanCollide = false
  3357. Light.TopSurface = "SmoothNoOutlines"
  3358. Light.BottomSurface = "SmoothNoOutlines"
  3359. Light.BackSurface = "SmoothNoOutlines"
  3360. Light.FrontSurface = "SmoothNoOutlines"
  3361. Light.LeftSurface = "SmoothNoOutlines"
  3362. Light.RightSurface = "SmoothNoOutlines"
  3363. Light.Transparency = 0
  3364. Light.Size = Vector3.new(0.4,0.4,distance)
  3365. Light.Material = "Neon"
  3366. Light.BrickColor = Color
  3367. Light.CFrame = CFrame.new(Point10.CFrame.p , Point9.CFrame.p) * CFrame.new(0,0,-distance/2)
  3368. elseif PrevPoint10 ~= nil then
  3369. local distance = (Point10.CFrame.p - PrevPoint10).magnitude
  3370. local Light = Instance.new("Part",Model)
  3371. Light.Anchored = true
  3372. Light.CanCollide = false
  3373. Light.TopSurface = "SmoothNoOutlines"
  3374. Light.BottomSurface = "SmoothNoOutlines"
  3375. Light.BackSurface = "SmoothNoOutlines"
  3376. Light.FrontSurface = "SmoothNoOutlines"
  3377. Light.LeftSurface = "SmoothNoOutlines"
  3378. Light.RightSurface = "SmoothNoOutlines"
  3379. Light.Transparency = 0
  3380. Light.Size = Vector3.new(0.4,0.4,distance)
  3381. Light.Material = "Neon"
  3382. Light.BrickColor = Color
  3383. Light.CFrame = CFrame.new(Point10.CFrame.p , PrevPoint10) * CFrame.new(0,0,-distance/2)
  3384. end
  3385.  
  3386.  
  3387. if PrevPoint12 == nil or PrevPoint12 == "Empty" then
  3388. local distance = (Point12.CFrame.p - Point11.CFrame.p).magnitude
  3389. local Light = Instance.new("Part",Model)
  3390. Light.Anchored = true
  3391. Light.CanCollide = false
  3392. Light.TopSurface = "SmoothNoOutlines"
  3393. Light.BottomSurface = "SmoothNoOutlines"
  3394. Light.BackSurface = "SmoothNoOutlines"
  3395. Light.FrontSurface = "SmoothNoOutlines"
  3396. Light.LeftSurface = "SmoothNoOutlines"
  3397. Light.RightSurface = "SmoothNoOutlines"
  3398. Light.Transparency = 0
  3399. Light.Size = Vector3.new(0.4,0.4,distance)
  3400. Light.Material = "Neon"
  3401. Light.BrickColor = Color
  3402. Light.CFrame = CFrame.new(Point12.CFrame.p , Point11.CFrame.p) * CFrame.new(0,0,-distance/2)
  3403. elseif PrevPoint12 ~= nil then
  3404. local distance = (Point12.CFrame.p - PrevPoint12).magnitude
  3405. local Light = Instance.new("Part",Model)
  3406. Light.Anchored = true
  3407. Light.CanCollide = false
  3408. Light.TopSurface = "SmoothNoOutlines"
  3409. Light.BottomSurface = "SmoothNoOutlines"
  3410. Light.BackSurface = "SmoothNoOutlines"
  3411. Light.FrontSurface = "SmoothNoOutlines"
  3412. Light.LeftSurface = "SmoothNoOutlines"
  3413. Light.RightSurface = "SmoothNoOutlines"
  3414. Light.Transparency = 0
  3415. Light.Size = Vector3.new(0.4,0.4,distance)
  3416. Light.Material = "Neon"
  3417. Light.BrickColor = Color
  3418. Light.CFrame = CFrame.new(Point12.CFrame.p , PrevPoint12) * CFrame.new(0,0,-distance/2)
  3419. end
  3420. PreviousP = Object.CFrame.p
  3421. PreviousA1 = Arm1.CFrame.p
  3422. PreviousA2 = Arm2.CFrame.p
  3423. PreviousL1 = Leg1.CFrame.p
  3424. PreviousL2 = Leg2.CFrame.p
  3425. PrevPoint1 = Point1.CFrame.p
  3426. PrevPoint2 = Point2.CFrame.p
  3427. PrevPoint3 = Point3.CFrame.p
  3428. PrevPoint4 = Point4.CFrame.p
  3429. PrevPoint5 = Point5.CFrame.p
  3430. PrevPoint6 = Point6.CFrame.p
  3431. PrevPoint7 = Point7.CFrame.p
  3432. PrevPoint8 = Point8.CFrame.p
  3433. PrevPoint9 = Point9.CFrame.p
  3434. PrevPoint10 = Point10.CFrame.p
  3435. PrevPoint11 = Point11.CFrame.p
  3436. PrevPoint12 = Point12.CFrame.p
  3437. local Children = Model:GetChildren()
  3438. wait(1)
  3439. for i = 1,10 do
  3440. local Remove = coroutine.wrap(function()
  3441. for i = 1,#Children do
  3442. if Children[i]:IsA("Part") then
  3443. Children[i].Transparency = Children[i].Transparency + 0.1
  3444. if Children[i].Transparency >= 1 and Children[i] ~= Light and Children[i] ~= Point1 and Children[i] ~= Point2 and Children[i] ~= Point3
  3445. and Children[i] ~= Point4 and Children[i] ~= Point5 and Children[i] ~= Point6 and Children[i] ~= Point7 and Children[i] ~= Point8
  3446. and Children[i] ~= Point9 and Children[i] ~= Point10 and Children[i] ~= Point11 and Children[i] ~= Point12 then
  3447. game.Debris:AddItem(Children[i],0)
  3448. end
  3449. end
  3450. if Children[i].ClassName ~= "Part" then
  3451. game.Debris:AddItem(Children[i],0)
  3452. end
  3453. end
  3454. end)
  3455. Remove()
  3456. wait(0.05)
  3457. end
  3458. game.Debris:AddItem(Light,0)
  3459. game.Debris:AddItem(Point1,0)
  3460. game.Debris:AddItem(Point2,0)
  3461. game.Debris:AddItem(Point3,0)
  3462. game.Debris:AddItem(Point4,0)
  3463. game.Debris:AddItem(Point5,0)
  3464. game.Debris:AddItem(Point6,0)
  3465. game.Debris:AddItem(Point7,0)
  3466. game.Debris:AddItem(Point8,0)
  3467. game.Debris:AddItem(Point9,0)
  3468. game.Debris:AddItem(Point10,0)
  3469. game.Debris:AddItem(Point11,0)
  3470. game.Debris:AddItem(Point12,0)
  3471. end
  3472. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement