Advertisement
DavisRBLX

Dominus Edit

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