Advertisement
Dark_EccentricYT

Untitled

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