Advertisement
Destroy666j

Untitled

Jun 26th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.78 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. --//====================================================\\--
  87. --|| CREATED BY SHACKLUSTER
  88. --\\====================================================//--
  89. local naeeym2 = IN("BillboardGui",Char)
  90. naeeym2.AlwaysOnTop = true
  91. naeeym2.Size = UDim2.new(5,35,2,15)
  92. naeeym2.StudsOffset = V3.N(0,2.5,0)
  93. naeeym2.Adornee = Char.Head
  94. naeeym2.Name = "Name"
  95. naeeym2.PlayerToHideFrom = Plr
  96. local tecks2 = IN("TextLabel",naeeym2)
  97. tecks2.BackgroundTransparency = 1
  98. tecks2.TextScaled = true
  99. tecks2.BorderSizePixel = 0
  100. tecks2.Text = "Destroy666j"
  101. tecks2.Font = Enum.Font.Bodoni
  102. tecks2.TextSize = 30
  103. tecks2.TextStrokeTransparency = 0
  104. tecks2.TextColor3 = C3.N(0,0,0)
  105. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  106. tecks2.Size = UDim2.new(1,0,0.5,0)
  107. tecks2.Parent = naeeym2
  108. wait(0.2)
  109. print ("Edit By Destroy666j")
  110. Player = owner
  111. PlayerGui = Player.PlayerGui
  112. Cam = workspace.CurrentCamera
  113. Backpack = Player.Backpack
  114. Character = Player.Character
  115. Humanoid = Character.Humanoid
  116. RootPart = Character["HumanoidRootPart"]
  117. Torso = Character["Torso"]
  118. Head = Character["Head"]
  119. RightArm = Character["Right Arm"]
  120. LeftArm = Character["Left Arm"]
  121. RightLeg = Character["Right Leg"]
  122. LeftLeg = Character["Left Leg"]
  123. RootJoint = RootPart["RootJoint"]
  124. Neck = Torso["Neck"]
  125. RightShoulder = Torso["Right Shoulder"]
  126. LeftShoulder = Torso["Left Shoulder"]
  127. RightHip = Torso["Right Hip"]
  128. LeftHip = Torso["Left Hip"]
  129. local sick = Instance.new("Sound",Character)
  130. sick.SoundId = "rbxassetid://170282324"
  131. sick.Looped = true
  132. sick.Volume = 1
  133.  
  134. IT = Instance.new
  135. CF = CFrame.new
  136. VT = Vector3.new
  137. RAD = math.rad
  138. C3 = Color3.new
  139. UD2 = UDim2.new
  140. BRICKC = BrickColor.new
  141. ANGLES = CFrame.Angles
  142. EULER = CFrame.fromEulerAnglesXYZ
  143. COS = math.cos
  144. ACOS = math.acos
  145. SIN = math.sin
  146. ASIN = math.asin
  147. ABS = math.abs
  148. MRANDOM = math.random
  149. FLOOR = math.floor
  150.  
  151. --//=================================\\
  152. --|| USEFUL VALUES
  153. --\\=================================//
  154.  
  155. Animation_Speed = 3
  156. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  157. local Speed = 45
  158. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  159. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  160. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  161. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  162. local DAMAGEMULTIPLIER = 1
  163. local ANIM = "Idle"
  164. local ATTACK = false
  165. local EQUIPPED = false
  166. local HOLD = false
  167. local COMBO = 1
  168. local Rooted = false
  169. local SINE = 0
  170. local KEYHOLD = false
  171. local CHANGE = 2 / Animation_Speed
  172. local WALKINGANIM = false
  173. local VALUE1 = false
  174. local VALUE2 = false
  175. local ROBLOXIDLEANIMATION = IT("Animation")
  176. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  177. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  178. --ROBLOXIDLEANIMATION.Parent = Humanoid
  179. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  180. WEAPONGUI.Name = "Weapon GUI"
  181. local Effects = IT("Folder", Character)
  182. Effects.Name = "Effects"
  183. local ANIMATOR = Humanoid.Animator
  184. local ANIMATE = Character.Animate
  185. local UNANCHOR = true
  186. local HITPOS = nil
  187. local HITFLOOR = nil
  188. local LEFTWINGS = {}
  189. local RIGHTWINGS = {}
  190. local BODY = {}
  191.  
  192. --//=================================\\
  193. --\\=================================//
  194.  
  195.  
  196. --//=================================\\
  197. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  198. --\\=================================//
  199.  
  200. ArtificialHB = Instance.new("BindableEvent", script)
  201. ArtificialHB.Name = "ArtificialHB"
  202.  
  203. script:WaitForChild("ArtificialHB")
  204.  
  205. frame = Frame_Speed
  206. tf = 0
  207. allowframeloss = false
  208. tossremainder = false
  209. lastframe = tick()
  210. script.ArtificialHB:Fire()
  211.  
  212. game:GetService("RunService").Heartbeat:connect(function(s, p)
  213. tf = tf + s
  214. if tf >= frame then
  215. if allowframeloss then
  216. script.ArtificialHB:Fire()
  217. lastframe = tick()
  218. else
  219. for i = 1, math.floor(tf / frame) do
  220. script.ArtificialHB:Fire()
  221. end
  222. lastframe = tick()
  223. end
  224. if tossremainder then
  225. tf = 0
  226. else
  227. tf = tf - frame * math.floor(tf / frame)
  228. end
  229. end
  230. end)
  231.  
  232. --//=================================\\
  233. --\\=================================//
  234.  
  235. --//=================================\\
  236. --|| SOME FUNCTIONS
  237. --\\=================================//
  238.  
  239. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  240. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  241. end
  242.  
  243. function PositiveAngle(NUMBER)
  244. if NUMBER >= 0 then
  245. NUMBER = 0
  246. end
  247. return NUMBER
  248. end
  249.  
  250. function NegativeAngle(NUMBER)
  251. if NUMBER <= 0 then
  252. NUMBER = 0
  253. end
  254. return NUMBER
  255. end
  256.  
  257. function Swait(NUMBER)
  258. if NUMBER == 0 or NUMBER == nil then
  259. ArtificialHB.Event:wait()
  260. else
  261. for i = 1, NUMBER do
  262. ArtificialHB.Event:wait()
  263. end
  264. end
  265. end
  266.  
  267. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  268. local NEWMESH = IT(MESH)
  269. if MESH == "SpecialMesh" then
  270. NEWMESH.MeshType = MESHTYPE
  271. if MESHID ~= "nil" and MESHID ~= "" then
  272. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  273. end
  274. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  275. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  276. end
  277. end
  278. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  279. NEWMESH.Scale = SCALE
  280. NEWMESH.Parent = PARENT
  281. return NEWMESH
  282. end
  283.  
  284. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  285. local NEWPART = IT("Part")
  286. NEWPART.formFactor = FORMFACTOR
  287. NEWPART.Reflectance = REFLECTANCE
  288. NEWPART.Transparency = TRANSPARENCY
  289. NEWPART.CanCollide = false
  290. NEWPART.Locked = true
  291. NEWPART.Anchored = true
  292. if ANCHOR == false then
  293. NEWPART.Anchored = false
  294. end
  295. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  296. NEWPART.Name = NAME
  297. NEWPART.Size = SIZE
  298. NEWPART.Position = Torso.Position
  299. NEWPART.Material = MATERIAL
  300. NEWPART:BreakJoints()
  301. NEWPART.Parent = PARENT
  302. return NEWPART
  303. end
  304.  
  305. local function weldBetween(a, b)
  306. local weldd = Instance.new("ManualWeld")
  307. weldd.Part0 = a
  308. weldd.Part1 = b
  309. weldd.C0 = CFrame.new()
  310. weldd.C1 = b.CFrame:inverse() * a.CFrame
  311. weldd.Parent = a
  312. return weldd
  313. end
  314.  
  315.  
  316. function QuaternionFromCFrame(cf)
  317. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  318. local trace = m00 + m11 + m22
  319. if trace > 0 then
  320. local s = math.sqrt(1 + trace)
  321. local recip = 0.5 / s
  322. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  323. else
  324. local i = 0
  325. if m11 > m00 then
  326. i = 1
  327. end
  328. if m22 > (i == 0 and m00 or m11) then
  329. i = 2
  330. end
  331. if i == 0 then
  332. local s = math.sqrt(m00 - m11 - m22 + 1)
  333. local recip = 0.5 / s
  334. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  335. elseif i == 1 then
  336. local s = math.sqrt(m11 - m22 - m00 + 1)
  337. local recip = 0.5 / s
  338. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  339. elseif i == 2 then
  340. local s = math.sqrt(m22 - m00 - m11 + 1)
  341. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  342. end
  343. end
  344. end
  345.  
  346. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  347. local xs, ys, zs = x + x, y + y, z + z
  348. local wx, wy, wz = w * xs, w * ys, w * zs
  349. local xx = x * xs
  350. local xy = x * ys
  351. local xz = x * zs
  352. local yy = y * ys
  353. local yz = y * zs
  354. local zz = z * zs
  355. 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))
  356. end
  357.  
  358. function QuaternionSlerp(a, b, t)
  359. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  360. local startInterp, finishInterp;
  361. if cosTheta >= 0.0001 then
  362. if (1 - cosTheta) > 0.0001 then
  363. local theta = ACOS(cosTheta)
  364. local invSinTheta = 1 / SIN(theta)
  365. startInterp = SIN((1 - t) * theta) * invSinTheta
  366. finishInterp = SIN(t * theta) * invSinTheta
  367. else
  368. startInterp = 1 - t
  369. finishInterp = t
  370. end
  371. else
  372. if (1 + cosTheta) > 0.0001 then
  373. local theta = ACOS(-cosTheta)
  374. local invSinTheta = 1 / SIN(theta)
  375. startInterp = SIN((t - 1) * theta) * invSinTheta
  376. finishInterp = SIN(t * theta) * invSinTheta
  377. else
  378. startInterp = t - 1
  379. finishInterp = t
  380. end
  381. end
  382. 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
  383. end
  384.  
  385. function Clerp(a, b, t)
  386. local qa = {QuaternionFromCFrame(a)}
  387. local qb = {QuaternionFromCFrame(b)}
  388. local ax, ay, az = a.x, a.y, a.z
  389. local bx, by, bz = b.x, b.y, b.z
  390. local _t = 1 - t
  391. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  392. end
  393.  
  394. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  395. local frame = IT("Frame")
  396. frame.BackgroundTransparency = TRANSPARENCY
  397. frame.BorderSizePixel = BORDERSIZEPIXEL
  398. frame.Position = POSITION
  399. frame.Size = SIZE
  400. frame.BackgroundColor3 = COLOR
  401. frame.BorderColor3 = BORDERCOLOR
  402. frame.Name = NAME
  403. frame.Parent = PARENT
  404. return frame
  405. end
  406.  
  407. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  408. local label = IT("TextLabel")
  409. label.BackgroundTransparency = 1
  410. label.Size = UD2(1, 0, 1, 0)
  411. label.Position = UD2(0, 0, 0, 0)
  412. label.TextColor3 = TEXTCOLOR
  413. label.TextStrokeColor3 = BRICKC"Really red".Color
  414. label.TextStrokeTransparency = STROKETRANSPARENCY
  415. label.TextTransparency = TRANSPARENCY
  416. label.FontSize = TEXTFONTSIZE
  417. label.Font = TEXTFONT
  418. label.BorderSizePixel = BORDERSIZEPIXEL
  419. label.TextScaled = false
  420. label.Text = TEXT
  421. label.Name = NAME
  422. label.Parent = PARENT
  423. return label
  424. end
  425.  
  426. function NoOutlines(PART)
  427. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  428. end
  429.  
  430. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  431. local NEWWELD = IT(TYPE)
  432. NEWWELD.Part0 = PART0
  433. NEWWELD.Part1 = PART1
  434. NEWWELD.C0 = C0
  435. NEWWELD.C1 = C1
  436. NEWWELD.Parent = PARENT
  437. return NEWWELD
  438. end
  439.  
  440. local S = IT("Sound")
  441. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  442. local NEWSOUND = nil
  443. coroutine.resume(coroutine.create(function()
  444. NEWSOUND = S:Clone()
  445. NEWSOUND.Parent = PARENT
  446. NEWSOUND.Volume = VOLUME
  447. NEWSOUND.Pitch = PITCH
  448. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  449. NEWSOUND:play()
  450. NEWSOUND.Name = "Audio"
  451. if DOESLOOP == true then
  452. NEWSOUND.Looped = true
  453. else
  454. repeat Swait() until NEWSOUND.Playing == false
  455. NEWSOUND:remove()
  456. end
  457. end))
  458. return NEWSOUND
  459. end
  460.  
  461. function CFrameFromTopBack(at, top, back)
  462. local right = top:Cross(back)
  463. 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)
  464. end
  465.  
  466. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  467. function WACKYEFFECT(Table)
  468. local TYPE = (Table.EffectType or "Sphere")
  469. local SIZE = (Table.Size or VT(1,1,1))
  470. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  471. local TRANSPARENCY = (Table.Transparency or 0)
  472. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  473. local CFRAME = (Table.CFrame or Torso.CFrame)
  474. local MOVEDIRECTION = (Table.MoveToPos or nil)
  475. local ROTATION1 = (Table.RotationX or 0)
  476. local ROTATION2 = (Table.RotationY or 0)
  477. local ROTATION3 = (Table.RotationZ or 0)
  478. local MATERIAL = (Table.Material or "Neon")
  479. local COLOR = (Table.Color or C3(1,1,1))
  480. local TIME = (Table.Time or 45)
  481. local SOUNDID = (Table.SoundID or nil)
  482. local SOUNDPITCH = (Table.SoundPitch or nil)
  483. local SOUNDVOLUME = (Table.SoundVolume or nil)
  484. coroutine.resume(coroutine.create(function()
  485. local PLAYSSOUND = false
  486. local SOUND = nil
  487. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  488. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  489. PLAYSSOUND = true
  490. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  491. end
  492. EFFECT.Color = COLOR
  493. local MSH = nil
  494. if TYPE == "Sphere" then
  495. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  496. elseif TYPE == "Block" then
  497. MSH = IT("BlockMesh",EFFECT)
  498. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  499. elseif TYPE == "Box" then
  500. MSH = IT("BlockMesh",EFFECT)
  501. MSH.Scale = SIZE
  502. elseif TYPE == "Wave" then
  503. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  504. elseif TYPE == "Ring" then
  505. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  506. elseif TYPE == "Slash" then
  507. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  508. elseif TYPE == "Round Slash" then
  509. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  510. elseif TYPE == "Swirl" then
  511. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  512. elseif TYPE == "Skull" then
  513. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  514. elseif TYPE == "Crystal" then
  515. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  516. end
  517. if MSH ~= nil then
  518. local MOVESPEED = nil
  519. if MOVEDIRECTION ~= nil then
  520. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  521. end
  522. local GROWTH = SIZE - ENDSIZE
  523. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  524. if TYPE == "Block" then
  525. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  526. else
  527. EFFECT.CFrame = CFRAME
  528. end
  529. for LOOP = 1, TIME do
  530. Swait()
  531. MSH.Scale = MSH.Scale - GROWTH/TIME
  532. if TYPE == "Wave" then
  533. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  534. end
  535. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  536. if TYPE == "Block" then
  537. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  538. else
  539. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  540. end
  541. if MOVEDIRECTION ~= nil then
  542. local ORI = EFFECT.Orientation
  543. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  544. EFFECT.Orientation = ORI
  545. end
  546. end
  547. if PLAYSSOUND == false then
  548. EFFECT:remove()
  549. else
  550. repeat Swait() until SOUND.Playing == false
  551. EFFECT:remove()
  552. end
  553. else
  554. if PLAYSSOUND == false then
  555. EFFECT:remove()
  556. else
  557. repeat Swait() until SOUND.Playing == false
  558. EFFECT:remove()
  559. end
  560. end
  561. end))
  562. end
  563.  
  564. function Shatter(Part)
  565. if Part.Transparency == 0 then
  566. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  567. Debris:AddItem(SOUNDPART,5)
  568. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  569. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  570. local SIZESET = SIZE/4
  571. local XOffset = Part.Size.X*1.5/SIZESET
  572. local YOffset = Part.Size.Y*1.5/SIZESET
  573. local ZOffset = Part.Size.Z*1.5/SIZESET
  574. for x = 1, math.ceil(XOffset) do
  575. for y = 1, math.ceil(YOffset) do
  576. for z = 1, math.ceil(ZOffset) do
  577. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  578. SHARD.CanCollide = true
  579. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  580. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  581. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  582. end
  583. end
  584. end
  585. end
  586. Part:remove()
  587. end
  588.  
  589. function MakeForm(PART,TYPE)
  590. if TYPE == "Cyl" then
  591. local MSH = IT("CylinderMesh",PART)
  592. elseif TYPE == "Ball" then
  593. local MSH = IT("SpecialMesh",PART)
  594. MSH.MeshType = "Sphere"
  595. elseif TYPE == "Wedge" then
  596. local MSH = IT("SpecialMesh",PART)
  597. MSH.MeshType = "Wedge"
  598. end
  599. end
  600.  
  601. Debris = game:GetService("Debris")
  602.  
  603. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  604. local DIRECTION = CF(StartPos,EndPos).lookVector
  605. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  606. end
  607.  
  608. function turnto(position)
  609. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  610. end
  611.  
  612. --//=================================\\
  613. --|| WEAPON CREATION
  614. --\\=================================//
  615.  
  616. local Back = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(1,1,0.35),false)
  617. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  618.  
  619. local ANGLE = 35
  620. for i = 1, 5 do
  621. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
  622. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  623. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false)
  624. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  625. ANGLE = ANGLE - 15
  626. table.insert(LEFTWINGS,WingWeld)
  627. end
  628. ANGLE = 35
  629. for i = 1, 5 do
  630. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
  631. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  632. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false)
  633. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  634. ANGLE = ANGLE - 15
  635. table.insert(RIGHTWINGS,WingWeld)
  636. end
  637. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.3,0.3,0.3),false)
  638. local EyeWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
  639. local Eye2 = CreatePart(3, Character, "Neon", 0, 0.5, "Really red", "Eye", VT(0.5,0.5,0.29),false)
  640. local EyeWeld2 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye2, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
  641.  
  642. local Eye3 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,0.1,0.31),false)
  643. local EyeWeld3 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye3, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(-25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
  644.  
  645. local SKILLTEXTCOLOR = BRICKC"Really red".Color
  646. local SKILLFONT = "SciFi"
  647. local SKILLTEXTSIZE = 6
  648.  
  649. local naeeym2 = Instance.new("BillboardGui",Character)
  650. naeeym2.AlwaysOnTop = true
  651. naeeym2.Size = UDim2.new(5,35,2,15)
  652. naeeym2.StudsOffset = Vector3.new(0,1.2,0)
  653. naeeym2.Adornee = Character.Head
  654. naeeym2.Name = "Name"
  655. naeeym2.PlayerToHideFrom = Player
  656. local tecks2 = Instance.new("TextLabel",naeeym2)
  657. tecks2.BackgroundTransparency = 1
  658. tecks2.TextScaled = true
  659. tecks2.BorderSizePixel = 0
  660. tecks2.Text = "Cyber Monarch"
  661. tecks2.Font = SKILLFONT
  662. tecks2.TextSize = 30
  663. tecks2.TextStrokeTransparency = 0
  664. tecks2.TextColor3 = C3(0,0,0)
  665. tecks2.TextStrokeColor3 = BRICKC"Really red".Color
  666. tecks2.Size = UDim2.new(1,0,0.5,0)
  667. tecks2.Parent = naeeym2
  668.  
  669. for _, c in pairs(Character:GetChildren()) do
  670. if c.ClassName == "Part" then
  671. table.insert(BODY,{c,Character})
  672. for _, q in pairs(c:GetChildren()) do
  673. if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
  674. table.insert(BODY,{q,c})
  675. end
  676. end
  677. end
  678. end
  679.  
  680. function refit()
  681. Character.Parent = workspace
  682. for e = 1, #BODY do
  683. if BODY[e] ~= nil then
  684. local STUFF = BODY[e]
  685. local PART = STUFF[1]
  686. local PARENT = STUFF[2]
  687. PART.Parent = PARENT
  688. end
  689. end
  690. end
  691.  
  692. Humanoid.HealthChanged:connect(function()
  693. Humanoid.Parent = nil
  694. Humanoid.MaxHealth = "inf"
  695. Humanoid.Health = "inf"
  696. refit()
  697. Humanoid.Parent = Character
  698. end)
  699.  
  700. Humanoid.Died:connect(function()
  701. Humanoid.Parent = nil
  702. Humanoid.MaxHealth = "inf"
  703. Humanoid.Health = "inf"
  704. refit()
  705. Humanoid.Parent = Character
  706. end)
  707.  
  708. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  709. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  710. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  711. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  712.  
  713. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Cyber Out-Burst", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  714. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Techno Beam", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  715. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Techno Warp", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  716. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Cyber Smash", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  717.  
  718. --//=================================\\
  719. --|| DAMAGING
  720. --\\=================================//
  721.  
  722. function killnearest(position,range,EFFECT)
  723. for i,v in ipairs(workspace:GetChildren()) do
  724. local body = v:GetChildren()
  725. for part = 1, #body do
  726. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  727. local SIZE = body[part].Size.Magnitude
  728. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  729. if v.ClassName == "Model" then
  730. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  731. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  732. v:BreakJoints()
  733. if EFFECT == "Glitch" then
  734. coroutine.resume(coroutine.create(function()
  735. local ORIGINPOS = body[part].CFrame
  736. local SIZE = body[part].Size
  737. for i = 1, 100 do
  738. Swait()
  739. local PART = body[part]
  740. PART.Anchored = true
  741. PART.Size = SIZE*MRANDOM(5,15)/10
  742. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  743. end
  744. body[part]:remove()
  745. end))
  746. elseif EFFECT == "Shatter" then
  747. for _, c in pairs(v:GetChildren()) do
  748. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  749. Shatter(c)
  750. end
  751. end
  752. end
  753. end
  754. end
  755. end
  756. end
  757. end
  758. end
  759. end
  760. end
  761.  
  762. --//=================================\\
  763. --|| ATTACK FUNCTIONS AND STUFF
  764. --\\=================================//
  765.  
  766. function CyberOutburst()
  767. if HITFLOOR ~= nil then
  768. ATTACK = true
  769. Rooted = true
  770. for i=0, 2, 0.1 / Animation_Speed do
  771. Swait()
  772. WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0), MoveToPos = Torso.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  773. 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)
  774. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  775. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  776. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  777. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * 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)
  778. 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)
  779. end
  780. for i=0, 2, 0.1 / Animation_Speed do
  781. Swait()
  782. 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)
  783. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  784. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  785. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  786. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * 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)
  787. 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)
  788. end
  789. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(25,25,25), Transparency = 0.25, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 0.6, SoundVolume = 6})
  790. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(35,35,35), Transparency = 0.5, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 0.8, SoundVolume = 4})
  791. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(40,40,40), Transparency = 0.75, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 1, SoundVolume = 2})
  792. for i=0, 0.4, 0.1 / Animation_Speed do
  793. Swait()
  794. killnearest(Torso.Position,45,"Glitch")
  795. WACKYEFFECT({Time = 75, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  796. WACKYEFFECT({Time = 45, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))*CF(0,0,55).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  797. 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(0)), 1 / Animation_Speed)
  798. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  799. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  800. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  801. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(20.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(20.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. ATTACK = false
  805. Rooted = false
  806. end
  807. end
  808.  
  809. function Technobeam()
  810. ATTACK = true
  811. Rooted = false
  812. local GYRO = IT("BodyGyro",RootPart)
  813. GYRO.D = 100
  814. GYRO.P = 2000
  815. GYRO.MaxTorque = VT(0,4000000,0)
  816. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  817. CreateSound("93724183", RightArm, 5, 1, false)
  818. for i=1, 35 do
  819. Swait()
  820. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  821. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  822. 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(45)), 1 / Animation_Speed)
  823. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  824. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  825. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * 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)
  826. 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)
  827. 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)
  828. end
  829. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  830. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  831. local TOCH = BEAM.Touched:Connect(function(hit)
  832. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  833. Shatter(hit)
  834. end
  835. end)
  836. local I = 0
  837. repeat
  838. Swait()
  839. I = I + 1
  840. if I <= 10 then
  841. BEAM.Transparency = BEAM.Transparency - 0.1
  842. end
  843. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  844. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  845. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  846. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  847. BEAM.Size = VT(2,2,DISTANCE)
  848. WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  849. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  850. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  851. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  852. 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(45)), 1 / Animation_Speed)
  853. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  854. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  855. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * 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)
  856. 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)
  857. 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)
  858. if ENDHIT ~= nil then
  859. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  860. Shatter(ENDHIT)
  861. end
  862. end
  863. until LOOP.Playing == false
  864. GYRO:remove()
  865. BEAM:remove()
  866. ATTACK = false
  867. Rooted = false
  868. end
  869.  
  870. function Technowarp()
  871. local FRAME = RootPart.Position
  872. for i = 1, 6 do
  873. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  874. end
  875. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
  876. for i = 1, 6 do
  877. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  878. end
  879. end
  880.  
  881. function CyberSmash()
  882. ATTACK = true
  883. Rooted = false
  884. local GYRO = IT("BodyGyro",RootPart)
  885. GYRO.D = 100
  886. GYRO.P = 2000
  887. GYRO.MaxTorque = VT(0,4000000,0)
  888. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  889. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Block", VT(25,25,25))
  890. SMASH.CanCollide = true
  891. SMASH.Color = C3(0,0,0)
  892. local EF = Instance.new("SelectionBox",SMASH)
  893. EF.Adornee = SMASH
  894. EF.Color = BrickColor.new("Really red")
  895. EF.LineThickness = 0.2
  896. EF.Transparency = 1
  897. coroutine.resume(coroutine.create(function()
  898. for i = 1, 20 do
  899. Swait()
  900. SMASH.Transparency = SMASH.Transparency - 0.05
  901. EF.Transparency = SMASH.Transparency
  902. end
  903. end))
  904. repeat
  905. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  906. Swait()
  907. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  908. 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(45)), 1 / Animation_Speed)
  909. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * 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)
  912. 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)
  913. 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)
  914. until HOLD == true and SMASH.Transparency < 0.99
  915. for i = 1, 25 do
  916. Swait()
  917. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  918. 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(45)), 1 / Animation_Speed)
  919. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  920. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  921. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * 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)
  922. 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)
  923. 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)
  924. end
  925. local TOCH = SMASH.Touched:Connect(function(hit)
  926. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  927. Shatter(hit)
  928. end
  929. end)
  930. local n0 = nil
  931. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  932. if HITFLOOR ~= nil then
  933. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  934. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  935. if HITFLOOR.Parent.ClassName == "Model" then
  936. HITFLOOR.Parent:BreakJoints()
  937. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  938. HITFLOOR.Parent.Parent:BreakJoints()
  939. end
  940. end
  941. local POS = HITPOS
  942. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  943. end
  944. end
  945. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  946. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  947. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  948. for i = 1, 25 do
  949. Swait()
  950. 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(45)), 1 / Animation_Speed)
  951. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  952. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  953. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * 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)
  954. 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)
  955. 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)
  956. end
  957. coroutine.resume(coroutine.create(function()
  958. wait(0.2)
  959. TOCH:disconnect()
  960. wait(1.8)
  961. for i = 1, 100 do
  962. Swait()
  963. SMASH.Transparency = i/100
  964. end
  965. for i = 1, 10 do
  966. Swait()
  967. EF.Transparency = EF.Transparency + 0.1
  968. end
  969. SMASH:remove()
  970. end))
  971. GYRO:remove()
  972. ATTACK = false
  973. Rooted = false
  974. end
  975.  
  976. --//=================================\\
  977. --|| ASSIGN THINGS TO KEYS
  978. --\\=================================//
  979.  
  980. function MouseDown(Mouse)
  981. HOLD = true
  982. if ATTACK == false then
  983. end
  984. end
  985.  
  986. function MouseUp(Mouse)
  987. HOLD = false
  988. end
  989.  
  990. function KeyDown(Key)
  991. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  992. KEYHOLD = true
  993. if Key == "z" and ATTACK == false then
  994. CyberOutburst()
  995. end
  996.  
  997. if Key == "b" and ATTACK == false then
  998. Technobeam()
  999. end
  1000.  
  1001. if Key == "c" and ATTACK == false then
  1002. Technowarp()
  1003. end
  1004.  
  1005. if Key == "v" and ATTACK == false then
  1006. CyberSmash()
  1007. end
  1008.  
  1009. if Key == "t" then
  1010. local TAUNT = CreateSound("132392118", Head, 10, 0.8)
  1011. TAUNT.TimePosition = 1.1
  1012. end
  1013. end
  1014. end
  1015.  
  1016. function KeyUp(Key)
  1017. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1018. KEYHOLD = false
  1019. end
  1020. end
  1021.  
  1022. Mouse.Button1Down:connect(function(NEWKEY)
  1023. MouseDown(NEWKEY)
  1024. end)
  1025. Mouse.Button1Up:connect(function(NEWKEY)
  1026. MouseUp(NEWKEY)
  1027. end)
  1028. Mouse.KeyDown:connect(function(NEWKEY)
  1029. KeyDown(NEWKEY)
  1030. end)
  1031. Mouse.KeyUp:connect(function(NEWKEY)
  1032. KeyUp(NEWKEY)
  1033. end)
  1034.  
  1035. --//=================================\\
  1036. --\\=================================//
  1037.  
  1038.  
  1039. function unanchor()
  1040. if UNANCHOR == true then
  1041. g = Character:GetChildren()
  1042. for i = 1, #g do
  1043. if g[i].ClassName == "Part" then
  1044. g[i].Anchored = false
  1045. end
  1046. end
  1047. end
  1048. end
  1049.  
  1050.  
  1051. --//=================================\\
  1052. --|| WRAP THE WHOLE SCRIPT UP
  1053. --\\=================================//
  1054.  
  1055. Humanoid.Changed:connect(function(Jump)
  1056. if Jump == "Jump" and (Disable_Jump == true) then
  1057. Humanoid.Jump = false
  1058. end
  1059. end)
  1060.  
  1061. Humanoid.HipHeight = 2
  1062.  
  1063. while true do
  1064. Swait()
  1065. refit()
  1066. Character.Parent = workspace
  1067. Humanoid.Parent = Character
  1068. ANIMATE.Parent = nil
  1069. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1070. IDLEANIMATION:Play()
  1071. SINE = SINE + CHANGE
  1072. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1073. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1074. HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25, Character)
  1075. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1076. EyeWeld3.C1 = Clerp(EyeWeld3.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
  1077. EyeWeld2.C1 = Clerp(EyeWeld2.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
  1078. EyeWeld.C1 = Clerp(EyeWeld.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(SINE*2)), 1 / Animation_Speed)
  1079. for LW = 1, #LEFTWINGS do
  1080. if LEFTWINGS[LW] ~= nil then
  1081. LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  1082. end
  1083. end
  1084. for RW = 1, #RIGHTWINGS do
  1085. if RIGHTWINGS[RW] ~= nil then
  1086. RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  1087. end
  1088. end
  1089. if ATTACK == false then
  1090. if TORSOVELOCITY < 1 then
  1091. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1092. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1093. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1094. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1095. 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)
  1096. 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)
  1097. elseif TORSOVELOCITY > 1 then
  1098. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1099. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-2.5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1101. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1102. 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)
  1103. 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)
  1104. end
  1105. end
  1106. for _, c in pairs(Character:GetChildren()) do
  1107. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1108. c.Material = "Neon"
  1109. if c:FindFirstChildOfClass("ParticleEmitter") then
  1110. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1111. end
  1112. if c ~= Head and c ~= RootPart and c:FindFirstChild("BoxEffect") == nil then
  1113. local EF = Instance.new("SelectionBox",c)
  1114. EF.Adornee = c
  1115. EF.Color = BrickColor.new("Really red")
  1116. EF.LineThickness = 0.01
  1117. EF.Transparency = 0
  1118. EF.Name = "BoxEffect"
  1119. end
  1120. c.Color = C3(0,0,0)
  1121. if c == Head then
  1122. --[[if c:FindFirstChild("Dominus") == nil then
  1123. local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
  1124. M.Name = "Dominus"
  1125. end]]--
  1126. if c:FindFirstChild("face") then
  1127. c.face:remove()
  1128. end
  1129. end
  1130. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1131. c:remove()
  1132. end
  1133. end
  1134. if HITFLOOR ~= nil and MRANDOM(1,6) == 1 then
  1135. local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(5,15),0,0).p
  1136. local BOXFLOOR,BOXPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -1, 0))).lookVector, 5, Character)
  1137. if BOXFLOOR ~= nil then
  1138. WACKYEFFECT({EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,15,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(BOXPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1139. end
  1140. end
  1141. unanchor()
  1142. Humanoid.MaxHealth = "inf"
  1143. Humanoid.Health = "inf"
  1144. if Rooted == false then
  1145. Disable_Jump = false
  1146. Humanoid.WalkSpeed = Speed
  1147. elseif Rooted == true then
  1148. Disable_Jump = true
  1149. Humanoid.WalkSpeed = 0
  1150. end
  1151. for _, c in pairs(workspace:GetChildren()) do
  1152. if c.ClassName == "Model" and c:FindFirstChild("Humanoid") and c ~= Character then
  1153. end
  1154. end
  1155. script.Parent = WEAPONGUI
  1156. Humanoid.Name = "Monarch"
  1157. sick.Parent = Effects
  1158. sick.Pitch = 0.85
  1159. sick.Playing = true
  1160. for _, q in pairs(Head:GetChildren()) do
  1161. if q.ClassName == "Sound" and q.Name ~= "Audio" then
  1162. q:remove()
  1163. end
  1164. end
  1165. Humanoid.DisplayDistanceType = "None"
  1166. end
  1167.  
  1168. --//=================================\\
  1169. --\\=================================//
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175. --//====================================================\\--
  1176. --|| END OF SCRIPT
  1177. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement