Advertisement
zed_isJayTheLionJR

The Beyonder

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