Advertisement
Christoffer07700Extr

Chris Evil Gloves Reborn

Jul 1st, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.71 KB | None | 0 0
  1.  
  2. Player = game.Players.LocalPlayer
  3. Character = Player.Character
  4. local txt = Instance.new("BillboardGui", Character)
  5. txt.Adornee = Character.Head
  6. txt.Name = "_status"
  7. txt.Size = UDim2.new(2, 0, 1.2, 0)
  8. txt.StudsOffset = Vector3.new(-9, 8, 0)
  9. local text = Instance.new("TextLabel", txt)
  10. text.Size = UDim2.new(10, 0, 7, 0)
  11. text.FontSize = "Size24"
  12. text.TextScaled = true
  13. text.TextTransparency = 0
  14. text.BackgroundTransparency = 1
  15. text.TextTransparency = 0
  16. text.TextStrokeTransparency = 0
  17. text.Font = "Antique"
  18. text.TextStrokeColor3 = Color3.new(170,0,0)
  19. text.Text = "Chris's Evil Gloves"
  20.  
  21.  
  22. --//====================================================\\--
  23. --|| CREATED BY SHACKLUSTER
  24. --\\====================================================//--
  25.  
  26.  
  27.  
  28. wait(0.2)
  29.  
  30.  
  31.  
  32. Player = game:GetService("Players").LocalPlayer
  33. PlayerGui = Player.PlayerGui
  34. Cam = workspace.CurrentCamera
  35. Backpack = Player.Backpack
  36. Character = Player.Character
  37. Humanoid = Character.Humanoid
  38. Mouse = Player:GetMouse()
  39. RootPart = Character["HumanoidRootPart"]
  40. Torso = Character["Torso"]
  41. Head = Character["Head"]
  42. RightArm = Character["Right Arm"]
  43. LeftArm = Character["Left Arm"]
  44. RightLeg = Character["Right Leg"]
  45. LeftLeg = Character["Left Leg"]
  46. RootJoint = RootPart["RootJoint"]
  47. Neck = Torso["Neck"]
  48. RightShoulder = Torso["Right Shoulder"]
  49. LeftShoulder = Torso["Left Shoulder"]
  50. RightHip = Torso["Right Hip"]
  51. LeftHip = Torso["Left Hip"]
  52. local sick = Instance.new("Sound",Character)
  53. sick.SoundId = "rbxassetid://2372056506"
  54. sick.Looped = true
  55. sick.Pitch = 1
  56. sick.Volume = 0.3
  57. sick:Play()
  58. Character.Head.face.Texture = "rbxassetid://398671601"
  59.  
  60. IT = Instance.new
  61. CF = CFrame.new
  62. VT = Vector3.new
  63. RAD = math.rad
  64. C3 = Color3.new
  65. UD2 = UDim2.new
  66. BRICKC = BrickColor.new
  67. ANGLES = CFrame.Angles
  68. EULER = CFrame.fromEulerAnglesXYZ
  69. COS = math.cos
  70. ACOS = math.acos
  71. SIN = math.sin
  72. ASIN = math.asin
  73. ABS = math.abs
  74. MRANDOM = math.random
  75. FLOOR = math.floor
  76.  
  77. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  78. local NEWMESH = IT(MESH)
  79. if MESH == "SpecialMesh" then
  80. NEWMESH.MeshType = MESHTYPE
  81. if MESHID ~= "nil" and MESHID ~= "" then
  82. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  83. end
  84. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  85. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  86. end
  87. end
  88. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  89. NEWMESH.Scale = SCALE
  90. NEWMESH.Parent = PARENT
  91. return NEWMESH
  92. end
  93.  
  94. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  95. local NEWPART = IT("Part")
  96. NEWPART.formFactor = FORMFACTOR
  97. NEWPART.Reflectance = REFLECTANCE
  98. NEWPART.Transparency = TRANSPARENCY
  99. NEWPART.CanCollide = false
  100. NEWPART.Locked = true
  101. NEWPART.Anchored = true
  102. if ANCHOR == false then
  103. NEWPART.Anchored = false
  104. end
  105. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  106. NEWPART.Name = NAME
  107. NEWPART.Size = SIZE
  108. NEWPART.Position = Torso.Position
  109. NEWPART.Material = MATERIAL
  110. NEWPART:BreakJoints()
  111. NEWPART.Parent = PARENT
  112. return NEWPART
  113. end
  114.  
  115. --//=================================\\
  116. --|| CUSTOMIZATION
  117. --\\=================================//
  118.  
  119. Player_Size = 1 --Size of the player.
  120. Animation_Speed = 3
  121. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  122.  
  123. local Speed = 27
  124. local Effects2 = {}
  125.  
  126. ---//=================================\\
  127. --|| END OF CUSTOMIZATION
  128. --\\=================================//
  129.  
  130. local function weldBetween(a, b)
  131. local weldd = Instance.new("ManualWeld")
  132. weldd.Part0 = a
  133. weldd.Part1 = b
  134. weldd.C0 = CFrame.new()
  135. weldd.C1 = b.CFrame:inverse() * a.CFrame
  136. weldd.Parent = a
  137. return weldd
  138. end
  139.  
  140. --//=================================\\
  141. --|| USEFUL VALUES
  142. --\\=================================//
  143.  
  144. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  145. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  146. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  147. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  148. local CHANGEDEFENSE = 0
  149. local CHANGEDAMAGE = 0
  150. local CHANGEMOVEMENT = 0
  151. local ANIM = "Idle"
  152. local ATTACK = false
  153. local EQUIPPED = false
  154. local HOLD = false
  155. local COMBO = 1
  156. local Rooted = false
  157. local SINE = 0
  158. local KEYHOLD = false
  159. local CHANGE = 2 / Animation_Speed
  160. local WALKINGANIM = false
  161. local WALK = 0
  162. local VALUE1 = false
  163. local VALUE2 = false
  164. local ROBLOXIDLEANIMATION = IT("Animation")
  165. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  166. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  167. --ROBLOXIDLEANIMATION.Parent = Humanoid
  168. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  169. WEAPONGUI.Name = "Weapon GUI"
  170. local Weapon = IT("Model")
  171. Weapon.Name = "Adds"
  172. local HITFLOOR = nil
  173. local Effects = IT("Folder", Weapon)
  174. Effects.Name = "Effects"
  175. local ANIMATOR = Humanoid.Animator
  176. local ANIMATE = Character.Animate
  177. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  178. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  179. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  180. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  181. local UNANCHOR = true
  182.  
  183. local SKILLTEXTCOLOR = C3(0,255/255,0)
  184.  
  185. --//=================================\\
  186. --\\=================================//
  187.  
  188.  
  189. --//=================================\\
  190. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  191. --\\=================================//
  192.  
  193. ArtificialHB = Instance.new("BindableEvent", script)
  194. ArtificialHB.Name = "ArtificialHB"
  195.  
  196. script:WaitForChild("ArtificialHB")
  197.  
  198. frame = Frame_Speed
  199. tf = 0
  200. allowframeloss = false
  201. tossremainder = false
  202. lastframe = tick()
  203. script.ArtificialHB:Fire()
  204.  
  205. game:GetService("RunService").Heartbeat:connect(function(s, p)
  206. tf = tf + s
  207. if tf >= frame then
  208. if allowframeloss then
  209. script.ArtificialHB:Fire()
  210. lastframe = tick()
  211. else
  212. for i = 1, math.floor(tf / frame) do
  213. script.ArtificialHB:Fire()
  214. end
  215. lastframe = tick()
  216. end
  217. if tossremainder then
  218. tf = 0
  219. else
  220. tf = tf - frame * math.floor(tf / frame)
  221. end
  222. end
  223. end)
  224.  
  225. --//=================================\\
  226. --\\=================================//
  227.  
  228.  
  229.  
  230.  
  231.  
  232. --//=================================\\
  233. --|| SOME FUNCTIONS
  234. --\\=================================//
  235.  
  236. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  237. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  238. end
  239.  
  240. function PositiveAngle(NUMBER)
  241. if NUMBER >= 0 then
  242. NUMBER = 0
  243. end
  244. return NUMBER
  245. end
  246.  
  247. function NegativeAngle(NUMBER)
  248. if NUMBER <= 0 then
  249. NUMBER = 0
  250. end
  251. return NUMBER
  252. end
  253.  
  254. function Swait(NUMBER)
  255. if NUMBER == 0 or NUMBER == nil then
  256. ArtificialHB.Event:wait()
  257. else
  258. for i = 1, NUMBER do
  259. ArtificialHB.Event:wait()
  260. end
  261. end
  262. end
  263.  
  264. function QuaternionFromCFrame(cf)
  265. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  266. local trace = m00 + m11 + m22
  267. if trace > 0 then
  268. local s = math.sqrt(1 + trace)
  269. local recip = 0.5 / s
  270. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  271. else
  272. local i = 0
  273. if m11 > m00 then
  274. i = 1
  275. end
  276. if m22 > (i == 0 and m00 or m11) then
  277. i = 2
  278. end
  279. if i == 0 then
  280. local s = math.sqrt(m00 - m11 - m22 + 1)
  281. local recip = 0.5 / s
  282. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  283. elseif i == 1 then
  284. local s = math.sqrt(m11 - m22 - m00 + 1)
  285. local recip = 0.5 / s
  286. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  287. elseif i == 2 then
  288. local s = math.sqrt(m22 - m00 - m11 + 1)
  289. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  290. end
  291. end
  292. end
  293.  
  294. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  295. local xs, ys, zs = x + x, y + y, z + z
  296. local wx, wy, wz = w * xs, w * ys, w * zs
  297. local xx = x * xs
  298. local xy = x * ys
  299. local xz = x * zs
  300. local yy = y * ys
  301. local yz = y * zs
  302. local zz = z * zs
  303. 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))
  304. end
  305.  
  306. function QuaternionSlerp(a, b, t)
  307. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  308. local startInterp, finishInterp;
  309. if cosTheta >= 0.0001 then
  310. if (1 - cosTheta) > 0.0001 then
  311. local theta = ACOS(cosTheta)
  312. local invSinTheta = 1 / SIN(theta)
  313. startInterp = SIN((1 - t) * theta) * invSinTheta
  314. finishInterp = SIN(t * theta) * invSinTheta
  315. else
  316. startInterp = 1 - t
  317. finishInterp = t
  318. end
  319. else
  320. if (1 + cosTheta) > 0.0001 then
  321. local theta = ACOS(-cosTheta)
  322. local invSinTheta = 1 / SIN(theta)
  323. startInterp = SIN((t - 1) * theta) * invSinTheta
  324. finishInterp = SIN(t * theta) * invSinTheta
  325. else
  326. startInterp = t - 1
  327. finishInterp = t
  328. end
  329. end
  330. 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
  331. end
  332.  
  333. function Clerp(a, b, t)
  334. local qa = {QuaternionFromCFrame(a)}
  335. local qb = {QuaternionFromCFrame(b)}
  336. local ax, ay, az = a.x, a.y, a.z
  337. local bx, by, bz = b.x, b.y, b.z
  338. local _t = 1 - t
  339. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  340. end
  341.  
  342. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  343. local frame = IT("Frame")
  344. frame.BackgroundTransparency = TRANSPARENCY
  345. frame.BorderSizePixel = BORDERSIZEPIXEL
  346. frame.Position = POSITION
  347. frame.Size = SIZE
  348. frame.BackgroundColor3 = COLOR
  349. frame.BorderColor3 = BORDERCOLOR
  350. frame.Name = NAME
  351. frame.Parent = PARENT
  352. return frame
  353. end
  354.  
  355. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  356. local label = IT("TextLabel")
  357. label.BackgroundTransparency = 1
  358. label.Size = UD2(1, 0, 1, 0)
  359. label.Position = UD2(0, 0, 0, 0)
  360. label.TextColor3 = TEXTCOLOR
  361. label.TextStrokeTransparency = STROKETRANSPARENCY
  362. label.TextTransparency = TRANSPARENCY
  363. label.FontSize = TEXTFONTSIZE
  364. label.Font = TEXTFONT
  365. label.BorderSizePixel = BORDERSIZEPIXEL
  366. label.TextScaled = false
  367. label.Text = TEXT
  368. label.Name = NAME
  369. label.Parent = PARENT
  370. return label
  371. end
  372.  
  373. function NoOutlines(PART)
  374. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  375. end
  376.  
  377.  
  378. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  379. local NEWWELD = IT(TYPE)
  380. NEWWELD.Part0 = PART0
  381. NEWWELD.Part1 = PART1
  382. NEWWELD.C0 = C0
  383. NEWWELD.C1 = C1
  384. NEWWELD.Parent = PARENT
  385. return NEWWELD
  386. end
  387.  
  388. function CreateSound(ID, PARENT, VOLUME, PITCH)
  389. local NEWSOUND = nil
  390. coroutine.resume(coroutine.create(function()
  391. NEWSOUND = IT("Sound", PARENT)
  392. NEWSOUND.Volume = VOLUME
  393. NEWSOUND.Pitch = PITCH
  394. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  395. Swait()
  396. NEWSOUND:play()
  397. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  398. end))
  399. return NEWSOUND
  400. end
  401.  
  402. function CFrameFromTopBack(at, top, back)
  403. local right = top:Cross(back)
  404. 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)
  405. end
  406.  
  407. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  408. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0,0,0))
  409. local mesh = IT("SpecialMesh",wave)
  410. mesh.MeshType = "FileMesh"
  411. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  412. mesh.Scale = SIZE
  413. mesh.Offset = VT(0,0,-SIZE.X/8)
  414. wave.CFrame = CFRAME
  415. coroutine.resume(coroutine.create(function(PART)
  416. for i = 1, WAIT do
  417. Swait()
  418. mesh.Scale = mesh.Scale + GROW
  419. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  420. if DOESROT == true then
  421. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  422. end
  423. wave.Transparency = wave.Transparency + (0.5/WAIT)
  424. if wave.Transparency > 0.99 then
  425. wave:remove()
  426. end
  427. end
  428. end))
  429. end
  430.  
  431. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  432. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0,0,0))
  433. local mesh = IT("SpecialMesh",wave)
  434. mesh.MeshType = "FileMesh"
  435. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  436. mesh.Scale = SIZE
  437. --mesh.Offset = VT(0,0,-SIZE.X/8)
  438. wave.CFrame = CFRAME
  439. coroutine.resume(coroutine.create(function(PART)
  440. for i = 1, WAIT do
  441. Swait()
  442. mesh.Scale = mesh.Scale + GROW
  443. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  444. if DOESROT == true then
  445. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  446. end
  447. wave.Transparency = wave.Transparency + (0.5/WAIT)
  448. if wave.Transparency > 0.99 then
  449. wave:remove()
  450. end
  451. end
  452. end))
  453. end
  454.  
  455. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  456. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0,0,0))
  457. local mesh = IT("SpecialMesh",wave)
  458. mesh.MeshType = "FileMesh"
  459. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  460. mesh.Scale = SIZE
  461. wave.CFrame = CFRAME
  462. coroutine.resume(coroutine.create(function(PART)
  463. for i = 1, WAIT do
  464. Swait()
  465. mesh.Scale = mesh.Scale + GROW
  466. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  467. if DOESROT == true then
  468. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  469. end
  470. wave.Transparency = wave.Transparency + (0.5/WAIT)
  471. if wave.Transparency > 0.99 then
  472. wave:remove()
  473. end
  474. end
  475. end))
  476. end
  477.  
  478.  
  479. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  480. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  481. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  482. wave.CFrame = CFRAME
  483. coroutine.resume(coroutine.create(function(PART)
  484. for i = 1, WAIT do
  485. Swait()
  486. mesh.Scale = mesh.Scale * GROW
  487. wave.Transparency = wave.Transparency + (0.5/WAIT)
  488. if wave.Transparency > 0.99 then
  489. wave:remove()
  490. end
  491. end
  492. end))
  493. end
  494.  
  495. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  496. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  497. local mesh = IT("SpecialMesh",wave)
  498. mesh.MeshType = "Sphere"
  499. mesh.Scale = SIZE
  500. mesh.Offset = VT(0,0,0)
  501. wave.CFrame = CFRAME
  502. coroutine.resume(coroutine.create(function(PART)
  503. for i = 1, WAIT do
  504. Swait()
  505. mesh.Scale = mesh.Scale + GROW
  506. wave.Transparency = wave.Transparency + (1/WAIT)
  507. if wave.Transparency > 0.99 then
  508. wave:remove()
  509. end
  510. end
  511. end))
  512. end
  513.  
  514. function MakeForm(PART,TYPE)
  515. if TYPE == "Cyl" then
  516. local MSH = IT("CylinderMesh",PART)
  517. elseif TYPE == "Ball" then
  518. local MSH = IT("SpecialMesh",PART)
  519. MSH.MeshType = "Sphere"
  520. elseif TYPE == "Wedge" then
  521. local MSH = IT("SpecialMesh",PART)
  522. MSH.MeshType = "Wedge"
  523. end
  524. end
  525.  
  526. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  527. if FLOOR ~= nil then
  528. coroutine.resume(coroutine.create(function()
  529. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  530. PART.CFrame = CF(POSITION)
  531. for i = 1, 45 do
  532. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  533. RingPiece.Material = FLOOR.Material
  534. RingPiece.Color = FLOOR.Color
  535. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  536. Debris:AddItem(RingPiece,SWAIT/100)
  537. end
  538. PART:remove()
  539. end))
  540. end
  541. end
  542.  
  543. function CheckTableForString(Table, String)
  544. for i, v in pairs(Table) do
  545. if string.find(string.lower(String), string.lower(v)) then
  546. return true
  547. end
  548. end
  549. return false
  550. end
  551.  
  552. function CheckIntangible(Hit)
  553. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  554. if Hit and Hit.Parent then
  555. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  556. return true
  557. end
  558. end
  559. return false
  560. end
  561.  
  562. Debris = game:GetService("Debris")
  563.  
  564. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  565. local Direction = CFrame.new(StartPos, Vec).lookVector
  566. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  567. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  568. if RayHit and CheckIntangible(RayHit) then
  569. if DelayIfHit then
  570. wait()
  571. end
  572. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  573. end
  574. return RayHit, RayPos, RayNormal
  575. end
  576.  
  577. function turnto(position)
  578. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  579. end
  580.  
  581. --//=================================\\
  582. --|| WEAPON CREATION
  583. --\\=================================//
  584.  
  585. for i = 1, 35 do
  586. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  587. FACE.Color = C3(0,0,0)
  588. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  589. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  590. end
  591.  
  592. local LASTPART = Head
  593. for i = 1, 30 do
  594. local MATH = 1 - i / 40
  595. if LASTPART == Head then
  596. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  597. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(15), RAD(-15)), CF(0, 0, 0))
  598. LASTPART = Horn
  599. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  600. else
  601. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  602. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(3), RAD(0)), CF(0, 0, 0))
  603. LASTPART = Horn
  604. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  605. end
  606. end
  607. local LASTPART = Head
  608. for i = 1, 30 do
  609. local MATH = 1 - i / 40
  610. if LASTPART == Head then
  611. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  612. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(-15), RAD(15)), CF(0, 0, 0))
  613. LASTPART = Horn
  614. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  615. else
  616. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  617. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(-3), RAD(0)), CF(0, 0, 0))
  618. LASTPART = Horn
  619. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  620. end
  621. end
  622.  
  623. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  624. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  625. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  626. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  627.  
  628. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  629. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  630. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  631. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  632. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  633. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  634. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  635. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  636.  
  637. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  638. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  639. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  640. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  641. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  642. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  643. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  644. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  645. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  646. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  647.  
  648.  
  649. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  650. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  651. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  652. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  653.  
  654. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  655. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  656. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  657. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  658. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  659. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  660. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  661. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  662.  
  663. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  664. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  665. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  666. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  667. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  668. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  669. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  670. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  671. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  672. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  673.  
  674. for _, c in pairs(Weapon:GetChildren()) do
  675. if c.ClassName == "Part" then
  676. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  677. end
  678. end
  679.  
  680. Weapon.Parent = Character
  681.  
  682. Humanoid.Died:connect(function()
  683. ATTACK = true
  684. end)
  685.  
  686. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  687. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  688. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  689. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  690.  
  691. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Death's Agreement", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  692. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Grab Time", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  693. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Max Speed", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  694. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Green's Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  695.  
  696. --//=================================\\
  697. --|| DAMAGE FUNCTIONS
  698. --\\=================================//
  699.  
  700. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  701. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  702. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  703. local BODYGYRO = IT("BodyGyro", STATPART)
  704. local BODYPOSITION = IT("BodyPosition", STATPART)
  705. BODYPOSITION.P = 2000
  706. BODYPOSITION.D = 100
  707. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  708. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  709. game:GetService("Debris"):AddItem(STATPART ,5)
  710. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  711. BILLBOARDGUI.Adornee = STATPART
  712. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  713. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  714. BILLBOARDGUI.AlwaysOnTop = false
  715. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  716. TEXTLABEL.BackgroundTransparency = 1
  717. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  718. TEXTLABEL.Text = TEXT
  719. TEXTLABEL.Font = "SciFi"
  720. TEXTLABEL.FontSize="Size42"
  721. TEXTLABEL.TextColor3 = COLOR
  722. TEXTLABEL.TextStrokeTransparency = 1
  723. TEXTLABEL.TextScaled = true
  724. TEXTLABEL.TextWrapped = true
  725. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  726. if LABELTYPE == "Normal" then
  727. for i = 1, 30 do
  728. Swait()
  729. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  730. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  731. end
  732. elseif LABELTYPE == "Debuff" then
  733. for i = 1, 30 do
  734. Swait()
  735. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  736. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  737. end
  738. elseif LABELTYPE == "Shock" then
  739. local ORIGIN = STATPART.Position
  740. for i = 1, 30 do
  741. Swait()
  742. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  743. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  744. end
  745. end
  746. THEPART.Parent = nil
  747. end),STATPART, BODYPOSITION, TEXTLABEL)
  748. end
  749.  
  750. --//=================================\\
  751. --|| DAMAGING
  752. --\\=================================//
  753.  
  754. function killnearest(position,range,maxstrength,direction)
  755. for i,v in ipairs(workspace:GetChildren()) do
  756. local body = v:GetChildren()
  757. for part = 1, #body do
  758. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  759. if(body[part].Position - position).Magnitude < range then
  760. if v.ClassName == "Model" then
  761. --v:BreakJoints()
  762. end
  763. local POS = position
  764. coroutine.resume(coroutine.create(function()
  765. body[part].Anchored = true
  766. body[part].Parent = Effects
  767. body[part].CanCollide = true
  768. local SIZE = body[part].Size
  769. body[part].Material = "Neon"
  770. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  771. for i = 1, 75 do
  772. Swait()
  773. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  774. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  775. end
  776. coroutine.resume(coroutine.create(function()
  777. while true do
  778. Swait()
  779. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  780. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  781. end
  782. end))
  783. body[part].Anchored = false
  784. body[part].Velocity = direction.lookVector*maxstrength
  785. end))
  786. end
  787. end
  788. end
  789. if v.ClassName == "Part" then
  790. if v.Anchored == false and (v.Position - position).Magnitude < range then
  791. local POS = position
  792. coroutine.resume(coroutine.create(function()
  793. v.Anchored = true
  794. v.Parent = Effects
  795. local SIZE = v.Size
  796. v.Material = "Neon"
  797. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  798. for i = 1, 75 do
  799. Swait()
  800. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  801. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  802. end
  803. coroutine.resume(coroutine.create(function()
  804. while true do
  805. Swait()
  806. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  807. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  808. end
  809. end))
  810. v.Anchored = false
  811. v.Velocity = direction.lookVector*maxstrength
  812. end))
  813. end
  814. end
  815. end
  816. end
  817.  
  818. --//=================================\\
  819. --|| ATTACK FUNCTIONS AND STUFF
  820. --\\=================================//
  821.  
  822. function AttackTemplate()
  823. ATTACK = true
  824. Rooted = false
  825. for i=0, 1, 0.1 / Animation_Speed do
  826. Swait()
  827. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  828. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  829. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  830. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  831. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  832. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  833. end
  834. ATTACK = false
  835. Rooted = false
  836. end
  837.  
  838. function DeathAgreement()
  839. ATTACK = true
  840. Rooted = false
  841. local SPEED = Speed
  842. Speed = 10
  843. CreateSound("357202141", RightArm, 10, 1.1)
  844. for i=0, 0, 0.1 / Animation_Speed do
  845. Swait()
  846. turnto(Mouse.Hit.p)
  847. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15))
  848. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15))
  849. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  853. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  855. end
  856. for i=0, 0.15, 0.1 / Animation_Speed do
  857. Swait()
  858. turnto(Mouse.Hit.p)
  859. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  860. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  861. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  862. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  863. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  864. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  865. end
  866. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Really red", "Punch", VT(50,50,50),false)
  867. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  868. PART.Shape = "Ball"
  869. local bv = Instance.new("BodyVelocity")
  870. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  871. bv.velocity = RootPart.CFrame.lookVector*600
  872. bv.Parent = PART
  873. bv.Name = "PROJECTILEVELOCITY"
  874. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really red",VT(2.5,0.2,2.5))
  875. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(3,0.2,3))
  876. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really red",VT(2,0.6,2))
  877. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(2.2,0.6,2.2))
  878. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  879. coroutine.resume(coroutine.create(function()
  880. for i = 1, 10 do
  881. Swait()
  882. PART.Transparency = PART.Transparency + 0.2/10
  883. PART.Size = PART.Size + VT(5,5,5)
  884. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  885. end
  886. PART:Destroy()
  887. end))
  888. for i=0, 1, 0.1 / Animation_Speed do
  889. Swait()
  890. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  891. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  892. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  893. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  894. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  895. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  896. end
  897. Speed = SPEED
  898. ATTACK = false
  899. Rooted = false
  900. end
  901.  
  902. function GrabTime()
  903. ATTACK = true
  904. Rooted = false
  905. local HASGRABBED = false
  906. local WELD = nil
  907. local TORS = nil
  908. local hitting = FIST.Touched:connect(function(hit)
  909. if hit.Parent:FindFirstChild("Humanoid") then
  910. if hit.Parent.Humanoid.Health ~= 0 then
  911. UNANCHOR = false
  912. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  913. TORS.Anchored = true
  914. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  915. WELD = weldBetween(RightArm,TORS)
  916. HASGRABBED = true
  917. Rooted = true
  918. end
  919. end
  920. end)
  921. for i=0, 1, 0.1 / Animation_Speed do
  922. Swait()
  923. if HASGRABBED == true then
  924. break
  925. end
  926. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  927. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  928. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  929. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  930. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  931. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  932. end
  933. hitting:disconnect()
  934. if HASGRABBED == true then
  935. TORS.Anchored = false
  936. RootPart.Anchored = true
  937. for i=0, 2, 0.1 / Animation_Speed do
  938. Swait()
  939. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  940. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  941. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  942. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  943. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  944. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  945. end
  946. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  947. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  948. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Sound", VT(0,0,0))
  949. SOUNDPART.CFrame = RootPart.CFrame
  950. Debris:AddItem(SOUNDPART,5)
  951. CreateSound("357202073", SOUNDPART, 2, 1)
  952. for i = 1, 15 do
  953. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  954. end
  955. for i=0, 2, 0.1 / Animation_Speed do
  956. Swait()
  957. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  961. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  962. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  963. end
  964. for i=0, 0.25, 0.1 / Animation_Speed do
  965. Swait()
  966. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  970. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  971. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  972. end
  973. if HITFLOOR ~= nil then
  974. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  975. end
  976. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  977. WELD:remove()
  978. for i = 1, 25 do
  979. Swait()
  980. killnearest(RootPart.Position,45,100,Torso.CFrame)
  981. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  982. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Really red",VT(1,0.4,1))
  983. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Really red",VT(2.3,0.3,2.3))
  984. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  985. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Lime green", 1 + MRANDOM(1,30)/15)
  986. end
  987. end
  988. UNANCHOR = true
  989. ATTACK = false
  990. Rooted = false
  991. end
  992.  
  993. function MaxSpeed()
  994. local ORIGIN = RootPart.Position
  995. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  996. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  997. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Sound", VT(0,0,0))
  998. SOUNDPART.CFrame = RootPart.CFrame
  999. Debris:AddItem(SOUNDPART,5)
  1000. CreateSound("357202032", SOUNDPART, 2, 1)
  1001. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1002. Swait()
  1003. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1004. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1005. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Sound", VT(0,0,0))
  1006. SOUNDPART.CFrame = RootPart.CFrame
  1007. Debris:AddItem(SOUNDPART,5)
  1008. CreateSound("1295446488", SOUNDPART, 2, 1)
  1009. if MRANDOM(1,8) == 1 then
  1010. ATTACK = true
  1011. Rooted = true
  1012. local FRUITSTABLE = {
  1013. {MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
  1014. {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
  1015. {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
  1016. }
  1017. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  1018. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  1019. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  1020. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  1021. weldBetween(RightArm,FRUITMODEL)
  1022. for i=0, 4, 0.1 / Animation_Speed do
  1023. Swait()
  1024. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1028. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1029. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1030. end
  1031. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  1032. FRUITMODEL:remove()
  1033. for i = 1, 15 do
  1034. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  1035. end
  1036. for i=0, 0.5, 0.1 / Animation_Speed do
  1037. Swait()
  1038. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1039. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1040. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1041. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1042. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1043. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1044. end
  1045. ATTACK = false
  1046. Rooted = false
  1047. end
  1048. end
  1049.  
  1050. function GreenUltimate()
  1051. ATTACK = true
  1052. Rooted = true
  1053. CreateSound("358080470", RightArm, 10, 0.8)
  1054. for i=0, 8, 0.1 / Animation_Speed do
  1055. Swait()
  1056. turnto(Mouse.Hit.p)
  1057. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Really red",VT(0.2,0,0.2))
  1058. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1.1)
  1059. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
  1060. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Lime green",VT(0.001,0.001,2),0)
  1061. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15))
  1062. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15))
  1063. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1065. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1066. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1067. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1068. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1069. end
  1070. for i=0, 0.15, 0.1 / Animation_Speed do
  1071. Swait()
  1072. turnto(Mouse.Hit.p)
  1073. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1074. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1076. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1077. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1078. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1079. end
  1080. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Really red",VT(-0.04,-0.04,-0.04))
  1081. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  1082. coroutine.resume(coroutine.create(function()
  1083. Swait(100)
  1084. for i = 1, 5 do
  1085. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Really red",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  1086. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4.5*i,0.2,4.5*i))
  1087. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5*i,0.2,5*i))
  1088. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4*i,0.6,4*i))
  1089. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5.2*i,0.6,5.2*i))
  1090. end
  1091. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  1092. for i = 1, 5 do
  1093. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1094. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1095. end
  1096. coroutine.resume(coroutine.create(function()
  1097. for i = 1, 50 do
  1098. Swait()
  1099. for i = 1, 1 do
  1100. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  1101. end
  1102. for i = 1, 2 do
  1103. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1 + MRANDOM(1,30)/3)
  1104. end
  1105. end
  1106. end))
  1107. end))
  1108. for i=0, 4, 0.1 / Animation_Speed do
  1109. Swait()
  1110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1114. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1115. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1116. end
  1117. ATTACK = false
  1118. Rooted = false
  1119. end
  1120.  
  1121. --//=================================\\
  1122. --|| ASSIGN THINGS TO KEYS
  1123. --\\=================================//
  1124.  
  1125. function MouseDown(Mouse)
  1126. if ATTACK == false then
  1127. end
  1128. end
  1129.  
  1130. function MouseUp(Mouse)
  1131. HOLD = false
  1132. end
  1133.  
  1134. function KeyDown(Key)
  1135. KEYHOLD = true
  1136. if Key == "z" and ATTACK == false then
  1137. DeathAgreement()
  1138. end
  1139.  
  1140. if Key == "b" and ATTACK == false then
  1141. GrabTime()
  1142. end
  1143.  
  1144. if Key == "c" and ATTACK == false then
  1145. MaxSpeed()
  1146. end
  1147.  
  1148. if Key == "x" and ATTACK == false then
  1149. GreenUltimate()
  1150. end
  1151.  
  1152. if Key == "p" and ATTACK == false then
  1153. if Speed == 16 then
  1154. Speed = 150
  1155. elseif Speed == 150 then
  1156. Speed = 16
  1157. end
  1158. end
  1159. end
  1160.  
  1161. function KeyUp(Key)
  1162. KEYHOLD = false
  1163. end
  1164.  
  1165. Mouse.Button1Down:connect(function(NEWKEY)
  1166. MouseDown(NEWKEY)
  1167. end)
  1168. Mouse.Button1Up:connect(function(NEWKEY)
  1169. MouseUp(NEWKEY)
  1170. end)
  1171. Mouse.KeyDown:connect(function(NEWKEY)
  1172. KeyDown(NEWKEY)
  1173. end)
  1174. Mouse.KeyUp:connect(function(NEWKEY)
  1175. KeyUp(NEWKEY)
  1176. end)
  1177.  
  1178. --//=================================\\
  1179. --\\=================================//
  1180.  
  1181.  
  1182. function unanchor()
  1183. if UNANCHOR == true then
  1184. g = Character:GetChildren()
  1185. for i = 1, #g do
  1186. if g[i].ClassName == "Part" then
  1187. g[i].Anchored = false
  1188. end
  1189. end
  1190. end
  1191. end
  1192.  
  1193.  
  1194. --//=================================\\
  1195. --|| WRAP THE WHOLE SCRIPT UP
  1196. --\\=================================//
  1197.  
  1198. Humanoid.Changed:connect(function(Jump)
  1199. if Jump == "Jump" and (Disable_Jump == true) then
  1200. Humanoid.Jump = false
  1201. end
  1202. end)
  1203.  
  1204. while true do
  1205. Swait()
  1206. ANIMATE.Parent = nil
  1207. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1208. IDLEANIMATION:Play()
  1209. SINE = SINE + CHANGE
  1210. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1211. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1212. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1213. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1214. local WALKSPEEDVALUE = 0
  1215. if Speed < 35 then
  1216. WALKSPEEDVALUE = 6
  1217. else
  1218. WALKSPEEDVALUE = 3
  1219. end
  1220. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1221. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  1222. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  1223. if Speed < 35 then
  1224. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1225. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1226. else
  1227. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1228. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1229. end
  1230. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1231. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1232. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1233. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1234. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1235. end
  1236. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1237. ANIM = "Jump"
  1238. if ATTACK == false then
  1239. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1240. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1241. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1242. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1243. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1244. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1245. end
  1246. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1247. ANIM = "Fall"
  1248. if ATTACK == false then
  1249. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1252. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1253. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1254. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1255. end
  1256. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1257. ANIM = "Idle"
  1258. if ATTACK == false then
  1259. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1260. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1261. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1262. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1263. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1264. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1265. end
  1266. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1267. ANIM = "Walk"
  1268. if ATTACK == false then
  1269. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1270. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 + MRANDOM(-5,5) - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  1271. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40 * COS(SINE / WALKSPEEDVALUE)), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1272. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40 * COS(SINE / WALKSPEEDVALUE)), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1273. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1274. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1275. end
  1276. end
  1277. unanchor()
  1278. Humanoid.MaxHealth = "inf"
  1279. Humanoid.Health = "inf"
  1280. if Rooted == false then
  1281. Disable_Jump = false
  1282. Humanoid.WalkSpeed = Speed
  1283. elseif Rooted == true then
  1284. Disable_Jump = true
  1285. Humanoid.WalkSpeed = 0
  1286. end
  1287. local MATHS = {"0","1"}
  1288. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1289. Humanoid.PlatformStand = false
  1290. end
  1291.  
  1292. --//=================================\\
  1293. --\\=================================//
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299. --//====================================================\\--
  1300. --|| END OF SCRIPT
  1301. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement