Advertisement
Mz_TH_edit

Pls stop - -'

Jun 10th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.42 KB | None | 0 0
  1. --Thanks to someone they name i will not say is this being traded around.--
  2. --If they read this, fuck you.--
  3.  
  4. --Anyways Enjoy.--
  5. --//====================================================\\--
  6. --|| CREATED BY SHACKLUSTER THE EDIT BY XDAVODIOX ||
  7. --\\====================================================//--
  8.  
  9.  
  10. --Well that text under this tet is nothing anymore.--
  11. --You are a fucking faggot if you leaked this bitch.--
  12.  
  13. wait(0.3)
  14.  
  15. local Player = game.Players.localPlayer
  16. local Character = Player.Character
  17. local Humanoid = Character.Humanoid
  18. local LeftArm = Character["Left Arm"]
  19. local RightArm = Character["Right Arm"]
  20. local LeftLeg = Character["Left Leg"]
  21. local RightLeg = Character["Right Leg"]
  22. local Head = Character.Head
  23. local Torso = Character.Torso
  24. local RootPart = Character.HumanoidRootPart
  25. local RootJoint = RootPart.RootJoint
  26. local txt = Instance.new("BillboardGui", Character)
  27. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  28. local velocity = RootPart.Velocity.y
  29. CV = "Maroon"
  30. Player = game.Players.LocalPlayer
  31. char = Player.Character
  32. warn("Edit by XDavodioX")
  33. local txt = Instance.new("BillboardGui", Character)
  34. txt.Adornee = Character.Head
  35. txt.Name = "_status"
  36. txt.Size = UDim2.new(2, 0, 1.2, 0)
  37. txt.StudsOffset = Vector3.new(-9, 8, 0)
  38. local text = Instance.new("TextLabel", txt)
  39. text.Size = UDim2.new(10, 0, 7, 0)
  40. text.FontSize = "Size24"
  41. text.TextScaled = true
  42. text.TextTransparency = 0
  43. text.BackgroundTransparency = 1
  44. text.TextTransparency = 0
  45. text.TextStrokeTransparency = 1
  46. text.Font = "Code"
  47. v = Instance.new("Part")
  48. v.Name = "ColorBrick"
  49. v.Parent = Player.Character
  50. v.FormFactor = "Symmetric"
  51. v.Anchored = true
  52. v.CanCollide = false
  53. v.BottomSurface = "Smooth"
  54. v.TopSurface = "Smooth"
  55. v.Size = Vector3.new(10, 5, 3)
  56. v.Transparency = 1
  57. v.CFrame = Character.Torso.CFrame
  58. v.BrickColor = BrickColor.new(CV)
  59. v.Transparency = 1
  60. touchCounter = 0
  61. local cR=255
  62. local cG=0
  63. local cB=0
  64. local flg5=1 local omgidk=1
  65. local add=15
  66. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  67. if omgidk>10000 then omgidk=0 end
  68. omgidk=omgidk+1
  69. if cR>=255 then flg5=1 end
  70. if cG>=255 then flg5=2 end
  71. if cB>=255 then flg5=3 end
  72. if flg5==1 then cR=cR-add cG=cG+add end
  73. if flg5==2 then cG=cG-add cB=cB+add end
  74. if flg5==3 then cB=cB-add cR=cR+add end
  75. color=Color3.fromRGB(cR,cG,cB)
  76. text.TextColor3 = color
  77. end)
  78. v.Shape = "Block"
  79. text.Text = Player.Name..", The Rainbow Puncher"
  80. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  81. for _, c in pairs(workspace:children()) do
  82. local hum = c:findFirstChild("Humanoid")
  83. if hum ~= nil then
  84. local head = hit
  85. if head ~= nil then
  86. local targ = head.Position - Part.Position
  87. local mag = targ.magnitude
  88. if Magnitude >= mag and c.Name ~= Player.Name then
  89. CFuncs.Sound.Create("324867021", head, 1, 1)
  90. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  91. end
  92. end
  93. end
  94. end
  95. end
  96.  
  97. Parts={}
  98. function GetDiscoColor(hue)
  99. local section = hue % 1 * 3
  100. local secondary = 0.5 * math.pi * (section % 1)
  101. if section < 1 then
  102. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  103. elseif section < 2 then
  104. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  105. else
  106. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  107. end
  108. end
  109. Part = function(x,y,z,color,tr,cc,an,parent)
  110. local p = Instance.new('Part',parent or Weapon)
  111. p.formFactor = 'Custom'
  112. p.Size = Vector3.new(x,y,z)
  113. p.BrickColor = BrickColor.new(color)
  114. p.CanCollide = cc
  115. p.Transparency = tr
  116. p.Anchored = an
  117. p.TopSurface,p.BottomSurface = 0,0
  118. p:BreakJoints''
  119. table.insert(Parts,p)
  120. return p
  121. end
  122. Weld = function(p0,p1)
  123. local w = Instance.new('Motor',p0)
  124. w.Part0 = p0
  125. w.Part1 = p1
  126. return w
  127. end
  128. Mesh = function(par,num,x,y,z)
  129. local msh = 0
  130. if num == 1 then
  131. msh = Instance.new("SpecialMesh",par)
  132. msh.MeshId='rbxasset://fonts/torso.mesh'
  133. msh.TextureId='rbxasset://25701026'
  134. end
  135. if num == 2 then
  136. msh = Instance.new("SpecialMesh",par)
  137. msh.MeshId='rbxasset://fonts/head.mesh'
  138. msh.TextureId='rbxassetid://25701026'
  139. end
  140. msh.Scale = Vector3.new(x,y,z)
  141. return msh
  142. end
  143. plr=Game.Players.LocalPlayer
  144. char=plr.Character
  145. for _,v in pairs(char:GetChildren()) do
  146. if v.ClassName=="Part" then
  147. v.Transparency=1
  148. elseif v.ClassName=="Hat" then
  149. v.Handle.Mesh.TextureId='rbxassetid://25701026'
  150. table.insert(Parts,v.Handle)
  151. end
  152. end
  153. t=Part(1,1,1,'',0,false,false,char)
  154. Mesh(t,1,1,1,1)
  155. Weld(char.Torso,t)
  156. a=Part(1,1,1,'',0,false,false,char)
  157. Mesh(a,1,.5,1,1)
  158. Weld(char['Right Arm'],a)
  159. a=Part(1,1,1,'',0,false,false,char)
  160. Mesh(a,1,.5,1,1)
  161. Weld(char['Left Arm'],a)
  162. l=Part(1,1,1,'',0,false,false,char)
  163. Mesh(l,1,.5,1,1)
  164. Weld(char['Right Leg'],l)
  165. l=Part(1,1,1,'',0,false,false,char)
  166. Mesh(l,1,.5,1,1)
  167. Weld(char['Left Leg'],l)
  168. h=Part(1,1,1,'',0,false,false,char)
  169. Mesh(h,2,1,1,1)
  170. Weld(char.Head,h)
  171. Spawn(function()
  172. while(coroutine.yield())do
  173. for i=1,#Parts do
  174. Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.8)--vertex 4 lyfe
  175. end
  176. end;
  177. end);
  178.  
  179. char.Head.face:Destroy()
  180.  
  181. for i,v in pairs(char:GetChildren()) do
  182. if v.ClassName == "Accessory" then
  183. v:Remove()
  184. elseif v.ClassName == "Shirt" then
  185. v:Remove()
  186. elseif v.ClassName == "Pants" then
  187. v:Remove()
  188. elseif v.ClassName == "ShirtGraphic" then
  189. v:Remove()
  190. end
  191. end
  192.  
  193. wait(0.3)
  194.  
  195. Player = game:GetService("Players").LocalPlayer
  196. PlayerGui = Player.PlayerGui
  197. Cam = workspace.CurrentCamera
  198. Backpack = Player.Backpack
  199. Character = Player.Character
  200. Humanoid = Character.Humanoid
  201. Mouse = Player:GetMouse()
  202. RootPart = Character["HumanoidRootPart"]
  203. Torso = Character["Torso"]
  204. Head = Character["Head"]
  205. RightArm = Character["Right Arm"]
  206. LeftArm = Character["Left Arm"]
  207. RightLeg = Character["Right Leg"]
  208. LeftLeg = Character["Left Leg"]
  209. RootJoint = RootPart["RootJoint"]
  210. Neck = Torso["Neck"]
  211. RightShoulder = Torso["Right Shoulder"]
  212. LeftShoulder = Torso["Left Shoulder"]
  213. RightHip = Torso["Right Hip"]
  214. LeftHip = Torso["Left Hip"]
  215. local sick = Instance.new("Sound",Character)
  216. sick.SoundId = "rbxassetid://198584962"
  217. sick.Looped = true
  218. sick.Pitch = 1
  219. sick.Volume = 86783
  220. sick:Play()
  221.  
  222. IT = Instance.new
  223. CF = CFrame.new
  224. VT = Vector3.new
  225. RAD = math.rad
  226. C3 = Color3.new
  227. UD2 = UDim2.new
  228. BRICKC = BrickColor.new
  229. ANGLES = CFrame.Angles
  230. EULER = CFrame.fromEulerAnglesXYZ
  231. COS = math.cos
  232. ACOS = math.acos
  233. SIN = math.sin
  234. ASIN = math.asin
  235. ABS = math.abs
  236. MRANDOM = math.random
  237. FLOOR = math.floor
  238.  
  239. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  240. local NEWMESH = IT(MESH)
  241. if MESH == "SpecialMesh" then
  242. NEWMESH.MeshType = MESHTYPE
  243. if MESHID ~= "nil" and MESHID ~= "" then
  244. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  245. end
  246. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  247. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  248. end
  249. end
  250. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  251. NEWMESH.Scale = SCALE
  252. NEWMESH.Parent = PARENT
  253. return NEWMESH
  254. end
  255.  
  256. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  257. local NEWPART = IT("Part")
  258. NEWPART.formFactor = FORMFACTOR
  259. NEWPART.Reflectance = REFLECTANCE
  260. NEWPART.Transparency = TRANSPARENCY
  261. NEWPART.CanCollide = false
  262. NEWPART.Locked = true
  263. NEWPART.Anchored = true
  264. if ANCHOR == false then
  265. NEWPART.Anchored = false
  266. end
  267. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  268. NEWPART.Name = NAME
  269. NEWPART.Size = SIZE
  270. NEWPART.Position = Torso.Position
  271. NEWPART.Material = MATERIAL
  272. NEWPART:BreakJoints()
  273. NEWPART.Parent = PARENT
  274. return NEWPART
  275. end
  276.  
  277.  
  278. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  279. local NEWPART = IT("Part")
  280. NEWPART.formFactor = FORMFACTOR
  281. NEWPART.Reflectance = REFLECTANCE
  282. NEWPART.Transparency = TRANSPARENCY
  283. NEWPART.CanCollide = false
  284. NEWPART.Locked = true
  285. NEWPART.Anchored = true
  286. if ANCHOR == false then
  287. NEWPART.Anchored = false
  288. end
  289. NEWPART.Name = NAME
  290. NEWPART.Size = SIZE
  291. NEWPART.Position = Torso.Position
  292. NEWPART.Material = MATERIAL
  293. NEWPART:BreakJoints()
  294. NEWPART.Parent = PARENT
  295. return NEWPART
  296. end
  297.  
  298. --//=================================\\
  299. --|| CUSTOMIZATION
  300. --\\=================================//
  301.  
  302. Player_Size = 1 --Size of the player.
  303. Animation_Speed = 6
  304. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  305.  
  306. local Speed = 500
  307. local Effects2 = {}
  308.  
  309. local Rainbow = { --This is the main color set. Try to use more than just a few, make it fade in order as well
  310. "Crimson",
  311. "Bright red",
  312. "Neon orange",
  313. "Deep orange",
  314. "Bright yellow",
  315. "New Yeller",
  316. "Br. yellowish green",
  317. "Lime green",
  318. "Sea green",
  319. "Bright bluish green",
  320. "Bright blue",
  321. "Lavender",
  322. "Royal purple",
  323. "Eggplant",
  324. "Hot pink"
  325. }
  326.  
  327. --//=================================\\
  328. --|| END OF CUSTOMIZATION
  329. --\\=================================//
  330.  
  331. local function weldBetween(a, b)
  332. local weldd = Instance.new("ManualWeld")
  333. weldd.Part0 = a
  334. weldd.Part1 = b
  335. weldd.C0 = CFrame.new()
  336. weldd.C1 = b.CFrame:inverse() * a.CFrame
  337. weldd.Parent = a
  338. return weldd
  339. end
  340.  
  341. --//=================================\\
  342. --|| USEFUL VALUES
  343. --\\=================================//
  344.  
  345. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  346. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  347. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  348. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  349. local CHANGEDEFENSE = 0
  350. local CHANGEDAMAGE = 0
  351. local CHANGEMOVEMENT = 0
  352. local ANIM = "Idle"
  353. local ATTACK = false
  354. local EQUIPPED = false
  355. local HOLD = false
  356. local COMBO = 1
  357. local Rooted = false
  358. local SINE = 0
  359. local KEYHOLD = false
  360. local CHANGE = 2 / Animation_Speed
  361. local WALKINGANIM = false
  362. local WALK = 0
  363. local VALUE1 = false
  364. local VALUE2 = false
  365. local ROBLOXIDLEANIMATION = IT("Animation")
  366. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  367. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  368. --ROBLOXIDLEANIMATION.Parent = Humanoid
  369. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  370. WEAPONGUI.Name = "Weapon GUI"
  371. local Weapon = IT("Model")
  372. Weapon.Name = "Adds"
  373. local HITFLOOR = nil
  374. local Effects = IT("Folder", Weapon)
  375. Effects.Name = "Effects"
  376. local ANIMATOR = Humanoid.Animator
  377. local ANIMATE = Character.Animate
  378. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  379. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  380. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  381. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  382. local UNANCHOR = true
  383.  
  384. rainbowNumber = 1
  385.  
  386. local SKILLTEXTCOLOR = BrickColor.new(Rainbow[rainbowNumber]).Color
  387.  
  388. --//=================================\\
  389. --\\=================================//
  390.  
  391.  
  392.  
  393.  
  394. --//=================================\\
  395. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  396. --\\=================================//
  397.  
  398. ArtificialHB = Instance.new("BindableEvent", script)
  399. ArtificialHB.Name = "ArtificialHB"
  400.  
  401. script:WaitForChild("ArtificialHB")
  402.  
  403. frame = Frame_Speed
  404. tf = 0
  405. allowframeloss = false
  406. tossremainder = false
  407. lastframe = tick()
  408. script.ArtificialHB:Fire()
  409.  
  410. game:GetService("RunService").Heartbeat:connect(function(s, p)
  411. tf = tf + s
  412. if tf >= frame then
  413. if allowframeloss then
  414. script.ArtificialHB:Fire()
  415. lastframe = tick()
  416. else
  417. for i = 1, math.floor(tf / frame) do
  418. script.ArtificialHB:Fire()
  419. end
  420. lastframe = tick()
  421. end
  422. if tossremainder then
  423. tf = 0
  424. else
  425. tf = tf - frame * math.floor(tf / frame)
  426. end
  427. end
  428. end)
  429.  
  430. --//=================================\\
  431. --\\=================================//
  432.  
  433.  
  434.  
  435. --//=================================\\
  436. --|| SOME FUNCTIONS
  437. --\\=================================//
  438.  
  439. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  440. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  441. end
  442.  
  443. function PositiveAngle(NUMBER)
  444. if NUMBER >= 0 then
  445. NUMBER = 0
  446. end
  447. return NUMBER
  448. end
  449.  
  450. function NegativeAngle(NUMBER)
  451. if NUMBER <= 0 then
  452. NUMBER = 0
  453. end
  454. return NUMBER
  455. end
  456.  
  457. function Swait(NUMBER)
  458. if NUMBER == 0 or NUMBER == nil then
  459. ArtificialHB.Event:wait()
  460. else
  461. for i = 1, NUMBER do
  462. ArtificialHB.Event:wait()
  463. end
  464. end
  465. end
  466.  
  467. function QuaternionFromCFrame(cf)
  468. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  469. local trace = m00 + m11 + m22
  470. if trace > 0 then
  471. local s = math.sqrt(1 + trace)
  472. local recip = 0.5 / s
  473. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  474. else
  475. local i = 0
  476. if m11 > m00 then
  477. i = 1
  478. end
  479. if m22 > (i == 0 and m00 or m11) then
  480. i = 2
  481. end
  482. if i == 0 then
  483. local s = math.sqrt(m00 - m11 - m22 + 1)
  484. local recip = 0.5 / s
  485. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  486. elseif i == 1 then
  487. local s = math.sqrt(m11 - m22 - m00 + 1)
  488. local recip = 0.5 / s
  489. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  490. elseif i == 2 then
  491. local s = math.sqrt(m22 - m00 - m11 + 1)
  492. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  493. end
  494. end
  495. end
  496.  
  497. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  498. local xs, ys, zs = x + x, y + y, z + z
  499. local wx, wy, wz = w * xs, w * ys, w * zs
  500. local xx = x * xs
  501. local xy = x * ys
  502. local xz = x * zs
  503. local yy = y * ys
  504. local yz = y * zs
  505. local zz = z * zs
  506. 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))
  507. end
  508.  
  509. function QuaternionSlerp(a, b, t)
  510. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  511. local startInterp, finishInterp;
  512. if cosTheta >= 0.0001 then
  513. if (1 - cosTheta) > 0.0001 then
  514. local theta = ACOS(cosTheta)
  515. local invSinTheta = 1 / SIN(theta)
  516. startInterp = SIN((1 - t) * theta) * invSinTheta
  517. finishInterp = SIN(t * theta) * invSinTheta
  518. else
  519. startInterp = 1 - t
  520. finishInterp = t
  521. end
  522. else
  523. if (1 + cosTheta) > 0.0001 then
  524. local theta = ACOS(-cosTheta)
  525. local invSinTheta = 1 / SIN(theta)
  526. startInterp = SIN((t - 1) * theta) * invSinTheta
  527. finishInterp = SIN(t * theta) * invSinTheta
  528. else
  529. startInterp = t - 1
  530. finishInterp = t
  531. end
  532. end
  533. 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
  534. end
  535.  
  536. function Clerp(a, b, t)
  537. local qa = {QuaternionFromCFrame(a)}
  538. local qb = {QuaternionFromCFrame(b)}
  539. local ax, ay, az = a.x, a.y, a.z
  540. local bx, by, bz = b.x, b.y, b.z
  541. local _t = 1 - t
  542. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  543. end
  544.  
  545. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  546. local frame = IT("Frame")
  547. frame.BackgroundTransparency = TRANSPARENCY
  548. frame.BorderSizePixel = BORDERSIZEPIXEL
  549. frame.Position = POSITION
  550. frame.Size = SIZE
  551. frame.BackgroundColor3 = COLOR
  552. frame.BorderColor3 = BORDERCOLOR
  553. frame.Name = NAME
  554. frame.Parent = PARENT
  555. return frame
  556. end
  557.  
  558. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  559. local label = IT("TextLabel")
  560. label.BackgroundTransparency = 1
  561. label.Size = UD2(1, 0, 1, 0)
  562. label.Position = UD2(0, 0, 0, 0)
  563. label.TextColor3 = TEXTCOLOR
  564. label.TextStrokeTransparency = STROKETRANSPARENCY
  565. label.TextTransparency = TRANSPARENCY
  566. label.FontSize = TEXTFONTSIZE
  567. label.Font = TEXTFONT
  568. label.BorderSizePixel = BORDERSIZEPIXEL
  569. label.TextScaled = false
  570. label.Text = TEXT
  571. label.Name = NAME
  572. label.Parent = PARENT
  573. return label
  574. end
  575.  
  576. function NoOutlines(PART)
  577. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  578. end
  579.  
  580.  
  581. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  582. local NEWWELD = IT(TYPE)
  583. NEWWELD.Part0 = PART0
  584. NEWWELD.Part1 = PART1
  585. NEWWELD.C0 = C0
  586. NEWWELD.C1 = C1
  587. NEWWELD.Parent = PARENT
  588. return NEWWELD
  589. end
  590.  
  591. function CreateSound(ID, PARENT, VOLUME, PITCH)
  592. local NEWSOUND = nil
  593. coroutine.resume(coroutine.create(function()
  594. NEWSOUND = IT("Sound", PARENT)
  595. NEWSOUND.Volume = VOLUME
  596. NEWSOUND.Pitch = PITCH
  597. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  598. Swait()
  599. NEWSOUND:play()
  600. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  601. end))
  602. return NEWSOUND
  603. end
  604.  
  605. function CFrameFromTopBack(at, top, back)
  606. local right = top:Cross(back)
  607. 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)
  608. end
  609.  
  610. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  611. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  612. local mesh = IT("SpecialMesh",wave)
  613. mesh.MeshType = "FileMesh"
  614. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  615. mesh.Scale = SIZE
  616. mesh.Offset = VT(0,0,-SIZE.X/8)
  617. wave.CFrame = CFRAME
  618. coroutine.resume(coroutine.create(function(PART)
  619. for i = 1, WAIT do
  620. Swait()
  621. mesh.Scale = mesh.Scale + GROW
  622. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  623. if DOESROT == true then
  624. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  625. end
  626. wave.Transparency = wave.Transparency + (0.5/WAIT)
  627. if wave.Transparency > 0.99 then
  628. wave:remove()
  629. end
  630. end
  631. end))
  632. end
  633.  
  634. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  635. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  636. local mesh = IT("SpecialMesh",wave)
  637. mesh.MeshType = "FileMesh"
  638. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  639. mesh.Scale = SIZE
  640. --mesh.Offset = VT(0,0,-SIZE.X/8)
  641. wave.CFrame = CFRAME
  642. coroutine.resume(coroutine.create(function(PART)
  643. for i = 1, WAIT do
  644. Swait()
  645. mesh.Scale = mesh.Scale + GROW
  646. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  647. if DOESROT == true then
  648. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  649. end
  650. wave.Transparency = wave.Transparency + (0.5/WAIT)
  651. if wave.Transparency > 0.99 then
  652. wave:remove()
  653. end
  654. end
  655. end))
  656. end
  657.  
  658. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  659. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  660. local mesh = IT("SpecialMesh",wave)
  661. mesh.MeshType = "FileMesh"
  662. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  663. mesh.Scale = SIZE
  664. wave.CFrame = CFRAME
  665. coroutine.resume(coroutine.create(function(PART)
  666. for i = 1, WAIT do
  667. Swait()
  668. mesh.Scale = mesh.Scale + GROW
  669. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  670. if DOESROT == true then
  671. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  672. end
  673. wave.Transparency = wave.Transparency + (0.5/WAIT)
  674. if wave.Transparency > 0.99 then
  675. wave:remove()
  676. end
  677. end
  678. end))
  679. end
  680.  
  681.  
  682. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  683. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  684. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  685. wave.CFrame = CFRAME
  686. coroutine.resume(coroutine.create(function(PART)
  687. for i = 1, WAIT do
  688. Swait()
  689. mesh.Scale = mesh.Scale * GROW
  690. wave.Transparency = wave.Transparency + (0.5/WAIT)
  691. if wave.Transparency > 0.99 then
  692. wave:remove()
  693. end
  694. end
  695. end))
  696. end
  697.  
  698. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  699. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  700. local mesh = IT("SpecialMesh",wave)
  701. mesh.MeshType = "Sphere"
  702. mesh.Scale = SIZE
  703. mesh.Offset = VT(0,0,0)
  704. wave.CFrame = CFRAME
  705. coroutine.resume(coroutine.create(function(PART)
  706. for i = 1, WAIT do
  707. Swait()
  708. mesh.Scale = mesh.Scale + GROW
  709. wave.Transparency = wave.Transparency + (1/WAIT)
  710. if wave.Transparency > 0.99 then
  711. wave:remove()
  712. end
  713. end
  714. end))
  715. end
  716.  
  717. function MakeForm(PART,TYPE)
  718. if TYPE == "Cyl" then
  719. local MSH = IT("CylinderMesh",PART)
  720. elseif TYPE == "Ball" then
  721. local MSH = IT("SpecialMesh",PART)
  722. MSH.MeshType = "Sphere"
  723. elseif TYPE == "Wedge" then
  724. local MSH = IT("SpecialMesh",PART)
  725. MSH.MeshType = "Wedge"
  726. end
  727. end
  728.  
  729. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  730. if FLOOR ~= nil then
  731. coroutine.resume(coroutine.create(function()
  732. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  733. PART.CFrame = CF(POSITION)
  734. for i = 1, 45 do
  735. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  736. RingPiece.Material = FLOOR.Material
  737. RingPiece.Color = FLOOR.Color
  738. 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)))
  739. Debris:AddItem(RingPiece,SWAIT/100)
  740. end
  741. PART:remove()
  742. end))
  743. end
  744. end
  745.  
  746. function CheckTableForString(Table, String)
  747. for i, v in pairs(Table) do
  748. if string.find(string.lower(String), string.lower(v)) then
  749. return true
  750. end
  751. end
  752. return false
  753. end
  754.  
  755. function CheckIntangible(Hit)
  756. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  757. if Hit and Hit.Parent then
  758. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  759. return true
  760. end
  761. end
  762. return false
  763. end
  764.  
  765. Debris = game:GetService("Debris")
  766.  
  767. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  768. local Direction = CFrame.new(StartPos, Vec).lookVector
  769. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  770. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  771. if RayHit and CheckIntangible(RayHit) then
  772. if DelayIfHit then
  773. wait()
  774. end
  775. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  776. end
  777. return RayHit, RayPos, RayNormal
  778. end
  779.  
  780. function turnto(position)
  781. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  782. end
  783.  
  784. --//=================================\\
  785. --|| WEAPON CREATION
  786. --\\=================================//
  787. 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)
  788. Light = Instance.new("PointLight",FIST)
  789. Light.Brightness = 0.85
  790. touchCounter = 0
  791. local cR=255
  792. local cG=0
  793. local cB=0
  794. local flg5=1 local omgidk=1
  795. local add=7.5
  796. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  797. if omgidk>10000 then omgidk=0 end
  798. omgidk=omgidk+1
  799. if cR>=255 then flg5=1 end
  800. if cG>=255 then flg5=2 end
  801. if cB>=255 then flg5=3 end
  802. if flg5==1 then cR=cR-add cG=cG+add end
  803. if flg5==2 then cG=cG-add cB=cB+add end
  804. if flg5==3 then cB=cB-add cR=cR+add end
  805. color=Color3.fromRGB(cR,cG,cB)
  806. Light.Color = color
  807. end)
  808. 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))
  809. 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)
  810. 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))
  811.  
  812. 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)
  813. 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))
  814. 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)
  815. 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))
  816. 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)
  817. 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))
  818. 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)
  819. 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))
  820.  
  821. 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)
  822. 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))
  823. 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)
  824. 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))
  825. 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)
  826. 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))
  827. 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)
  828. 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))
  829. 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)
  830. 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))
  831. touchCounter = 0
  832. local cR=255
  833. local cG=0
  834. local cB=0
  835. local flg5=1 local omgidk=1
  836. local add=7.5
  837. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  838. if omgidk>10000 then omgidk=0 end
  839. omgidk=omgidk+1
  840. if cR>=255 then flg5=1 end
  841. if cG>=255 then flg5=2 end
  842. if cB>=255 then flg5=3 end
  843. if flg5==1 then cR=cR-add cG=cG+add end
  844. if flg5==2 then cG=cG-add cB=cB+add end
  845. if flg5==3 then cB=cB-add cR=cR+add end
  846. color=Color3.fromRGB(cR,cG,cB)
  847. local d = Weapon:FindFirstChild("Neon Gauntlet Part")
  848. if d then
  849. d.Color = color
  850. end
  851. local d = Weapon:FindFirstChild("Neon Gauntlet Part1")
  852. if d then
  853. d.Color = color
  854. end
  855. end)
  856. for _, c in pairs(Weapon:GetChildren()) do
  857. if c.ClassName == "Part" then
  858. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  859. end
  860. end
  861.  
  862. Weapon.Parent = Character
  863.  
  864. local BODY = {}
  865.  
  866. for _, c in pairs(Character:GetChildren()) do
  867. if c.ClassName == "Part" then
  868. table.insert(BODY,{c,Character})
  869. for _, q in pairs(c:GetChildren()) do
  870. if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
  871. table.insert(BODY,{q,c})
  872. end
  873. end
  874. end
  875. end
  876.  
  877. function refit()
  878. Character.Parent = workspace
  879. for e = 1, #BODY do
  880. if BODY[e] ~= nil then
  881. local STUFF = BODY[e]
  882. local PART = STUFF[1]
  883. local PARENT = STUFF[2]
  884. PART.Parent = PARENT
  885. end
  886. end
  887. end
  888.  
  889. Humanoid.HealthChanged:connect(function()
  890. Humanoid.Parent = nil
  891. Humanoid.MaxHealth = "inf"
  892. Humanoid.Health = "inf"
  893. refit()
  894. Humanoid.Parent = Character
  895. end)
  896.  
  897. Humanoid.Died:connect(function()
  898. Humanoid.Parent = nil
  899. Humanoid.MaxHealth = "inf"
  900. Humanoid.Health = "inf"
  901. refit()
  902. Humanoid.Parent = Character
  903. end)
  904.  
  905. Humanoid.Died:connect(function()
  906. ATTACK = true
  907. end)
  908.  
  909. function onTouched(brick)
  910. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  911. if humn then
  912. humn.Health = -1
  913. end
  914. end
  915.  
  916. 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")
  917. 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")
  918. 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")
  919. 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")
  920. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  921. local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  922. local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.01, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  923.  
  924. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Ultra Punch", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  925. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Punish", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  926. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Dash", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  927. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Q] Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  928. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[G] R.I.P World", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text5")
  929. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[R] Destruction", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text6")
  930. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Apocalypse", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text7")
  931.  
  932. --//=================================\\
  933. --|| DAMAGE FUNCTIONS
  934. --\\=================================//
  935.  
  936. function onTouched(Torso)
  937. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  938. if humn then
  939. humn.Health = -1
  940. end
  941. end
  942.  
  943. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  944. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  945. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  946. local BODYGYRO = IT("BodyGyro", STATPART)
  947. local BODYPOSITION = IT("BodyPosition", STATPART)
  948. BODYPOSITION.P = 2000
  949. BODYPOSITION.D = 100
  950. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  951. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  952. game:GetService("Debris"):AddItem(STATPART ,5)
  953. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  954. BILLBOARDGUI.Adornee = STATPART
  955. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  956. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  957. BILLBOARDGUI.AlwaysOnTop = false
  958. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  959. TEXTLABEL.BackgroundTransparency = 1
  960. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  961. TEXTLABEL.Text = TEXT
  962. TEXTLABEL.Font = "SciFi"
  963. TEXTLABEL.FontSize="Size42"
  964. TEXTLABEL.TextColor3 = COLOR
  965. TEXTLABEL.TextStrokeTransparency = 1
  966. TEXTLABEL.TextScaled = true
  967. TEXTLABEL.TextWrapped = true
  968. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  969. if LABELTYPE == "Normal" then
  970. for i = 1, 30 do
  971. Swait()
  972. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  973. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  974. end
  975. elseif LABELTYPE == "Debuff" then
  976. for i = 1, 30 do
  977. Swait()
  978. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  979. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  980. end
  981. elseif LABELTYPE == "Shock" then
  982. local ORIGIN = STATPART.Position
  983. for i = 1, 30 do
  984. Swait()
  985. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  986. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  987. end
  988. end
  989. THEPART.Parent = nil
  990. end),STATPART, BODYPOSITION, TEXTLABEL)
  991. end
  992.  
  993. --//=================================\\
  994. --|| DAMAGING
  995. --\\=================================//
  996.  
  997. function killnearest(position,range,maxstrength,direction)
  998. for i,v in ipairs(workspace:GetChildren()) do
  999. local body = v:GetChildren()
  1000. for part = 1, #body do
  1001. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1002. if(body[part].Position - position).Magnitude < range then
  1003. if v.ClassName == "Model" then
  1004. --v:BreakJoints()
  1005. end
  1006. local POS = position
  1007. coroutine.resume(coroutine.create(function()
  1008. body[part].Anchored = true
  1009. body[part].Parent = Effects
  1010. body[part].CanCollide = true
  1011. local SIZE = body[part].Size
  1012. body[part].Material = "Neon"
  1013. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1014. for i = 1, 75 do
  1015. Swait()
  1016. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1017. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1018. end
  1019. coroutine.resume(coroutine.create(function()
  1020. while true do
  1021. Swait()
  1022. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1023. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1024. end
  1025. end))
  1026. body[part].Anchored = false
  1027. body[part].Velocity = direction.lookVector*maxstrength
  1028. end))
  1029. end
  1030. end
  1031. end
  1032. if v.ClassName == "Part" then
  1033. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1034. local POS = position
  1035. coroutine.resume(coroutine.create(function()
  1036. v.Anchored = true
  1037. v.Parent = Effects
  1038. local SIZE = v.Size
  1039. v.Material = "Neon"
  1040. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1041. for i = 1, 75 do
  1042. Swait()
  1043. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1044. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1045. end
  1046. coroutine.resume(coroutine.create(function()
  1047. while true do
  1048. Swait()
  1049. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1050. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1051. end
  1052. end))
  1053. v.Anchored = false
  1054. v.Velocity = direction.lookVector*maxstrength
  1055. end))
  1056. end
  1057. end
  1058. end
  1059. end
  1060.  
  1061. --//=================================\\
  1062. --|| ATTACK FUNCTIONS AND STUFF
  1063. --\\=================================//
  1064.  
  1065. function AttackTemplate()
  1066. ATTACK = true
  1067. Rooted = false
  1068. for i=0, 1, 0.1 / Animation_Speed do
  1069. Swait()
  1070. 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)
  1071. 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)
  1072. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1073. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1074. 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)
  1075. 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)
  1076. end
  1077. ATTACK = false
  1078. Rooted = false
  1079. end
  1080.  
  1081. function UltraPunch()
  1082. ATTACK = true
  1083. Rooted = false
  1084. local SPEED = Speed
  1085. Speed = 8
  1086. CreateSound("214876666", RightArm, 7.5, 0.8)
  1087. for i=0, 0, 0.1 / Animation_Speed do
  1088. Swait()
  1089. turnto(Mouse.Hit.p)
  1090. 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))
  1091. 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))
  1092. 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)
  1093. 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)
  1094. 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)
  1095. 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)
  1096. 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)
  1097. 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)
  1098. end
  1099. for i=0, 0, 0.1 / Animation_Speed do
  1100. Swait()
  1101. turnto(Mouse.Hit.p)
  1102. 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)
  1103. 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)
  1104. 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)
  1105. 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)
  1106. 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)
  1107. 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)
  1108. end
  1109. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Maroon", "Punch", VT(50,50,50),false)
  1110. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1111. PART.Shape = "Ball"
  1112. local bv = Instance.new("BodyVelocity")
  1113. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1114. bv.velocity = RootPart.CFrame.lookVector*600
  1115. bv.Parent = PART
  1116. bv.Name = "PROJECTILEVELOCITY"
  1117. 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))
  1118. 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))
  1119. 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))
  1120. 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))
  1121. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  1122. coroutine.resume(coroutine.create(function()
  1123. for i = 1, 11 do
  1124. Swait()
  1125. PART.Transparency = PART.Transparency + 0.2/10
  1126. PART.Size = PART.Size + VT(5,5,5)
  1127. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  1128. end
  1129. PART:Destroy()
  1130. end))
  1131. for i=0, 0, 0.1 / Animation_Speed do
  1132. Swait()
  1133. 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)
  1134. 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)
  1135. 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)
  1136. 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)
  1137. 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)
  1138. 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)
  1139. end
  1140. Speed = SPEED
  1141. ATTACK = false
  1142. Rooted = false
  1143. end
  1144.  
  1145. function Punish()
  1146. Animation_Speed = 1
  1147. ATTACK = true
  1148. Rooted = false
  1149. local HASGRABBED = false
  1150. local WELD = nil
  1151. local TORS = nil
  1152. local hitting = FIST.Touched:connect(function(hit)
  1153. if hit.Parent:FindFirstChild("Humanoid") then
  1154. if hit.Parent.Humanoid.Health ~= 0 then
  1155. UNANCHOR = false
  1156. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1157. TORS.Anchored = true
  1158. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1159. WELD = weldBetween(RightArm,TORS)
  1160. HASGRABBED = true
  1161. Rooted = true
  1162. end
  1163. end
  1164. end)
  1165. for i=0, 2, 0.1 / Animation_Speed do
  1166. Swait()
  1167. if HASGRABBED == true then
  1168. break
  1169. end
  1170. 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)
  1171. 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)
  1172. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1173. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1174. 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)
  1175. 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)
  1176. end
  1177. hitting:disconnect()
  1178. if HASGRABBED == true then
  1179. TORS.Anchored = false
  1180. RootPart.Anchored = true
  1181. for i=0, 1.6, 0.1 / Animation_Speed do
  1182. Swait()
  1183. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1187. 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)
  1188. 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)
  1189. end
  1190. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  1191. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  1192. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1193. SOUNDPART.CFrame = RootPart.CFrame
  1194. Debris:AddItem(SOUNDPART,5)
  1195. CreateSound("357202073", SOUNDPART, 0, 1)
  1196. for i = 1, 16 do
  1197. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  1198. end
  1199. for i=0, 1.6, 0.1 / Animation_Speed do
  1200. Swait()
  1201. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1202. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1205. 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)
  1206. 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)
  1207. end
  1208. for i=0, 0.4, 0.1 / Animation_Speed do
  1209. Swait()
  1210. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  1211. 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)
  1212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1214. 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)
  1215. 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)
  1216. end
  1217. if HITFLOOR ~= nil then
  1218. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  1219. end
  1220. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  1221. WELD:remove()
  1222. for i = 1, 26 do
  1223. Swait()
  1224. killnearest(RootPart.Position,45,100,Torso.CFrame)
  1225. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  1226. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(1,0.4,1))
  1227. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(2.3,0.3,2.3))
  1228. 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)
  1229. 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)
  1230. end
  1231. end
  1232. UNANCHOR = true
  1233. ATTACK = false
  1234. Rooted = false
  1235. Animation_Speed = 8
  1236. end
  1237.  
  1238. function Dash()
  1239. local ORIGIN = RootPart.Position
  1240. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1241. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1242. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1243. SOUNDPART.CFrame = RootPart.CFrame
  1244. Debris:AddItem(SOUNDPART,5)
  1245. CreateSound("357202032", SOUNDPART, 0, 1)
  1246. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1247. Swait()
  1248. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1249. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1250. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  1251. SOUNDPART.CFrame = RootPart.CFrame
  1252. Debris:AddItem(SOUNDPART,5)
  1253. CreateSound("1295446488", SOUNDPART, 2.5, 1)
  1254. for i=0, 0.5, 0.1 / Animation_Speed do
  1255. Swait()
  1256. 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)
  1257. 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)
  1258. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1259. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1260. 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)
  1261. 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)
  1262. end
  1263. ATTACK = false
  1264. Rooted = false
  1265. end
  1266. function Begoner9000()
  1267. ATTACK = true
  1268. Rooted = true
  1269. CreateSound("255679384", RightArm, 8, 1)
  1270. for i=0, 0, 0.1 / Animation_Speed do
  1271. Swait()
  1272. turnto(Mouse.Hit.p)
  1273. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(0.2,0,0.2))
  1274. 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)
  1275. 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)
  1276. 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)
  1277. 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))
  1278. 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))
  1279. 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)
  1280. 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)
  1281. 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)
  1282. 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)
  1283. 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)
  1284. 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)
  1285. end
  1286. for i=0, 0, 0.1 / Animation_Speed do
  1287. Swait()
  1288. turnto(Mouse.Hit.p)
  1289. 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)
  1290. 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)
  1291. 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)
  1292. 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)
  1293. 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)
  1294. 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)
  1295. end
  1296. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Maroon",VT(-0.04,-0.04,-0.04))
  1297. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  1298. coroutine.resume(coroutine.create(function()
  1299. Swait(0.01)
  1300. for i = 1, 2 do
  1301. 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))))
  1302. 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))
  1303. 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))
  1304. end
  1305. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  1306. for i = 1, 3 do
  1307. CreateSound("414517163", Effects, 3.5, 0.8)
  1308. CreateSound("414517163", Effects, 3.5, 0.8)
  1309. end
  1310. coroutine.resume(coroutine.create(function()
  1311. for i = 1, 3 do
  1312. Swait()
  1313. for i = 1, 1 do
  1314. 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)
  1315. end
  1316. for i = 1, 2 do
  1317. 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)
  1318. end
  1319. end
  1320. end))
  1321. end))
  1322. for i=0, 0, 0.1 / Animation_Speed do
  1323. Swait()
  1324. 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)
  1325. 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)
  1326. 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)
  1327. 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)
  1328. 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)
  1329. 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)
  1330. end
  1331. ATTACK = false
  1332. Rooted = false
  1333. end
  1334.  
  1335. --//=================================\\
  1336. --|| ASSIGN THINGS TO KEYS
  1337. --\\=================================//
  1338.  
  1339. function MouseDown(Mouse)
  1340. if ATTACK == false then
  1341. end
  1342. end
  1343.  
  1344. function MouseUp(Mouse)
  1345. HOLD = false
  1346. end
  1347.  
  1348. function KeyDown(Key)
  1349. KEYHOLD = true
  1350. if Key == "e" and ATTACK == false then
  1351. UltraPunch()
  1352. end
  1353.  
  1354. if Key == "f" and ATTACK == false then
  1355. Punish()
  1356. end
  1357.  
  1358. if Key == "c" and ATTACK == false then
  1359. Dash()
  1360. end
  1361.  
  1362. if Key == "q" and ATTACK == false then
  1363. Begoner9000()()
  1364. end
  1365.  
  1366. if Key == "t" and ATTACK == false then
  1367. Begoner9000()
  1368. wait(0.43)
  1369. Begoner9000()
  1370. wait(0.43)
  1371. Begoner9000()
  1372. wait(0.43)
  1373. Begoner9000()
  1374. wait(0.43)
  1375. Begoner9000()
  1376. wait(0.43)
  1377. Begoner9000()
  1378. wait(0.43)
  1379. Begoner9000()
  1380. wait(0.43)
  1381. Begoner9000()
  1382. wait(0.43)
  1383. Begoner9000()
  1384. wait(0.43)
  1385. Begoner9000()
  1386. end
  1387.  
  1388. if Key == "g" and ATTACK == false then
  1389. Begoner9000()
  1390. UltraPunch()
  1391. wait(0.0001)
  1392. Begoner9000()
  1393. UltraPunch()
  1394. wait(0.0001)
  1395. Begoner9000()
  1396. UltraPunch()
  1397. wait(0.0001)
  1398. Begoner9000()
  1399. UltraPunch()
  1400. wait(0.0001)
  1401. Begoner9000()
  1402. UltraPunch()
  1403. wait(0.0001)
  1404. Begoner9000()
  1405. UltraPunch()
  1406. wait(0.0001)
  1407. Begoner9000()
  1408. UltraPunch()
  1409. wait(0.0001)
  1410. Begoner9000()
  1411. UltraPunch()
  1412. wait(0.0001)
  1413. Begoner9000()
  1414. UltraPunch()
  1415. wait(0.0001)
  1416. Begoner9000()
  1417. UltraPunch()
  1418. wait(0.0001)
  1419. Begoner9000()
  1420. UltraPunch()
  1421. wait(0.0001)
  1422. Begoner9000()
  1423. UltraPunch()
  1424. wait(0.0001)
  1425. Begoner9000()
  1426. UltraPunch()
  1427. wait(0.0001)
  1428. Begoner9000()
  1429. UltraPunch()
  1430. wait(0.0001)
  1431. Begoner9000()
  1432. UltraPunch()
  1433. wait(0.0001)
  1434. Begoner9000()
  1435. UltraPunch()
  1436. wait(0.0001)
  1437. Begoner9000()
  1438. UltraPunch()
  1439. wait(0.0001)
  1440. Begoner9000()
  1441. UltraPunch()
  1442. wait(0.0001)
  1443. Begoner9000()
  1444. UltraPunch()
  1445. wait(0.0001)
  1446. Begoner9000()
  1447. UltraPunch()
  1448. wait(0.0001)
  1449. Begoner9000()
  1450. UltraPunch()
  1451. wait(0.0001)
  1452. Begoner9000()
  1453. UltraPunch()
  1454. wait(0.0001)
  1455. Begoner9000()
  1456. UltraPunch()
  1457. wait(0.0001)
  1458. Begoner9000()
  1459. UltraPunch()
  1460. wait(0.0001)
  1461. Begoner9000()
  1462. UltraPunch()
  1463. wait(0.0001)
  1464. Begoner9000()
  1465. UltraPunch()
  1466. wait(0.0001)
  1467. Begoner9000()
  1468. UltraPunch()
  1469. wait(0.0001)
  1470. Begoner9000()
  1471. UltraPunch()
  1472. wait(0.0001)
  1473. Begoner9000()
  1474. UltraPunch()
  1475. wait(0.0001)
  1476. Begoner9000()
  1477. UltraPunch()
  1478. wait(0.0001)
  1479. Begoner9000()
  1480. UltraPunch()
  1481. wait(0.0001)
  1482. Begoner9000()
  1483. UltraPunch()
  1484. wait(0.0001)
  1485. Begoner9000()
  1486. UltraPunch()
  1487. wait(0.0001)
  1488. Begoner9000()
  1489. UltraPunch()
  1490. wait(0.0001)
  1491. Begoner9000()
  1492. UltraPunch()
  1493. wait(0.0001)
  1494. Begoner9000()
  1495. UltraPunch()
  1496. wait(0.0001)
  1497. Begoner9000()
  1498. UltraPunch()
  1499. wait(0.0001)
  1500. Begoner9000()
  1501. UltraPunch()
  1502. wait(0.0001)
  1503. Begoner9000()
  1504. UltraPunch()
  1505. wait(0.0001)
  1506. Begoner9000()
  1507. UltraPunch()
  1508. wait(0.0001)
  1509. Begoner9000()
  1510. UltraPunch()
  1511. wait(0.0001)
  1512. Begoner9000()
  1513. UltraPunch()
  1514. wait(0.0001)
  1515. Begoner9000()
  1516. UltraPunch()
  1517. wait(0.0001)
  1518. Begoner9000()
  1519. UltraPunch()
  1520. wait(0.0001)
  1521. Begoner9000()
  1522. UltraPunch()
  1523. wait(0.0001)
  1524. Begoner9000()
  1525. UltraPunch()
  1526. wait(0.0001)
  1527. Begoner9000()
  1528. UltraPunch()
  1529. wait(0.0001)
  1530. Begoner9000()
  1531. UltraPunch()
  1532. wait(0.0001)
  1533. Begoner9000()
  1534. UltraPunch()
  1535. wait(0.0001)
  1536. Begoner9000()
  1537. UltraPunch()
  1538. wait(0.0001)
  1539. Begoner9000()
  1540. UltraPunch()
  1541. wait(0.0001)
  1542. Begoner9000()
  1543. UltraPunch()
  1544. wait(0.0001)
  1545. Begoner9000()
  1546. UltraPunch()
  1547. wait(0.0001)
  1548. Begoner9000()
  1549. UltraPunch()
  1550. wait(0.0001)
  1551. Begoner9000()
  1552. UltraPunch()
  1553. wait(0.0001)
  1554. Begoner9000()
  1555. UltraPunch()
  1556. wait(0.0001)
  1557. Begoner9000()
  1558. UltraPunch()
  1559. wait(0.0001)
  1560. Begoner9000()
  1561. UltraPunch()
  1562. wait(0.0001)
  1563. Begoner9000()
  1564. UltraPunch()
  1565. wait(0.0001)
  1566. Begoner9000()
  1567. UltraPunch()
  1568. wait(0.0001)
  1569. Begoner9000()
  1570. UltraPunch()
  1571. wait(0.0001)
  1572. Begoner9000()
  1573. UltraPunch()
  1574. wait(0.0001)
  1575. Begoner9000()
  1576. UltraPunch()
  1577. wait(0.0001)
  1578. Begoner9000()
  1579. UltraPunch()
  1580. wait(0.0001)
  1581. Begoner9000()
  1582. UltraPunch()
  1583. wait(0.0001)
  1584. Begoner9000()
  1585. UltraPunch()
  1586. wait(0.0001)
  1587. Begoner9000()
  1588. UltraPunch()
  1589. wait(0.0001)
  1590. Begoner9000()
  1591. UltraPunch()
  1592. wait(0.0001)
  1593. Begoner9000()
  1594. UltraPunch()
  1595. wait(0.0001)
  1596. Begoner9000()
  1597. UltraPunch()
  1598. wait(0.0001)
  1599. Begoner9000()
  1600. UltraPunch()
  1601. wait(0.0001)
  1602. Begoner9000()
  1603. UltraPunch()
  1604. wait(0.0001)
  1605. Begoner9000()
  1606. UltraPunch()
  1607. wait(0.0001)
  1608. Begoner9000()
  1609. UltraPunch()
  1610. wait(0.0001)
  1611. Begoner9000()
  1612. UltraPunch()
  1613. wait(0.0001)
  1614. Begoner9000()
  1615. UltraPunch()
  1616. wait(0.0001)
  1617. Begoner9000()
  1618. UltraPunch()
  1619. wait(0.0001)
  1620. Begoner9000()
  1621. UltraPunch()
  1622. wait(0.0001)
  1623. Begoner9000()
  1624. UltraPunch()
  1625. wait(0.0001)
  1626. Begoner9000()
  1627. UltraPunch()
  1628. wait(0.0001)
  1629. Begoner9000()
  1630. UltraPunch()
  1631. wait(0.0001)
  1632. Begoner9000()
  1633. UltraPunch()
  1634. wait(0.0001)
  1635. Begoner9000()
  1636. UltraPunch()
  1637. wait(0.0001)
  1638. Begoner9000()
  1639. UltraPunch()
  1640. wait(0.0001)
  1641. Begoner9000()
  1642. UltraPunch()
  1643. wait(0.0001)
  1644. Begoner9000()
  1645. UltraPunch()
  1646. wait(0.0001)
  1647. Begoner9000()
  1648. UltraPunch()
  1649. wait(0.0001)
  1650. Begoner9000()
  1651. UltraPunch()
  1652. wait(0.0001)
  1653. Begoner9000()
  1654. UltraPunch()
  1655. wait(0.0001)
  1656. Begoner9000()
  1657. UltraPunch()
  1658. wait(0.0001)
  1659. Begoner9000()
  1660. UltraPunch()
  1661. wait(0.0001)
  1662. Begoner9000()
  1663. UltraPunch()
  1664. wait(0.0001)
  1665. Begoner9000()
  1666. UltraPunch()
  1667. wait(0.0001)
  1668. Begoner9000()
  1669. UltraPunch()
  1670. wait(0.0001)
  1671. Begoner9000()
  1672. UltraPunch()
  1673. wait(0.0001)
  1674. Begoner9000()
  1675. UltraPunch()
  1676. wait(0.0001)
  1677. Begoner9000()
  1678. UltraPunch()
  1679. wait(0.0001)
  1680. Begoner9000()
  1681. UltraPunch()
  1682. wait(0.0001)
  1683. Begoner9000()
  1684. UltraPunch()
  1685. wait(0.0001)
  1686. Begoner9000()
  1687. UltraPunch()
  1688. end
  1689.  
  1690. if Key == "r" and ATTACK == false then
  1691. UltraPunch()
  1692. wait(0.0002)
  1693. UltraPunch()
  1694. wait(0.0002)
  1695. UltraPunch()
  1696. wait(0.0002)
  1697. UltraPunch()
  1698. wait(0.0002)
  1699. UltraPunch()
  1700. wait(0.0002)
  1701. UltraPunch()
  1702. wait(0.0002)
  1703. UltraPunch()
  1704. wait(0.0002)
  1705. UltraPunch()
  1706. wait(0.0002)
  1707. UltraPunch()
  1708. wait(0.0002)
  1709. UltraPunch()
  1710. wait(0.0002)
  1711. UltraPunch()
  1712. wait(0.0002)
  1713. UltraPunch()
  1714. wait(0.0002)
  1715. UltraPunch()
  1716. wait(0.0002)
  1717. UltraPunch()
  1718. wait(0.0002)
  1719. UltraPunch()
  1720. wait(0.0002)
  1721. UltraPunch()
  1722. wait(0.0002)
  1723. UltraPunch()
  1724. wait(0.0002)
  1725. UltraPunch()
  1726. wait(0.0002)
  1727. UltraPunch()
  1728. wait(0.0002)
  1729. UltraPunch()
  1730. wait(0.0002)
  1731. UltraPunch()
  1732. wait(0.0002)
  1733. UltraPunch()
  1734. end
  1735.  
  1736. if Key == "p" and ATTACK == false then
  1737. if Speed == 16 then
  1738. Speed = 150
  1739. elseif Speed == 150 then
  1740. Speed = 16
  1741. end
  1742. end
  1743. end
  1744.  
  1745. function KeyUp(Key)
  1746. KEYHOLD = false
  1747. end
  1748.  
  1749. Mouse.Button1Down:connect(function(NEWKEY)
  1750. MouseDown(NEWKEY)
  1751. end)
  1752. Mouse.Button1Up:connect(function(NEWKEY)
  1753. MouseUp(NEWKEY)
  1754. end)
  1755. Mouse.KeyDown:connect(function(NEWKEY)
  1756. KeyDown(NEWKEY)
  1757. end)
  1758. Mouse.KeyUp:connect(function(NEWKEY)
  1759. KeyUp(NEWKEY)
  1760. end)
  1761.  
  1762. --//=================================\\
  1763. --\\=================================//
  1764.  
  1765.  
  1766. function unanchor()
  1767. if UNANCHOR == true then
  1768. g = Character:GetChildren()
  1769. for i = 1, #g do
  1770. if g[i].ClassName == "Part" then
  1771. g[i].Anchored = false
  1772. end
  1773. end
  1774. end
  1775. end
  1776.  
  1777.  
  1778. --//=================================\\
  1779. --|| WRAP THE WHOLE SCRIPT UP
  1780. --\\=================================//
  1781.  
  1782. Humanoid.Changed:connect(function(Jump)
  1783. if Jump == "Jump" and (Disable_Jump == true) then
  1784. Humanoid.Jump = false
  1785. end
  1786. end)
  1787.  
  1788. while true do
  1789. Swait()
  1790. ANIMATE.Parent = nil
  1791. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1792. IDLEANIMATION:Play()
  1793. SINE = SINE + CHANGE
  1794. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1795. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1796. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1797. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1798. local WALKSPEEDVALUE = 0
  1799. if Speed < 35 then
  1800. WALKSPEEDVALUE = 48
  1801. else
  1802. WALKSPEEDVALUE = 48
  1803. end
  1804. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1805. 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)
  1806. 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)
  1807. if Speed < 35 then
  1808. 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)
  1809. 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)
  1810. else
  1811. 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)
  1812. 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)
  1813. end
  1814. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1815. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1816. 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)
  1817. 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)
  1818. 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)
  1819. end
  1820. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1821. ANIM = "Jump"
  1822. if ATTACK == false then
  1823. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1824. 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)
  1825. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1826. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1827. 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)
  1828. 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)
  1829. end
  1830. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1831. ANIM = "Fall"
  1832. if ATTACK == false then
  1833. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1837. 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)
  1838. 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)
  1839. end
  1840. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1841. ANIM = "Idle"
  1842. if ATTACK == false then
  1843. 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)
  1844. 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)
  1845. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1846. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1847. 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)
  1848. 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)
  1849. end
  1850. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  1851. ANIM = "Walk"
  1852. WALK = WALK + 1 / Animation_Speed
  1853. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1854. WALK = 0
  1855. if WALKINGANIM == true then
  1856. WALKINGANIM = false
  1857. elseif WALKINGANIM == false then
  1858. WALKINGANIM = true
  1859. end
  1860. end
  1861. --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)
  1862. --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)
  1863. if ATTACK == false then
  1864. if Speed < 35 then
  1865. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1866. 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)
  1867. 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)
  1868. 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)
  1869. 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)
  1870. 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)
  1871. else
  1872. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1873. 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)
  1874. 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)
  1875. 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)
  1876. 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)
  1877. 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)
  1878. end
  1879. end
  1880. end
  1881. unanchor()
  1882. Humanoid.MaxHealth = "inf"
  1883. Humanoid.Health = "inf"
  1884. if Rooted == false then
  1885. Disable_Jump = false
  1886. Humanoid.WalkSpeed = Speed
  1887. elseif Rooted == true then
  1888. Disable_Jump = true
  1889. Humanoid.WalkSpeed = 0
  1890. end
  1891. local MATHS = {"0","1"}
  1892. 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)]
  1893. Humanoid.PlatformStand = false
  1894. end
  1895.  
  1896.  
  1897. --//====================================================\\--
  1898. --|| END OF SCRIPT
  1899. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement