Advertisement
Hermaxs

Untitled

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