Advertisement
Tetezaza1542

DOMINUS VERY OP 100เปอร์เซ็น

Aug 28th, 2018
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.47 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144. ----------------------
  145. -- Synapse Decompiler
  146. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  147.  
  148. wait(0.2)
  149. Player = owner
  150. PlayerGui = Player.PlayerGui
  151. Cam = workspace.CurrentCamera
  152. Backpack = Player.Backpack
  153. Character = Player.Character
  154. Humanoid = Character.Humanoid
  155. Mouse = Player:GetMouse()
  156. RootPart = Character.HumanoidRootPart
  157. Torso = Character.Torso
  158. Head = Character.Head
  159. RightArm = Character["Right Arm"]
  160. LeftArm = Character["Left Arm"]
  161. RightLeg = Character["Right Leg"]
  162. LeftLeg = Character["Left Leg"]
  163. RootJoint = RootPart.RootJoint
  164. Neck = Torso.Neck
  165. RightShoulder = Torso["Right Shoulder"]
  166. LeftShoulder = Torso["Left Shoulder"]
  167. RightHip = Torso["Right Hip"]
  168. LeftHip = Torso["Left Hip"]
  169. local sick = Instance.new("Sound", Character)
  170. sick.SoundId = "rbxassetid://1843467691"
  171. sick.Name = "BGM"
  172. sick.Looped = true
  173. sick.Pitch = 1
  174. sick.Volume = 2
  175. sick:Play()
  176. IT = Instance.new
  177. CF = CFrame.new
  178. VT = Vector3.new
  179. RAD = math.rad
  180. C3 = Color3.new
  181. UD2 = UDim2.new
  182. BRICKC = BrickColor.new
  183. ANGLES = CFrame.Angles
  184. EULER = CFrame.fromEulerAnglesXYZ
  185. COS = math.cos
  186. ACOS = math.acos
  187. SIN = math.sin
  188. ASIN = math.asin
  189. ABS = math.abs
  190. MRANDOM = math.random
  191. FLOOR = math.floor
  192. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  193. local NEWMESH = IT(MESH)
  194. if MESH == "SpecialMesh" then
  195. NEWMESH.MeshType = MESHTYPE
  196. if MESHID ~= "nil" and MESHID ~= "" then
  197. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  198. end
  199. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  200. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  201. end
  202. end
  203. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  204. NEWMESH.Scale = SCALE
  205. NEWMESH.Parent = PARENT
  206. return NEWMESH
  207. end
  208. for i,v in pairs(Character:children()) do
  209. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  210. v:Remove()
  211. end
  212. end
  213. shirt = Instance.new("Shirt", Character)
  214. shirt.Name = "Shirt"
  215. pants = Instance.new("Pants", Character)
  216. pants.Name = "Pants"
  217. Character.Shirt.ShirtTemplate = "rbxassetid://131708604"
  218. Character.Pants.PantsTemplate = "rbxassetid://131708657"
  219. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  220. local NEWPART = IT("Part")
  221. NEWPART.formFactor = FORMFACTOR
  222. NEWPART.Reflectance = REFLECTANCE
  223. NEWPART.Transparency = TRANSPARENCY
  224. NEWPART.CanCollide = false
  225. NEWPART.Locked = true
  226. NEWPART.Anchored = true
  227. if ANCHOR == false then
  228. NEWPART.Anchored = false
  229. end
  230. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  231. NEWPART.Name = NAME
  232. NEWPART.Size = SIZE
  233. NEWPART.Position = Torso.Position
  234. NEWPART.Material = MATERIAL
  235. NEWPART:BreakJoints()
  236. NEWPART.Parent = PARENT
  237. return NEWPART
  238. end
  239. Player_Size = 1
  240. Animation_Speed = 3
  241. Frame_Speed = 0.016666666666666666
  242. local Speed = 16
  243. local Effects2 = {}
  244. local weldBetween = function(a, b)
  245. local weldd = Instance.new("ManualWeld")
  246. weldd.Part0 = a
  247. weldd.Part1 = b
  248. weldd.C0 = CFrame.new()
  249. weldd.C1 = b.CFrame:inverse() * a.CFrame
  250. weldd.Parent = a
  251. return weldd
  252. end
  253. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  254. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  255. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  256. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  257. local CHANGEDEFENSE = 0
  258. local CHANGEDAMAGE = 0
  259. local CHANGEMOVEMENT = 0
  260. local ANIM = "Idle"
  261. local ATTACK = false
  262. local EQUIPPED = false
  263. local HOLD = false
  264. local COMBO = 1
  265. local Rooted = false
  266. local SINE = 0
  267. local KEYHOLD = false
  268. local CHANGE = 2 / Animation_Speed
  269. local WALKINGANIM = false
  270. local WALK = 0
  271. local VALUE1 = false
  272. local VALUE2 = false
  273. local ROBLOXIDLEANIMATION = IT("Animation")
  274. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  275. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  276. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  277. WEAPONGUI.Name = "Weapon GUI"
  278. local Effects = IT("Folder", Character)
  279. Effects.Name = "Effects"
  280. local ANIMATOR = Humanoid.Animator
  281. local ANIMATE = Character.Animate
  282. local ATTACKEDTAUNTS = {
  283. "907332040",
  284. "907332525",
  285. "907330011"
  286. }
  287. local ATTACKTAUNTS = {
  288. "907329893",
  289. "907329532",
  290. "907333294",
  291. "907332856"
  292. }
  293. local ULTTAUNTS = {
  294. "907332997",
  295. "907332670",
  296. "907330103"
  297. }
  298. local UNANCHOR = true
  299. local SKILLTEXTCOLOR = C3(1, 1, 1)
  300. ArtificialHB = Instance.new("BindableEvent", script)
  301. ArtificialHB.Name = "ArtificialHB"
  302. script:WaitForChild("ArtificialHB")
  303. frame = Frame_Speed
  304. tf = 0
  305. allowframeloss = false
  306. tossremainder = false
  307. lastframe = tick()
  308. script.ArtificialHB:Fire()
  309. game:GetService("RunService").Heartbeat:connect(function(s, p)
  310. tf = tf + s
  311. if tf >= frame then
  312. if allowframeloss then
  313. script.ArtificialHB:Fire()
  314. lastframe = tick()
  315. else
  316. for i = 1, math.floor(tf / frame) do
  317. script.ArtificialHB:Fire()
  318. end
  319. lastframe = tick()
  320. end
  321. if tossremainder then
  322. tf = 0
  323. else
  324. tf = tf - frame * math.floor(tf / frame)
  325. end
  326. end
  327. end)
  328. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  329. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  330. end
  331. function PositiveAngle(NUMBER)
  332. if NUMBER >= 0 then
  333. NUMBER = 0
  334. end
  335. return NUMBER
  336. end
  337. function NegativeAngle(NUMBER)
  338. if NUMBER <= 0 then
  339. NUMBER = 0
  340. end
  341. return NUMBER
  342. end
  343. function Swait(NUMBER)
  344. if NUMBER == 0 or NUMBER == nil then
  345. ArtificialHB.Event:wait()
  346. else
  347. for i = 1, NUMBER do
  348. ArtificialHB.Event:wait()
  349. end
  350. end
  351. end
  352. function QuaternionFromCFrame(cf)
  353. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  354. local trace = m00 + m11 + m22
  355. if trace > 0 then
  356. local s = math.sqrt(1 + trace)
  357. local recip = 0.5 / s
  358. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  359. else
  360. local i = 0
  361. if m00 < m11 then
  362. i = 1
  363. end
  364. if m22 > (i == 0 and m00 or m11) then
  365. i = 2
  366. end
  367. if i == 0 then
  368. local s = math.sqrt(m00 - m11 - m22 + 1)
  369. local recip = 0.5 / s
  370. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  371. elseif i == 1 then
  372. local s = math.sqrt(m11 - m22 - m00 + 1)
  373. local recip = 0.5 / s
  374. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  375. elseif i == 2 then
  376. local s = math.sqrt(m22 - m00 - m11 + 1)
  377. local recip = 0.5 / s
  378. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  379. end
  380. end
  381. end
  382. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  383. local xs, ys, zs = x + x, y + y, z + z
  384. local wx, wy, wz = w * xs, w * ys, w * zs
  385. local xx = x * xs
  386. local xy = x * ys
  387. local xz = x * zs
  388. local yy = y * ys
  389. local yz = y * zs
  390. local zz = z * zs
  391. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  392. end
  393. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  394. Character["Body Colors"].TorsoColor = BrickColor.new("Really black")
  395. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  396. Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
  397. Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  398. Character["Body Colors"].RightLegColor = BrickColor.new("Really black")
  399. function QuaternionSlerp(a, b, t)
  400. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  401. local startInterp, finishInterp
  402. if cosTheta >= 1.0E-4 then
  403. if 1 - cosTheta > 1.0E-4 then
  404. local theta = ACOS(cosTheta)
  405. local invSinTheta = 1 / SIN(theta)
  406. startInterp = SIN((1 - t) * theta) * invSinTheta
  407. finishInterp = SIN(t * theta) * invSinTheta
  408. else
  409. startInterp = 1 - t
  410. finishInterp = t
  411. end
  412. elseif 1 + cosTheta > 1.0E-4 then
  413. local theta = ACOS(-cosTheta)
  414. local invSinTheta = 1 / SIN(theta)
  415. startInterp = SIN((t - 1) * theta) * invSinTheta
  416. finishInterp = SIN(t * theta) * invSinTheta
  417. else
  418. startInterp = t - 1
  419. finishInterp = t
  420. end
  421. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  422. end
  423. function Clerp(a, b, t)
  424. local qa = {
  425. QuaternionFromCFrame(a)
  426. }
  427. local qb = {
  428. QuaternionFromCFrame(b)
  429. }
  430. local ax, ay, az = a.x, a.y, a.z
  431. local bx, by, bz = b.x, b.y, b.z
  432. local _t = 1 - t
  433. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  434. end
  435. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  436. local frame = IT("Frame")
  437. frame.BackgroundTransparency = TRANSPARENCY
  438. frame.BorderSizePixel = BORDERSIZEPIXEL
  439. frame.Position = POSITION
  440. frame.Size = SIZE
  441. frame.BackgroundColor3 = COLOR
  442. frame.BorderColor3 = BORDERCOLOR
  443. frame.Name = NAME
  444. frame.Parent = PARENT
  445. return frame
  446. end
  447. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  448. local label = IT("TextLabel")
  449. label.BackgroundTransparency = 1
  450. label.Size = UD2(1, 0, 1, 0)
  451. label.Position = UD2(0, 0, 0, 0)
  452. label.TextColor3 = TEXTCOLOR
  453. label.TextStrokeTransparency = STROKETRANSPARENCY
  454. label.TextTransparency = TRANSPARENCY
  455. label.FontSize = TEXTFONTSIZE
  456. label.Font = TEXTFONT
  457. label.BorderSizePixel = BORDERSIZEPIXEL
  458. label.TextScaled = false
  459. label.Text = TEXT
  460. label.Name = NAME
  461. label.Parent = PARENT
  462. return label
  463. end
  464. function NoOutlines(PART)
  465. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  466. end
  467. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  468. local NEWWELD = IT(TYPE)
  469. NEWWELD.Part0 = PART0
  470. NEWWELD.Part1 = PART1
  471. NEWWELD.C0 = C0
  472. NEWWELD.C1 = C1
  473. NEWWELD.Parent = PARENT
  474. return NEWWELD
  475. end
  476. local S = IT("Sound")
  477. function CreateSound(ID, PARENT, VOLUME, PITCH)
  478. local NEWSOUND
  479. coroutine.resume(coroutine.create(function()
  480. NEWSOUND = S:Clone()
  481. NEWSOUND.Parent = PARENT
  482. NEWSOUND.Volume = VOLUME
  483. NEWSOUND.Pitch = PITCH
  484. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  485. Swait()
  486. NEWSOUND:play()
  487. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  488. end))
  489. return NEWSOUND
  490. end
  491. function CFrameFromTopBack(at, top, back)
  492. local right = top:Cross(back)
  493. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  494. end
  495. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  496. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  497. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  498. wave.CFrame = CFRAME
  499. coroutine.resume(coroutine.create(function(PART)
  500. for i = 1, WAIT do
  501. Swait()
  502. mesh.Scale = mesh.Scale + GROW
  503. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  504. if DOESROT == true then
  505. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  506. end
  507. wave.Transparency = wave.Transparency + 0.5 / WAIT
  508. if wave.Transparency > 0.99 then
  509. wave:remove()
  510. end
  511. end
  512. end))
  513. end
  514. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  515. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  516. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  517. wave.CFrame = CFRAME
  518. coroutine.resume(coroutine.create(function(PART)
  519. for i = 1, WAIT do
  520. Swait()
  521. mesh.Scale = mesh.Scale + GROW
  522. if DOESROT == true then
  523. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  524. end
  525. wave.Transparency = wave.Transparency + 0.5 / WAIT
  526. if wave.Transparency > 0.99 then
  527. wave:remove()
  528. end
  529. end
  530. end))
  531. end
  532. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  533. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  534. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  535. wave.CFrame = CFRAME
  536. coroutine.resume(coroutine.create(function(PART)
  537. for i = 1, WAIT do
  538. Swait()
  539. mesh.Scale = mesh.Scale + GROW
  540. wave.Transparency = wave.Transparency + 1 / WAIT
  541. if wave.Transparency > 0.99 then
  542. wave:remove()
  543. end
  544. end
  545. end))
  546. end
  547. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  548. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  549. local mesh
  550. if KIND == "Base" then
  551. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  552. elseif KIND == "Thin" then
  553. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  554. elseif KIND == "Round" then
  555. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  556. end
  557. wave.CFrame = CFRAME
  558. coroutine.resume(coroutine.create(function(PART)
  559. for i = 1, WAIT do
  560. Swait()
  561. mesh.Scale = mesh.Scale + GROW / 10
  562. wave.Transparency = wave.Transparency + 0.5 / WAIT
  563. if wave.Transparency > 0.99 then
  564. wave:remove()
  565. end
  566. end
  567. end))
  568. end
  569. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  570. for _, c in pairs(PARENT:GetChildren()) do
  571. if c.ClassName == "Model" then
  572. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  573. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  574. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  575. if DIST > (TORSO.Position - FROM).Magnitude then
  576. table.insert(TABLE, c)
  577. end
  578. AddChildrenToTable(FROM, c, DIST, TABLE)
  579. elseif c.ClassName == "Folder" then
  580. AddChildrenToTable(FROM, c, DIST, TABLE)
  581. end
  582. end
  583. end
  584. end
  585. function MakeForm(PART, TYPE)
  586. if TYPE == "Cyl" then
  587. local MSH = IT("CylinderMesh", PART)
  588. elseif TYPE == "Ball" then
  589. local MSH = IT("SpecialMesh", PART)
  590. MSH.MeshType = "Sphere"
  591. elseif TYPE == "Wedge" then
  592. local MSH = IT("SpecialMesh", PART)
  593. MSH.MeshType = "Wedge"
  594. end
  595. end
  596. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  597. if DoesCourontine == false then
  598. local Direction = CF(Part.Position, ToLocation)
  599. local Distance = (Part.Position - ToLocation).magnitude
  600. for i = 1, AmountOfTime do
  601. Swait()
  602. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  603. Direction = Part.CFrame
  604. end
  605. Part:remove()
  606. elseif DoesCourontine == true then
  607. coroutine.resume(coroutine.create(function()
  608. local Direction = CF(Part.Position, ToLocation)
  609. local Distance = (Part.Position - ToLocation).magnitude
  610. for i = 1, AmountOfTime do
  611. Swait()
  612. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  613. Direction = Part.CFrame
  614. end
  615. Part:remove()
  616. end))
  617. end
  618. end
  619. function CheckTableForString(Table, String)
  620. for i, v in pairs(Table) do
  621. if string.find(string.lower(String), string.lower(v)) then
  622. return true
  623. end
  624. end
  625. return false
  626. end
  627. function CheckIntangible(Hit)
  628. local ProjectileNames = {
  629. "Water",
  630. "Arrow",
  631. "Projectile",
  632. "Effect",
  633. "Rail",
  634. "Lightning",
  635. "Bullet"
  636. }
  637. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  638. return true
  639. end
  640. return false
  641. end
  642. Debris = game:GetService("Debris")
  643. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  644. local Direction = CFrame.new(StartPos, Vec).lookVector
  645. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  646. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  647. if RayHit and CheckIntangible(RayHit) then
  648. if DelayIfHit then
  649. wait()
  650. end
  651. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  652. end
  653. return RayHit, RayPos, RayNormal
  654. end
  655. function turnto(position)
  656. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  657. end
  658. local naeeym2 = Instance.new("BillboardGui", Character)
  659. naeeym2.AlwaysOnTop = true
  660. naeeym2.Size = UDim2.new(15, 35, 2, 15)
  661. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  662. naeeym2.Adornee = Character.Head
  663. naeeym2.Name = "Name"
  664. local tecks2 = Instance.new("TextLabel", naeeym2)
  665. tecks2.BackgroundTransparency = 1
  666. tecks2.TextScaled = true
  667. tecks2.BorderSizePixel = 0
  668. tecks2.Text = "Dominus United, the lost Dominus"
  669. tecks2.Font = "Antique"
  670. tecks2.TextSize = 30
  671. tecks2.TextStrokeTransparency = 0
  672. tecks2.TextColor3 = Color3.new(1, 1, 1)
  673. tecks2.TextStrokeColor3 = BrickColor.new("Royal purple").Color
  674. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  675. tecks2.Parent = naeeym2
  676. Humanoid.Died:connect(function()
  677. Humanoid.Parent = nil
  678. Humanoid.MaxHealth = "inf"
  679. Humanoid.Health = "inf"
  680. refit()
  681. Humanoid.Parent = Character
  682. CreateSound(ATTACKEDTAUNTS[MRANDOM(1, #ATTACKEDTAUNTS)], Head, 10, 0.9)
  683. for i = 1, 5 do
  684. end
  685. killnearest(Torso.Position, 25, 180)
  686. end)
  687. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  688. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  689. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  690. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame")
  691. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
  692. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Orbital Devastor", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 1")
  693. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Savage Fire", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 2")
  694. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Grave Encounter", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 3")
  695. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Endless Pain", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 4")
  696. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Absoluteum", SKILLTEXTCOLOR, 12, "Antique", 0, 2, 0.5, "Text 5")
  697. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
  698. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Monarch Hop", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
  699. function killnearest(position, range, maxstrength)
  700. for i, v in ipairs(workspace:GetChildren()) do
  701. local body = v:GetChildren()
  702. for part = 1, #body do
  703. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  704. if v.ClassName == "Model" then
  705. v:BreakJoints()
  706. end
  707. local bv = Instance.new("BodyVelocity")
  708. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  709. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  710. bv.Parent = body[part]
  711. Debris:AddItem(bv, 0.2)
  712. end
  713. end
  714. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  715. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  716. end
  717. end
  718. end
  719. function Transparency(TRANS)
  720. tecks2.TextTransparency = TRANS
  721. tecks2.TextStrokeTransparency = TRANS
  722. for _, c in pairs(Character:GetChildren()) do
  723. if c.ClassName == "Part" and c ~= RootPart then
  724. c.Transparency = TRANS
  725. if c:FindFirstChildOfClass("Decal") then
  726. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  727. end
  728. elseif c.ClassName == "Accessory" then
  729. c.Handle.Transparency = TRANS
  730. elseif c.ClassName == "Model" then
  731. for _, q in pairs(c:GetChildren()) do
  732. if q.ClassName == "Part" then
  733. q.Transparency = TRANS
  734. if q:FindFirstChildOfClass("Decal") then
  735. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  736. end
  737. end
  738. end
  739. end
  740. end
  741. end
  742. function Orbital_Devastor()
  743. local HITBODIES = {}
  744. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0))
  745. local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character)
  746. CENTER.CFrame = CF(ECH)
  747. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Laser01", VT(25, 99999, 25))
  748. MakeForm(RAY, "Cyl")
  749. local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Laser01", VT(28, 99999, 28))
  750. MakeForm(RAY2, "Cyl")
  751. RAY.CFrame = CF(ECH)
  752. RAY2.CFrame = CF(ECH)
  753. CreateSound("1368573150", CENTER, 10, 0.8)
  754. for i = 1, 100 do
  755. Swait()
  756. RAY.Transparency = RAY.Transparency - 0.01
  757. RAY.Size = RAY.Size - VT(0.25, 0, 0.25)
  758. RAY2.Transparency = RAY2.Transparency - 0.012
  759. RAY2.Size = RAY2.Size - VT(0.28, 0, 0.28)
  760. end
  761. for i = 1, 5 do
  762. CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(0, 10) / 10, 0, 0), VT(i / 5, i / 5, 0))
  763. end
  764. RAY:remove()
  765. RAY2:remove()
  766. CreateSound("1368637781", CENTER, 10, 0.8)
  767. MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Royal purple", VT(8, 8, 8))
  768. MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Really black", VT(8, 8, 8))
  769. AddChildrenToTable(ECH, workspace, 80, HITBODIES)
  770. Debris:AddItem(CENTER, 5)
  771. CreateSound("414517163", CENTER, 10, 0.8)
  772. for i = 1, 5 do
  773. end
  774. for e = 1, #HITBODIES do
  775. if HITBODIES[e] ~= nil then
  776. local BOD = HITBODIES[e]
  777. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  778. if TORS then
  779. BOD:BreakJoints()
  780. for _, c in pairs(BOD:GetChildren()) do
  781. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  782. local bv = Instance.new("BodyVelocity")
  783. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  784. bv.velocity = CF(ECH, c.Position).lookVector * 250
  785. bv.Parent = c
  786. Debris:AddItem(bv, 0.2)
  787. end
  788. end
  789. end
  790. end
  791. end
  792. end
  793.  
  794. function Savage_Fire()
  795. ATTACK = true
  796. Rooted = true
  797. VALUE1 = true
  798. local HITBODIES = {}
  799. local VISUAL = CreatePart(3, Effects, "Glass", 0, 0.99, "Maroon", "Vibrations", VT(4, 4, 4))
  800. MakeForm(VISUAL, "Ball")
  801. VISUAL.CFrame = RootPart.CFrame
  802. for i = 0, 1.2, 0.1 / Animation_Speed do
  803. Swait()
  804. VISUAL.Size = VISUAL.Size + VT(0.1, 0.1, 0.1)
  805. VISUAL.Transparency = VISUAL.Transparency - 0.005
  806. if MRANDOM(1, 2) == 1 then
  807. do
  808. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Magic", VT(1, 1, 1) * MRANDOM(2, 35) / 10)
  809. SPHERE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  810. MakeForm(SPHERE, "Ball")
  811. coroutine.resume(coroutine.create(function()
  812. for i = 1, 100 do
  813. Swait()
  814. SPHERE.CFrame = SPHERE.CFrame * CF(0, 0.3, 0)
  815. SPHERE.Transparency = i / 100
  816. end
  817. SPHERE:remove()
  818. end))
  819. end
  820. end
  821. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  822. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  823. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  824. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  825. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  826. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  827. end
  828. Character.Archivable = true
  829. local CLONE = Character:Clone()
  830. CLONE.BGM:remove()
  831. CLONE.Effects:remove()
  832. CLONE.Parent = Effects
  833. local X = 1 - VISUAL.Transparency
  834. local ORIGINPOS = RootPart.Position
  835. Transparency(1)
  836. VALUE2 = true
  837. RootPart.CFrame = CF(Mouse.Hit.p + VT(0, 5, 0), ORIGINPOS)
  838. for i = 1, 50 do
  839. Swait()
  840. VISUAL.Transparency = VISUAL.Transparency + X / 50
  841. VISUAL.Size = VISUAL.Size + VT(0.05, 0.05, 0.05)
  842. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  848. end
  849. VISUAL:remove()
  850. coroutine.resume(coroutine.create(function()
  851. local PITS = {}
  852. local HITFLOOR, HITPOS, NORMAL = Raycast(CLONE.Torso.Position, CF(CLONE.Torso.Position, CLONE.Torso.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  853. MagicSphere(VT(0, 0, 0), 25, CF(CLONE.Torso.Position), "Royal purple", VT(2, 2, 2))
  854. MagicSphere(VT(1, 1, 1), 55, CF(CLONE.Torso.Position), "Really black", VT(2, 2, 2))
  855. if HITFLOOR ~= nil then
  856. local POS = CLONE.Torso.Position
  857. CLONE:remove()
  858. for i = 1, 150 do
  859. Swait()
  860. local PEWSOUND = {
  861. "907527750",
  862. "907527912",
  863. "907528019",
  864. "907530553"
  865. }
  866. AddChildrenToTable(HITPOS, workspace, i, HITBODIES)
  867. if MRANDOM(1, 2) == 1 then
  868. local ICICLE = IT("CornerWedgePart", Effects)
  869. ICICLE.Locked = true
  870. ICICLE.CanCollide = false
  871. ICICLE.Anchored = true
  872. ICICLE.BrickColor = BRICKC("Royal purple")
  873. ICICLE.Material = "Neon"
  874. ICICLE.Size = VT(i / 10, i / 2, i / 10)
  875. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
  876. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 2, i / 2), 0, MRANDOM(-i / 2, i / 2)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  877. table.insert(PITS, ICICLE)
  878. for e = 1, #HITBODIES do
  879. if HITBODIES[e] ~= nil then
  880. local BOD = HITBODIES[e]
  881. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  882. if TORS then
  883. BOD:BreakJoints()
  884. for _, c in pairs(BOD:GetChildren()) do
  885. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  886. local bv = Instance.new("BodyVelocity")
  887. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  888. bv.velocity = CF(POS, c.Position).lookVector * 250
  889. bv.Parent = c
  890. Debris:AddItem(bv, 0.2)
  891. end
  892. end
  893. end
  894. end
  895. end
  896. HITBODIES = {}
  897. end
  898. end
  899. coroutine.resume(coroutine.create(function()
  900. for i = 1, 10 do
  901. Swait()
  902. for e = 1, #PITS do
  903. if PITS[e] ~= nil then
  904. local E = PITS[e]
  905. E.Transparency = E.Transparency + 0.1
  906. end
  907. end
  908. end
  909. for e = 1, #PITS do
  910. if PITS[e] ~= nil then
  911. local E = PITS[e]
  912. E:remove()
  913. end
  914. end
  915. end))
  916. end
  917. end))
  918. VALUE2 = false
  919. VALUE1 = false
  920. ATTACK = false
  921. Rooted = false
  922. for i = 1, 10 do
  923. Swait()
  924. Transparency(1 - i / 10)
  925. end
  926. end
  927. function Grave_Encounter()
  928. local HITBODIES = {}
  929. local PEWSOUND = {
  930. "907527750",
  931. "907527912",
  932. "907528019",
  933. "907530553"
  934. }
  935. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  936. if HITFLOOR ~= nil then
  937. CreateSound(ATTACKTAUNTS[MRANDOM(1, #ATTACKTAUNTS)], Head, 10, 0.9)
  938. ATTACK = true
  939. Rooted = false
  940. local GYRO = IT("BodyGyro", RootPart)
  941. GYRO.D = 100
  942. GYRO.P = 2000
  943. GYRO.MaxTorque = VT(0, 4000000, 0)
  944. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  945. for i = 0, 3.5, 0.1 / Animation_Speed do
  946. Swait()
  947. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  948. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  949. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  950. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  951. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  952. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  953. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  954. end
  955. for i = 0, 0.15, 0.1 / Animation_Speed do
  956. Swait()
  957. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  958. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  959. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  960. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  961. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  962. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  963. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  964. end
  965. Rooted = true
  966. GYRO:remove()
  967. coroutine.resume(coroutine.create(function()
  968. local PITS = {}
  969. local FRAME = RootPart.CFrame
  970. for i = 1, 200 do
  971. Swait()
  972. for e = 1, #HITBODIES do
  973. if HITBODIES[e] ~= nil then
  974. local BOD = HITBODIES[e]
  975. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  976. if TORS then
  977. BOD:BreakJoints()
  978. table.remove(HITBODIES, e)
  979. end
  980. end
  981. end
  982. local GLITCH = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Puddle", VT(2 + i / 2, 0, 2 + i / 2))
  983. MakeForm(GLITCH, "Cyl")
  984. GLITCH.CFrame = FRAME * CF(MRANDOM(-5, 5), 0, 5 - i * 3)
  985. local HITFLOOR, HITPOS, NORMAL = Raycast(GLITCH.Position, CF(GLITCH.Position, GLITCH.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  986. if HITFLOOR ~= nil then
  987. table.insert(PITS, GLITCH)
  988. GLITCH.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  989. AddChildrenToTable(HITPOS, workspace, i / 2, HITBODIES)
  990. if MRANDOM(1, 2) == 1 then
  991. local ICICLE = IT("CornerWedgePart", Effects)
  992. ICICLE.Locked = true
  993. ICICLE.CanCollide = false
  994. ICICLE.Anchored = true
  995. ICICLE.BrickColor = BRICKC("Royal purple")
  996. ICICLE.Material = "Neon"
  997. ICICLE.Size = VT(i / 10, i / 2, i / 10)
  998. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
  999. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 10, i / 10), 0, MRANDOM(-i / 10, i / 10)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  1000. table.insert(PITS, ICICLE)
  1001. end
  1002. else
  1003. GLITCH:remove()
  1004. break
  1005. end
  1006. end
  1007. coroutine.resume(coroutine.create(function()
  1008. for i = 1, 10 do
  1009. Swait()
  1010. for e = 1, #PITS do
  1011. if PITS[e] ~= nil then
  1012. local E = PITS[e]
  1013. E.Transparency = E.Transparency + 0.1
  1014. end
  1015. end
  1016. end
  1017. for e = 1, #PITS do
  1018. if PITS[e] ~= nil then
  1019. local E = PITS[e]
  1020. E:remove()
  1021. end
  1022. end
  1023. end))
  1024. end))
  1025. for i = 0, 1, 0.1 / Animation_Speed do
  1026. Swait()
  1027. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1028. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1029. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1030. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1031. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1032. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1033. end
  1034. ATTACK = false
  1035. Rooted = false
  1036. end
  1037. end
  1038. function Endless_Pain()
  1039. local HITBODIES = {}
  1040. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1041. if HITFLOOR ~= nil then
  1042. CreateSound("463598785", RootPart, 10, 0.8)
  1043. ATTACK = true
  1044. Rooted = true
  1045. VALUE1 = true
  1046. for i = 1, 500 do
  1047. Swait()
  1048. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  1049. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1050. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1051. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1052. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1053. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1054. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1055. for e = 1, #HITBODIES do
  1056. if HITBODIES[e] ~= nil then
  1057. local BOD = HITBODIES[e]
  1058. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1059. if TORS and TORS:FindFirstChild("BV") == nil then
  1060. local bv = Instance.new("BodyVelocity")
  1061. bv.Name = "BV"
  1062. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1063. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  1064. bv.Parent = TORS
  1065. Debris:AddItem(bv, 0.1)
  1066. end
  1067. end
  1068. end
  1069. end
  1070. coroutine.resume(coroutine.create(function()
  1071. for e = 1, #HITBODIES do
  1072. Swait()
  1073. if HITBODIES[e] ~= nil then
  1074. local BOD = HITBODIES[e]
  1075. for i = 1, #HITBODIES do
  1076. if HITBODIES[i] == BOD and i ~= e then
  1077. table.remove(HITBODIES, i)
  1078. end
  1079. end
  1080. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1081. if TORS then
  1082. TORS.Anchored = false
  1083. CreateSound("92597369", TORS, 10, 0.8)
  1084. BOD:BreakJoints()
  1085. for _, c in pairs(BOD:GetChildren()) do
  1086. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1087. local bv = Instance.new("BodyVelocity")
  1088. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1089. bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  1090. bv.Parent = c
  1091. Debris:AddItem(bv, 0.2)
  1092. end
  1093. end
  1094. end
  1095. end
  1096. end
  1097. end))
  1098. VALUE1 = false
  1099. ATTACK = false
  1100. Rooted = false
  1101. end
  1102. end
  1103. function Absoluteum()
  1104. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1105. if HITFLOOR ~= nil then
  1106. do
  1107. local HITBODIES = {}
  1108. ATTACK = true
  1109. Rooted = true
  1110. CreateSound("416200578", RootPart, 10, 1)
  1111. for i = 0, 8, 0.1 / Animation_Speed do
  1112. Swait()
  1113. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1114. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1115. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1116. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1117. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1118. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1119. end
  1120. CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9)
  1121. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  1122. for i = 1, 45 do
  1123. Swait()
  1124. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1128. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1129. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1130. end
  1131. coroutine.resume(coroutine.create(function()
  1132. local IMPACT = false
  1133. local BULLET = ABSOLUTE
  1134. MakeForm(BULLET, "Ball")
  1135. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  1136. for i = 1, 500 do
  1137. Swait()
  1138. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  1139. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  1140. MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Royal purple", VT(-10, -10, -10) / 55)
  1141. if HIT ~= nil then
  1142. IMPACT = true
  1143. break
  1144. end
  1145. end
  1146. if IMPACT == false then
  1147. for i = 1, 40 do
  1148. Swait()
  1149. BULLET.Size = BULLET.Size * 0.9
  1150. end
  1151. BULLET:remove()
  1152. else
  1153. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  1154. for i = 1, 175 do
  1155. Swait()
  1156. BULLET.Size = BULLET.Size * 0.99
  1157. end
  1158. CreateSound("438666001", BULLET, 10, 3)
  1159. Swait(35)
  1160. BULLET.Transparency = 1
  1161. for i = 1, 20 do
  1162. for e = 1, 5 do
  1163. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
  1164. end
  1165. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  1166. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  1167. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  1168. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  1169. Swait(5)
  1170. for e = 1, #HITBODIES do
  1171. if HITBODIES[e] ~= nil then
  1172. local BOD = HITBODIES[e]
  1173. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1174. if TORS then
  1175. BOD:BreakJoints()
  1176. for _, c in pairs(BOD:GetChildren()) do
  1177. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1178. local bv = Instance.new("BodyVelocity")
  1179. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1180. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  1181. bv.Parent = c
  1182. Debris:AddItem(bv, 0.2)
  1183. end
  1184. end
  1185. end
  1186. end
  1187. end
  1188. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Royal purple", VT(i, 0, i) * 2)
  1189. end
  1190. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 1, 1), VT(12, 12, 12))
  1191. Debris:AddItem(BULLET, 10)
  1192. end
  1193. end))
  1194. ATTACK = false
  1195. Rooted = false
  1196. end
  1197. end
  1198. end
  1199. local Decal = IT("Decal")
  1200. function Unwilling_Hop()
  1201. ATTACK = true
  1202. Rooted = false
  1203. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Warphole", VT(0, 0, 0))
  1204. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1205. local decal = Decal:Clone()
  1206. decal.Parent = O1
  1207. decal.Face = "Top"
  1208. decal.Texture = "http://www.roblox.com/asset/?id=99404939"
  1209. local decal2 = Decal:Clone()
  1210. decal2.Parent = O1
  1211. decal2.Face = "Bottom"
  1212. decal2.Texture = "http://www.roblox.com/asset/?id=99404939"
  1213. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Warphole", VT(0, 0, 0))
  1214. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  1215. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1216. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Warphole", VT(0, 0, 0))
  1217. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  1218. local decal = Decal:Clone()
  1219. decal.Parent = O2
  1220. decal.Face = "Top"
  1221. decal.Texture = "http://www.roblox.com/asset/?id=99404939"
  1222. local decal2 = Decal:Clone()
  1223. decal2.Parent = O2
  1224. decal2.Face = "Bottom"
  1225. decal2.Texture = "http://www.roblox.com/asset/?id=99404939"
  1226. CreateSound("1127492102", O1, 10, 0.7)
  1227. CreateSound("1127492102", O2, 10, 0.7)
  1228. for i = 1, 75 do
  1229. Swait()
  1230. O1.Size = O1.Size + VT(0.12, 0, 0.12)
  1231. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  1232. O2.Size = O2.Size + VT(0.12, 0, 0.12)
  1233. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1234. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1235. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1236. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1237. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1238. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1239. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1240. end
  1241. Rooted = true
  1242. UNANCHOR = false
  1243. RootPart.Anchored = true
  1244. VALUE1 = true
  1245. for i = 1, 15 do
  1246. Transparency(i / 15)
  1247. Swait()
  1248. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  1249. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1252. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1253. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1254. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1255. end
  1256. RootPart.CFrame = ROOT.CFrame
  1257. ROOT:remove()
  1258. for i = 1, 15 do
  1259. Transparency(1 - i / 15)
  1260. Swait()
  1261. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  1262. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1266. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1268. end
  1269. VALUE1 = false
  1270. coroutine.resume(coroutine.create(function()
  1271. for i = 1, 75 do
  1272. Swait()
  1273. O1.Size = O1.Size - VT(0.12, 0, 0.12)
  1274. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1275. O2.Size = O2.Size - VT(0.12, 0, 0.12)
  1276. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1277. end
  1278. O1:remove()
  1279. O2:remove()
  1280. end))
  1281. UNANCHOR = true
  1282. RootPart.Anchored = false
  1283. ATTACK = false
  1284. Rooted = false
  1285. end
  1286. function Taunt()
  1287. ATTACK = true
  1288. Rooted = true
  1289. local ROAR = CreateSound("134978657", Head, 10, 0.9)
  1290. Swait()
  1291. repeat
  1292. Swait()
  1293. ROAR.Parent = Head
  1294. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1295. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1296. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1297. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1298. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1299. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1300. until ROAR.Playing == false
  1301. ATTACK = false
  1302. Rooted = false
  1303. end
  1304. function Roar()
  1305. ATTACK = true
  1306. Rooted = true
  1307. local ROAR = CreateSound("544159394", Head, 10, 0.8)
  1308. Swait()
  1309. repeat
  1310. Swait()
  1311. ROAR.Parent = Head
  1312. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1313. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1314. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1315. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1316. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1317. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1318. until ROAR.Playing == false
  1319. ATTACK = false
  1320. Rooted = false
  1321. end
  1322. function MouseDown(Mouse)
  1323. if ATTACK == false then
  1324. end
  1325. end
  1326. function MouseUp(Mouse)
  1327. HOLD = false
  1328. end
  1329. function KeyDown(Key)
  1330. KEYHOLD = true
  1331. if Key == "z" and ATTACK == false then
  1332. Orbital_Devastor()
  1333. end
  1334. if Key == "b" and ATTACK == false then
  1335. Savage_Fire()
  1336. end
  1337. if Key == "c" and ATTACK == false then
  1338. Grave_Encounter()
  1339. end
  1340. if Key == "v" and ATTACK == false then
  1341. Endless_Pain()
  1342. end
  1343. if Key == "x" and ATTACK == false then
  1344. Absoluteum()
  1345. end
  1346. if Key == "q" and ATTACK == false then
  1347. Unwilling_Hop()
  1348. end
  1349. if Key == "t" and ATTACK == false then
  1350. Taunt()
  1351. end
  1352. if Key == "9" and ATTACK == false then
  1353. Roar()
  1354. end
  1355. end
  1356. function KeyUp(Key)
  1357. KEYHOLD = false
  1358. end
  1359. Mouse.Button1Down:connect(function(NEWKEY)
  1360. MouseDown(NEWKEY)
  1361. end)
  1362. Mouse.Button1Up:connect(function(NEWKEY)
  1363. MouseUp(NEWKEY)
  1364. end)
  1365. Mouse.KeyDown:connect(function(NEWKEY)
  1366. KeyDown(NEWKEY)
  1367. end)
  1368. Mouse.KeyUp:connect(function(NEWKEY)
  1369. KeyUp(NEWKEY)
  1370. end)
  1371. function unanchor()
  1372. if UNANCHOR == true then
  1373. g = Character:GetChildren()
  1374. for i = 1, #g do
  1375. if g[i].ClassName == "Part" then
  1376. g[i].Anchored = false
  1377. end
  1378. end
  1379. end
  1380. end
  1381. function refit()
  1382. RootJoint.Parent = RootPart
  1383. Neck.Parent = Torso
  1384. RightShoulder.Parent = Torso
  1385. LeftShoulder.Parent = Torso
  1386. RightHip.Parent = Torso
  1387. LeftHip.Parent = Torso
  1388. RootPart.Parent = Character
  1389. LeftArm.Parent = Character
  1390. RightArm.Parent = Character
  1391. RightLeg.Parent = Character
  1392. LeftLeg.Parent = Character
  1393. Torso.Parent = Character
  1394. Head.Parent = Character
  1395. end
  1396. Humanoid.Changed:connect(function(Jump)
  1397. if Jump == "Jump" and Disable_Jump == true then
  1398. Humanoid.Jump = false
  1399. end
  1400. end)
  1401. Humanoid.HipHeight = 2
  1402. Head:ClearAllChildren()
  1403. local FF = IT("ForceField", Character)
  1404. FF.Visible = false
  1405. Speed = 45
  1406. while true do
  1407. Swait()
  1408. ANIMATE.Parent = nil
  1409. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1410. IDLEANIMATION:Play()
  1411. SINE = SINE + CHANGE
  1412. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1413. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1414. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1415. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1416. if ATTACK == false then
  1417. if TORSOVELOCITY < 1 then
  1418. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1419. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1420. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1422. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1423. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1424. elseif TORSOVELOCITY > 1 then
  1425. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1426. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-2.5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1427. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1428. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1429. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1430. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1431. end
  1432. end
  1433. if VALUE2 == false then
  1434. end
  1435. unanchor()
  1436. Humanoid.MaxHealth = "inf"
  1437. Humanoid.Health = "inf"
  1438. if Rooted == false then
  1439. Disable_Jump = false
  1440. Humanoid.WalkSpeed = Speed
  1441. elseif Rooted == true then
  1442. Disable_Jump = true
  1443. Humanoid.WalkSpeed = 0
  1444. end
  1445. for _, c in pairs(Character:GetChildren()) do
  1446. if c.ClassName == "Part" then
  1447. c.Material = "Neon"
  1448. if c:FindFirstChildOfClass("ParticleEmitter") then
  1449. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1450. end
  1451. if c == Torso then
  1452. c.Color = C3(0, 0, 0)
  1453. elseif c == RightLeg then
  1454. c.Color = C3(0.05, 0, 0)
  1455. elseif c == LeftLeg then
  1456. c.Color = C3(0.05, 0, 0)
  1457. elseif c == Head then
  1458. if c:FindFirstChild("Dominus") == nil then
  1459. local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "753660438", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
  1460. M.Name = "Dominus"
  1461. end
  1462. if c:FindFirstChild("face") then
  1463. c.face:remove()
  1464. end
  1465. end
  1466. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" then
  1467. c:remove()
  1468. end
  1469. end
  1470. FF.Parent = Character
  1471. sick.Parent = Character
  1472. refit()
  1473. script.Parent = WEAPONGUI
  1474. Character.Parent = workspace
  1475. Humanoid.PlatformStand = false
  1476. Humanoid.Name = "Lost Dominus"
  1477. Humanoid.DisplayDistanceType = "None"
  1478. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement