Advertisement
PasterXIV

Untitled

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