Advertisement
Guest User

testinglol3

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