Advertisement
doryna2281337

Untitled

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