Advertisement
JORGEEEEEE_EEE

dd

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