Christoffer07700Extr

Chris Rainbow Glove

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