Advertisement
wamandnj

Untitled

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