Advertisement
sdsdsdsdsdsdsds

YEET

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