qwbbedly

Untitled

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