Advertisement
ItzInfern

dominus

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