Advertisement
AsukaOS

Fe Dominus VoidNess

Sep 20th, 2018
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.87 KB | None | 0 0
  1. -- Created by Nebula_Zorua --
  2. -- Empyreus --
  3. -- Mere Mortals. --
  4. -- You think you can stand a chance against PHAEDRA!? --
  5. -- If you want to get to The Overlord, you'll have to go through me. --
  6. -- Discord: Nebula the Zorua#6969
  7. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  8.  
  9. warn([[
  10. Dominus Empyreus
  11. Mere Mortals
  12. You think you can stand a chance against PHAEDRA?
  13. If you want to get to the Overlord, you'll have to go through me.
  14.  
  15. DOMINUS EMPYREUS.
  16. ]])
  17.  
  18. warn([[
  19. Nerfed version for showcasing
  20. ]])
  21. wait(1/60)
  22. --https://github.com/Mokiros/roblox-FE-compatibility
  23. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  24. local Player,game,owner = owner,game
  25. local RealPlayer = Player
  26. do
  27. print("FE Compatibility code by Mokiros")
  28. local rp = RealPlayer
  29. script.Parent = rp.Character
  30.  
  31. --RemoteEvent for communicating
  32. local Event = Instance.new("RemoteEvent")
  33. Event.Name = "UserInput_Event"
  34.  
  35. --Fake event to make stuff like Mouse.KeyDown work
  36. local function fakeEvent()
  37. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  38. t.connect = t.Connect
  39. return t
  40. end
  41.  
  42. --Creating fake input objects with fake variables
  43. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  44. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  45. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  46. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  47. end}
  48. --Merged 2 functions into one by checking amount of arguments
  49. CAS.UnbindAction = CAS.BindAction
  50.  
  51. --This function will trigger the events that have been :Connect()'ed
  52. local function te(self,ev,...)
  53. local t = m[ev]
  54. if t and t._fakeEvent then
  55. for _,f in pairs(t.Functions) do
  56. f(...)
  57. end
  58. end
  59. end
  60. m.TrigEvent = te
  61. UIS.TrigEvent = te
  62.  
  63. Event.OnServerEvent:Connect(function(plr,io)
  64. if plr~=rp then return end
  65. m.Target = io.Target
  66. m.Hit = io.Hit
  67. if not io.isMouse then
  68. local b = io.UserInputState == Enum.UserInputState.Begin
  69. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  70. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  71. end
  72. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  73. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  74. end
  75. for _,t in pairs(CAS.Actions) do
  76. for _,k in pairs(t.Keys) do
  77. if k==io.KeyCode then
  78. t.Function(t.Name,io.UserInputState,io)
  79. end
  80. end
  81. end
  82. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  83. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  84. end
  85. end)
  86. Event.Parent = NLS([==[
  87. local Player = game:GetService("Players").LocalPlayer
  88. local Event = script:WaitForChild("UserInput_Event")
  89.  
  90. local Mouse = Player:GetMouse()
  91. local UIS = game:GetService("UserInputService")
  92. local input = function(io,a)
  93. if a then return end
  94. --Since InputObject is a client-side instance, we create and pass table instead
  95. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  96. end
  97. UIS.InputBegan:Connect(input)
  98. UIS.InputEnded:Connect(input)
  99.  
  100. local h,t
  101. --Give the server mouse data 30 times every second, but only if the values changed
  102. --If player is not moving their mouse, client won't fire events
  103. while wait(1/30) do
  104. if h~=Mouse.Hit or t~=Mouse.Target then
  105. h,t=Mouse.Hit,Mouse.Target
  106. Event:FireServer({isMouse=true,Target=t,Hit=h})
  107. end
  108. end]==],Player.Character)
  109.  
  110. ----Sandboxed game object that allows the usage of client-side methods and services
  111. --Real game object
  112. local _rg = game
  113.  
  114. --Metatable for fake service
  115. local fsmt = {
  116. __index = function(self,k)
  117. local s = rawget(self,"_RealService")
  118. if s then
  119. return typeof(s[k])=="function"
  120. and function(_,...)return s[k](s,...)end or s[k]
  121. end
  122. end,
  123. __newindex = function(self,k,v)
  124. local s = rawget(self,"_RealService")
  125. if s then s[k]=v end
  126. end
  127. }
  128. local function FakeService(t,RealService)
  129. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  130. return setmetatable(t,fsmt)
  131. end
  132.  
  133. --Fake game object
  134. local g = {
  135. GetService = function(self,s)
  136. return rawget(self,s) or _rg:GetService(s)
  137. end,
  138. Players = FakeService({
  139. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  140. },"Players"),
  141. UserInputService = FakeService(UIS,"UserInputService"),
  142. ContextActionService = FakeService(CAS,"ContextActionService"),
  143. RunService = FakeService({
  144. _btrs = {},
  145. RenderStepped = _rg:GetService("RunService").Heartbeat,
  146. BindToRenderStep = function(self,name,_,fun)
  147. self._btrs[name] = self.Heartbeat:Connect(fun)
  148. end,
  149. UnbindFromRenderStep = function(self,name)
  150. self._btrs[name]:Disconnect()
  151. end,
  152. },"RunService")
  153. }
  154. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  155. g.service = g.GetService
  156. FakeService(g,game)
  157. --Changing owner to fake player object to support owner:GetMouse()
  158. game,owner = g,g.Players.LocalPlayer
  159. end
  160. --// Shortcut Variables \\--
  161. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  162. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  163. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  164. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  165. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  166. local R3 = {N=Region3.new}
  167. local De = S.Debris
  168. local WS = workspace
  169. local Lght = S.Lighting
  170. local RepS = S.ReplicatedStorage
  171. local IN = Instance.new
  172. local Plrs = S.Players
  173.  
  174. --// Initializing \\--
  175. local Plr = Plrs.LocalPlayer
  176. local Char = Plr.Character
  177. local Hum = Char:FindFirstChildOfClass'Humanoid'
  178. local RArm = Char["Right Arm"]
  179. local LArm = Char["Left Arm"]
  180. local RLeg = Char["Right Leg"]
  181. local LLeg = Char["Left Leg"]
  182. local Root = Char:FindFirstChild'HumanoidRootPart'
  183. local Torso = Char.Torso
  184. local Head = Char.Head
  185. local NeutralAnims = true
  186. local Attack = false
  187. local StillAura = false
  188. local Debounces = {Debounces={}}
  189. local Mouse = Plr:GetMouse()
  190. local Hit = {}
  191. local Sine = 0
  192. local Change = 1
  193. local BloodPuddles = {}
  194.  
  195. local Effects = IN("Folder",Char)
  196. Effects.Name = "Effects"
  197.  
  198.  
  199. --// Debounce System \\--
  200.  
  201.  
  202. function Debounces:New(name,cooldown)
  203. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  204. setmetatable(aaaaa,{__index = Debounces})
  205. Debounces.Debounces[name] = aaaaa
  206. return aaaaa
  207. end
  208.  
  209. function Debounces:Use(overrideUsable)
  210. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  211. if(self.Usable or overrideUsable)then
  212. self.Usable = false
  213. self.CoolingDown = true
  214. local LastUse = time()
  215. self.LastUse = LastUse
  216. delay(self.Cooldown or 2,function()
  217. if(self.LastUse == LastUse)then
  218. self.CoolingDown = false
  219. self.Usable = true
  220. end
  221. end)
  222. end
  223. end
  224.  
  225. function Debounces:Get(name)
  226. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  227. for i,v in next, Debounces.Debounces do
  228. if(i == name)then
  229. return v;
  230. end
  231. end
  232. end
  233.  
  234. function Debounces:GetProgressPercentage()
  235. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  236. if(self.CoolingDown and not self.Usable)then
  237. return math.max(
  238. math.floor(
  239. (
  240. (time()-self.LastUse)/self.Cooldown or 2
  241. )*100
  242. )
  243. )
  244. else
  245. return 100
  246. end
  247. end
  248.  
  249. --// Instance Creation Functions \\--
  250. local baseSound = IN("Sound")
  251. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  252. local Sound = baseSound:Clone()
  253. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  254. Sound.Pitch = pitch or 1
  255. Sound.Volume = volume or 1
  256. Sound.Looped = looped or false
  257. if(autoPlay)then
  258. coroutine.wrap(function()
  259. repeat wait() until Sound.IsLoaded
  260. Sound.Playing = autoPlay or false
  261. end)()
  262. end
  263. if(not looped and effect)then
  264. Sound.Stopped:connect(function()
  265. Sound.Volume = 0
  266. Sound:destroy()
  267. end)
  268. elseif(effect)then
  269. warn("Sound can't be looped and a sound effect!")
  270. end
  271. Sound.Parent =parent or Torso
  272. return Sound
  273. end
  274. function Part(parent,color,material,size,cframe,anchored,cancollide)
  275. local part = IN("Part")
  276. part.Parent = parent or Char
  277. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  278. part.Material = material or Enum.Material.SmoothPlastic
  279. part.TopSurface,part.BottomSurface=10,10
  280. part.Size = size or V3.N(1,1,1)
  281. part.CFrame = cframe or CF.N(0,0,0)
  282. part.CanCollide = cancollide or false
  283. part.Anchored = anchored or false
  284. return part
  285. end
  286.  
  287. function Weld(part0,part1,c0,c1)
  288. local weld = IN("Weld")
  289. weld.Parent = part0
  290. weld.Part0 = part0
  291. weld.Part1 = part1
  292. weld.C0 = c0 or CF.N()
  293. weld.C1 = c1 or CF.N()
  294. return weld
  295. end
  296.  
  297. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  298. local part = IN("SpecialMesh")
  299. part.MeshId = meshid or ""
  300. part.TextureId = textid or ""
  301. part.Scale = scale or V3.N(1,1,1)
  302. part.Offset = offset or V3.N(0,0,0)
  303. part.MeshType = meshtype or Enum.MeshType.Sphere
  304. part.Parent = parent
  305. return part
  306. end
  307.  
  308. NewInstance = function(instance,parent,properties)
  309. local inst = Instance.new(instance)
  310. inst.Parent = parent
  311. if(properties)then
  312. for i,v in next, properties do
  313. pcall(function() inst[i] = v end)
  314. end
  315. end
  316. return inst;
  317. end
  318.  
  319. function Clone(instance,parent,properties)
  320. local inst = instance:Clone()
  321. inst.Parent = parent
  322. if(properties)then
  323. for i,v in next, properties do
  324. pcall(function() inst[i] = v end)
  325. end
  326. end
  327. return inst;
  328. end
  329.  
  330. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  331. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  332. local Sound = IN("Sound")
  333. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  334. Sound.Pitch = pitch or 1
  335. Sound.Volume = volume or 1
  336. Sound.Looped = looped or false
  337. if(autoPlay)then
  338. coroutine.wrap(function()
  339. repeat wait() until Sound.IsLoaded
  340. Sound.Playing = autoPlay or false
  341. end)()
  342. end
  343. if(not looped and effect)then
  344. Sound.Stopped:connect(function()
  345. Sound.Volume = 0
  346. soundPart:destroy()
  347. end)
  348. elseif(effect)then
  349. warn("Sound can't be looped and a sound effect!")
  350. end
  351. Sound.Parent = soundPart
  352. return Sound
  353. end
  354.  
  355.  
  356. --// Extended ROBLOX tables \\--
  357. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  358. --// Require stuff \\--
  359.  
  360. local oScript = script;
  361. local script = Instance.new("LocalScript")
  362. local chold = {}
  363. for _,v in next, oScript:children() do
  364. v:Clone().Parent = script
  365. v:destroy()
  366. end
  367.  
  368. function CamShake(who,times,intense,origin)
  369. coroutine.wrap(function()
  370. if(script:FindFirstChild'CamShake')then
  371. local cam = script.CamShake:Clone()
  372. cam:WaitForChild'intensity'.Value = intense
  373. cam:WaitForChild'times'.Value = times
  374.  
  375. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  376. cam.Parent = who
  377. wait()
  378. cam.Disabled = false
  379. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  380. local intensity = intense
  381. if(Hum and not Hum:FindFirstChild'CamShaking')then
  382. local cam = workspace.CurrentCamera
  383. local oCO = Hum.CameraOffset
  384. local cs = Instance.new("BoolValue",Hum)
  385. cs.Name = "CamShaking"
  386. for i = 1, times do
  387. local camDistFromOrigin
  388. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  389. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.Position).magnitude )/25
  390. elseif(typeof(origin) == 'Vector3')then
  391. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin).magnitude )/25
  392. end
  393. if(camDistFromOrigin)then
  394. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  395. end
  396. --cam.CoordinateFrame = cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
  397. if(Hum)then
  398. Hum.CameraOffset = Vector3.new(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
  399. end
  400. swait()
  401. end
  402. if(Hum)then
  403. Hum.CameraOffset = oCO
  404. end
  405. cs:destroy()
  406. end
  407. end
  408. end)()
  409. end
  410.  
  411.  
  412. function CamShakeAll(times,intense,origin)
  413. for _,v in next, Plrs:players() do
  414. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  415. end
  416. end
  417.  
  418. function ServerScript(code)
  419. if(script:FindFirstChild'Loadstring')then
  420. local load = script.Loadstring:Clone()
  421. load:WaitForChild'Sauce'.Value = code
  422. load.Disabled = false
  423. load.Parent = workspace
  424. elseif(NS and typeof(NS) == 'function')then
  425. NS(code,workspace)
  426. else
  427. warn("no serverscripts lol")
  428. end
  429. end
  430.  
  431. function LocalOnPlayer(who,code)
  432. ServerScript([[
  433. wait()
  434. script.Parent=nil
  435. if(not _G.Http)then _G.Http = game:service'HttpService' end
  436.  
  437. local Http = _G.Http or game:service'HttpService'
  438.  
  439. local source = ]].."[["..code.."]]"..[[
  440. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  441. local asd = Http:PostAsync(link,source)
  442. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  443. local ID = Http:JSONDecode(asd).Result.Require_ID
  444. local vs = require(ID).VORTH_SCRIPT
  445. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  446. ]])
  447. end
  448.  
  449. function Nametag(color,tag)
  450. local r,g,b = C3.tRGB(color)
  451. local c3 = C3.RGB(r/2,g/2,b/2)
  452. local name = chold['Nametag']
  453. if(not name)then
  454. name = NewInstance("BillboardGui",nil,{MaxDistance=150,AlwaysOnTop=true,Active=false,Size=UDim2.new(5,0,1,0),SizeOffset=Vector2.new(0,6)})
  455. NewInstance("TextLabel",name,{Name='Title',BackgroundTransparency=1,Size=UDim2.new(2.5,0,1.5,0),Position=UDim2.new(-.75,0,0,0),Text=tag,Font=Enum.Font.Fantasy,TextColor3 = color,TextStrokeColor3 = c3,TextStrokeTransparency=0,TextSize=14,TextScaled=true,TextWrapped=true,})
  456. end
  457. name.Title.Text = tag
  458. name.Title.TextColor3 = color
  459. name.Title.TextStrokeColor3 = c3
  460.  
  461. name.Parent = Char
  462. name.Adornee = Head
  463. --name.PlayerToHideFrom = Plr
  464.  
  465. return name
  466. end
  467.  
  468. --// Customization \\--
  469.  
  470. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  471. local Remove_Hats = true
  472. local Remove_Clothing = true
  473. local PlayerSize = 1
  474. local DamageColor = BrickColor.new'Really black'
  475. local MusicID = 656434255
  476. local God = true
  477. local Muted = false
  478. local Power = 2
  479.  
  480. local WalkSpeed = 35
  481.  
  482. --// Weapon and GUI creation, and Character Customization \\--
  483.  
  484. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  485. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  486.  
  487. Head:ClearAllChildren()
  488. Head.Transparency = 1
  489. local headGay = Head:Clone();
  490. headGay:breakJoints();
  491. headGay.Parent = Head
  492. headGay.Transparency = 0
  493.  
  494. local headMesh = Mesh(headGay,Enum.MeshType.FileMesh,'rbxassetid://21057410','rbxassetid://72341770')
  495. Weld(headGay,Head)
  496.  
  497. if(PlayerSize ~= 1)then
  498. for _,v in next, Char:GetDescendants() do
  499. if(v:IsA'BasePart')then
  500. v.Size = v.Size * PlayerSize
  501. end
  502. end
  503. end
  504.  
  505. Hum.HipHeight = 2
  506. for _,v in next, Char:GetDescendants() do
  507. if(v:IsA'BasePart')then
  508. v.Material = Enum.Material.Neon
  509. end
  510. end
  511.  
  512. Nametag(C3.N(1,1,1),"Dominus VoidNess")
  513.  
  514. local Music = Sound(Char,MusicID,1,3,true,false,true)
  515. Music.Name = 'Music'
  516.  
  517. --// Stop animations \\--
  518. for _,v in next, Hum:GetPlayingAnimationTracks() do
  519. v:Stop();
  520. end
  521.  
  522. pcall(game.Destroy,Char:FindFirstChild'Animate')
  523. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  524.  
  525. --// Joints \\--
  526.  
  527. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  528. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  529. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  530. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  531. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  532. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  533.  
  534. local LSC0 = LS.C0
  535. local RSC0 = RS.C0
  536. local NKC0 = NK.C0
  537. local LHC0 = LH.C0
  538. local RHC0 = RH.C0
  539. local RJC0 = RJ.C0
  540.  
  541. local LSC1 = LS.C1
  542. local RSC1 = RS.C1
  543. local NKC1 = NK.C1
  544. local LHC1 = LH.C1
  545. local RHC1 = RH.C1
  546. local RJC1 = RJ.C1
  547. --// Artificial HB \\--
  548.  
  549. local ArtificialHB = IN("BindableEvent", script)
  550. ArtificialHB.Name = "Heartbeat"
  551.  
  552. script:WaitForChild("Heartbeat")
  553.  
  554. local tf = 0
  555. local allowframeloss = false
  556. local tossremainder = false
  557. local lastframe = tick()
  558. local frame = 1/Frame_Speed
  559. ArtificialHB:Fire()
  560.  
  561. game:GetService("RunService").Heartbeat:connect(function(s, p)
  562. tf = tf + s
  563. if tf >= frame then
  564. if allowframeloss then
  565. script.Heartbeat:Fire()
  566. lastframe = tick()
  567. else
  568. for i = 1, math.floor(tf / frame) do
  569. ArtificialHB:Fire()
  570. end
  571. lastframe = tick()
  572. end
  573. if tossremainder then
  574. tf = 0
  575. else
  576. tf = tf - frame * math.floor(tf / frame)
  577. end
  578. end
  579. end)
  580.  
  581. function swait(num)
  582. if num == 0 or num == nil then
  583. ArtificialHB.Event:wait()
  584. else
  585. for i = 0, num do
  586. ArtificialHB.Event:wait()
  587. end
  588. end
  589. end
  590.  
  591.  
  592. --// Effect Function(s) \\--
  593.  
  594. --Arc{Part=Orb,End=Torso.CFrame,Time=45,Height=45,Yield=false,DestroyEnd=true}
  595. function Arc(data)
  596. local Part = data.Part;
  597. local End = data.End or Torso.CFrame;
  598. local Time = data.Time or 45;
  599. local Height = data.Height or 45;
  600. local Yield = data.Yield or false;
  601. local Destroy = data.DestroyEnd or false;
  602.  
  603. local Direction = CF.N(Part.Position, End.p)
  604. local Distance = (Part.Position - End.p).magnitude
  605.  
  606. local function ArcGay()
  607. for i = 1, Time do
  608. Part.CFrame = Direction * CF.N(0,(Time/200+(Time/Height-i*2/Height)),-Distance/Time)
  609. Direction = Part.CFrame
  610. swait()
  611. end
  612. if(Destroy)then
  613. Part:destroy()
  614. end
  615. end
  616. if(Yield)then ArcGay() else coroutine.wrap(ArcGay)() end
  617. end
  618.  
  619. function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId,Axis)
  620. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
  621. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  622. local Scale = 1
  623. local speeder = Speed
  624. if(Type == "Multiply")then
  625. Scale = 1*Inc
  626. elseif(Type == "Divide")then
  627. Scale = 1/Inc
  628. end
  629. coroutine.wrap(function()
  630. for i = 0,10/Lifetime,.1 do
  631.  
  632. if(Type == "Multiply")then
  633. Scale = Scale - 0.01*Inc/Lifetime
  634. elseif(Type == "Divide")then
  635. Scale = Scale - 0.01/Inc*Lifetime
  636. end
  637. speeder = speeder - 0.01*Speed*Lifetime
  638. fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
  639. fxP.Transparency = fxP.Transparency + 0.01*Lifetime
  640. if(Axis == 'x')then
  641. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, 0, 0)
  642. elseif(Axis == 'y')then
  643. fxM.Scale = fxM.Scale + Vector3.new(0, Scale*Lifetime, 0)
  644. elseif(Axis == 'z')then
  645. fxM.Scale = fxM.Scale + Vector3.new(0, 0, Scale*Lifetime)
  646. elseif(Axis == 'xyz')then
  647. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,Scale*Lifetime,Scale*Lifetime)
  648. elseif(Axis == 'yz')then
  649. fxM.Scale = fxM.Scale + Vector3.new(0,Scale*Lifetime,Scale*Lifetime)
  650. elseif(Axis == 'xz')then
  651. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,0,Scale*Lifetime)
  652. else
  653. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0)
  654. end
  655. if(fxP.Transparency >= 1)then break end
  656. swait()
  657. end
  658. fxP:destroy()
  659. end)()
  660. return fxP
  661. end
  662.  
  663. --NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId)
  664. function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId)
  665. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
  666. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  667. local Scale = 1
  668. local speeder = Speed
  669. if(Type == "Multiply")then
  670. Scale = 1*Inc
  671. elseif(Type == "Divide")then
  672. Scale = 1/Inc
  673. end
  674. coroutine.wrap(function()
  675. for i = 0,10/Lifetime,.1 do
  676. if(Type == "Multiply")then
  677. Scale = Scale - 0.01*Inc/Lifetime
  678. elseif(Type == "Divide")then
  679. Scale = Scale - 0.01/Inc*Lifetime
  680. end
  681. if(Fade)then
  682. fxP.Transparency = i/(10/Lifetime)
  683. end
  684. speeder = speeder - 0.01*Speed*Lifetime/10
  685. fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
  686. fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
  687. swait()
  688. end
  689. fxP:destroy()
  690. end)()
  691. end
  692.  
  693. function Bezier(startpos, pos2, pos3, endpos, t)
  694. local A = startpos:lerp(pos2, t)
  695. local B = pos2:lerp(pos3, t)
  696. local C = pos3:lerp(endpos, t)
  697. local lerp1 = A:lerp(B, t)
  698. local lerp2 = B:lerp(C, t)
  699. local cubic = lerp1:lerp(lerp2, t)
  700. return cubic
  701. end
  702. function Puddle(hit,pos,norm,data)
  703. local material = data.Material or Enum.Material.SmoothPlastic
  704. local color = data.Color or BrickColor.new'Crimson'
  705. local size = data.Size or 1
  706.  
  707. if(hit.Name ~= 'BloodPuddle')then
  708. local Puddle = NewInstance('Part',workspace,{Material=material,BrickColor=color,Size=V3.N(size,.1,size),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
  709. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  710. BloodPuddles[Puddle] = 0
  711. else
  712. local cyl = hit:FindFirstChild'CylinderMesh'
  713. if(cyl)then
  714. BloodPuddles[hit] = 0
  715. cyl.Scale = cyl.Scale + V3.N(size,0,size)
  716. hit.Transparency = 0
  717. end
  718. end
  719. end
  720.  
  721. function Droplet(data)
  722. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  723. local Size = data.Size or 1
  724. local Color = data.Color or BrickColor.new'Crimson'
  725. local StudsPerFrame = data.Speed or 1
  726. local Shape = data.Shape or 'Ball'
  727. local Frames = (data.Frames or 160)+1
  728. local Pos = data.Origin or Root.CFrame
  729. local Direction = data.Direction or Root.CFrame.lookVector*100000
  730. local Material = data.Material or Enum.Material.SmoothPlastic
  731. local Drop = data.Drop or .05
  732. local Ignorelist = data.Ignorelist or nil
  733.  
  734. local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false)
  735. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  736. if(Shape == 'Ball')then
  737. BMesh.MeshType = Enum.MeshType.Sphere
  738. elseif(Shape == 'Head')then
  739. BMesh.MeshType = Enum.MeshType.Head
  740. elseif(Shape == 'Cylinder')then
  741. BMesh.MeshType = Enum.MeshType.Cylinder
  742. end
  743.  
  744. coroutine.wrap(function()
  745. for i = 1, Frames do
  746. Pos = Pos * CF.N(0,-(Drop*i),0)
  747. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame)
  748. if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then
  749. Puddle(hit,pos,norm,data)
  750. break;
  751. else
  752. Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i))
  753. end
  754. swait()
  755. end
  756. Bullet:destroy()
  757. end)()
  758. end
  759.  
  760. function SphereFX(duration,color,scale,pos,endScale,increment)
  761. return Effect{
  762. Effect='ResizeAndFade',
  763. Color=color,
  764. Size=scale,
  765. Mesh={MeshType=Enum.MeshType.Sphere},
  766. CFrame=pos,
  767. FXSettings={
  768. EndSize=endScale,
  769. EndIsIncrement=increment
  770. }
  771. }
  772. end
  773.  
  774. function BlastFX(duration,color,scale,pos,endScale,increment)
  775. return Effect{
  776. Effect='ResizeAndFade',
  777. Color=color,
  778. Size=scale,
  779. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  780. CFrame=pos,
  781. FXSettings={
  782. EndSize=endScale,
  783. EndIsIncrement=increment
  784. }
  785. }
  786. end
  787.  
  788. function BlockFX(duration,color,scale,pos,endScale,increment)
  789. return Effect{
  790. Effect='ResizeAndFade',
  791. Color=color,
  792. Size=scale,
  793. CFrame=pos,
  794. FXSettings={
  795. EndSize=endScale,
  796. EndIsIncrement=increment
  797. }
  798. }
  799. end
  800.  
  801. function ShootBullet(data)
  802. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  803. local Size = data.Size or V3.N(2,2,2)
  804. local Color = data.Color or BrickColor.new'Crimson'
  805. local StudsPerFrame = data.Speed or 10
  806. local Shape = data.Shape or 'Ball'
  807. local Frames = data.Frames or 160
  808. local Pos = data.Origin or Torso.CFrame
  809. local Direction = data.Direction or Mouse.Hit
  810. local Material = data.Material or Enum.Material.Neon
  811. local OnHit = data.HitFunction or function(hit,pos)
  812. Effect{
  813. Effect='ResizeAndFade',
  814. Color=Color,
  815. Size=V3.N(10,10,10),
  816. Mesh={MeshType=Enum.MeshType.Sphere},
  817. CFrame=CF.N(pos),
  818. FXSettings={
  819. EndSize=V3.N(.05,.05,.05),
  820. EndIsIncrement=true
  821. }
  822. }
  823. for i = 1, 5 do
  824. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  825. Effect{
  826. Effect='Fade',
  827. Frames=65,
  828. Size=V3.N(5,5,10),
  829. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  830. Mesh = {MeshType=Enum.MeshType.Sphere},
  831. Material=Enum.Material.Neon,
  832. Color=Color,
  833. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  834. }
  835. end
  836. end
  837.  
  838. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  839. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  840. if(Shape == 'Ball')then
  841. BMesh.MeshType = Enum.MeshType.Sphere
  842. elseif(Shape == 'Head')then
  843. BMesh.MeshType = Enum.MeshType.Head
  844. elseif(Shape == 'Cylinder')then
  845. BMesh.MeshType = Enum.MeshType.Cylinder
  846. end
  847.  
  848. coroutine.wrap(function()
  849. for i = 0, Frames do
  850. Bullet.Size = Bullet.Size-V3.N(1/Frames,1/Frames,1/Frames)
  851. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  852. if(hit)then
  853. OnHit(hit,pos,Bullet.Size.x,norm,dist)
  854. break;
  855. else
  856. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  857. end
  858. swait()
  859. end
  860. Bullet:destroy()
  861. end)()
  862.  
  863. end
  864.  
  865.  
  866. function Zap(data)
  867. local sCF,eCF = data.StartCFrame,data.EndCFrame
  868. assert(sCF,"You need a start CFrame!")
  869. assert(eCF,"You need an end CFrame!")
  870. local parts = data.PartCount or 15
  871. local zapRot = data.ZapRotation or {-5,5}
  872. local startThick = data.StartSize or 3;
  873. local endThick = data.EndSize or startThick/2;
  874. local color = data.Color or BrickColor.new'Electric blue'
  875. local delay = data.Delay or 35
  876. local delayInc = data.DelayInc or 0
  877. local lastLightning;
  878. local MagZ = (sCF.p - eCF.p).magnitude
  879. local thick = startThick
  880. local inc = (startThick/parts)-(endThick/parts)
  881.  
  882. for i = 1, parts do
  883. local pos = sCF.p
  884. if(lastLightning)then
  885. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  886. end
  887. delay = delay + delayInc
  888. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  889. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  890. if(parts == i)then
  891. local MagZ = (pos-eCF.p).magnitude
  892. zapPart.Size = V3.N(endThick,endThick,MagZ)
  893. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  894. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  895. else
  896. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  897. end
  898.  
  899. lastLightning = zapPart
  900. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  901.  
  902. thick=thick-inc
  903.  
  904. end
  905. end
  906.  
  907. --Zap2{Color=BrickColor.new'Electric blue',Start=Torso.Position,End=Mouse.Hit.p,SegL=2,Thickness=.5,Fade=45,MaxDist=200,Branches=false,Material=Enum.Material.Neon,Raycasts=false,Mesh=false}
  908.  
  909. function Zap2(data)
  910. local Color = data.Color or BrickColor.new'Electric blue'
  911. local StartPos = data.Start or Torso.Position
  912. local EndPos = data.End or Mouse.Hit.p
  913. local SegLength = data.SegL or 2
  914. local Thicc = (data.Thickness or 0.5)+(Power/8)
  915. local Fades = data.Fade or 45
  916. local Parent = data.Parent or Effects
  917. local MaxD = data.MaxDist or 200
  918. local Branch = data.Branches or false
  919. local Material = data.Material or Enum.Material.Neon
  920. local Raycasts = data.Raycasts or false
  921. local Offset = data.Offset or {0,360}
  922. local SizeDec = data.SizeDec or false;
  923. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  924. if((StartPos-EndPos).magnitude > MaxD)then
  925. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  926. end
  927. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  928. if(Raycasts)then
  929. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  930. EndPos = pos
  931. end
  932.  
  933. local segments = dist/SegLength
  934. local model = IN("Model",Parent)
  935. model.Name = 'Lightning'
  936. local Last;
  937. for i = 1, segments do
  938. local size = 0
  939. if(SizeDec)then
  940. size = (segments-i)/25
  941. end
  942. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  943. if(AddMesh)then IN("CylinderMesh",prt) end
  944. if(Last and math.floor(segments) == i)then
  945. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  946. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  947. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  948. elseif(not Last)then
  949. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  950. else
  951. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  952. end
  953. Last = prt
  954. if(Branch)then
  955. local choice = M.RNG(1,7+((segments-i)*2))
  956. if(choice == 1)then
  957. local LastB;
  958. for i2 = 1,M.RNG(2,5) do
  959. local size2 = ((segments-i)/35)/i2
  960. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  961. if(AddMesh)then IN("CylinderMesh",prt) end
  962. if(not LastB)then
  963. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  964. else
  965. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  966. end
  967. LastB = prt
  968. end
  969. end
  970. end
  971. end
  972. if(Fades > 0)then
  973. coroutine.wrap(function()
  974. for i = 1, Fades do
  975. for _,v in next, model:children() do
  976. if(v:IsA'BasePart')then
  977. v.Transparency = (i/Fades)
  978. end
  979. end
  980. swait()
  981. end
  982. model:destroy()
  983. end)()
  984. else
  985. S.Debris:AddItem(model,.01)
  986. end
  987. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  988. end
  989.  
  990. function Tween(obj,props,time,easing,direction,repeats,backwards)
  991. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  992. local tween = S.TweenService:Create(obj, info, props)
  993.  
  994. tween:Play()
  995. end
  996.  
  997. function Effect(data)
  998. local FX = data.Effect or 'ResizeAndFade'
  999. local Parent = data.Parent or Effects
  1000. local Color = data.Color or C3.N(0,0,0)
  1001. local Size = data.Size or V3.N(1,1,1)
  1002. local MoveDir = data.MoveDirection or nil
  1003. local MeshData = data.Mesh or nil
  1004. local SndData = data.Sound or nil
  1005. local Frames = data.Frames or 45
  1006. local Manual = data.Manual or nil
  1007. local Material = data.Material or nil
  1008. local CFra = data.CFrame or Torso.CFrame
  1009. local Settings = data.FXSettings or {}
  1010. local Shape = data.Shape or Enum.PartType.Block
  1011. local Snd,Prt,Msh;
  1012. local RotInc = data.RotInc or {0,0,0}
  1013. if(typeof(RotInc) == 'number')then
  1014. RotInc = {RotInc,RotInc,RotInc}
  1015. end
  1016. coroutine.wrap(function()
  1017. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  1018. Prt = Manual
  1019. else
  1020. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  1021. Prt.Shape = Shape
  1022. end
  1023. if(typeof(MeshData) == 'table')then
  1024. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1025. elseif(typeof(MeshData) == 'Instance')then
  1026. Msh = MeshData:Clone()
  1027. Msh.Parent = Prt
  1028. elseif(Shape == Enum.PartType.Block)then
  1029. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1030. end
  1031. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  1032. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1033. end
  1034. if(Snd)then
  1035. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1036. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1037. end
  1038. Size = (Msh and Msh.Scale or Size)
  1039. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  1040.  
  1041. local MoveSpeed = nil;
  1042. if(MoveDir)then
  1043. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1044. end
  1045. if(FX ~= 'Arc')then
  1046. for Frame = 1, Frames do
  1047. if(FX == "Fade")then
  1048. Prt.Transparency = (Frame/Frames)
  1049. elseif(FX == "Resize")then
  1050. if(not Settings.EndSize)then
  1051. Settings.EndSize = V3.N(0,0,0)
  1052. end
  1053. if(Settings.EndIsIncrement)then
  1054. if(Msh)then
  1055. Msh.Scale = Msh.Scale + Settings.EndSize
  1056. else
  1057. Prt.Size = Prt.Size + Settings.EndSize
  1058. end
  1059. else
  1060. if(Msh)then
  1061. Msh.Scale = Msh.Scale - grow/Frames
  1062. else
  1063. Prt.Size = Prt.Size - grow/Frames
  1064. end
  1065. end
  1066. elseif(FX == "ResizeAndFade")then
  1067. if(not Settings.EndSize)then
  1068. Settings.EndSize = V3.N(0,0,0)
  1069. end
  1070. if(Settings.EndIsIncrement)then
  1071. if(Msh)then
  1072. Msh.Scale = Msh.Scale + Settings.EndSize
  1073. else
  1074. Prt.Size = Prt.Size + Settings.EndSize
  1075. end
  1076. else
  1077. if(Msh)then
  1078. Msh.Scale = Msh.Scale - grow/Frames
  1079. else
  1080. Prt.Size = Prt.Size - grow/Frames
  1081. end
  1082. end
  1083. Prt.Transparency = (Frame/Frames)
  1084. end
  1085. if(Settings.RandomizeCFrame)then
  1086. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1087. else
  1088. Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc))
  1089. end
  1090. if(MoveDir and MoveSpeed)then
  1091. local Orientation = Prt.Orientation
  1092. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1093. Prt.Orientation = Orientation
  1094. end
  1095. swait()
  1096. end
  1097. Prt:destroy()
  1098. else
  1099. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1100. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1101. if(start and endP)then
  1102. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1103. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1104. for Frame = 0, 1, (Settings.Speed or 0.01) do
  1105. if(Settings.Home)then
  1106. endP = Settings.Home.CFrame
  1107. end
  1108. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  1109. end
  1110. if(Settings.RemoveOnGoal)then
  1111. Prt:destroy()
  1112. end
  1113. else
  1114. Prt:destroy()
  1115. assert(start,"You need a start position!")
  1116. assert(endP,"You need a start position!")
  1117. end
  1118. end
  1119. end)()
  1120. return Prt,Msh,Snd
  1121. end
  1122. function SoulSteal(whom)
  1123. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  1124. print(torso)
  1125. if(torso and torso:IsA'BasePart')then
  1126. local Model = Instance.new("Model",Effects)
  1127. Model.Name = whom.Name.."'s Soul"
  1128. whom:BreakJoints()
  1129. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  1130. Soul.Name = 'Head'
  1131. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  1132. Effect{
  1133. Effect="Arc",
  1134. Manual = Soul,
  1135. FXSettings={
  1136. Start=torso.CFrame,
  1137. Home = Torso,
  1138. RemoveOnGoal = true,
  1139. }
  1140. }
  1141. local lastPoint = Soul.CFrame.p
  1142.  
  1143. for i = 0, 1, 0.01 do
  1144. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  1145. local mag = (lastPoint - Soul.Position).magnitude
  1146. Effect{
  1147. Effect = "Fade",
  1148. CFrame = point * CF.N(0, mag/2, 0),
  1149. Size = V3.N(.5,mag+.5,.5),
  1150. Color = Soul.BrickColor
  1151. }
  1152. lastPoint = Soul.CFrame.p
  1153. swait()
  1154. end
  1155. for i = 1, 5 do
  1156. Effect{
  1157. Effect="Fade",
  1158. Color = BrickColor.new'Really red',
  1159. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  1160. }
  1161. end
  1162. end
  1163. end
  1164.  
  1165. --// Other Functions \\ --
  1166.  
  1167. function CastRay(startPos,endPos,range,ignoreList)
  1168. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  1169. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  1170. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1171. end
  1172.  
  1173. function getRegion(point,range,ignore)
  1174. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1175. end
  1176.  
  1177. function clerp(startCF,endCF,alpha)
  1178. return startCF:lerp(endCF, alpha)
  1179. end
  1180.  
  1181. function GetTorso(char)
  1182. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1183. end
  1184.  
  1185.  
  1186. function ShowDamage(Pos, Text, Time, Color)
  1187. coroutine.wrap(function()
  1188. local Rate = (1 / Frame_Speed)
  1189. local Pos = (Pos or Vector3.new(0, 0, 0))
  1190. local Text = (Text or "")
  1191. local Time = (Time or 2)
  1192. local Color = (Color or Color3.new(1, 0, 1))
  1193. local EffectPart = NewInstance("Part",Effects,{
  1194. Material=Enum.Material.SmoothPlastic,
  1195. Reflectance = 0,
  1196. Transparency = 1,
  1197. BrickColor = BrickColor.new(Color),
  1198. Name = "Effect",
  1199. Size = Vector3.new(0,0,0),
  1200. Anchored = true,
  1201. CFrame = CF.N(Pos)
  1202. })
  1203. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1204. Size = UDim2.new(1.25, 0, 1.25, 0),
  1205. Adornee = EffectPart,
  1206. })
  1207. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1208. BackgroundTransparency = 1,
  1209. Size = UDim2.new(1, 0, 1, 0),
  1210. Text = Text,
  1211. Font = "Bodoni",
  1212. TextColor3 = Color,
  1213. TextStrokeColor3 = Color3.new(0,0,0),
  1214. TextStrokeTransparency=0,
  1215. TextScaled = true,
  1216. })
  1217. S.Debris:AddItem(EffectPart, (Time))
  1218. EffectPart.Parent = workspace
  1219. delay(0, function()
  1220. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  1221. local Frames = (Time / Rate)
  1222. for Frame = 1, Frames do
  1223. swait()
  1224. local Percent = (Frame / Frames)
  1225. TextLabel.TextTransparency = Percent
  1226. TextLabel.TextStrokeTransparency = Percent
  1227. end
  1228. if EffectPart and EffectPart.Parent then
  1229. EffectPart:Destroy()
  1230. end
  1231. end) end)()
  1232. end
  1233.  
  1234. function DustMeDaddy(whom,hum)
  1235. local stop = script:FindFirstChild('StopRetaliating') and script:FindFirstChild('StopRetaliating'):Clone();
  1236. if(stop and S.Players:GetPlayerFromCharacter(whom))then
  1237. stop.Disabled = false
  1238. stop.Parent = whom
  1239. end
  1240. whom:breakJoints()
  1241. pcall(function()
  1242. for _,v in next, whom:children() do
  1243. if(v:IsA'BasePart')then
  1244. v:breakJoints()
  1245. v.Parent = Effects
  1246. v:ClearAllChildren()
  1247. v.CanCollide = false
  1248. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1249. v.Anchored = false
  1250. local dustT = NewInstance("ParticleEmitter",v,{
  1251. Color = ColorSequence.new(C3.N(1,1,1)),
  1252. LightEmission=0,
  1253. LightInfluence=1,
  1254. Size=NumberSequence.new(1,0),
  1255. Texture="rbxassetid://284205403",
  1256. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(.9,0,0),NumberSequenceKeypoint.new(1,1,0)},
  1257. Lifetime = NumberRange.new(.25,3),
  1258. Rate=150,
  1259. Acceleration=V3.N(0,0,0),
  1260. Speed = NumberRange.new(0),
  1261. Enabled = true
  1262. })
  1263. v.Color = C3.N(1,1,1)
  1264. v.Material = Enum.Material.Neon
  1265. local bv = NewInstance('BodyVelocity',v,{MaxForce=V3.N(50,50,50),P=2500,Velocity=V3.N(0,50,0)})
  1266. v.Transparency = .25
  1267. delay(3, function()
  1268. bv.Velocity = V3.N(M.RNG(-75,75),0,M.RNG(-75,75))
  1269. dustT.Enabled = false
  1270. Tween(v,{Transparency=1},2)
  1271. S.Debris:AddItem(v,3)
  1272. end)
  1273. end
  1274. end
  1275. end)
  1276. end
  1277.  
  1278. function DealDamage(data)
  1279. local Who = data.Who;
  1280. local MinDam = data.MinimumDamage or 15;
  1281. local MaxDam = data.MaximumDamage or 30;
  1282. local MaxHP = data.MaxHP or 1e5;
  1283.  
  1284. local DB = data.Debounce or .2;
  1285.  
  1286. local CritData = data.Crit or {}
  1287. local CritChance = CritData.Chance or 5;
  1288. local CritMultiplier = CritData.Multiplier or 2;
  1289.  
  1290. local DamageEffects = data.DamageFX or {}
  1291. local DamageType = DamageEffects.Type or "Normal"
  1292. local DeathFunction = DamageEffects.DeathFunction or DustMeDaddy
  1293.  
  1294. assert(Who,"Specify someone to damage!")
  1295.  
  1296. local Humanoid = Who:FindFirstChildOfClass'Humanoid'
  1297. local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
  1298.  
  1299. local canHit = true
  1300. if(Humanoid)then
  1301. for _, p in pairs(Hit) do
  1302. if p[1] == Humanoid then
  1303. if(time() - p[2] <= DB) then
  1304. canHit = false
  1305. else
  1306. Hit[_] = nil
  1307. end
  1308. end
  1309. end
  1310. if(canHit)then
  1311. table.insert(Hit,{Humanoid,time()})
  1312. local HitTorso = GetTorso(Who)
  1313. local player = S.Players:GetPlayerFromCharacter(Who)
  1314. if(Humanoid.Health > 0 and (not player or player.UserId ~= 5719877 and player.UserId ~= 19081129))then
  1315. if(Humanoid.MaxHealth >= MaxHP)then
  1316. print'Got kill'
  1317. local stop = script:FindFirstChild('StopRetaliating') and script:FindFirstChild('StopRetaliating'):Clone();
  1318. if(stop and S.Players:GetPlayerFromCharacter(Who))then
  1319. stop.Disabled = false
  1320. stop.Parent = Who
  1321. end
  1322. Humanoid.Health = 0;
  1323. Who:BreakJoints();
  1324. if(DeathFunction)then DeathFunction(Who,Humanoid) end
  1325. for i = 1, 5 do NoobySphere(1,0,'Multiply',HitTorso.CFrame*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)),V3.N(HitTorso.Size.x/2,2,HitTorso.Size.y/2),.25,DamageColor,0,nil,'y') end
  1326. if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
  1327. ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, DamageColor.Color)
  1328. end
  1329. else
  1330. local c = Instance.new("ObjectValue",Hum)
  1331. c.Name = "creator"
  1332. c.Value = Plr
  1333. S.Debris:AddItem(c,0.35)
  1334. if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
  1335. ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), DoneDamage, 1.5, DamageColor.Color)
  1336. end
  1337. if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then
  1338. local stop = script:FindFirstChild('StopRetaliating') and script:FindFirstChild('StopRetaliating'):Clone();
  1339. if(stop and S.Players:GetPlayerFromCharacter(Who))then
  1340. stop.Disabled = false
  1341. stop.Parent = Who
  1342. end
  1343. print'Got kill'
  1344. if(DeathFunction)then DeathFunction(Who,Humanoid) end
  1345. end
  1346. Humanoid.Health = Humanoid.Health - DoneDamage
  1347.  
  1348. if(DamageType == 'Knockback' and HitTorso)then
  1349. local up = DamageEffects.KnockUp or 25
  1350. local back = DamageEffects.KnockBack or 25
  1351. local origin = DamageEffects.Origin or Root
  1352. local decay = DamageEffects.Decay or .5;
  1353.  
  1354. local bfos = Instance.new("BodyVelocity",HitTorso)
  1355. bfos.P = 20000
  1356. bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1357. bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
  1358. S.Debris:AddItem(bfos,decay)
  1359. end
  1360. end
  1361. end
  1362. end
  1363. end
  1364. end
  1365.  
  1366. function AOEDamage(where,range,options)
  1367. local hit = {}
  1368. for _,v in next, getRegion(where,range,{Char}) do
  1369. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
  1370. local callTable = {Who=v.Parent}
  1371. hit[v.Parent] = true
  1372. for _,v in next, options do callTable[_] = v end
  1373. DealDamage(callTable)
  1374. end
  1375. end
  1376. return hit
  1377. end
  1378.  
  1379. function AOEHeal(where,range,amount)
  1380. local healed = {}
  1381. for _,v in next, getRegion(where,range,{Char}) do
  1382. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1383. if(hum and not healed[hum])then
  1384. hum.Health = hum.Health + amount
  1385. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1386. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  1387. end
  1388. end
  1389. end
  1390. end
  1391.  
  1392. function Transgendercy(bigHomo,trans)
  1393. for _,v in next, bigHomo do
  1394. v.Transparency = trans
  1395. end
  1396. end
  1397.  
  1398.  
  1399. function Smite()
  1400. Attack = true
  1401. NeutralAnims = false
  1402. StillAura = true
  1403. --Zap2{Color=BrickColor.new'Electric blue',Start=Torso.Position,End=Mouse.Hit.p,SegL=2,Thickness=.5,Fade=45,MaxDist=200,Branches=false,Material=Enum.Material.Neon,Raycasts=false,Mesh=false}
  1404. for i = 0, 3, 0.1 do
  1405. swait()
  1406. local Alpha = .1
  1407. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1408. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1409. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(180),M.R(-15),0),.3)
  1410. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(45),0,M.R(25+5*M.S(Sine / 12))),Alpha)
  1411. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-14+7*M.C(Sine/12)),0,M.R(-2-3*M.C(Sine/12))),Alpha)
  1412. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(2+3*M.S(Sine / 12)),0,0),Alpha)
  1413. end
  1414.  
  1415. for i = 0, 360, 15 do
  1416. NoobyBlock(3,.02,'Multiply',CF.N(LArm.CFrame*CF.N(0,-5,0).p,Mouse.Hit.p)*CF.A(M.R(-90),0,0)*CF.A(0,M.R(i),0)*CF.N(0,0,-1),V3.N(.5,.5,.5),.005,C3.N(1,1,1),0,false)
  1417. end
  1418.  
  1419. local data = Zap2{Thickness=.5,Color=BrickColor.new'Institutional white',Start=LArm.CFrame*CF.N(0,-5,0)*CF.A(M.R(-90),M.R(15),0).p,End=Mouse.Hit.p,Raycasts=true,Branches=true}
  1420. NoobySphere(2,0,'Multiply',CF.N(data.End),V3.N(2+(Power/8),2+(Power/8),2+(Power/8)),.1,C3.N(1,1,1),0,nil,'xyz')
  1421. AOEDamage(data.End,4+(Power/4),{MinimumDamage=35+(Power*2),MaximumDamage=75+(Power*2)})
  1422. for i = 0, 3, .1 do
  1423. swait()
  1424. local Alpha = .1
  1425. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1426. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1427. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(90),M.R(-15),0),.3)
  1428. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(45),0,M.R(25+5*M.S(Sine / 12))),Alpha)
  1429. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-14+7*M.C(Sine/12)),0,M.R(-2-3*M.C(Sine/12))),Alpha)
  1430. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(2+3*M.S(Sine / 12)),0,0),Alpha)
  1431. end
  1432. StillAura = false
  1433. NeutralAnims = true
  1434. Attack = false
  1435. end
  1436.  
  1437.  
  1438. function DivinePillarsWeak()
  1439. Attack = true
  1440. NeutralAnims = false
  1441. for i = 0, 1, .1 do
  1442. local Alpha = .3
  1443. RJ.C0 = RJ.C0:lerp(CFrame.new(1.90744663e-06, -0.0605495758, -0.242483646, 0.999999464, 2.28155228e-09, 2.30000963e-10, 2.15368345e-09, 0.868468583, 0.495746791, -9.31322575e-10, -0.495746434, 0.868467569),Alpha)
  1444. LH.C0 = LH.C0:lerp(CFrame.new(-0.4791466, -1.00222135, 0.0076261349, 0.974867105, 0.149800956, 0.164905474, -0.147702232, 0.988716304, -0.0249875188, -0.166787878, 2.59280205e-06, 0.985992908),Alpha)
  1445. RH.C0 = RH.C0:lerp(CFrame.new(0.34172827, -0.405363262, -0.444002807, 0.916409314, -0.156604216, -0.368333012, 0.243641883, 0.948393404, 0.202950239, 0.317541718, -0.275726885, 0.907271862),Alpha)
  1446. LS.C0 = LS.C0:lerp(CFrame.new(-1.12974548, 0.334748656, -0.255070955, 0.86602509, -0.500000715, -3.48429012e-07, 0.386642575, 0.669683754, -0.634059489, 0.31703043, 0.549111307, 0.773284435),Alpha)
  1447. RS.C0 = RS.C0:lerp(CFrame.new(1.18026733, 0.334748596, -0.255071014, 0.86602509, 0.500000715, 3.48429012e-07, -0.386642575, 0.669683754, -0.634059489, -0.31703043, 0.549111307, 0.773284435),Alpha)
  1448. NK.C0 = NK.C0:lerp(CFrame.new(8.52872618e-05, 1.49900234, -0.00497905165, 0.999878228, 0.000900022686, -0.0155851748, -2.49035656e-06, 0.998345971, 0.057493329, 0.0156111429, -0.0574862957, 0.998224378),Alpha)
  1449. swait()
  1450. end
  1451. coroutine.wrap(function()
  1452. local gay = Root.CFrame
  1453. local start = 15
  1454. local reallyGay = .5*(Power-1)
  1455. for i = 0, 4+reallyGay do
  1456. swait()
  1457. for x = -start,start,start do
  1458. local pos = gay*CF.N(x,0,-8)*CF.N(0,0,-(i*10))
  1459. start = start + 2
  1460. local h,p = workspace:FindPartOnRay(Ray.new(pos.p,((CF.N(pos.p,pos.p - V3.N(0,1,0))).lookVector).unit * 16), Char)
  1461. CamShakeAll(15,100+(reallyGay*100),p)
  1462. NoobySphere(3,0,'Multiply',CF.N(p),V3.N(5+reallyGay,12.5,5+reallyGay),.5,C3.N(1,1,1),0,nil,'y')
  1463. NoobySphere(3,0,'Multiply',CF.N(p),V3.N(7+reallyGay,.25,7+reallyGay),.2,C3.N(1,1,1),0,nil,'xz')
  1464. AOEDamage(p,10+(reallyGay*2),{MinimumDamage=15+(reallyGay*5),MaximumDamage=45+(reallyGay*5)})
  1465. end
  1466. end
  1467. end)()
  1468. for i = 0, 1, 0.1 do
  1469. swait()
  1470. local Alpha = .3
  1471. RJ.C0 = RJ.C0:lerp(CFrame.new(1.9065468e-06, -0.328368425, 0.120930381, 0.999999464, 6.98676228e-10, -2.18408625e-09, 2.15368345e-09, 0.665252686, -0.74661994, -9.31322575e-10, 0.746618986, 0.66525209),Alpha)
  1472. LH.C0 = LH.C0:lerp(CFrame.new(-0.479144096, -0.841781974, 0.0717146397, 0.974867344, 0.149801731, 0.164903864, -0.206288055, 0.886496186, 0.414209872, -0.0841372982, -0.437817276, 0.895118535),Alpha)
  1473. RH.C0 = RH.C0:lerp(CFrame.new(0.341723979, -0.70075196, -0.909261882, 0.916408718, -0.156607822, -0.368332833, 0.37586391, 0.653009117, 0.657499552, 0.137555093, -0.74098134, 0.657286465),Alpha)
  1474. LS.C0 = LS.C0:lerp(CFrame.new(-1.12974322, 0.700168073, -0.331798345, 0.866024196, -0.500002086, -1.9403808e-06, -0.336109906, -0.58215344, -0.740356505, 0.37017861, 0.641167343, -0.672214687),Alpha)
  1475. RS.C0 = RS.C0:lerp(CFrame.new(1.18027234, 0.700168073, -0.331798226, 0.866024196, 0.500002086, 1.9403808e-06, 0.336109906, -0.58215344, -0.740356505, -0.37017861, 0.641167343, -0.672214687),Alpha)
  1476. NK.C0 = NK.C0:lerp(CFrame.new(8.48525669e-05, 1.49900389, -0.00498836488, 0.999878228, 0.000899539154, -0.0155825512, -2.11317092e-06, 0.998345733, 0.0574962795, 0.0156084942, -0.0574892461, 0.998224139),Alpha)
  1477. end
  1478. Attack = false
  1479. NeutralAnims = true
  1480. end
  1481.  
  1482. function DivinePillars()
  1483. Attack = true
  1484. NeutralAnims = false
  1485. for i = 0, 1, .1 do
  1486. local Alpha = .3
  1487. RJ.C0 = RJ.C0:lerp(CFrame.new(1.90744663e-06, -0.0605495758, -0.242483646, 0.999999464, 2.28155228e-09, 2.30000963e-10, 2.15368345e-09, 0.868468583, 0.495746791, -9.31322575e-10, -0.495746434, 0.868467569),Alpha)
  1488. LH.C0 = LH.C0:lerp(CFrame.new(-0.4791466, -1.00222135, 0.0076261349, 0.974867105, 0.149800956, 0.164905474, -0.147702232, 0.988716304, -0.0249875188, -0.166787878, 2.59280205e-06, 0.985992908),Alpha)
  1489. RH.C0 = RH.C0:lerp(CFrame.new(0.34172827, -0.405363262, -0.444002807, 0.916409314, -0.156604216, -0.368333012, 0.243641883, 0.948393404, 0.202950239, 0.317541718, -0.275726885, 0.907271862),Alpha)
  1490. LS.C0 = LS.C0:lerp(CFrame.new(-1.12974548, 0.334748656, -0.255070955, 0.86602509, -0.500000715, -3.48429012e-07, 0.386642575, 0.669683754, -0.634059489, 0.31703043, 0.549111307, 0.773284435),Alpha)
  1491. RS.C0 = RS.C0:lerp(CFrame.new(1.18026733, 0.334748596, -0.255071014, 0.86602509, 0.500000715, 3.48429012e-07, -0.386642575, 0.669683754, -0.634059489, -0.31703043, 0.549111307, 0.773284435),Alpha)
  1492. NK.C0 = NK.C0:lerp(CFrame.new(8.52872618e-05, 1.49900234, -0.00497905165, 0.999878228, 0.000900022686, -0.0155851748, -2.49035656e-06, 0.998345971, 0.057493329, 0.0156111429, -0.0574862957, 0.998224378),Alpha)
  1493. swait()
  1494. end
  1495. coroutine.wrap(function()
  1496. local reallyGay = Power-6
  1497. local gay = Root.CFrame
  1498. for i = 0, 9+reallyGay do
  1499. swait()
  1500. local pos = gay*CF.N(0,0,-8)*CF.N(0,0,-(i*(15+reallyGay)))
  1501. local h,p = workspace:FindPartOnRay(Ray.new(pos.p,((CF.N(pos.p,pos.p - V3.N(0,1,0))).lookVector).unit * 16), Char)
  1502. CamShakeAll(15,200+(reallyGay*200),p)
  1503. local size = V3.N(10+reallyGay,25,10+reallyGay)
  1504. NoobySphere(5,0,'Multiply',CF.N(p),size,.5,C3.N(1,1,1),0,nil,'y')
  1505. NoobySphere(5,0,'Multiply',CF.N(p),size+V3.N(2,(-size.y)+.5,2),.2,C3.N(1,1,1),0,nil,'xz')
  1506. NoobySphere(8,0,'Multiply',CF.N(p),size+V3.N(2,2,2),.25,C3.N(1,1,1),0,nil,'xyz')
  1507. AOEDamage(p,20+(reallyGay*2),{MinimumDamage=35+(reallyGay*2),MaximumDamage=65+(reallyGay*2)})
  1508. end
  1509. end)()
  1510. for i = 0, 1, 0.1 do
  1511. swait()
  1512. local Alpha = .3
  1513. RJ.C0 = RJ.C0:lerp(CFrame.new(1.9065468e-06, -0.328368425, 0.120930381, 0.999999464, 6.98676228e-10, -2.18408625e-09, 2.15368345e-09, 0.665252686, -0.74661994, -9.31322575e-10, 0.746618986, 0.66525209),Alpha)
  1514. LH.C0 = LH.C0:lerp(CFrame.new(-0.479144096, -0.841781974, 0.0717146397, 0.974867344, 0.149801731, 0.164903864, -0.206288055, 0.886496186, 0.414209872, -0.0841372982, -0.437817276, 0.895118535),Alpha)
  1515. RH.C0 = RH.C0:lerp(CFrame.new(0.341723979, -0.70075196, -0.909261882, 0.916408718, -0.156607822, -0.368332833, 0.37586391, 0.653009117, 0.657499552, 0.137555093, -0.74098134, 0.657286465),Alpha)
  1516. LS.C0 = LS.C0:lerp(CFrame.new(-1.12974322, 0.700168073, -0.331798345, 0.866024196, -0.500002086, -1.9403808e-06, -0.336109906, -0.58215344, -0.740356505, 0.37017861, 0.641167343, -0.672214687),Alpha)
  1517. RS.C0 = RS.C0:lerp(CFrame.new(1.18027234, 0.700168073, -0.331798226, 0.866024196, 0.500002086, 1.9403808e-06, 0.336109906, -0.58215344, -0.740356505, -0.37017861, 0.641167343, -0.672214687),Alpha)
  1518. NK.C0 = NK.C0:lerp(CFrame.new(8.48525669e-05, 1.49900389, -0.00498836488, 0.999878228, 0.000899539154, -0.0155825512, -2.11317092e-06, 0.998345733, 0.0574962795, 0.0156084942, -0.0574892461, 0.998224139),Alpha)
  1519. end
  1520. Attack = false
  1521. NeutralAnims = true
  1522. end
  1523.  
  1524. function Bomb()
  1525. local bomb = Part(Effects,C3.N(1,1,1),Enum.Material.Neon,V3.N(15,15,15),Mouse.Hit,true,false)
  1526. Mesh(bomb,Enum.MeshType.Sphere)
  1527. bomb.Transparency = 1
  1528. coroutine.wrap(function()
  1529. for i = 15, 1, -(.005+(Power/10)) do
  1530. bomb.Size = V3.N(i,i,i)
  1531. bomb.Transparency = i/15
  1532. swait()
  1533. end
  1534. CamShakeAll(30,100,bomb.Position)
  1535. AOEDamage(bomb.Position,26,{MinimumDamage=15,MaximumDamage=45})
  1536. for i = 0, 50 do
  1537. bomb.Size = bomb.Size + V3.N(1,1,1)
  1538. bomb.Transparency = i/50
  1539. swait()
  1540. end
  1541. bomb:destroy()
  1542. end)()
  1543. end
  1544.  
  1545.  
  1546. function Teleport()
  1547. Attack = true
  1548. NeutralAnims = false
  1549. StillAura = false
  1550. local p = Mouse.Hit.p
  1551. local pp = V3.N(Root.Position.X, p.Y + 6, Root.Position.Z)
  1552.  
  1553. local asd = CF.N(p,Root.Position)
  1554.  
  1555.  
  1556. local circle = NewInstance("Part",Effects,{CFrame=Root.CFrame*CF.N(0,0,-2),Size=V3.N(.05,.05,.05),Transparency=1,Anchored=true,CanCollide=false})
  1557. local decalF = NewInstance("Decal",circle,{Name='Front',Texture="rbxassetid://524002938",Color3=C3.N(1,1,1),Face=Enum.NormalId.Front,Transparency = 1})
  1558. local decalB = NewInstance("Decal",circle,{Name='Back',Texture="rbxassetid://524002938",Color3=C3.N(1,1,1),Face=Enum.NormalId.Back,Transparency=1})
  1559. local circle2=circle:Clone()
  1560. circle2.Parent = Effects
  1561. circle2.CFrame = CF.N(Mouse.Hit.p + V3.N(0, 6, 0), pp)
  1562.  
  1563. local asdh = CF.N(circle2.Position,Root.Position)
  1564. Sound(circle,84005018,.7,10,false,true,true)
  1565. Sound(circle2,84005018,.7,10,false,true,true)
  1566.  
  1567. local rad = 0
  1568.  
  1569. local bigHomo = {}
  1570. for _, c in pairs(Char:GetDescendants()) do
  1571. if c:IsA'Decal' and c.Parent ~= Effects and c.Parent.Parent ~= Effects or c:IsA("BasePart") and c.Parent ~= Effects and not c.Parent.Name:lower():find'secret' then
  1572. table.insert(bigHomo,{c,c.Transparency})
  1573. end
  1574. end
  1575.  
  1576. for i = 0, 3, .1 do
  1577. local Alpha = .1
  1578. Change = .5
  1579. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1580. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1581. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(90),0,M.R(25)),Alpha)
  1582. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(90),0,M.R(-25)),Alpha)
  1583. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1584. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(2+3*M.S(Sine / 12)),0,0),Alpha)
  1585. circle.Size = circle.Size + V3.N(.2,.2,0)
  1586. circle2.Size = circle2.Size + V3.N(.2,.2,0)
  1587. circle.Front.Transparency=1-(i/3)
  1588. circle.Back.Transparency=1-(i/3)
  1589. circle2.Front.Transparency=1-(i/3)
  1590. circle2.Back.Transparency=1-(i/3)
  1591. rad = rad + 5
  1592. circle.CFrame=Root.CFrame*CF.N(0,0,-2)*CF.A(0,0,M.R(rad))
  1593. circle2.CFrame=circle2.CFrame*CF.A(0,0,M.R(45))
  1594.  
  1595. swait()
  1596. end
  1597.  
  1598. for i = 0, 2, .1 do
  1599. local Alpha = .1
  1600. Change = .5
  1601. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1602. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1603. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(90),0,M.R(25)),Alpha)
  1604. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(90),0,M.R(-25)),Alpha)
  1605. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1606. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(2+3*M.S(Sine / 12)),0,0),Alpha)
  1607. circle.CFrame=Root.CFrame*CF.N(0,0,-2)*CF.A(0,0,M.R(rad))
  1608.  
  1609. swait()
  1610. end
  1611. WalkSpeed = 0
  1612. Root.Anchored = true
  1613. for _,v in next, bigHomo do
  1614. Tween(v[1],{Transparency=1},.1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false)
  1615. --Tween(v[1],{Transparency=1},.1)
  1616. end
  1617. StillAura = true
  1618. for i = 0, 1.2, .1 do
  1619. Root.Anchored = true
  1620. Root.CFrame = Root.CFrame * CF.N(0,0,-.2)
  1621. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),.1)
  1622. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),.1)
  1623. RS.C0 = RS.C0:lerp(RSC0*CF.A(-M.R(45),M.R(15),M.R(25+5*M.S(Sine / 12))),.1)
  1624. LS.C0 = LS.C0:lerp(LSC0*CF.A(-M.R(15),M.R(15),-M.R(10))*CF.A(0,0,-M.R(10+5*M.S(Sine / 12))),.1)
  1625. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-14+7*M.C(Sine/12)),0,M.R(-2-3*M.C(Sine/12)))*CF.A(M.R(25),0,0),.1)
  1626. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(25),0,0)*CF.A(-M.R(2+3*M.C(Sine / 12)),0,0),.1)
  1627. swait()
  1628. end
  1629. Root.CFrame = asdh
  1630. for _,v in next, bigHomo do
  1631. Tween(v[1],{Transparency=v[2]},.12,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false)
  1632. --Tween(v[1],{Transparency=1},.1)
  1633. end
  1634. for i = 0, 1.4, .1 do
  1635. Root.Anchored = true
  1636. Root.CFrame = Root.CFrame * CF.N(0,0,-.5)
  1637. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),.1)
  1638. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),.1)
  1639. RS.C0 = RS.C0:lerp(RSC0*CF.A(-M.R(45),M.R(15),M.R(25+5*M.S(Sine / 12))),.1)
  1640. LS.C0 = LS.C0:lerp(LSC0*CF.A(-M.R(15),M.R(15),-M.R(10))*CF.A(0,0,-M.R(10+5*M.S(Sine / 12))),.1)
  1641. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-14+7*M.C(Sine/12)),0,M.R(-2-3*M.C(Sine/12)))*CF.A(M.R(25),0,0),.1)
  1642. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(25),0,0)*CF.A(-M.R(2+3*M.C(Sine / 12)),0,0),.1)
  1643. swait()
  1644. end
  1645. coroutine.wrap(function()
  1646. for i = 0, 3, .1 do
  1647. swait()
  1648. local Alpha = .1
  1649. Change = .5
  1650. circle.Size = circle.Size - V3.N(.2,.2,0)
  1651. circle2.Size = circle2.Size - V3.N(.2,.2,0)
  1652. circle.Front.Transparency=(i/3)
  1653. circle.Back.Transparency=(i/3)
  1654. circle2.Front.Transparency=(i/3)
  1655. circle2.Back.Transparency=(i/3)
  1656.  
  1657. circle.CFrame=circle.CFrame*CF.A(0,0,-M.R(45))
  1658. circle2.CFrame=circle2.CFrame*CF.A(0,0,-M.R(45))
  1659. end
  1660. end)()
  1661. StillAura = false
  1662. Attack = false
  1663. NeutralAnims = true
  1664. WalkSpeed = 35
  1665. Root.Anchored = false
  1666. end
  1667.  
  1668. function ThrowThisSkiddle()
  1669. local hit,pos = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (8*PlayerSize)), Char)
  1670. if(hit)then
  1671. local wer = Power
  1672. StillAura =true
  1673. Hum.AutoRotate = false
  1674. Attack = true
  1675. NeutralAnims = false
  1676. WalkSpeed = 0
  1677. local orb = Part(Effects,C3.N(1,1,1),Enum.Material.Neon,V3.N(.05,.05,.05),RArm.CFrame*CF.N(0,-1,0),true,false)
  1678. local orbM = Mesh(orb,Enum.MeshType.Sphere,"","",V3.N(1,1,1))
  1679. orb.Transparency = 1
  1680. local inc = .05+(Power/150)*(Power*1.5)
  1681. local limit = 4
  1682.  
  1683. for i = 0, limit, .01*((Power+1)/2) do
  1684. Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p)
  1685. local Alpha = .3
  1686. Change = .5
  1687. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1688. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1689. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(45),0,M.R(25+5*M.S(Sine / 12))),Alpha)
  1690. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(180),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1691. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1692. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(2+3*M.S(Sine / 12)),0,0),Alpha)
  1693. local gay = CF.N(M.RNG(-15,15),0,M.RNG(-15,15))
  1694. local Orb = Part(Effects,C3.N(1,1,1),Enum.Material.Neon,V3.N(inc,inc,inc)*8,CF.N(pos,Torso.CFrame.lookVector)*gay,true,false)
  1695.  
  1696. Mesh(Orb,Enum.MeshType.Sphere)
  1697. orb.Size=orb.Size+V3.N(inc,inc,inc)
  1698. orb.CFrame=LArm.CFrame * CF.N(0,-(5+orb.Size.Y/2),0)
  1699. orb.Transparency=1-i/inc
  1700. Arc{Part=Orb,End=orb.CFrame,Time=35,Height=15,Yield=false,DestroyEnd=true}
  1701. swait()
  1702. end
  1703. Sound(Head,159882598,.75,10,false,true,true)
  1704. Sound(Head,160212892,1,10,false,true,true)
  1705. for i = 0, 3, .1 do
  1706. Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p)
  1707. local Alpha = .3
  1708. Change = .5
  1709. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1710. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1711. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(45),0,M.R(25+5*M.S(Sine / 12))),Alpha)
  1712. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(180),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1713. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1714. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(2+3*M.S(Sine / 12)),0,0),Alpha)
  1715. orb.CFrame=LArm.CFrame * CF.N(0,-(5+orb.Size.Y/2),0)
  1716. swait()
  1717. end
  1718. for i = 0, 6, .1 do
  1719. Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p)
  1720. local Alpha = .3
  1721. Change = .5
  1722. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1723. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1724. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(45),0,M.R(25+5*M.S(Sine / 12))),Alpha)
  1725. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(245),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1726. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1727. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(2+3*M.S(Sine / 12)),M.R(25),0),Alpha)
  1728. orb.CFrame=LArm.CFrame * CF.N(0,-(5+orb.Size.Y/2),0)
  1729. swait()
  1730. end
  1731.  
  1732.  
  1733. ShootBullet{Size=orb.Size,Shape='Ball',Frames=600*(Power/2),Origin=orb.CFrame,Speed=5,Color=C3.N(1,1,1),HitFunction = function(hit,pos,Scale)
  1734.  
  1735. local snd, part = SoundPart(151304356,1,10,false,true,true,CF.N(pos))
  1736. AOEDamage(pos,Scale*8,{MinimumDamage=45,MaximumDamage=95})
  1737.  
  1738. Effect{
  1739. Effect='ResizeAndFade',
  1740. Color=C3.N(1,1,1),
  1741. Size=V3.N(Scale*2,Scale*2,Scale*2),
  1742. Material=Enum.Material.Neon,
  1743. Mesh={MeshType=Enum.MeshType.Sphere},
  1744. CFrame=CF.N(pos),
  1745. FXSettings={
  1746. EndSize=V3.N(.1,.1,.1),
  1747. EndIsIncrement=true
  1748. }
  1749. }
  1750. Effect{
  1751. Effect='ResizeAndFade',
  1752. Color=C3.N(1,1,1),
  1753. Size=V3.N(Scale*1.5,Scale*1.5,Scale*1.5),
  1754. Material=Enum.Material.Neon,
  1755. Mesh={MeshType=Enum.MeshType.Sphere},
  1756. CFrame=CF.N(pos),
  1757. FXSettings={
  1758. EndSize=V3.N(.1,.1,.1),
  1759. EndIsIncrement=true
  1760. }
  1761. }
  1762. for i = 0, 49 do
  1763. NoobyBlock(1,(M.RNG(1,10)/2)*(Power),"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(4,4,4)*(Power),0.08*Power,C3.N(1,1,1),0,true)
  1764. end
  1765. for i = 0, 9 do
  1766. NoobySphere(1,2.5*(Power),"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(5,5,50)*(Power),-0.05*Power,C3.N(1,1,1),0)
  1767. NoobySphere(2,5*(Power),"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(5,5,50)*(Power),-0.05*Power,C3.N(1,1,1),0)
  1768. end
  1769. end}
  1770. orb:destroy()
  1771. for i = 0, 3, .1 do
  1772. local Alpha = .3
  1773. Change = .5
  1774. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1775. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1776. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(45),0,M.R(25+5*M.S(Sine / 12))),Alpha)
  1777. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(65),0,M.R(35)),Alpha)
  1778. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1779. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(2+3*M.S(Sine / 12)),M.R(-55),0),Alpha)
  1780. swait()
  1781. end
  1782. Hum.AutoRotate = true
  1783. WalkSpeed = 35
  1784. Attack = false
  1785. NeutralAnims = true
  1786. StillAura = false
  1787. end
  1788. end
  1789.  
  1790. function Roar()
  1791. Attack = true
  1792. NeutralAnims = falseq
  1793. WalkSpeed = 0
  1794. local raw = Sound(Head,1473726649,1.2,5,false,true,true)
  1795. raw:Play()
  1796. swait(2)
  1797. repeat
  1798. swait()
  1799. raw.Parent = Head
  1800. local Alpha = .3
  1801. RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-25+2.5*M.S(Sine / 12)),0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1802. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(-15+2.5*M.S(Sine / 12)),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1803. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-25),0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1804. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-25),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1805. NK.C0 = NK.C0:lerp(NKC0*CF.A(-M.R(0+4.5*M.C(Sine/12)),0,M.R(-2-3*M.C(Sine/12))),Alpha)
  1806. RJ.C0 = RJ.C0:lerp(CF.A(M.R(25+2.5*M.S(Sine / 12)),0,0),Alpha)
  1807. until raw.Playing == false
  1808. print(raw.Playing,raw.IsPlaying)
  1809. Attack = false
  1810. NeutralAnims = true
  1811. WalkSpeed = 35
  1812. end
  1813.  
  1814. --// Wrap it all up \\--
  1815.  
  1816.  
  1817. local nums = {Enum.KeyCode.One,Enum.KeyCode.Two,Enum.KeyCode.Three,Enum.KeyCode.Four,Enum.KeyCode.Five,Enum.KeyCode.Six}
  1818.  
  1819. function KeyToNum(kc)
  1820. for i,v in next, nums do
  1821. if(v == kc)then
  1822. return i
  1823. end
  1824. end
  1825. end
  1826.  
  1827. S.UserInputService.InputBegan:connect(function(io,gpe)
  1828. if(gpe)then return end
  1829. local num = KeyToNum(io.KeyCode)
  1830. if(num and typeof(num) == 'number' and num > 0)then
  1831. Power = num
  1832. end
  1833.  
  1834. end)
  1835.  
  1836. Mouse.KeyDown:connect(function(k)
  1837. if(Attack)then return end
  1838. if(k == 'b')then
  1839. if(Power < 4)then
  1840. DivinePillarsWeak()
  1841. else
  1842. DivinePillars()
  1843. end
  1844. elseif(k == 'z')then
  1845. Bomb()
  1846. elseif(k == 'c')then
  1847. ThrowThisSkiddle()
  1848. elseif(k == 'q')then
  1849. Teleport()
  1850. elseif(k == 't')then
  1851. Roar()
  1852. end
  1853. end)
  1854.  
  1855. Mouse.Button1Down:connect(function()
  1856. if(Attack)then return end
  1857. Smite()
  1858. end)
  1859.  
  1860. coroutine.wrap(function()
  1861. while true do
  1862. swait(1)
  1863. if(NeutralAnims or StillAura)then
  1864. NoobySphere(3,.05,'Multiply',RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)),V3.N(.5,.5,.5),-.005,C3.N(1,1,1),0,nil,'xyz')
  1865. end
  1866. end
  1867. end)()
  1868.  
  1869.  
  1870. local BODY = {}
  1871. local FULLREGEN = false
  1872. for _, c in pairs(Char:GetDescendants()) do
  1873. if c:IsA("BasePart") and not c.Parent.Name:lower():find'secret' then
  1874. if(c ~= Root and c ~= Torso and c ~= Head and c ~= RArm and c ~= LArm and c ~= RLeg and c ~= LLeg)then
  1875. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1876. end
  1877. local REGENVALUE = IN("BoolValue",c)
  1878. REGENVALUE.Name = "IsRegening"
  1879. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
  1880. elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
  1881. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
  1882. end
  1883. end
  1884.  
  1885. function FullBodyRegen() -- thanks shack bb
  1886. if not FULLREGEN then
  1887. Sound(Head,907330011,M.RNG(80,120)/100,3,false,true,true)
  1888. FULLREGEN = true
  1889. Hum.MaxHealth = "inf"
  1890. Hum.Health = "inf"
  1891. Hum.Parent = nil
  1892.  
  1893. Char.Parent = workspace
  1894. for e = 1, #BODY do
  1895. if BODY[e] ~= nil then
  1896. local STUFF = BODY[e]
  1897. local PART = STUFF[1]
  1898. local PARENT = STUFF[2]
  1899. local MATERIAL = STUFF[3]
  1900. local COLOR = STUFF[4]
  1901. local TRANSPARENCY = STUFF[5]
  1902. --local SIZE = STUFF[6]
  1903. local NAME = STUFF[7]
  1904. local VALUE = STUFF[8]
  1905. PART.Parent = PARENT
  1906.  
  1907. end
  1908. end
  1909. FULLREGEN = false
  1910. Hum = IN("Humanoid",Char)
  1911. Hum.HipHeight = 2
  1912. Hum.Died:Connect(FullBodyRegen)
  1913. end
  1914. end
  1915.  
  1916. Hum.Died:connect(FullBodyRegen)
  1917.  
  1918. local FOUNDFORGOTTEN = false
  1919. while true do
  1920. swait()
  1921. Sine = Sine + Change
  1922. if(not Music or not Music.Parent)then
  1923. local tp = (Music and Music.TimePosition)
  1924. Music = Sound(Char,MusicID,1,1,true,false,true)
  1925. Music.Name = 'Music'
  1926. Music.TimePosition = tp
  1927. end
  1928. Hum.HipHeight = 2
  1929. Music.SoundId = "rbxassetid://"..MusicID
  1930. Music.Parent = Char
  1931. Music.Pitch = 1
  1932. Music.Volume = 1
  1933. if(not Muted and not FOUNDFORGOTTEN)then
  1934. Music:Resume()
  1935. else
  1936. Music:Pause()
  1937. end
  1938.  
  1939.  
  1940. if(God)then
  1941. Hum.MaxHealth = 1e100
  1942. Hum.Health = 1e100
  1943. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  1944. Hum.Name = M.RNG()*100
  1945. end
  1946.  
  1947. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1948.  
  1949. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1950. local State = (Walking and "Walk" or "Idle")
  1951. if(not Effects or not Effects.Parent)then
  1952. Effects = IN("Model",Char)
  1953. Effects.Name = "Effects"
  1954. end
  1955.  
  1956. Hum.WalkSpeed = WalkSpeed
  1957. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  1958. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  1959.  
  1960. Instance.ClearChildrenOfClass(Char,"BodyColors")
  1961. Torso.Color = C3.N(0,0,0)
  1962. RArm.Color = C3.N(.3,.3,.3)
  1963. LArm.Color = C3.N(.1,.1,.1)
  1964. RLeg.Color = C3.N(.0,.0,.0)
  1965. LLeg.Color = C3.N(.2,.2,.2)
  1966.  
  1967. local Alpha = .1
  1968. RH.C1 = RH.C1:lerp(RHC1*CF.N(0,0-.25*M.C(Sine / 12),0),Alpha)
  1969. LH.C1 = LH.C1:lerp(LHC1*CF.N(-.1,-.5,.5)*CF.N(0,0-.25*M.C(Sine / 12),0),Alpha)
  1970. RS.C1 = RS.C1:lerp(RSC1*CF.N(0,0-.25*M.C(Sine / 12),0),Alpha)
  1971. LS.C1 = LS.C1:lerp(LSC1*CF.N(0,0-.25*M.C(Sine / 12),0),Alpha)
  1972. RJ.C1 = RJ.C1:lerp(CF.N(0,0-.25*M.C(Sine / 12),0),Alpha)
  1973.  
  1974. if(NeutralAnims)then
  1975. if(State == 'Idle')then
  1976. local Alpha = .1
  1977. Change = 2/3
  1978. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),Alpha)
  1979. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1980. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(45),0,M.R(25+5*M.S(Sine / 12))),Alpha)
  1981. LS.C0 = LS.C0:lerp(LSC0*CF.A(0,0,-M.R(10+5*M.S(Sine / 12))),Alpha)
  1982. NK.C0 = NK.C0:lerp(NKC0*CF.A(-M.R(0+4.5*M.C(Sine/12)),0,M.R(-2-3*M.C(Sine/12))),Alpha)
  1983. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(4+2.5*M.S(Sine / 12)),0,0),Alpha)
  1984. elseif(State == 'Walk')then
  1985. RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,M.R(10+5*M.S(Sine / 12))),.1)
  1986. LH.C0 = LH.C0:lerp(LHC0*CF.A(M.R(10),0,-M.R(10+5*M.S(Sine / 12))),.1)
  1987. RS.C0 = RS.C0:lerp(RSC0*CF.A(-M.R(45),M.R(15),M.R(25+5*M.S(Sine / 12))),.1)
  1988. LS.C0 = LS.C0:lerp(LSC0*CF.A(-M.R(15),M.R(15),-M.R(10))*CF.A(0,0,-M.R(10+5*M.S(Sine / 12))),.1)
  1989. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(25+4.5*M.C(Sine/12)),0,M.R(-2-3*M.C(Sine/12))),.1)
  1990. RJ.C0 = RJ.C0:lerp(CF.A(-M.R(25+2.5*M.S(Sine / 12)),0,0)*CF.A(-M.R(2+3*M.C(Sine / 12)),0,0),.1)
  1991. end
  1992. end
  1993.  
  1994. FOUNDFORGOTTEN = false
  1995. Hum.DisplayDistanceType = "None"
  1996. for _, c in pairs(workspace:GetChildren()) do
  1997. if c.ClassName == "Model" then
  1998. for _, q in pairs(c:GetChildren()) do
  1999. if (q.Name == "Forgotten Dominus" or q.Name == 'PHAEDRA') and q:IsA'Humanoid' then
  2000. FOUNDFORGOTTEN = true
  2001. end
  2002. end
  2003. end
  2004. end
  2005. if FOUNDFORGOTTEN == true then
  2006. Music:Stop()
  2007. else
  2008. Music.Playing = true
  2009. end
  2010.  
  2011. for i,v in next, BloodPuddles do
  2012. local mesh = i:FindFirstChild'CylinderMesh'
  2013. BloodPuddles[i] = v + 1
  2014. if(not mesh or i.Transparency >= 1)then
  2015. i:destroy()
  2016. BloodPuddles[i] = nil
  2017. elseif(v >= Frame_Speed*4)then
  2018. local trans = (v-Frame_Speed*4)/(Frame_Speed*2)
  2019. i.Transparency = trans
  2020. if(mesh.Scale.Z > 0)then
  2021. mesh.Scale = mesh.Scale-V3.N(.05,0,.05)
  2022. end
  2023. else
  2024. i.Transparency = 0
  2025. end
  2026. end
  2027. end
  2028. -- Edit By smallalex2005
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement