Advertisement
PasterXIV

Untitled

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