Advertisement
num6456

Noob evil script by 1x1x1x1x1x1x1x0x0x2 unleak script

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