Rider_Lol

Untitled

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