Advertisement
qwbbedly

Untitled

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