Advertisement
Davodio

Roblox Leak #2 Rainbow Puncher (Rip :( )

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