Advertisement
DarkScriptZEditors

The Clock FE

Nov 25th, 2018
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.16 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  51. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67. local Mouse = Player:GetMouse()
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then
  95. return typeof(s[k])=="function"
  96. and function(_,...)return s[k](s,...)end or s[k]
  97. end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return rawget(self,s) or _rg:GetService(s)
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. RunService = FakeService({
  120. _btrs = {},
  121. RenderStepped = _rg:GetService("RunService").Heartbeat,
  122. BindToRenderStep = function(self,name,_,fun)
  123. self._btrs[name] = self.Heartbeat:Connect(fun)
  124. end,
  125. UnbindFromRenderStep = function(self,name)
  126. self._btrs[name]:Disconnect()
  127. end,
  128. },"RunService")
  129. }
  130. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  131. g.service = g.GetService
  132. FakeService(g,game)
  133. --Changing owner to fake player object to support owner:GetMouse()
  134. game,owner = g,g.Players.LocalPlayer
  135. end
  136. --//====================================================\\--
  137. --|| ITS ME KILLERZ
  138. --\\====================================================//--
  139.  
  140. wait(0.2)
  141.  
  142. Player = game:GetService("Players").LocalPlayer
  143. PlayerGui = Player.PlayerGui
  144. Cam = workspace.CurrentCamera
  145. Backpack = Player.Backpack
  146. Character = Player.Character
  147. Humanoid = Character.Humanoid
  148. Mouse = Player:GetMouse()
  149. RootPart = Character["HumanoidRootPart"]
  150. Torso = Character["Torso"]
  151. Head = Character["Head"]
  152. RightArm = Character["Right Arm"]
  153. LeftArm = Character["Left Arm"]
  154. RightLeg = Character["Right Leg"]
  155. LeftLeg = Character["Left Leg"]
  156. RootJoint = RootPart["RootJoint"]
  157. Neck = Torso["Neck"]
  158. RightShoulder = Torso["Right Shoulder"]
  159. LeftShoulder = Torso["Left Shoulder"]
  160. RightHip = Torso["Right Hip"]
  161. LeftHip = Torso["Left Hip"]
  162. Character.Archivable = true
  163. Player:ClearCharacterAppearance()
  164.  
  165. IT = Instance.new
  166. CF = CFrame.new
  167. VT = Vector3.new
  168. RAD = math.rad
  169. C3 = Color3.new
  170. UD2 = UDim2.new
  171. BRICKC = BrickColor.new
  172. ANGLES = CFrame.Angles
  173. EULER = CFrame.fromEulerAnglesXYZ
  174. COS = math.cos
  175. ACOS = math.acos
  176. SIN = math.sin
  177. ASIN = math.asin
  178. ABS = math.abs
  179. MRANDOM = math.random
  180. FLOOR = math.floor
  181.  
  182. --//=================================\\
  183. --|| USEFUL VALUES
  184. --\\=================================//
  185.  
  186. Animation_Speed = 3
  187. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  188. local Speed = 20
  189. local SIZE = 1
  190. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  191. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  192. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  193. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  194. local DAMAGEMULTIPLIER = 1
  195. local ANIM = "Idle"
  196. local ATTACK = false
  197. local EQUIPPED = false
  198. local HOLD = false
  199. local COMBO = 1
  200. local Rooted = false
  201. local SINE = 0
  202. local KEYHOLD = false
  203. local CHANGE = 2 / Animation_Speed
  204. local WALKINGANIM = false
  205. local VALUE1 = false
  206. local VALUE2 = false
  207. local ROBLOXIDLEANIMATION = IT("Animation")
  208. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  209. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  210. local ATANIM = IT("Animation")
  211. ATANIM.Name = "Attack Animation"
  212. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  213. --ROBLOXIDLEANIMATION.Parent = Humanoid
  214. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  215. WEAPONGUI.Name = "Weapon GUI"
  216. local Weapon = IT("Model")
  217. Weapon.Name = "Adds"
  218. local Effects = IT("Folder", Weapon)
  219. Effects.Name = "Effects"
  220. local ANIMATOR = Humanoid.Animator
  221. local ANIMATE = Character.Animate
  222. local UNANCHOR = true
  223. local CLOCKLOOP = 0
  224. local SONG = 260951229
  225. local CLOCKTARGET = nil
  226. local CLOCKSPEED = 1
  227. script.Parent = WEAPONGUI
  228. local CLONE = Character:Clone()
  229. CLONE.Parent = nil
  230. Character.Archivable = false
  231. local sick = Instance.new("Sound",Torso)
  232. local MODE = "Main"
  233.  
  234. --//=================================\\
  235. --\\=================================//
  236.  
  237.  
  238. --//=================================\\
  239. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  240. --\\=================================//
  241.  
  242. ArtificialHB = Instance.new("BindableEvent", script)
  243. ArtificialHB.Name = "ArtificialHB"
  244.  
  245. script:WaitForChild("ArtificialHB")
  246.  
  247. frame = Frame_Speed
  248. tf = 0
  249. allowframeloss = false
  250. tossremainder = false
  251. lastframe = tick()
  252. script.ArtificialHB:Fire()
  253.  
  254. game:GetService("RunService").Heartbeat:connect(function(s, p)
  255. tf = tf + s
  256. if tf >= frame then
  257. if allowframeloss then
  258. script.ArtificialHB:Fire()
  259. lastframe = tick()
  260. else
  261. for i = 1, math.floor(tf / frame) do
  262. script.ArtificialHB:Fire()
  263. end
  264. lastframe = tick()
  265. end
  266. if tossremainder then
  267. tf = 0
  268. else
  269. tf = tf - frame * math.floor(tf / frame)
  270. end
  271. end
  272. end)
  273.  
  274. --//=================================\\
  275. --\\=================================//
  276.  
  277. --//=================================\\
  278. --|| SOME FUNCTIONS
  279. --\\=================================//
  280.  
  281. function CharacterFade(COLOR,TIMER)
  282. coroutine.resume(coroutine.create(function()
  283. local FADE = IT("Model",Effects)
  284. FADE.Name = "FadingEffect"
  285. for _, c in pairs(Character:GetChildren()) do
  286. if c.ClassName == "Part" and c ~= RootPart then
  287. local FADER = c:Clone()
  288. FADER.Color = COLOR
  289. FADER.CFrame = c.CFrame
  290. FADER.Parent = FADE
  291. FADER.Anchored = true
  292. FADER.Transparency = 0.25+c.Transparency
  293. FADER:BreakJoints()
  294. FADER.Material = "Neon"
  295. if FADER.Name == "Head" then
  296. FADER:ClearAllChildren()
  297. FADER.Size = VT(1,1,1)
  298. end
  299. FADER.CanCollide = false
  300. end
  301. end
  302. local TRANS = 0.75/TIMER
  303. for i = 1, TIMER do
  304. Swait()
  305. for _, c in pairs(FADE:GetChildren()) do
  306. if c.ClassName == "Part" then
  307. c.Transparency = c.Transparency + TRANS
  308. end
  309. end
  310. end
  311. FADE:remove()
  312. end))
  313. end
  314.  
  315. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  316. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  317. end
  318.  
  319. function PositiveAngle(NUMBER)
  320. if NUMBER >= 0 then
  321. NUMBER = 0
  322. end
  323. return NUMBER
  324. end
  325.  
  326. function NegativeAngle(NUMBER)
  327. if NUMBER <= 0 then
  328. NUMBER = 0
  329. end
  330. return NUMBER
  331. end
  332.  
  333. function Swait(NUMBER)
  334. if NUMBER == 0 or NUMBER == nil then
  335. ArtificialHB.Event:wait()
  336. else
  337. for i = 1, NUMBER do
  338. ArtificialHB.Event:wait()
  339. end
  340. end
  341. end
  342.  
  343. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  344. local NEWMESH = IT(MESH)
  345. if MESH == "SpecialMesh" then
  346. NEWMESH.MeshType = MESHTYPE
  347. if MESHID ~= "nil" and MESHID ~= "" then
  348. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  349. end
  350. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  351. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  352. end
  353. end
  354. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  355. NEWMESH.Scale = SCALE
  356. NEWMESH.Parent = PARENT
  357. return NEWMESH
  358. end
  359.  
  360. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  361. local NEWPART = IT("Part")
  362. NEWPART.formFactor = FORMFACTOR
  363. NEWPART.Reflectance = REFLECTANCE
  364. NEWPART.Transparency = TRANSPARENCY
  365. NEWPART.CanCollide = false
  366. NEWPART.Locked = true
  367. NEWPART.Anchored = true
  368. if ANCHOR == false then
  369. NEWPART.Anchored = false
  370. end
  371. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  372. NEWPART.Name = NAME
  373. NEWPART.Size = SIZE
  374. NEWPART.Position = Torso.Position
  375. NEWPART.Material = MATERIAL
  376. NEWPART:BreakJoints()
  377. NEWPART.Parent = PARENT
  378. return NEWPART
  379. end
  380.  
  381. local function weldBetween(a, b)
  382. local weldd = Instance.new("ManualWeld")
  383. weldd.Part0 = a
  384. weldd.Part1 = b
  385. weldd.C0 = CFrame.new()
  386. weldd.C1 = b.CFrame:inverse() * a.CFrame
  387. weldd.Parent = a
  388. return weldd
  389. end
  390.  
  391.  
  392. function QuaternionFromCFrame(cf)
  393. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  394. local trace = m00 + m11 + m22
  395. if trace > 0 then
  396. local s = math.sqrt(1 + trace)
  397. local recip = 0.5 / s
  398. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  399. else
  400. local i = 0
  401. if m11 > m00 then
  402. i = 1
  403. end
  404. if m22 > (i == 0 and m00 or m11) then
  405. i = 2
  406. end
  407. if i == 0 then
  408. local s = math.sqrt(m00 - m11 - m22 + 1)
  409. local recip = 0.5 / s
  410. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  411. elseif i == 1 then
  412. local s = math.sqrt(m11 - m22 - m00 + 1)
  413. local recip = 0.5 / s
  414. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  415. elseif i == 2 then
  416. local s = math.sqrt(m22 - m00 - m11 + 1)
  417. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  418. end
  419. end
  420. end
  421.  
  422. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  423. local xs, ys, zs = x + x, y + y, z + z
  424. local wx, wy, wz = w * xs, w * ys, w * zs
  425. local xx = x * xs
  426. local xy = x * ys
  427. local xz = x * zs
  428. local yy = y * ys
  429. local yz = y * zs
  430. local zz = z * zs
  431. 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))
  432. end
  433.  
  434. function QuaternionSlerp(a, b, t)
  435. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  436. local startInterp, finishInterp;
  437. if cosTheta >= 0.0001 then
  438. if (1 - cosTheta) > 0.0001 then
  439. local theta = ACOS(cosTheta)
  440. local invSinTheta = 1 / SIN(theta)
  441. startInterp = SIN((1 - t) * theta) * invSinTheta
  442. finishInterp = SIN(t * theta) * invSinTheta
  443. else
  444. startInterp = 1 - t
  445. finishInterp = t
  446. end
  447. else
  448. if (1 + cosTheta) > 0.0001 then
  449. local theta = ACOS(-cosTheta)
  450. local invSinTheta = 1 / SIN(theta)
  451. startInterp = SIN((t - 1) * theta) * invSinTheta
  452. finishInterp = SIN(t * theta) * invSinTheta
  453. else
  454. startInterp = t - 1
  455. finishInterp = t
  456. end
  457. end
  458. 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
  459. end
  460.  
  461. function Clerp(a, b, t)
  462. local qa = {QuaternionFromCFrame(a)}
  463. local qb = {QuaternionFromCFrame(b)}
  464. local ax, ay, az = a.x, a.y, a.z
  465. local bx, by, bz = b.x, b.y, b.z
  466. local _t = 1 - t
  467. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  468. end
  469.  
  470. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  471. local frame = IT("Frame")
  472. frame.BackgroundTransparency = TRANSPARENCY
  473. frame.BorderSizePixel = BORDERSIZEPIXEL
  474. frame.Position = POSITION
  475. frame.Size = SIZE
  476. frame.BackgroundColor3 = COLOR
  477. frame.BorderColor3 = BORDERCOLOR
  478. frame.Name = NAME
  479. frame.Parent = PARENT
  480. return frame
  481. end
  482.  
  483. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  484. local label = IT("TextLabel")
  485. label.BackgroundTransparency = 1
  486. label.Size = UD2(1, 0, 1, 0)
  487. label.Position = UD2(0, 0, 0, 0)
  488. label.TextColor3 = TEXTCOLOR
  489. label.TextStrokeTransparency = STROKETRANSPARENCY
  490. label.TextTransparency = TRANSPARENCY
  491. label.FontSize = TEXTFONTSIZE
  492. label.Font = TEXTFONT
  493. label.BorderSizePixel = BORDERSIZEPIXEL
  494. label.TextStrokeColor3 = C3(1,1,1)
  495. label.TextScaled = false
  496. label.Text = TEXT
  497. label.Name = NAME
  498. label.Parent = PARENT
  499. return label
  500. end
  501.  
  502. function NoOutlines(PART)
  503. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  504. end
  505.  
  506. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  507. local NEWWELD = IT(TYPE)
  508. NEWWELD.Part0 = PART0
  509. NEWWELD.Part1 = PART1
  510. NEWWELD.C0 = C0
  511. NEWWELD.C1 = C1
  512. NEWWELD.Parent = PARENT
  513. return NEWWELD
  514. end
  515.  
  516. local S = IT("Sound")
  517. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  518. local NEWSOUND = nil
  519. coroutine.resume(coroutine.create(function()
  520. NEWSOUND = S:Clone()
  521. NEWSOUND.Parent = PARENT
  522. NEWSOUND.Volume = VOLUME
  523. NEWSOUND.Pitch = PITCH
  524. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  525. NEWSOUND:play()
  526. if DOESLOOP == true then
  527. NEWSOUND.Looped = true
  528. else
  529. repeat wait(1) until NEWSOUND.Playing == false
  530. NEWSOUND:remove()
  531. end
  532. end))
  533. return NEWSOUND
  534. end
  535.  
  536. function CFrameFromTopBack(at, top, back)
  537. local right = top:Cross(back)
  538. 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)
  539. end
  540.  
  541. --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})
  542. function WACKYEFFECT(Table)
  543. local TYPE = (Table.EffectType or "Sphere")
  544. local SIZE = (Table.Size or VT(1,1,1))
  545. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  546. local TRANSPARENCY = (Table.Transparency or 0)
  547. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  548. local CFRAME = (Table.CFrame or Torso.CFrame)
  549. local MOVEDIRECTION = (Table.MoveToPos or nil)
  550. local ROTATION1 = (Table.RotationX or 0)
  551. local ROTATION2 = (Table.RotationY or 0)
  552. local ROTATION3 = (Table.RotationZ or 0)
  553. local MATERIAL = (Table.Material or "Neon")
  554. local COLOR = (Table.Color or C3(1,1,1))
  555. local TIME = (Table.Time or 45)
  556. local SOUNDID = (Table.SoundID or nil)
  557. local SOUNDPITCH = (Table.SoundPitch or nil)
  558. local SOUNDVOLUME = (Table.SoundVolume or nil)
  559. coroutine.resume(coroutine.create(function()
  560. local PLAYSSOUND = false
  561. local SOUND = nil
  562. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  563. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  564. PLAYSSOUND = true
  565. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  566. end
  567. EFFECT.Color = COLOR
  568. local MSH = nil
  569. if TYPE == "Sphere" then
  570. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  571. elseif TYPE == "Block" then
  572. MSH = IT("BlockMesh",EFFECT)
  573. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  574. elseif TYPE == "Wave" then
  575. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  576. elseif TYPE == "Ring" then
  577. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  578. elseif TYPE == "Slash" then
  579. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  580. elseif TYPE == "Round Slash" then
  581. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  582. elseif TYPE == "Swirl" then
  583. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  584. elseif TYPE == "Skull" then
  585. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  586. elseif TYPE == "Crystal" then
  587. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  588. end
  589. if MSH ~= nil then
  590. local MOVESPEED = nil
  591. if MOVEDIRECTION ~= nil then
  592. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  593. end
  594. local GROWTH = SIZE - ENDSIZE
  595. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  596. if TYPE == "Block" then
  597. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  598. else
  599. EFFECT.CFrame = CFRAME
  600. end
  601. for LOOP = 1, TIME+1 do
  602. Swait()
  603. MSH.Scale = MSH.Scale - GROWTH/TIME
  604. if TYPE == "Wave" then
  605. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  606. end
  607. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  608. if TYPE == "Block" then
  609. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  610. else
  611. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  612. end
  613. if MOVEDIRECTION ~= nil then
  614. local ORI = EFFECT.Orientation
  615. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  616. EFFECT.Orientation = ORI
  617. end
  618. end
  619. if PLAYSSOUND == false then
  620. EFFECT:remove()
  621. else
  622. repeat Swait() until SOUND.Playing == false
  623. EFFECT:remove()
  624. end
  625. else
  626. if PLAYSSOUND == false then
  627. EFFECT:remove()
  628. else
  629. repeat Swait() until SOUND.Playing == false
  630. EFFECT:remove()
  631. end
  632. end
  633. end))
  634. end
  635.  
  636. function MakeForm(PART,TYPE)
  637. if TYPE == "Cyl" then
  638. local MSH = IT("CylinderMesh",PART)
  639. elseif TYPE == "Ball" then
  640. local MSH = IT("SpecialMesh",PART)
  641. MSH.MeshType = "Sphere"
  642. elseif TYPE == "Wedge" then
  643. local MSH = IT("SpecialMesh",PART)
  644. MSH.MeshType = "Wedge"
  645. end
  646. end
  647.  
  648. Debris = game:GetService("Debris")
  649.  
  650. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  651. local DIRECTION = CF(StartPos,EndPos).lookVector
  652. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  653. end
  654.  
  655. function turnto(position)
  656. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  657. end
  658.  
  659. --//=================================\\
  660. --|| WEAPON CREATION
  661. --\\=================================//
  662.  
  663. Humanoid.Parent = nil
  664. RootPart.Size = RootPart.Size*SIZE
  665. Torso.Size = Torso.Size*SIZE
  666. RightArm.Size = RightArm.Size*SIZE
  667. RightLeg.Size = RightLeg.Size*SIZE
  668. LeftArm.Size = LeftArm.Size*SIZE
  669. LeftLeg.Size = LeftLeg.Size*SIZE
  670. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  671. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  672. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  673. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  674. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  675. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  676. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  677. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  678. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  679. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  680. Head.Size = Head.Size*SIZE
  681. RootJoint.Parent = RootPart
  682. Neck.Parent = Torso
  683. RightShoulder.Parent = Torso
  684. LeftShoulder.Parent = Torso
  685. RightHip.Parent = Torso
  686. LeftHip.Parent = Torso
  687.  
  688. Humanoid.DisplayDistanceType = "None"
  689. local top = Instance.new("Shirt")
  690. top.ShirtTemplate = "rbxassetid://338740550"
  691. top.Parent = Character
  692. top.Name = "Cloth"
  693. local bottom = Instance.new("Pants")
  694. bottom.PantsTemplate = "rbxassetid://338750779"
  695. bottom.Parent = Character
  696. bottom.Name = "Cloth"
  697. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  698. PRT.Color = C3(0,0,0)
  699. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.61*SIZE,-0.15) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  700. CreateMesh("SpecialMesh", PRT, "FileMesh", "125482439", "125482468", VT(1.05,1.05,1.05)*SIZE, VT(0,0,0))
  701.  
  702. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  703. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  704. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  705. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  706. MakeForm(PRT,"Cyl")
  707. local PRT = CreatePart(3, Weapon, "Glass", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  708. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  709. MakeForm(PRT,"Cyl")
  710. PRT.Color = C3(0/255, 0/255, 0/255)
  711. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  712. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  713. MakeForm(RING,"Cyl")
  714. RING.Color = C3(1,1,1)
  715. for i = 1, 12 do
  716. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  717. PRT.Color = C3(1,1,1)
  718. local MSH = IT("BlockMesh",PRT)
  719. MSH.Scale = VT(0.6,1,1)
  720. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  721. end
  722. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  723. PRT.Color = C3(1,1,1)
  724. local MSH = IT("BlockMesh",PRT)
  725. MSH.Scale = VT(0.4,1,1)
  726. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  727. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  728. PRT.Color = C3(1,1,1)
  729. local MSH = IT("BlockMesh",PRT)
  730. MSH.Scale = VT(0.4,1,1)
  731. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  732. coroutine.resume(coroutine.create(function()
  733. while true do
  734. Swait()
  735. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  736. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  737. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  738. if CLOCKLOOP <= -150 then
  739. if VALUE1 == false then
  740. CLOCKLOOP = 0
  741. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = 1924624898, SoundPitch = 1.2, SoundVolume = 4})
  742. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  743. ApplyAoE(HITPOS,10,15,45,75,false)
  744. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  745. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  746. if CLOCKTARGET ~= nil then
  747. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  748. if CLOCKTARGET.Torso ~= nil then
  749. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  750. end
  751. if CLOCKTARGET.Health == 0 then
  752. CLOCKTARGET = nil
  753. end
  754. end
  755. end
  756. end
  757. end
  758. end))
  759.  
  760. local CFRA = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  761. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  762. local IN = Instance.new
  763. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  764. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  765. local Plrs = S.Players
  766. local Plr = Plrs.LocalPlayer
  767. local Char = Plr.Character
  768. local Head = Char.Head
  769.  
  770. function Part(parent,color,material,size,cframe,anchored,cancollide)
  771. local part = IN("Part")
  772. part.Parent = parent or Char
  773. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  774. part.Material = material or Enum.Material.SmoothPlastic
  775. part.TopSurface,part.BottomSurface=10,10
  776. part.Size = size or V3.N(1,1,1)
  777. part.CFrame = cframe or CFRA.N(0,0,0)
  778. part.CanCollide = cancollide or false
  779. part.Anchored = anchored or false
  780. return part
  781. end
  782.  
  783. function Weld(part0,part1,c0,c1)
  784. local weld = IN("Weld")
  785. weld.Parent = part0
  786. weld.Part0 = part0
  787. weld.Part1 = part1
  788. weld.C0 = c0 or CFRA.N()
  789. weld.C1 = c1 or CFRA.N()
  790. return weld
  791. end
  792.  
  793. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  794. local part = IN("SpecialMesh")
  795. part.MeshId = meshid or ""
  796. part.TextureId = textid or ""
  797. part.Scale = scale or V3.N(1,1,1)
  798. part.Offset = offset or V3.N(0,0,0)
  799. part.MeshType = meshtype or Enum.MeshType.Sphere
  800. part.Parent = parent
  801. return part
  802. end
  803.  
  804. NewInstance = function(instance,parent,properties)
  805. local inst = Instance.new(instance)
  806. inst.Parent = parent
  807. if(properties)then
  808. for i,v in next, properties do
  809. pcall(function() inst[i] = v end)
  810. end
  811. end
  812. return inst;
  813. end
  814.  
  815. local Halo = IN("Model",Char)
  816. Halo.Name = "Halo"
  817. local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  818.  
  819. for i = 1,353 do
  820. local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"Really black",Material=Enum.Material.Neon,Size=V3.N(0.1,0.1,0.1),Anchored=false,CanCollide=false,Locked=true})
  821. local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CFRA.A(0,M.R(i),0)*CFRA.N(0,0,-.6)})
  822. end
  823.  
  824. local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CFRA.N(0,1.1,0)})
  825.  
  826. for _, c in pairs(Weapon:GetChildren()) do
  827. if c.ClassName == "Part" then
  828. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  829. end
  830. end
  831.  
  832. Neck.Name = "Weld"
  833. RootJoint.Name = "Weld"
  834. RightShoulder.Name = "Weld"
  835. LeftShoulder.Name = "Weld"
  836. RightHip.Name = "Weld"
  837. LeftHip.Name = "Weld"
  838.  
  839. local SKILLTEXTCOLOR = C3(0/255, 0/255, 0/255)
  840. local SKILLFONT = "Fantasy"
  841. local SKILLTEXTSIZE = 7
  842.  
  843. Weapon.Parent = Character
  844. Humanoid.Parent = Character
  845.  
  846. Humanoid.Died:connect(function()
  847. ATTACK = true
  848. end)
  849.  
  850.  
  851. --//=================================\\
  852. --|| DAMAGING
  853. --\\=================================//
  854.  
  855. function ApplyDamage(Humanoid,Damage,TorsoPart)
  856. local defence = Instance.new("BoolValue",Humanoid.Parent)
  857. defence.Name = ("HitBy"..Player.Name)
  858. game:GetService("Debris"):AddItem(defence, 0.001)
  859. Damage = Damage * DAMAGEMULTIPLIER
  860. if Humanoid.Health ~= 0 then
  861. local CritChance = MRANDOM(1,100)
  862. if Damage > Humanoid.Health then
  863. Damage = math.ceil(Humanoid.Health)
  864. if Damage == 0 then
  865. Damage = 0.1
  866. end
  867. end
  868. Humanoid.Health = Humanoid.Health - Damage
  869. end
  870. end
  871.  
  872. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  873. local CHILDREN = workspace:GetDescendants()
  874. for index, CHILD in pairs(CHILDREN) do
  875. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  876. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  877. if HUM then
  878. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  879. if TORSO then
  880. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  881. if INSTAKILL == true then
  882. CHILD:BreakJoints()
  883. else
  884. local DMG = MRANDOM(MINDMG,MAXDMG)
  885. ApplyDamage(HUM,DMG,TORSO)
  886. end
  887. if FLING > 0 then
  888. for _, c in pairs(CHILD:GetChildren()) do
  889. if c:IsA("BasePart") then
  890. local bv = Instance.new("BodyVelocity")
  891. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  892. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  893. bv.Parent = c
  894. Debris:AddItem(bv,0.05)
  895. end
  896. end
  897. end
  898. end
  899. end
  900. end
  901. end
  902. end
  903. end
  904.  
  905. function ApplyDamage(Humanoid,Damage)
  906. Damage = Damage * DAMAGEMULTIPLIER
  907. if Humanoid.Health ~= 0 then
  908. Humanoid.Health = Humanoid.Health - Damage
  909. end
  910. end
  911.  
  912. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  913. local CHILDREN = workspace:GetDescendants()
  914. for index, CHILD in pairs(CHILDREN) do
  915. if CHILD.ClassName == "Model" and CHILD ~= Character then
  916. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  917. if HUM then
  918. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  919. if TORSO then
  920. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  921. if INSTAKILL == true then
  922. CHILD:BreakJoints()
  923. else
  924. local DMG = MRANDOM(MINDMG,MAXDMG)
  925. ApplyDamage(HUM,DMG)
  926. end
  927. if FLING > 0 then
  928. for _, c in pairs(CHILD:GetChildren()) do
  929. if c:IsA("BasePart") then
  930. local bv = Instance.new("BodyVelocity")
  931. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  932. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  933. bv.Parent = c
  934. Debris:AddItem(bv,0.05)
  935. end
  936. end
  937. end
  938. end
  939. end
  940. end
  941. end
  942. end
  943. end
  944.  
  945. function APPLYMELEE(PART,MINDMG,MAXDMG)
  946. local ONESHOT = false
  947. if MINDMG == "inf" then
  948. ONESHOT = true
  949. end
  950. local HITS = {}
  951. local TOUCH = PART.Touched:Connect(function(hit)
  952. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  953. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  954. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  955. if TORSO and HUM.Health > 0 then
  956. local PASS = true
  957. for i = 1, #HITS do
  958. if HITS[i] == hit.Parent then
  959. PASS = false
  960. end
  961. end
  962. table.insert(HITS,hit.Parent)
  963. if PASS == true then
  964. if ONESHOT == false then
  965. ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG))
  966. else
  967. CreateSound(1538571923, TORSO, 10, 1, false)
  968. HUM.Parent:BreakJoints()
  969. HUM:remove()
  970. for _, c in pairs(TORSO.Parent:GetChildren()) do
  971. if c:IsA("BasePart") then
  972. c.CanCollide = true
  973. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45))
  974. Debris:AddItem(c,MRANDOM(5,20)/10)
  975. end
  976. end
  977. end
  978. end
  979. end
  980. end
  981. end)
  982. return TOUCH
  983. end
  984.  
  985. function ApplyDamage(Humanoid,Damage)
  986. Damage = Damage * DAMAGEMULTIPLIER
  987. local DEAD = false
  988. if Humanoid.Health < 2000 then
  989. if Humanoid.Health - Damage > 0 then
  990. Humanoid.Health = Humanoid.Health - Damage
  991. else
  992. DEAD = true
  993. Humanoid.Parent:BreakJoints()
  994. end
  995. else
  996. DEAD = true
  997. Humanoid.Parent:BreakJoints()
  998. end
  999. end
  1000.  
  1001. --//=================================\\
  1002. --|| ATTACK FUNCTIONS AND STUFF
  1003. --\\=================================//
  1004.  
  1005. function MagicMissiles()
  1006. ATTACK = true
  1007. Rooted = true
  1008. local SELECTING = true
  1009. local SPOTS = {}
  1010. coroutine.resume(coroutine.create(function()
  1011. local LOOP = 0
  1012. repeat
  1013. LOOP = LOOP + 1
  1014. Swait()
  1015. if LOOP >= 10 then
  1016. LOOP = 0
  1017. for i = 1, #SPOTS do
  1018. if SPOTS[i] ~= nil then
  1019. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1020. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1021. end
  1022. end
  1023. end
  1024. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1028. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1029. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1030. until SELECTING == false
  1031. Rooted = false
  1032. repeat
  1033. LOOP = LOOP + 1
  1034. Swait()
  1035. if LOOP >= 10 then
  1036. LOOP = 0
  1037. for i = 1, #SPOTS do
  1038. if SPOTS[i] ~= nil then
  1039. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1040. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1041. end
  1042. end
  1043. end
  1044. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1045. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1046. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1047. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1048. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1049. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1050. until ATTACK == false
  1051. end))
  1052. repeat
  1053. repeat Swait() until HOLD == true
  1054. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1055. if DIST > 65 then
  1056. DIST = 65
  1057. end
  1058. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1059. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1060. if HITFLOOR ~= nil then
  1061. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1062. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1063. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1064. end
  1065. repeat Swait() until HOLD == false
  1066. until #SPOTS == 5
  1067. SELECTING = false
  1068. for i = 1, #SPOTS do
  1069. if SPOTS[i] ~= nil then
  1070. local POS = SPOTS[i]
  1071. coroutine.resume(coroutine.create(function()
  1072. local MISSILE = IT("Model",Effects)
  1073. MISSILE.Name = "Missile"
  1074. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Black", "Part", VT(2,2,2))
  1075. MakeForm(BASEPART,"Cyl")
  1076. MISSILE.PrimaryPart = BASEPART
  1077. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1078. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Black", "Part", VT(2,4,2))
  1079. MakeForm(HEAD,"Ball")
  1080. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1081. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Black", "Part", VT(2.5,0.1,2.5))
  1082. MakeForm(TAIL,"Cyl")
  1083. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1084. for i = 1, 10 do
  1085. Swait()
  1086. for _, c in pairs(MISSILE:GetChildren()) do
  1087. if c.ClassName == "Part" then
  1088. c.Transparency = c.Transparency - 1/10
  1089. end
  1090. end
  1091. end
  1092. for i = 1, 15*1.5 do
  1093. Swait()
  1094. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1095. end
  1096. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  1097. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1098. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1099. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1100. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1101. MISSILE:remove()
  1102. end))
  1103. end
  1104. end
  1105. wait(0.6)
  1106. ATTACK = false
  1107. Rooted = false
  1108. end
  1109.  
  1110. function TimesUp()
  1111. CLOCKTARGET = nil
  1112. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1113. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1114. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1115. if TORSO then
  1116. ATTACK = true
  1117. Rooted = false
  1118. coroutine.resume(coroutine.create(function()
  1119. repeat
  1120. Swait()
  1121. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1122. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1123. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1124. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1125. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1126. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1127. until ATTACK == false
  1128. end))
  1129. if Effects:FindFirstChild("NeonDoll") then
  1130. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1131. end
  1132. wait(0.5)
  1133. local FAKECHARACTER = IT("Model",Effects)
  1134. FAKECHARACTER.Name = "NeonDoll"
  1135. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Black", "Part", VT(0.3,0.3,0.15),false)
  1136. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1137. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Black", "Part", VT(0.15,0.3,0.15),false)
  1138. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1139. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Black", "Part", VT(0.15,0.3,0.15),false)
  1140. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1141. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Black", "Part", VT(0.15,0.3,0.15),false)
  1142. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1143. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Black", "Part", VT(0.15,0.3,0.15),false)
  1144. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1145. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Black", "Part", VT(0.15,0.15,0.15),false)
  1146. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1147. CreateSound(201858045, TORS, 5, 0.4, false)
  1148. for i = 1, 150 do
  1149. Swait()
  1150. CLOCKSPEED = 6
  1151. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1152. if c.ClassName == "Part" then
  1153. c.Transparency = c.Transparency - 0.5/150
  1154. end
  1155. end
  1156. end
  1157. CLOCKTARGET = HUM
  1158. coroutine.resume(coroutine.create(function()
  1159. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  1160. for i = 1, 25 do
  1161. Swait()
  1162. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1163. if c.ClassName == "Part" then
  1164. c.Transparency = c.Transparency + 0.5/25
  1165. end
  1166. end
  1167. end
  1168. CLOCKSPEED = 1
  1169. FAKECHARACTER:remove()
  1170. end))
  1171. wait(0.5)
  1172. ATTACK = false
  1173. Rooted = false
  1174. end
  1175. end
  1176. end
  1177.  
  1178. function ChainPunch()
  1179. ATTACK = true
  1180. Rooted = false
  1181. local GYRO = IT("BodyGyro",RootPart)
  1182. GYRO.D = 25
  1183. GYRO.P = 2000
  1184. GYRO.MaxTorque = VT(0,40000,0)
  1185. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1186. repeat
  1187. Swait()
  1188. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1189. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1190. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1191. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1192. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1193. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1194. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1195. until HOLD == true
  1196. local POS = Mouse.Hit.p
  1197. local CHAINS = false
  1198. local CHAINLINKS = {}
  1199. local A = IT("Attachment",RightArm)
  1200. A.Position = VT(1,-1,0)*SIZE
  1201. A.Orientation = VT(-90, -89.982, 0)
  1202. local B = IT("Attachment",RightArm)
  1203. B.Position = VT(-1,-1,0)*SIZE
  1204. B.Orientation = VT(-90, 89.988, 0)
  1205. local C = IT("Attachment",RightArm)
  1206. C.Position = VT(0.5,-1.3,0)*SIZE
  1207. C.Orientation = VT(-90, -89.982, 0)
  1208. local D = IT("Attachment",RightArm)
  1209. D.Position = VT(-0.5,-1.3,0)*SIZE
  1210. D.Orientation = VT(-90, 89.988, 0)
  1211. local LIGHT = IT("Attachment",RightArm)
  1212. LIGHT.Position = VT(0,-1,0)*SIZE
  1213. local LIGHT2 = IT("PointLight",LIGHT)
  1214. LIGHT2.Range = 7
  1215. LIGHT2.Brightness = 5
  1216. LIGHT2.Color = SKILLTEXTCOLOR
  1217. for i = 1, 2 do
  1218. local TWIST = -2
  1219. local START = A
  1220. local END = B
  1221. if i == 1 then
  1222. START = B
  1223. END = A
  1224. end
  1225. local ChainLink = IT("Beam",Torso)
  1226. ChainLink.Texture = "rbxassetid://73042633"
  1227. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1228. ChainLink.TextureSpeed = 1
  1229. ChainLink.Width0 = 1
  1230. ChainLink.Width1 = 1
  1231. ChainLink.TextureLength = 2.5
  1232. ChainLink.Attachment0 = START
  1233. ChainLink.Attachment1 = END
  1234. ChainLink.CurveSize0 = TWIST
  1235. ChainLink.CurveSize1 = TWIST
  1236. --ChainLink.FaceCamera = true
  1237. ChainLink.Segments = 45
  1238. ChainLink.Transparency = NumberSequence.new(1)
  1239. table.insert(CHAINLINKS,ChainLink)
  1240. end
  1241. for i = 1, 2 do
  1242. local TWIST = -1
  1243. local START = C
  1244. local END = D
  1245. if i == 1 then
  1246. START = D
  1247. END = C
  1248. end
  1249. local ChainLink = IT("Beam",Torso)
  1250. ChainLink.Texture = "rbxassetid://73042633"
  1251. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1252. ChainLink.TextureSpeed = 1
  1253. ChainLink.Width0 = 1
  1254. ChainLink.Width1 = 1
  1255. ChainLink.TextureLength = 5
  1256. ChainLink.Attachment0 = START
  1257. ChainLink.Attachment1 = END
  1258. ChainLink.CurveSize0 = TWIST
  1259. ChainLink.CurveSize1 = TWIST
  1260. --ChainLink.FaceCamera = true
  1261. ChainLink.Segments = 25
  1262. ChainLink.LightEmission = 0.5
  1263. ChainLink.Transparency = NumberSequence.new(1)
  1264. table.insert(CHAINLINKS,ChainLink)
  1265. end
  1266. coroutine.resume(coroutine.create(function()
  1267. repeat
  1268. Swait()
  1269. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1270. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1271. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1272. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1273. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1274. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1275. until CHAINS == true
  1276. repeat
  1277. Swait()
  1278. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1279. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1280. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1281. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1282. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1283. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1284. until ATTACK == false
  1285. for e = 1, 15 do
  1286. Swait()
  1287. for i = 1, #CHAINLINKS do
  1288. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1289. end
  1290. end
  1291. A:remove()
  1292. B:remove()
  1293. C:remove()
  1294. D:remove()
  1295. end))
  1296. CreateSound(233856115, RightArm, 5, 1.2, false)
  1297. for e = 1, 15 do
  1298. Swait()
  1299. for i = 1, #CHAINLINKS do
  1300. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1301. end
  1302. end
  1303. CHAINS = true
  1304. Rooted = true
  1305. wait(0.25)
  1306. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Black", "Part", VT(2,2,2))
  1307. FIST.Color = C3(0, 0, 0)
  1308. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1309. local LIGHT3 = IT("PointLight",FIST)
  1310. LIGHT3.Range = 7
  1311. LIGHT3.Brightness = 5
  1312. LIGHT3.Color = SKILLTEXTCOLOR
  1313. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1314. local FISTA = IT("Attachment",FIST)
  1315. FISTA.Position = VT(0.062, 0.977, 0)
  1316. local ChainLink = IT("Beam",Torso)
  1317. ChainLink.Texture = "rbxassetid://73042633"
  1318. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1319. ChainLink.TextureSpeed = 0
  1320. ChainLink.Width0 = 3
  1321. ChainLink.Width1 = 3
  1322. ChainLink.TextureLength = 12
  1323. ChainLink.Attachment0 = LIGHT
  1324. ChainLink.Attachment1 = FISTA
  1325. ChainLink.FaceCamera = true
  1326. ChainLink.Segments = 45
  1327. ChainLink.LightEmission = 0.5
  1328. ChainLink.Transparency = NumberSequence.new(0.25)
  1329. local FISTSOUND = CreateSound(923307718, FIST, 5, 1.2, false)
  1330. for i = 1, 85 do
  1331. Swait()
  1332. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1333. ChainLink.TextureLength = 12+(i*2)
  1334. ApplyAoE(FIST.Position,10,15,25,100,false)
  1335. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1336. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1337. if HITFLOOR ~= nil then
  1338. HITFLOOR:BreakJoints()
  1339. coroutine.resume(coroutine.create(function()
  1340. for i = 1, 15 do
  1341. Swait()
  1342. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1343. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1344. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1345. end
  1346. end))
  1347. break
  1348. end
  1349. end
  1350. coroutine.resume(coroutine.create(function()
  1351. for i = 1, 50 do
  1352. Swait()
  1353. FIST.Transparency = FIST.Transparency + 0.5/50
  1354. LIGHT3.Range = LIGHT3.Range - 7/50
  1355. end
  1356. FIST:remove()
  1357. end))
  1358. LIGHT:remove()
  1359. GYRO:remove()
  1360. ATTACK = false
  1361. Rooted = false
  1362. end
  1363.  
  1364. function Taunt()
  1365. ATTACK = true
  1366. Rooted = true
  1367. local TAUNT = CreateSound(159882635, Torso,17, 1, false)
  1368. repeat
  1369. Swait()
  1370. TAUNT.Parent = Torso
  1371. TAUNT.Playing = true
  1372. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1373. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1374. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1375. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1376. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1377. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1378. until TAUNT.TimePosition >= 1.25
  1379. for i=0, 1.6, 0.1 / Animation_Speed do
  1380. Swait()
  1381. TAUNT.Parent = Torso
  1382. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1383. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1384. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1385. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1386. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1387. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1388. end
  1389. ATTACK = false
  1390. Rooted = false
  1391. end
  1392. --//=================================\\
  1393. --|| ASSIGN THINGS TO KEYS
  1394. --\\=================================//
  1395.  
  1396. function MouseDown(Mouse)
  1397. HOLD = true
  1398. if ATTACK == false then
  1399. end
  1400. end
  1401.  
  1402. function MouseUp(Mouse)
  1403. HOLD = false
  1404. end
  1405.  
  1406. function KeyDown(Key)
  1407. KEYHOLD = true
  1408. if Key == "z" and ATTACK == false then
  1409. MagicMissiles()
  1410. end
  1411.  
  1412. if Key == "v" and ATTACK == false then
  1413. TimesUp()
  1414. end
  1415.  
  1416. if Key == "c" and ATTACK == false then
  1417. ChainPunch()
  1418. end
  1419.  
  1420. if Key == "x" and ATTACK == false then
  1421. TimesUp()
  1422. end
  1423.  
  1424. if Key == "t" and ATTACK == false then
  1425. Taunt()
  1426. end
  1427. end
  1428.  
  1429. function KeyUp(Key)
  1430. KEYHOLD = false
  1431. end
  1432.  
  1433. Mouse.Button1Down:connect(function(NEWKEY)
  1434. MouseDown(NEWKEY)
  1435. end)
  1436. Mouse.Button1Up:connect(function(NEWKEY)
  1437. MouseUp(NEWKEY)
  1438. end)
  1439. Mouse.KeyDown:connect(function(NEWKEY)
  1440. KeyDown(NEWKEY)
  1441. end)
  1442. Mouse.KeyUp:connect(function(NEWKEY)
  1443. KeyUp(NEWKEY)
  1444. end)
  1445.  
  1446. --//=================================\\
  1447. --\\=================================//
  1448.  
  1449.  
  1450. function unanchor()
  1451. if UNANCHOR == true then
  1452. RootPart.Anchored = false
  1453. end
  1454. g = Character:GetChildren()
  1455. for i = 1, #g do
  1456. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1457. g[i].Anchored = false
  1458. end
  1459. end
  1460. g = Weapon:GetChildren()
  1461. for i = 1, #g do
  1462. if g[i].ClassName == "Part" then
  1463. g[i].Anchored = false
  1464. end
  1465. end
  1466. end
  1467.  
  1468.  
  1469. --//=================================\\
  1470. --|| WRAP THE WHOLE SCRIPT UP
  1471. --\\=================================//
  1472.  
  1473. Humanoid.Changed:connect(function(Jump)
  1474. if Jump == "Jump" and (Disable_Jump == true) then
  1475. Humanoid.Jump = false
  1476. end
  1477. end)
  1478.  
  1479. while true do
  1480. Swait()
  1481. script.Parent = WEAPONGUI
  1482. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1483. v:Stop();
  1484. end
  1485. ANIMATE.Parent = nil
  1486. SINE = SINE + CHANGE*1.5
  1487. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1488. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1489. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1490. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1491. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1492. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1493. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1494. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1495. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1496. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1497. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1498. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1499. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1500. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1501. end
  1502. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1503. ANIM = "Jump"
  1504. if ATTACK == false and MODE == "Main" then
  1505. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1506. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1507. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1508. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1509. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1510. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  1511. end
  1512. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1513. ANIM = "Fall"
  1514. if ATTACK == false and MODE == "Main" then
  1515. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1516. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1517. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1518. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1519. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  1520. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1521. end
  1522. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1523. ANIM = "Idle"
  1524. if ATTACK == false and MODE == "Main" then
  1525. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1526. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1529. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1530. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1531. end
  1532. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1533. ANIM = "Walk"
  1534. if ATTACK == false and MODE == "Main" then
  1535. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1536. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  1537. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1538. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1539. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1540. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1541. end
  1542. end
  1543. unanchor()
  1544. Humanoid.MaxHealth = "inf"
  1545. Humanoid.Health = "inf"
  1546. if Rooted == false then
  1547. Disable_Jump = false
  1548. Humanoid.WalkSpeed = Speed
  1549. elseif Rooted == true then
  1550. Disable_Jump = true
  1551. Humanoid.WalkSpeed = 0
  1552. end
  1553. for _, c in pairs(Character:GetChildren()) do
  1554. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1555. c.Material = "Fabric"
  1556. if c:FindFirstChildOfClass("ParticleEmitter") then
  1557. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1558. end
  1559. if c ~= Head then
  1560. c.Color = C3(253/255, 234/255, 141/255)
  1561. else
  1562. c.Color = C3(253/255, 234/255, 141/255)
  1563. end
  1564. if c == Head then
  1565. if c:FindFirstChild("face") then
  1566. c.face.Texture = "rbxassetid://2202736098"
  1567. end
  1568. end
  1569. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1570. c:remove()
  1571. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1572. c:remove()
  1573. end
  1574. end
  1575. sick.SoundId = "rbxassetid://"..SONG
  1576. sick.Looped = true
  1577. sick.Pitch = 1
  1578. sick.Volume = 5
  1579. sick.Parent = Torso
  1580. sick:Resume()
  1581. --sick.Playing = false
  1582. Humanoid.Name = "ye boi"..Player.Name
  1583. end
  1584.  
  1585. --//=================================\\
  1586. --\\=================================//
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592. --//====================================================\\--
  1593. --|| END OF SCRIPT
  1594. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement