Vechol

Dominus Empyrus

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