Advertisement
num6456

Untitled

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