Advertisement
soubrhomi

Dominus required

Nov 7th, 2018
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.64 KB | None | 0 0
  1. local Player = game:GetService("Players").soubrhomi
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61.  
  62. wait(0.2)
  63. Player = game:GetService("Players").soubrhomi
  64. PlayerGui = Player.PlayerGui
  65. Cam = workspace.CurrentCamera
  66. Backpack = Player.Backpack
  67. Character = Player.Character
  68. Humanoid = Character.Humanoid
  69. RootPart = Character.HumanoidRootPart
  70. Torso = Character.Torso
  71. Head = Character.Head
  72. RightArm = Character["Right Arm"]
  73. LeftArm = Character["Left Arm"]
  74. RightLeg = Character["Right Leg"]
  75. LeftLeg = Character["Left Leg"]
  76. RootJoint = RootPart.RootJoint
  77. Neck = Torso.Neck
  78. RightShoulder = Torso["Right Shoulder"]
  79. LeftShoulder = Torso["Left Shoulder"]
  80. RightHip = Torso["Right Hip"]
  81. LeftHip = Torso["Left Hip"]
  82. local sick = Instance.new("Sound", Character)
  83. sick.SoundId = "rbxassetid://859912308"
  84. sick.Looped = true
  85. sick.Pitch = 1
  86. sick.Volume = 1
  87. sick:Play()
  88. IT = Instance.new
  89. CF = CFrame.new
  90. VT = Vector3.new
  91. RAD = math.rad
  92. C3 = Color3.new
  93. UD2 = UDim2.new
  94. BRICKC = BrickColor.new
  95. ANGLES = CFrame.Angles
  96. EULER = CFrame.fromEulerAnglesXYZ
  97. COS = math.cos
  98. ACOS = math.acos
  99. SIN = math.sin
  100. ASIN = math.asin
  101. ABS = math.abs
  102. MRANDOM = math.random
  103. FLOOR = math.floor
  104. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  105. local NEWMESH = IT(MESH)
  106. if MESH == "SpecialMesh" then
  107. NEWMESH.MeshType = MESHTYPE
  108. if MESHID ~= "nil" and MESHID ~= "" then
  109. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  110. end
  111. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  112. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  113. end
  114. end
  115. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  116. NEWMESH.Scale = SCALE
  117. NEWMESH.Parent = PARENT
  118. return NEWMESH
  119. end
  120. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  121. local NEWPART = IT("Part")
  122. NEWPART.formFactor = FORMFACTOR
  123. NEWPART.Reflectance = REFLECTANCE
  124. NEWPART.Transparency = TRANSPARENCY
  125. NEWPART.CanCollide = false
  126. NEWPART.Locked = true
  127. NEWPART.Anchored = true
  128. if ANCHOR == false then
  129. NEWPART.Anchored = false
  130. end
  131. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  132. NEWPART.Name = NAME
  133. NEWPART.Size = SIZE
  134. NEWPART.Position = Torso.Position
  135. NEWPART.Material = MATERIAL
  136. NEWPART:BreakJoints()
  137. NEWPART.Parent = PARENT
  138. return NEWPART
  139. end
  140. Player_Size = 1
  141. Animation_Speed = 3
  142. Frame_Speed = 0.016666666666666666
  143. local Speed = 16
  144. local Effects2 = {}
  145. local weldBetween = function(a, b)
  146. local weldd = Instance.new("ManualWeld")
  147. weldd.Part0 = a
  148. weldd.Part1 = b
  149. weldd.C0 = CFrame.new()
  150. weldd.C1 = b.CFrame:inverse() * a.CFrame
  151. weldd.Parent = a
  152. return weldd
  153. end
  154. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  155. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  156. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  157. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  158. local CHANGEDEFENSE = 0
  159. local CHANGEDAMAGE = 0
  160. local CHANGEMOVEMENT = 0
  161. local ANIM = "Idle"
  162. local ATTACK = false
  163. local EQUIPPED = false
  164. local HOLD = false
  165. local COMBO = 1
  166. local Rooted = false
  167. local SINE = 0
  168. local KEYHOLD = false
  169. local CHANGE = 2 / Animation_Speed
  170. local WALKINGANIM = false
  171. local WALK = 0
  172. local VALUE1 = false
  173. local VALUE2 = false
  174. local ROBLOXIDLEANIMATION = IT("Animation")
  175. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  176. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  177. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  178. WEAPONGUI.Name = "Weapon GUI"
  179. local Effects = IT("Folder", Character)
  180. Effects.Name = "Effects"
  181. local ANIMATOR = Humanoid.Animator
  182. local ANIMATE = Character.Animate
  183. local HITPLAYERSOUNDS = {
  184. "263032172",
  185. "263032182",
  186. "263032200",
  187. "263032221",
  188. "263032252",
  189. "263033191"
  190. }
  191. local HITARMORSOUNDS = {
  192. "199149321",
  193. "199149338",
  194. "199149367",
  195. "199149409",
  196. "199149452"
  197. }
  198. local HITWEAPONSOUNDS = {
  199. "199148971",
  200. "199149025",
  201. "199149072",
  202. "199149109",
  203. "199149119"
  204. }
  205. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  206. local UNANCHOR = true
  207. local SKILLTEXTCOLOR = C3(0.0196078431372549, 0.09803921568627451, 0.0196078431372549)
  208. ArtificialHB = Instance.new("BindableEvent", script)
  209. ArtificialHB.Name = "ArtificialHB"
  210. script:WaitForChild("ArtificialHB")
  211. frame = Frame_Speed
  212. tf = 0
  213. allowframeloss = false
  214. tossremainder = false
  215. lastframe = tick()
  216. script.ArtificialHB:Fire()
  217. game:GetService("RunService").Heartbeat:connect(function(s, p)
  218. tf = tf + s
  219. if tf >= frame then
  220. if allowframeloss then
  221. script.ArtificialHB:Fire()
  222. lastframe = tick()
  223. else
  224. for i = 1, math.floor(tf / frame) do
  225. script.ArtificialHB:Fire()
  226. end
  227. lastframe = tick()
  228. end
  229. if tossremainder then
  230. tf = 0
  231. else
  232. tf = tf - frame * math.floor(tf / frame)
  233. end
  234. end
  235. end)
  236. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  237. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  238. end
  239. function PositiveAngle(NUMBER)
  240. if NUMBER >= 0 then
  241. NUMBER = 0
  242. end
  243. return NUMBER
  244. end
  245. function NegativeAngle(NUMBER)
  246. if NUMBER <= 0 then
  247. NUMBER = 0
  248. end
  249. return NUMBER
  250. end
  251. function Swait(NUMBER)
  252. if NUMBER == 0 or NUMBER == nil then
  253. ArtificialHB.Event:wait()
  254. else
  255. for i = 1, NUMBER do
  256. ArtificialHB.Event:wait()
  257. end
  258. end
  259. end
  260. function QuaternionFromCFrame(cf)
  261. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  262. local trace = m00 + m11 + m22
  263. if trace > 0 then
  264. local s = math.sqrt(1 + trace)
  265. local recip = 0.5 / s
  266. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  267. else
  268. local i = 0
  269. if m00 < m11 then
  270. i = 1
  271. end
  272. if m22 > (i == 0 and m00 or m11) then
  273. i = 2
  274. end
  275. if i == 0 then
  276. local s = math.sqrt(m00 - m11 - m22 + 1)
  277. local recip = 0.5 / s
  278. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  279. elseif i == 1 then
  280. local s = math.sqrt(m11 - m22 - m00 + 1)
  281. local recip = 0.5 / s
  282. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  283. elseif i == 2 then
  284. local s = math.sqrt(m22 - m00 - m11 + 1)
  285. local recip = 0.5 / s
  286. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  287. end
  288. end
  289. end
  290. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  291. local xs, ys, zs = x + x, y + y, z + z
  292. local wx, wy, wz = w * xs, w * ys, w * zs
  293. local xx = x * xs
  294. local xy = x * ys
  295. local xz = x * zs
  296. local yy = y * ys
  297. local yz = y * zs
  298. local zz = z * zs
  299. 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))
  300. end
  301. function QuaternionSlerp(a, b, t)
  302. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  303. local startInterp, finishInterp
  304. if cosTheta >= 1.0E-4 then
  305. if 1 - cosTheta > 1.0E-4 then
  306. local theta = ACOS(cosTheta)
  307. local invSinTheta = 1 / SIN(theta)
  308. startInterp = SIN((1 - t) * theta) * invSinTheta
  309. finishInterp = SIN(t * theta) * invSinTheta
  310. else
  311. startInterp = 1 - t
  312. finishInterp = t
  313. end
  314. elseif 1 + cosTheta > 1.0E-4 then
  315. local theta = ACOS(-cosTheta)
  316. local invSinTheta = 1 / SIN(theta)
  317. startInterp = SIN((t - 1) * theta) * invSinTheta
  318. finishInterp = SIN(t * theta) * invSinTheta
  319. else
  320. startInterp = t - 1
  321. finishInterp = t
  322. end
  323. 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
  324. end
  325. function Clerp(a, b, t)
  326. local qa = {
  327. QuaternionFromCFrame(a)
  328. }
  329. local qb = {
  330. QuaternionFromCFrame(b)
  331. }
  332. local ax, ay, az = a.x, a.y, a.z
  333. local bx, by, bz = b.x, b.y, b.z
  334. local _t = 1 - t
  335. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  336. end
  337. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  338. local frame = IT("Frame")
  339. frame.BackgroundTransparency = TRANSPARENCY
  340. frame.BorderSizePixel = BORDERSIZEPIXEL
  341. frame.Position = POSITION
  342. frame.Size = SIZE
  343. frame.BackgroundColor3 = COLOR
  344. frame.BorderColor3 = BORDERCOLOR
  345. frame.Name = NAME
  346. frame.Parent = PARENT
  347. return frame
  348. end
  349. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  350. local label = IT("TextLabel")
  351. label.BackgroundTransparency = 1
  352. label.Size = UD2(1, 0, 1, 0)
  353. label.Position = UD2(0, 0, 0, 0)
  354. label.TextColor3 = TEXTCOLOR
  355. label.TextStrokeTransparency = STROKETRANSPARENCY
  356. label.TextTransparency = TRANSPARENCY
  357. label.FontSize = TEXTFONTSIZE
  358. label.Font = TEXTFONT
  359. label.BorderSizePixel = BORDERSIZEPIXEL
  360. label.TextScaled = false
  361. label.Text = TEXT
  362. label.Name = NAME
  363. label.Parent = PARENT
  364. return label
  365. end
  366. function NoOutlines(PART)
  367. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  368. end
  369. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  370. local NEWWELD = IT(TYPE)
  371. NEWWELD.Part0 = PART0
  372. NEWWELD.Part1 = PART1
  373. NEWWELD.C0 = C0
  374. NEWWELD.C1 = C1
  375. NEWWELD.Parent = PARENT
  376. return NEWWELD
  377. end
  378. local S = IT("Sound")
  379. function CreateSound(ID, PARENT, VOLUME, PITCH)
  380. local NEWSOUND
  381. coroutine.resume(coroutine.create(function()
  382. NEWSOUND = S:Clone()
  383. NEWSOUND.Parent = PARENT
  384. NEWSOUND.Volume = VOLUME
  385. NEWSOUND.Pitch = PITCH
  386. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  387. Swait()
  388. NEWSOUND:play()
  389. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  390. end))
  391. return NEWSOUND
  392. end
  393. function CFrameFromTopBack(at, top, back)
  394. local right = top:Cross(back)
  395. 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)
  396. end
  397. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  398. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  399. wave.Color = COLOR
  400. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  401. wave.CFrame = CFRAME
  402. coroutine.resume(coroutine.create(function(PART)
  403. for i = 1, WAIT do
  404. Swait()
  405. mesh.Scale = mesh.Scale + GROW
  406. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  407. if DOESROT == true then
  408. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  409. end
  410. wave.Transparency = wave.Transparency + 0.5 / WAIT
  411. if wave.Transparency > 0.99 then
  412. wave:remove()
  413. end
  414. end
  415. end))
  416. end
  417. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  418. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  419. wave.Color = COLOR
  420. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  421. wave.CFrame = CFRAME
  422. coroutine.resume(coroutine.create(function(PART)
  423. for i = 1, WAIT do
  424. Swait()
  425. mesh.Scale = mesh.Scale + GROW
  426. wave.Transparency = wave.Transparency + 1 / WAIT
  427. if wave.Transparency > 0.99 then
  428. wave:remove()
  429. end
  430. end
  431. end))
  432. end
  433. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  434. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  435. local mesh
  436. if KIND == "Base" then
  437. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  438. elseif KIND == "Thin" then
  439. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  440. elseif KIND == "Round" then
  441. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  442. end
  443. wave.CFrame = CFRAME
  444. coroutine.resume(coroutine.create(function(PART)
  445. for i = 1, WAIT do
  446. Swait()
  447. mesh.Scale = mesh.Scale + GROW / 10
  448. wave.Transparency = wave.Transparency + 0.5 / WAIT
  449. if wave.Transparency > 0.99 then
  450. wave:remove()
  451. end
  452. end
  453. end))
  454. end
  455. function MakeForm(PART, TYPE)
  456. if TYPE == "Cyl" then
  457. local MSH = IT("CylinderMesh", PART)
  458. elseif TYPE == "Ball" then
  459. local MSH = IT("SpecialMesh", PART)
  460. MSH.MeshType = "Sphere"
  461. elseif TYPE == "Wedge" then
  462. local MSH = IT("SpecialMesh", PART)
  463. MSH.MeshType = "Wedge"
  464. end
  465. end
  466. function CheckTableForString(Table, String)
  467. for i, v in pairs(Table) do
  468. if string.find(string.lower(String), string.lower(v)) then
  469. return true
  470. end
  471. end
  472. return false
  473. end
  474. function CheckIntangible(Hit)
  475. local ProjectileNames = {
  476. "Water",
  477. "Arrow",
  478. "Projectile",
  479. "Effect",
  480. "Rail",
  481. "Lightning",
  482. "Bullet"
  483. }
  484. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  485. return true
  486. end
  487. return false
  488. end
  489. Debris = game:GetService("Debris")
  490. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  491. local Direction = CFrame.new(StartPos, Vec).lookVector
  492. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  493. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  494. if RayHit and CheckIntangible(RayHit) then
  495. if DelayIfHit then
  496. wait()
  497. end
  498. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  499. end
  500. return RayHit, RayPos, RayNormal
  501. end
  502. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  503. if DoesCourontine == false then
  504. local Direction = CF(Part.Position, ToLocation)
  505. local Distance = (Part.Position - ToLocation).magnitude
  506. for i = 1, AmountOfTime do
  507. Swait()
  508. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  509. Direction = Part.CFrame
  510. end
  511. Part:remove()
  512. elseif DoesCourontine == true then
  513. coroutine.resume(coroutine.create(function()
  514. local Direction = CF(Part.Position, ToLocation)
  515. local Distance = (Part.Position - ToLocation).magnitude
  516. for i = 1, AmountOfTime do
  517. Swait()
  518. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  519. Direction = Part.CFrame
  520. end
  521. Part:remove()
  522. end))
  523. end
  524. end
  525. function turnto(position)
  526. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  527. end
  528. local naeeym2 = Instance.new("BillboardGui", Character)
  529. naeeym2.AlwaysOnTop = true
  530. naeeym2.Size = UDim2.new(5, 35, 2, 15)
  531. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  532. naeeym2.Adornee = Character.Head
  533. naeeym2.Name = "Name"
  534. naeeym2.PlayerToHideFrom = Player
  535. local tecks2 = Instance.new("TextLabel", naeeym2)
  536. tecks2.BackgroundTransparency = 1
  537. tecks2.TextScaled = true
  538. tecks2.BorderSizePixel = 0
  539. tecks2.Text = "Dominus Praefectus"
  540. tecks2.Font = "Fantasy"
  541. tecks2.TextSize = 30
  542. tecks2.TextStrokeTransparency = 0
  543. tecks2.TextColor3 = SKILLTEXTCOLOR
  544. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  545. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  546. tecks2.Parent = naeeym2
  547. function Transparency(TRANS)
  548. tecks2.TextTransparency = TRANS
  549. tecks2.TextStrokeTransparency = TRANS
  550. for _, c in pairs(Character:GetChildren()) do
  551. if c.ClassName == "Part" and c ~= RootPart then
  552. c.Transparency = TRANS
  553. if c:FindFirstChildOfClass("Decal") then
  554. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  555. end
  556. elseif c.ClassName == "Accessory" then
  557. c.Handle.Transparency = TRANS
  558. elseif c.ClassName == "Model" then
  559. for _, q in pairs(c:GetChildren()) do
  560. if q.ClassName == "Part" then
  561. q.Transparency = TRANS
  562. if q:FindFirstChildOfClass("Decal") then
  563. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  564. end
  565. end
  566. end
  567. end
  568. end
  569. end
  570. Humanoid.Died:connect(function()
  571. Humanoid.Parent = nil
  572. Humanoid.MaxHealth = "inf"
  573. Humanoid.Health = "inf"
  574. refit()
  575. Humanoid.Parent = Character
  576. CreateSound("907330011", Head, 10, 1)
  577. end)
  578. 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")
  579. 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")
  580. local SKILL3FRAME = 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 3 Frame")
  581. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Governor Bomb", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  582. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Command Rush", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  583. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ruler", SKILLTEXTCOLOR, 12, "Antique", 0, 2, 0, "Text 3")
  584. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
  585. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Monarch Hop", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
  586. function killnearest(position, range, maxstrength)
  587. for i, v in ipairs(workspace:GetChildren()) do
  588. local body = v:GetChildren()
  589. for part = 1, #body do
  590. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  591. if v.ClassName == "Model" then
  592. v:BreakJoints()
  593. end
  594. local bv = Instance.new("BodyVelocity")
  595. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  596. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  597. bv.Parent = body[part]
  598. Debris:AddItem(bv, 0.2)
  599. end
  600. end
  601. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  602. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  603. end
  604. end
  605. end
  606. function Governor_Bomb()
  607. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
  608. local RAY = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "Laser01", VT(25, 25, 25))
  609. RAY.Color = SKILLTEXTCOLOR
  610. MakeForm(RAY, "Ball")
  611. local ECH = Mouse.Hit.p
  612. CENTER.CFrame = CF(Mouse.Hit.p)
  613. RAY.CFrame = CENTER.CFrame
  614. CreateSound("814168787", CENTER, 10, 0.6)
  615. for i = 1, 80 do
  616. Swait()
  617. RAY.Size = RAY.Size * 0.98
  618. RAY.Transparency = RAY.Transparency - 0.016666666666666666
  619. end
  620. killnearest(ECH, 25, 250)
  621. MagicSphere(VT(1, 1, 1), 55, CF(ECH), SKILLTEXTCOLOR, VT(2, 2, 2))
  622. MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2))
  623. CreateSound("314970790", CENTER, 10, 1)
  624. Debris:AddItem(CENTER, 5)
  625. RAY:remove()
  626. end
  627. function Command_Rush()
  628. ATTACK = true
  629. Rooted = false
  630. for i = 0, 1, 0.1 / Animation_Speed do
  631. Swait()
  632. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  633. 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)
  634. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  635. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  636. 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)
  637. 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)
  638. end
  639. Rooted = true
  640. local GYRO = IT("BodyGyro", RootPart)
  641. GYRO.D = 100
  642. GYRO.P = 2000
  643. GYRO.MaxTorque = VT(0, 4000000, 0)
  644. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  645. for i = 1, 15 do
  646. for i = 1, 15 do
  647. Swait()
  648. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  649. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  650. 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)
  651. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  652. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  653. 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)
  654. 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)
  655. end
  656. coroutine.resume(coroutine.create(function()
  657. local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
  658. CreateSound("814168787", EYE, 10, 1)
  659. EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
  660. local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "82326541", "82327419", VT(0, 0, 0), VT(0, 0, 0))
  661. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  662. local ATTACKI = false
  663. local TORS
  664. for i = 1, 10 do
  665. Swait()
  666. M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
  667. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  668. end
  669. for i = 1, 100 do
  670. Swait()
  671. for _, c in pairs(workspace:GetChildren()) do
  672. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  673. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  674. if 0 < HUMANOID.Health then
  675. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  676. if (TORSO.Position - EYE.Position).Magnitude < 35 then
  677. ATTACKI = true
  678. TORS = TORSO
  679. end
  680. end
  681. end
  682. end
  683. if ATTACKI == true then
  684. break
  685. end
  686. EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
  687. end
  688. if ATTACKI == false then
  689. for i = 1, 10 do
  690. Swait()
  691. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  692. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  693. end
  694. else
  695. if TORS ~= nil then
  696. CreateSound("215395388", EYE, 10, 2)
  697. local DIST = (TORS.Position - EYE.Position).Magnitude
  698. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  699. MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
  700. MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  701. EYE.CFrame = CF(EYE.Position, TORS.Position)
  702. TORS.Parent:BreakJoints()
  703. Swait(35)
  704. end
  705. for i = 1, 10 do
  706. Swait()
  707. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  708. end
  709. end
  710. EYE:remove()
  711. end))
  712. end
  713. GYRO:remove()
  714. ATTACK = false
  715. Rooted = false
  716. end
  717. function Ruler()
  718. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  719. if HITFLOOR ~= nil then
  720. do
  721. local HITBODIES = {}
  722. ATTACK = true
  723. Rooted = true
  724. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
  725. ABSOLUTE.Color = SKILLTEXTCOLOR
  726. MakeForm(ABSOLUTE, "Ball")
  727. CreateSound("814168787", ABSOLUTE, 10, 0.3)
  728. for i = 0, 4, 0.1 / Animation_Speed do
  729. Swait()
  730. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  731. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  732. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  733. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
  734. MakeForm(CHARGE, "Ball")
  735. CHARGE.Color = C3(0, 0, 0)
  736. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
  737. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  738. 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)
  739. 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)
  740. 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)
  741. 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)
  742. 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)
  743. 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)
  744. end
  745. CreateSound("907333406", Head, 10, 1)
  746. for i = 0, 2, 0.1 / Animation_Speed do
  747. Swait()
  748. 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)
  749. 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)
  750. 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)
  751. 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)
  752. 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)
  753. 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)
  754. end
  755. coroutine.resume(coroutine.create(function()
  756. local PITS = {}
  757. CreateSound("178452217", ABSOLUTE, 10, 0.7)
  758. for i = 1, 6 do
  759. for i = 1, 10 do
  760. Swait()
  761. Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
  762. ABSOLUTE.Size = ABSOLUTE.Size * 0.9
  763. end
  764. for i = 1, 10 do
  765. Swait()
  766. ABSOLUTE.Size = ABSOLUTE.Size * 1.12
  767. end
  768. end
  769. CreateSound("215395388", ABSOLUTE, 10, 0.6)
  770. CreateSound("215395388", ABSOLUTE, 10, 0.65)
  771. CreateSound("215395388", ABSOLUTE, 10, 0.7)
  772. for i = 1, 75 do
  773. Swait()
  774. local ICICLE = IT("CornerWedgePart", Effects)
  775. ICICLE.Locked = true
  776. ICICLE.CanCollide = false
  777. ICICLE.Anchored = true
  778. ICICLE.Color = C3(0, 0, 0)
  779. ICICLE.Material = "Neon"
  780. ICICLE.Size = VT(i / 3, i * 2, i / 3)
  781. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  782. table.insert(PITS, ICICLE)
  783. killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
  784. ABSOLUTE.Size = ABSOLUTE.Size * 1.03
  785. killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
  786. for i = 1, 3 do
  787. Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
  788. end
  789. CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 0, 0), VT(i / 3, 0, i / 3))
  790. end
  791. ABSOLUTE.Transparency = 0
  792. for i = 1, 10 do
  793. Swait()
  794. ABSOLUTE.Size = ABSOLUTE.Size * 0.9
  795. ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
  796. end
  797. Debris:AddItem(ABSOLUTE, 5)
  798. Swait(50)
  799. for i = 1, 10 do
  800. Swait()
  801. for e = 1, #PITS do
  802. if PITS[e] ~= nil then
  803. local E = PITS[e]
  804. E.Transparency = E.Transparency + 0.1
  805. end
  806. end
  807. end
  808. for e = 1, #PITS do
  809. if PITS[e] ~= nil then
  810. local E = PITS[e]
  811. E:remove()
  812. end
  813. end
  814. end))
  815. ATTACK = false
  816. Rooted = false
  817. end
  818. end
  819. end
  820. local Decal = IT("Decal")
  821. function Monarch_Hop()
  822. ATTACK = true
  823. Rooted = false
  824. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  825. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  826. local decal = Decal:Clone()
  827. decal.Parent = O1
  828. decal.Face = "Top"
  829. decal.Texture = "http://www.roblox.com/asset/?id=332014171"
  830. local decal2 = Decal:Clone()
  831. decal2.Parent = O1
  832. decal2.Face = "Bottom"
  833. decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
  834. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  835. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  836. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  837. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  838. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  839. local decal = Decal:Clone()
  840. decal.Parent = O2
  841. decal.Face = "Top"
  842. decal.Texture = "http://www.roblox.com/asset/?id=332014171"
  843. local decal2 = Decal:Clone()
  844. decal2.Parent = O2
  845. decal2.Face = "Bottom"
  846. decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
  847. CreateSound("84005018", O1, 10, 0.7)
  848. CreateSound("84005018", O2, 10, 0.7)
  849. for i = 1, 75 do
  850. Swait()
  851. O1.Size = O1.Size + VT(0.1, 0, 0.1)
  852. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  853. O2.Size = O2.Size + VT(0.1, 0, 0.1)
  854. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  855. 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)
  856. 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)
  857. 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)
  858. 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)
  859. 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)
  860. 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)
  861. end
  862. Rooted = true
  863. UNANCHOR = false
  864. RootPart.Anchored = true
  865. VALUE1 = true
  866. for i = 1, 15 do
  867. Transparency(i / 15)
  868. Swait()
  869. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  870. 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)
  871. 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)
  872. 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)
  873. 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)
  874. 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)
  875. 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)
  876. end
  877. RootPart.CFrame = ROOT.CFrame
  878. ROOT:remove()
  879. for i = 1, 15 do
  880. Transparency(1 - i / 15)
  881. Swait()
  882. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  883. 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)
  884. 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)
  885. 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)
  886. 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)
  887. 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)
  888. 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)
  889. end
  890. VALUE1 = false
  891. coroutine.resume(coroutine.create(function()
  892. for i = 1, 75 do
  893. Swait()
  894. O1.Size = O1.Size - VT(0.1, 0, 0.1)
  895. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  896. O2.Size = O2.Size - VT(0.1, 0, 0.1)
  897. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  898. end
  899. O1:remove()
  900. O2:remove()
  901. end))
  902. UNANCHOR = true
  903. RootPart.Anchored = false
  904. ATTACK = false
  905. Rooted = false
  906. end
  907. function Roar()
  908. ATTACK = true
  909. Rooted = true
  910. local ROAR = CreateSound("131172215", Head, 10, 1)
  911. Swait()
  912. repeat
  913. Swait()
  914. ROAR.Parent = Head
  915. 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)
  916. 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)
  917. 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)
  918. 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)
  919. 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)
  920. 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)
  921. until ROAR.Playing == false
  922. ATTACK = false
  923. Rooted = false
  924. end
  925. function MouseDown(Mouse)
  926. if ATTACK == false then
  927. end
  928. end
  929. function MouseUp(Mouse)
  930. HOLD = false
  931. end
  932. function KeyDown(Key)
  933. KEYHOLD = true
  934. if Key == "z" and ATTACK == false then
  935. Governor_Bomb()
  936. end
  937. if Key == "b" and ATTACK == false then
  938. Command_Rush()
  939. end
  940. if Key == "c" and ATTACK == false then
  941. Ruler()
  942. end
  943. if Key == "q" and ATTACK == false then
  944. Monarch_Hop()
  945. end
  946. if Key == "t" and ATTACK == false then
  947. Roar()
  948. end
  949. end
  950. function KeyUp(Key)
  951. KEYHOLD = false
  952. end
  953. Mouse.Button1Down:connect(function(NEWKEY)
  954. MouseDown(NEWKEY)
  955. end)
  956. Mouse.Button1Up:connect(function(NEWKEY)
  957. MouseUp(NEWKEY)
  958. end)
  959. Mouse.KeyDown:connect(function(NEWKEY)
  960. KeyDown(NEWKEY)
  961. end)
  962. Mouse.KeyUp:connect(function(NEWKEY)
  963. KeyUp(NEWKEY)
  964. end)
  965. function unanchor()
  966. if UNANCHOR == true then
  967. g = Character:GetChildren()
  968. for i = 1, #g do
  969. if g[i].ClassName == "Part" then
  970. g[i].Anchored = false
  971. end
  972. end
  973. end
  974. end
  975. Humanoid.Changed:connect(function(Jump)
  976. if Jump == "Jump" and Disable_Jump == true then
  977. Humanoid.Jump = false
  978. end
  979. end)
  980. Humanoid.HipHeight = 2
  981. Head:ClearAllChildren()
  982. local FF = IT("ForceField", Character)
  983. FF.Visible = false
  984. Speed = 35
  985. function refit()
  986. RootJoint.Parent = RootPart
  987. Neck.Parent = Torso
  988. RightShoulder.Parent = Torso
  989. LeftShoulder.Parent = Torso
  990. RightHip.Parent = Torso
  991. LeftHip.Parent = Torso
  992. RootPart.Parent = Character
  993. LeftArm.Parent = Character
  994. RightArm.Parent = Character
  995. RightLeg.Parent = Character
  996. LeftLeg.Parent = Character
  997. Torso.Parent = Character
  998. Head.Parent = Character
  999. end
  1000. local FOUNDFORGOTTEN = false
  1001. while true do
  1002. Swait()
  1003. ANIMATE.Parent = nil
  1004. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1005. IDLEANIMATION:Play()
  1006. SINE = SINE + CHANGE
  1007. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1008. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1009. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1010. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1011. if ATTACK == false then
  1012. if TORSOVELOCITY < 1 then
  1013. 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)
  1014. 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)
  1015. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1017. 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)
  1018. 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)
  1019. elseif TORSOVELOCITY > 1 then
  1020. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1021. 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)
  1022. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1023. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1024. 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)
  1025. 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)
  1026. end
  1027. end
  1028. unanchor()
  1029. Humanoid.MaxHealth = "inf"
  1030. Humanoid.Health = "inf"
  1031. if Rooted == false then
  1032. Disable_Jump = false
  1033. Humanoid.WalkSpeed = Speed
  1034. elseif Rooted == true then
  1035. Disable_Jump = true
  1036. Humanoid.WalkSpeed = 0
  1037. end
  1038. for _, c in pairs(Character:GetChildren()) do
  1039. if c.ClassName == "Part" then
  1040. c.Material = "Neon"
  1041. if c:FindFirstChildOfClass("ParticleEmitter") then
  1042. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1043. end
  1044. if c == Torso then
  1045. c.Color = C3(0, 0, 0)
  1046. elseif c == RightArm then
  1047. c.Color = C3(0, 0.13, 0)
  1048. elseif c == LeftArm then
  1049. c.Color = C3(0, 0.13, 0)
  1050. elseif c == RightLeg then
  1051. c.Color = C3(0, 0.03, 0)
  1052. elseif c == LeftLeg then
  1053. c.Color = C3(0, 0.03, 0)
  1054. elseif c == Head then
  1055. if c:FindFirstChild("Dominus") == nil then
  1056. local M = CreateMesh("SpecialMesh", c, "FileMesh", "527245069", "527244862", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
  1057. M.Name = "Dominus"
  1058. end
  1059. if c:FindFirstChild("face") then
  1060. c.face:remove()
  1061. end
  1062. end
  1063. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1064. c:remove()
  1065. end
  1066. end
  1067. FF.Parent = Character
  1068. sick.Parent = Character
  1069. refit()
  1070. script.Parent = WEAPONGUI
  1071. Character.Parent = workspace
  1072. Humanoid.PlatformStand = false
  1073. Humanoid.Name = "Praefectus"
  1074. for _, c in pairs(game.Players:GetChildren()) do
  1075. if c.Character ~= nil and c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  1076. c.Character:BreakJoints()
  1077. end
  1078. end
  1079. FOUNDFORGOTTEN = false
  1080. Humanoid.DisplayDistanceType = "None"
  1081. for _, c in pairs(workspace:GetChildren()) do
  1082. if c.ClassName == "Model" then
  1083. for _, q in pairs(c:GetChildren()) do
  1084. if q.Name == "Forgotten Dominus" then
  1085. FOUNDFORGOTTEN = true
  1086. end
  1087. end
  1088. end
  1089. end
  1090. if FOUNDFORGOTTEN == true then
  1091. sick:Stop()
  1092. else
  1093. sick.Playing = true
  1094. end
  1095. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement