kaualima12

we are number one

Mar 1st, 2020
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2.  
  3. local Player,game,owner = owner,game
  4.  
  5. local RealPlayer = Player
  6.  
  7. do local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  8.  
  9. wait(0.2)
  10.  
  11. local function lerp(weld,beglerp,endlerp,speed)
  12. weld.C0 = beglerp:lerp(endlerp,speed)
  13. return weld.C0
  14. end
  15.  
  16. local speed = 0.2
  17. local angle = 0
  18. local anglespeed = 2
  19. local armspeed = 0.2
  20. local armangle = 0
  21. local armanglespeed = 2
  22. local legspeed = 0.2
  23. local legangle = 0
  24. local leganglespeed = 2
  25. local on = true
  26. local damen = false
  27. local enabled = true
  28. local buff = false
  29. local zenabled = 0
  30. local xenabled = 0
  31. local cenabled = 0
  32. local venabled = 0
  33. local eenabled = 0
  34. local Debounce = {}
  35. local TakeDamage = false
  36. local idle = 0
  37. local combo = 1
  38. local Player = game.Players.LocalPlayer
  39. local mouse = Player:GetMouse()
  40. local Char = Player.Character
  41. local Character = Char
  42. local Human = Char.Humanoid
  43. local Sounds = {"rbxassetid://234365549","rbxassetid://200632211","rbxassetid://136007472","rbxassetid://136523485","rbxassetid://163619849","rbxassetid://240517975","rbxassetid://233856154","rbxassetid://401057781","rbxassetid://401057825","rbxassetid://401057895","rbxassetid://199149186","rbxasseid://199149269"}
  44. local Head = Char.Head
  45. local LA = Char:findFirstChild("Left Arm")
  46. local RA = Char:findFirstChild("Right Arm")
  47. local LL = Char:findFirstChild("Left Leg")
  48. local RL = Char:findFirstChild("Right Leg")
  49. local T = Char:findFirstChild("Torso")
  50. local LS = T:findFirstChild("Left Shoulder")
  51. local RS = T:findFirstChild("Right Shoulder")
  52. local LH = T:findFirstChild("Left Hip")
  53. local RH = T:findFirstChild("Right Hip")
  54. local Neck = T:findFirstChild("Neck")
  55. local HM = Char:findFirstChild("HumanoidRootPart")
  56. local RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  57. local WLS = Instance.new("Motor", T)
  58. WLS.C0 = CFrame.new(-1.5, 0.5, 0)
  59. WLS.C1 = CFrame.new(0, 0.5, 0)
  60. WLS.Part0 = T
  61. WLS.Part1 = LA
  62. local WRS = Instance.new("Motor", T)
  63. WRS.Part0 = T
  64. WRS.Part1 = RA
  65. WRS.C0 = CFrame.new(1.5, 0.5, 0)
  66. WRS.C1 = CFrame.new(0, 0.5, 0)
  67. local WLH = LH
  68. local WRH = RH
  69. local LSC0 = WLS.C0
  70. local RSC0 = WRS.C0
  71. local LHC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  72. local LHC1 = CFrame.new(-0.5, 1 ,0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  73. local RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  74. local RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  75. local WRJ = RJ
  76. local RJC0 = WRJ.C0
  77. local RJC1 = WRJ.C1
  78. local NC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  79. local Run = game:GetService("RunService")
  80. local noweightprop = PhysicalProperties.new(0,0.3,0.5,0,0)
  81. Anim = Char:FindFirstChild("Animate")
  82. if Anim ~= nil then
  83. Anim.Parent = nil
  84. end
  85. Animate = Human:FindFirstChild("Animator")
  86. if Animate ~= nil then
  87. Animate.Parent = nil
  88. end
  89.  
  90. local gui = Instance.new("ScreenGui",Player.PlayerGui)
  91. local skill1 = Instance.new("TextLabel",gui)
  92. skill1.Size = UDim2.new(0,150,0,50)
  93. skill1.Position = UDim2.new(0.75,0,0.75,0)
  94. skill1.Text = ""
  95. skill1.TextWrapped = true
  96. skill1.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  97. local skill1text = Instance.new("TextLabel",gui)
  98. skill1text.Size = UDim2.new(0,150,0,50)
  99. skill1text.Position = UDim2.new(0.75,0,0.75,0)
  100. skill1text.TextColor3 = Color3.new(1,1,1)
  101. skill1text.BackgroundTransparency = 1
  102. skill1text.Text = "[Z] \n Deafen"
  103. skill1text.TextWrapped = true
  104. skill1text.TextScaled = true
  105. skill1text.Font = "Antique"
  106. skill1text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  107. skill1img = Instance.new("ImageLabel",skill1)
  108. skill1img.Size = UDim2.new(0,0,1,0)
  109. skill1img.Image = "rbxassetid://48965808"
  110. skill1img.BackgroundColor3 = BrickColor.new("Bright red").Color
  111. local skill2 = Instance.new("TextLabel",gui)
  112. skill2.Size = UDim2.new(0,150,0,50)
  113. skill2.Position = UDim2.new(0.875,0,0.75,0)
  114. skill2.Text = ""
  115. skill2.TextWrapped = true
  116. skill2.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  117. local skill2text = Instance.new("TextLabel",gui)
  118. skill2text.Size = UDim2.new(0,150,0,50)
  119. skill2text.Position = UDim2.new(0.875,0,0.75,0)
  120. skill2text.TextColor3 = Color3.new(1,1,1)
  121. skill2text.BackgroundTransparency = 1
  122. skill2text.Text = "[X] \n Sax Slam"
  123. skill2text.TextWrapped = true
  124. skill2text.TextScaled = true
  125. skill2text.Font = "Antique"
  126. skill2text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  127. skill2img = Instance.new("ImageLabel",skill2)
  128. skill2img.Size = UDim2.new(0,0,1,0)
  129. skill2img.Image = "rbxassetid://48965808"
  130. skill2img.BackgroundColor3 = BrickColor.new("Bright red").Color
  131. local skill3 = Instance.new("TextLabel",gui)
  132. skill3.Size = UDim2.new(0,150,0,50)
  133. skill3.Position = UDim2.new(0.75,0,0.85,0)
  134. skill3.Text = ""
  135. skill3.TextWrapped = true
  136. skill3.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  137. local skill3text = Instance.new("TextLabel",gui)
  138. skill3text.Size = UDim2.new(0,150,0,50)
  139. skill3text.Position = UDim2.new(0.75,0,0.85,0)
  140. skill3text.TextColor3 = Color3.new(1,1,1)
  141. skill3text.BackgroundTransparency = 1
  142. skill3text.Text = "[C] \n Summon Memes"
  143. skill3text.TextWrapped = true
  144. skill3text.TextScaled = true
  145. skill3text.Font = "Antique"
  146. skill3text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  147. skill3img = Instance.new("ImageLabel",skill3)
  148. skill3img.Size = UDim2.new(0,0,1,0)
  149. skill3img.Image = "rbxassetid://48965808"
  150. skill3img.BackgroundColor3 = BrickColor.new("Bright red").Color
  151. local skill4 = Instance.new("TextLabel",gui)
  152. skill4.Size = UDim2.new(0,150,0,50)
  153. skill4.Position = UDim2.new(0.875,0,0.85,0)
  154. skill4.Text = ""
  155. skill4.TextWrapped = true
  156. skill4.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  157. local skill4text = Instance.new("TextLabel",gui)
  158. skill4text.Size = UDim2.new(0,150,0,50)
  159. skill4text.Position = UDim2.new(0.875,0,0.85,0)
  160. skill4text.TextColor3 = Color3.new(1,1,1)
  161. skill4text.BackgroundTransparency = 1
  162. skill4text.Text = "[V] \n Multi Sax"
  163. skill4text.TextWrapped = true
  164. skill4text.TextScaled = true
  165. skill4text.Font = "Antique"
  166. skill4text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  167. skill4img = Instance.new("ImageLabel",skill4)
  168. skill4img.Size = UDim2.new(0,0,1,0)
  169. skill4img.Image = "rbxassetid://48965808"
  170. skill4img.BackgroundColor3 = BrickColor.new("Bright red").Color
  171. local skill5 = Instance.new("TextLabel",gui)
  172. skill5.Size = UDim2.new(0,150,0,50)
  173. skill5.Position = UDim2.new(0.8125,0,0.65,0)
  174. skill5.Text = ""
  175. skill5.TextWrapped = true
  176. skill5.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  177. local skill5text = Instance.new("TextLabel",gui)
  178. skill5text.Size = UDim2.new(0,150,0,50)
  179. skill5text.Position = UDim2.new(0.8125,0,0.65,0)
  180. skill5text.TextColor3 = Color3.new(1,1,1)
  181. skill5text.BackgroundTransparency = 1
  182. skill5text.Text = "[E] \n Endure"
  183. skill5text.TextWrapped = true
  184. skill5text.TextScaled = true
  185. skill5text.Font = "Antique"
  186. skill5text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  187. skill5img = Instance.new("ImageLabel",skill5)
  188. skill5img.Size = UDim2.new(0,0,1,0)
  189. skill5img.Image = "rbxassetid://48965808"
  190. skill5img.BackgroundColor3 = BrickColor.new("Bright red").Color
  191.  
  192. local Sax = Instance.new("Part",Char)
  193. Sax.Name = "Saxophone"
  194. Sax.CanCollide = false
  195. Sax.Locked = true
  196. Sax.Size = Vector3.new(0.61,2.19,3.75)
  197. Sax.CustomPhysicalProperties = noweightprop
  198. local SaxMesh = Instance.new("SpecialMesh",Sax)
  199. SaxMesh.MeshId = "rbxassetid://44410178"
  200. SaxMesh.TextureId = "rbxassetid://44410320"
  201. SaxMesh.Scale = Vector3.new(2,2,3)
  202. SaxWeld = Instance.new("Weld",T)
  203. SaxWeld.Part0 = RA
  204. SaxWeld.Part1 = Sax
  205.  
  206. HW = SaxWeld
  207. hc0 = SaxWeld.C0 *CFrame.new(-0.2,-1.15,0)
  208. HW.C0 = hc0
  209.  
  210. if Char:FindFirstChild("Shirt") ~= nil then
  211. Char.Shirt:Destroy()
  212. Instance.new("Shirt",Char).ShirtTemplate = "rbxassetid://538879879"
  213. else
  214. Instance.new("Shirt",Char).ShirtTemplate = "rbxassetid://538879879"
  215. end
  216.  
  217. if Char:FindFirstChild("Pants") ~= nil then
  218. Char.Pants:Destroy()
  219. Instance.new("Pants",Char).PantsTemplate = "rbxassetid://538879936"
  220. else
  221. Instance.new("Pants",Char).PantsTemplate = "rbxassetid://538879936"
  222. end
  223.  
  224. for _,v in pairs(Char:GetChildren()) do
  225. if v.ClassName == "CharacterMesh" then
  226. v:Destroy()
  227. end
  228. if v.ClassName == "Accessory" then
  229. v:Destroy()
  230. end
  231. end
  232.  
  233. local hair = Instance.new("Part",Char)
  234. hair.Name = "Hair"
  235. hair.CanCollide = false
  236. hair.Size = Vector3.new(1.2, 1, 1.6)
  237. hair.BrickColor = BrickColor.new("Really black")
  238. local hairmesh = Instance.new("SpecialMesh",hair)
  239. hairmesh.MeshId = "rbxassetid://74878559"
  240. hairmesh.TextureId = "rbxassetid://75976712"
  241. hairmesh.Scale = Vector3.new(1.05,1,1.05)
  242. hairmesh.VertexColor = Vector3.new(0.1,0.1,0.1)
  243. local hairweld = Instance.new("Weld",hair)
  244. hairweld.Part0 = Head
  245. hairweld.Part1 = hair
  246. hairweld.C0 = CFrame.new(0,0.5,0)
  247.  
  248. local la = Instance.new("CharacterMesh",Char)
  249. la.MeshId = "279174949"
  250. la.BodyPart = "LeftArm"
  251. local ll = Instance.new("CharacterMesh",Char)
  252. ll.MeshId = "319336109"
  253. ll.BodyPart = "LeftLeg"
  254. local ra = Instance.new("CharacterMesh",Char)
  255. ra.MeshId = "279174886"
  256. ra.BodyPart = "RightArm"
  257. local rl = Instance.new("CharacterMesh",Char)
  258. rl.MeshId = "319336155"
  259. rl.BodyPart = "RightLeg"
  260. local t = Instance.new("CharacterMesh",Char)
  261. t.MeshId = "376169183"
  262. t.BodyPart = "Torso"
  263.  
  264. local Meshes={
  265. Blast="20329976",
  266. Crown="1323306",
  267. Ring="3270017",
  268. Claw="10681506",
  269. Crystal="9756362",
  270. Coil="9753878",
  271. Cloud="1095708",
  272. Skull="4770583",
  273. SpinyShell="1080954",
  274. }
  275.  
  276. local function nooutlines(part)
  277. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  278. end
  279.  
  280. local function getmesh(mesh)
  281. return "rbxassetid://"..mesh
  282. end
  283.  
  284.  
  285.  
  286. ArtificialHB = Instance.new("BindableEvent", script)
  287. ArtificialHB.Name = "Heartbeat"
  288.  
  289. script:WaitForChild("Heartbeat")
  290.  
  291. frame = 1 / 60
  292. tf = 0
  293. allowframeloss = false
  294. tossremainder = false
  295. lastframe = tick()
  296. script.Heartbeat:Fire()
  297.  
  298. game:GetService("RunService").Heartbeat:connect(function(s, p)
  299. tf = tf + s
  300. if tf >= frame then
  301. if allowframeloss then
  302. script.Heartbeat:Fire()
  303. lastframe = tick()
  304. else
  305. for i = 1, math.floor(tf / frame) do
  306. script.Heartbeat:Fire()
  307. end
  308. lastframe = tick()
  309. end
  310. if tossremainder then
  311. tf = 0
  312. else
  313. tf = tf - frame * math.floor(tf / frame)
  314. end
  315. end
  316. end)
  317.  
  318. local function Rwait(num)
  319. if num == 0 or num == nil then
  320. ArtificialHB.Event:wait()
  321. else
  322. for i = 0, num do
  323. ArtificialHB.Event:wait()
  324. end
  325. end
  326. end
  327.  
  328. local function effect(part,brickcolor,size,cframe,trans,transincrement,scaleby,loopwait,meshid,meshtype)
  329. local p = Instance.new("Part", part or workspace)
  330. p.Anchored = true
  331. p.CanCollide = false
  332. p.FormFactor = Enum.FormFactor.Custom
  333. p.Material = "SmoothPlastic"
  334. p.CFrame = cframe
  335. p.BrickColor = brickcolor
  336. p.Size = Vector3.new(1,1,1)
  337. p.Transparency = trans
  338. nooutlines(p)
  339. local m = Instance.new("SpecialMesh",p)
  340. if meshtype ~= nil and meshid == nil then
  341. m.MeshType = meshtype
  342. end
  343. if meshtype == nil and meshid ~= nil then
  344. m.MeshId = getmesh(meshid)
  345. end
  346. m.Scale = size
  347. coroutine.wrap(function()
  348. for i = 0,loopwait,0.1 do
  349. p.CFrame = p.CFrame
  350. p.Transparency = p.Transparency +transincrement
  351. m.Scale = m.Scale + scaleby
  352. Rwait()
  353. end
  354. p:Destroy()
  355. end)()
  356. return p
  357. end
  358.  
  359. local PlaySound = function(part,volume,pitch,id,looped)
  360. local Sound = Instance.new("Sound", part)
  361. Sound.SoundId = id
  362. Sound.Pitch = pitch
  363. Sound.Volume = volume
  364. coroutine.wrap(function()
  365. wait()
  366. Sound:Play()
  367. if looped == nil then
  368. game.Debris:AddItem(Sound,10)
  369. end
  370. end)()
  371. if looped == true then
  372. Sound.Looped = true
  373. end
  374. return Sound
  375. end
  376.  
  377. local song = PlaySound(Head,0.5,1,"rbxassetid://569707122",true)
  378.  
  379. local ShowDmg = function(totake)
  380. local modl = Instance.new("Model", workspace)
  381. modl.Name = tostring(totake)
  382. local prt = Instance.new("Part", modl)
  383. prt.CanCollide = false
  384. prt.BrickColor = BrickColor.Red()
  385. prt.Name = "Head"
  386. prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
  387. prt.TopSurface = 0
  388. prt.BottomSurface = 0
  389. prt.FormFactor = 3
  390. prt.Size = Vector3.new(1, 0.2, 1)
  391. local bm = Instance.new("BlockMesh", prt)
  392. local hum = Instance.new("Humanoid", modl)
  393. hum.Health = 0
  394. hum.MaxHealth = 0
  395. hum.WalkSpeed = 0
  396. bodypos = Instance.new("BodyPosition", prt)
  397. bodypos.position = Head.Position +Vector3.new(0, 1, 0)
  398. bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  399. game.Debris:AddItem(modl, 1)
  400. coroutine.resume(coroutine.create(function()
  401. for i = 1, 3 do
  402. bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
  403. Rwait()
  404. end
  405. end))
  406. end
  407.  
  408. local function ChargeAt(Strength)
  409. local BV = Instance.new("BodyVelocity",HM)
  410. BV.maxForce = Vector3.new(1e5,0,1e5)
  411. BV.velocity = HM.CFrame.lookVector *Strength
  412. game.Debris:AddItem(BV,0.1)
  413. end
  414.  
  415. local function Damage(hit,mm,knockback,knockbackvelocity)
  416. if hit ~= nil and damen == true and hit.Parent ~= Char then
  417. local hum = GetHumanoid(hit.Parent)
  418. if hum ~= nil then
  419. if TakeDamage == true then
  420. if buff == true then
  421. hum:TakeDamage(mm*2)
  422. spawn(function()
  423. ShowDmg(mm*2)
  424. end)
  425. elseif buff == false then
  426. hum:TakeDamage(mm)
  427. spawn(function()
  428. ShowDmg(mm)
  429. end)
  430. end
  431. elseif TakeDamage == false then
  432. if buff == true then
  433. hum.Health = hum.Health - mm*2
  434. spawn(function()
  435. ShowDmg(mm*2)
  436. end)
  437. elseif buff == false then
  438. hum.Health = hum.Health - mm
  439. spawn(function()
  440. ShowDmg(mm)
  441. end)
  442. end
  443. end
  444. PlaySound(hum.Torso,1,1,Sounds[math.random(8,12)])
  445. if knockback ~= nil and knockback ~= 0 then
  446. if knockbackvelocity == nil then
  447. local v = Instance.new("BodyVelocity",hum.Torso)
  448. v.maxForce = Vector3.new(1e5,1e5,1e5)
  449. v.P = 1e20
  450. v.velocity = HM.CFrame.lookVector *knockback
  451. game.Debris:AddItem(v,0.3)
  452. else
  453. local v = Instance.new("BodyVelocity",hum.Torso)
  454. v.maxForce = Vector3.new(1e5,1e5,1e5)
  455. v.P = 1e20
  456. v.velocity = KnockbackVelocity *knockback
  457. game.Debris:AddItem(v,0.3)
  458. end
  459. end
  460. end
  461. damen = false
  462. end
  463. end
  464.  
  465. --darkus stuff
  466.  
  467. function GetHumanoid(Character)
  468.  
  469. assert(Character, 'bad argument #1 to Character (Model expected, got nil)')
  470.  
  471. local hum
  472.  
  473. if Character == Char then return end
  474.  
  475. if Character.ClassName == "Hat" or Character.ClassName == "Accessory" then
  476. for q,e in next, Character.Parent:children() do
  477. if e:isA'Humanoid' then
  478. hum = e
  479. end
  480. if e:isA'ForceField' then
  481. return
  482. end
  483. end
  484. else
  485. for q,e in next, Character:children() do
  486. if e:isA'Humanoid' then
  487. hum = e
  488. end
  489. if e:isA'ForceField' then
  490. return
  491. end
  492. end
  493. end
  494. return hum
  495. end
  496.  
  497. function GetNear(Object, Distance)
  498.  
  499. assert(Object, 'bad argument #1 to Object (Model expected, got nil)')
  500.  
  501. local Distance = (Distance and Distance or 25)
  502. local rtn = {}
  503.  
  504. for q,e in next, workspace:children() do
  505. local Hum = e:FindFirstChild'Humanoid'
  506. if Hum ~= nil then
  507. Tor = Hum.Torso
  508. end
  509. if Tor ~= nil then
  510. local dist = (Object.Position-Tor.Position).magnitude
  511. if dist <= Distance then
  512. rtn[#rtn+1] = e
  513. end
  514. end
  515. end
  516. return rtn
  517. end
  518.  
  519. function DamageNear(Distance, Part, Damage, Knockback, DebounceTime, KnockbackVelocity, Destroy)
  520. if damen == false then return end
  521. assert(Part, 'bad argument #2 to Part (Part expected, got nil)')
  522. assert(Part:isA'BasePart', ('bad argument #2 to Part (Part expected, got %s)'):format(Part.ClassName))
  523.  
  524. local Distance = (Distance and Distance or 25)
  525. local Noobs = GetNear(Part, Distance)
  526.  
  527. for nild, Character in next, Noobs do
  528.  
  529. local Human = GetHumanoid(Character)
  530. if Human and not Debounce[Character] then
  531. -- no clue why they were using spawn but ok...
  532.  
  533. Debounce[Character] = true
  534.  
  535. if TakeDamage then
  536. if buff == true then
  537. Human:TakeDamage(Damage*2)
  538. spawn(function()
  539. ShowDmg(Damage*2)
  540. end)
  541. elseif buff == false then
  542. Human:TakeDamage(Damage)
  543. spawn(function()
  544. ShowDmg(Damage)
  545. end)
  546. end
  547. spawn(function()
  548. ShowDmg(Damage)
  549. end)
  550. else
  551. if buff == true then
  552. Human.Health = Human.Health - Damage*2
  553. spawn(function()
  554. ShowDmg(Damage*2)
  555. end)
  556. elseif buff == false then
  557. Human.Health = Human.Health - Damage
  558. spawn(function()
  559. ShowDmg(Damage)
  560. end)
  561. end
  562. end
  563. PlaySound(Human.Torso,1,1,Sounds[math.random(8,12)])
  564. if Knockback then
  565. if KnockbackVelocity == nil then
  566. local v = Instance.new("BodyVelocity", Human.Torso)
  567. v.maxForce = Vector3.new(1e5,1e5,1e5)
  568. v.P = 1e20
  569. v.velocity = HM.CFrame.lookVector * Knockback
  570. spawn(function()
  571. game:service'Debris':AddItem(v,0.3)
  572. end)
  573. else
  574. local v = Instance.new("BodyVelocity", Human.Torso)
  575. v.maxForce = Vector3.new(1e5,1e5,1e5)
  576. v.P = 1e20
  577. v.velocity = KnockbackVelocity * Knockback
  578. spawn(function()
  579. game:service'Debris':AddItem(v,0.3)
  580. end)
  581. end
  582. end
  583. if Destroy == true then
  584. Part:Destroy()
  585. end
  586.  
  587. coroutine.wrap(function()--spawn(function()
  588. wait(DebounceTime)
  589. Debounce[Character] = nil
  590. end)()--end)
  591.  
  592. end
  593. end
  594.  
  595. return
  596. end
  597. --
  598.  
  599. local function Slash1()
  600. for i = 1,13 do
  601. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.5,0,-0.3) *CFrame.Angles(0,math.pi/9,math.pi/2),armspeed)
  602. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-1.5,0,-0.4) *CFrame.Angles(0,-math.pi/1.4,-math.pi/2),armspeed)
  603. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/3),speed)
  604. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/3),speed)
  605. lerp(HW,HW.C0,hc0 *CFrame.new(0,1,-2) *CFrame.Angles(math.pi/5,0,0),speed)
  606. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  607. lerp(WLH,WLH.C0,LHC0,legspeed)
  608. lerp(WRH,WRH.C0,RHC0,legspeed)
  609. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  610. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1+math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  611. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1-math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  612. end
  613. Rwait()
  614. end
  615. damen = true
  616. PlaySound(Sax,1,0.6,Sounds[1])
  617. for i = 1,15 do
  618. DamageNear(3.25,Sax,math.random(5,10),5,0.5)
  619. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,0.45) *CFrame.Angles(0,-math.pi/2*-i/5,math.pi/2),armspeed)
  620. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-2.5,0,0) *CFrame.Angles(0,math.pi/6*i/4,-math.pi/2),armspeed)
  621. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/3),speed)
  622. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/3),speed)
  623. lerp(HW,HW.C0,hc0 *CFrame.new(0,0.25,-1) *CFrame.Angles(math.pi/10,0,0),speed)
  624. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  625. lerp(WLH,WLH.C0,LHC0,legspeed)
  626. lerp(WRH,WRH.C0,RHC0,legspeed)
  627. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  628. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1+math.sin(legangle*Human.WalkSpeed/16)*0.15,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  629. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1-math.sin(legangle*Human.WalkSpeed/16)*0.15,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  630. end
  631. Rwait()
  632. end
  633. damen = false
  634. end
  635.  
  636. local function Slash2()
  637. for i = 1,14 do
  638. lerp(WLS,WLS.C0,LSC0 *CFrame.new(2.3,0.2,0.2) *CFrame.Angles(math.pi/1.1,0,math.pi/5),armspeed)
  639. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0.2,0,0) *CFrame.Angles(math.pi/1.1,0,math.pi/10),armspeed)
  640. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/3),speed)
  641. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/3),speed)
  642. lerp(HW,HW.C0,hc0 *CFrame.new(0,1,-2) *CFrame.Angles(math.pi/5,0,0),speed)
  643. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  644. lerp(WLH,WLH.C0,LHC0,legspeed)
  645. lerp(WRH,WRH.C0,RHC0,legspeed)
  646. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  647. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1+math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  648. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1-math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  649. end
  650. Rwait()
  651. end
  652. damen = true
  653. PlaySound(Sax,1,0.7,Sounds[1])
  654. for i = 1,15 do
  655. DamageNear(3.25,Sax,math.random(5,10),5,0.5)
  656. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1,0.2,-0.5) *CFrame.Angles(math.pi/9,0,math.pi/10),armspeed)
  657. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-0.7) *CFrame.Angles(math.pi/6,0,-math.pi/7),armspeed)
  658. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/7),speed)
  659. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/7),speed)
  660. lerp(HW,HW.C0,hc0 *CFrame.Angles(-math.pi/5,0,0) *CFrame.new(0,-0.2,-2),speed)
  661. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  662. lerp(WLH,WLH.C0,LHC0,legspeed)
  663. lerp(WRH,WRH.C0,RHC0,legspeed)
  664. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  665. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1+math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  666. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1-math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  667. end
  668. Rwait()
  669. end
  670. damen = false
  671. end
  672.  
  673. local function Spin3()
  674. for i = 1,13 do
  675. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.5,0,-0.3) *CFrame.Angles(0,math.pi/6,math.pi/2),armspeed)
  676. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-1.5,0,-0.5) *CFrame.Angles(0,-math.pi/1.4,-math.pi/2),armspeed)
  677. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/3),speed)
  678. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/3),speed)
  679. lerp(HW,HW.C0,hc0 *CFrame.new(0,1,-2) *CFrame.Angles(math.pi/5,0,0),speed)
  680. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  681. lerp(WLH,WLH.C0,LHC0,legspeed)
  682. lerp(WRH,WRH.C0,RHC0,legspeed)
  683. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  684. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1+math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  685. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1-math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  686. end
  687. Rwait()
  688. end
  689. damen = true
  690. for i = 1,3 do
  691. PlaySound(Sax,1,0.5,Sounds[1])
  692. for i = 0,1,0.1 do
  693. DamageNear(3.25,Sax,math.random(5,10),5,0.25)
  694. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.9,-0.05,-0.4) *CFrame.Angles(0,math.pi/4,math.pi/2),armspeed)
  695. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.2,0,0) *CFrame.Angles(0,-math.pi/1.4,-math.pi/2),armspeed)
  696. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/4),legspeed)
  697. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/4),legspeed)
  698. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi*i*2) *CFrame.Angles(math.pi/9,0,0),speed)
  699. lerp(Neck,Neck.C0,NC0,speed)
  700. lerp(HW,HW.C0,hc0 *CFrame.new(0,-1.2,-1) *CFrame.Angles(-math.pi/5,0,0),speed)
  701. Rwait()
  702. end
  703. end
  704. damen = false
  705. end
  706.  
  707.  
  708. local function Deafen()
  709. Human.WalkSpeed = 0
  710. for i = 1,14 do
  711. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.3,0,-0.65) *CFrame.Angles(math.pi/3,0,math.pi/4),armspeed)
  712. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.2,0,-0.65) *CFrame.Angles(math.pi/3,0,-math.pi/4),armspeed)
  713. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/15,0,0),legspeed)
  714. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(-math.pi/15,0,0),legspeed)
  715. lerp(WRJ,WRJ.C0,RJC0,speed)
  716. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/5,0,0),speed)
  717. lerp(HW,HW.C0,hc0 *CFrame.Angles(math.pi,0,-math.pi/4) *CFrame.new(0,-0.2,-1.5),speed)
  718. Rwait()
  719. end
  720. damen = true
  721. local s = PlaySound(Sax,5,math.random(60,180)/100,"rbxassetid://146983123")
  722. s.TimePosition = 2
  723. for i = 1,30 do
  724. if i == 10 then
  725. ringeff = effect(Sax,BrickColor.new("Institutional white"),Vector3.new(10,10,10),HM.CFrame *CFrame.new(0,0,-3),0,0.01,Vector3.new(),15,Meshes.Ring,nil)
  726. ringeff.Size = ringeff.Mesh.Scale
  727. ringeff.Anchored = false
  728. local BV = Instance.new("BodyVelocity",ringeff)
  729. BV.maxForce = Vector3.new(1/0,1/0,1/0)
  730. BV.velocity = HM.CFrame.lookVector *80
  731. game.Debris:AddItem(s,1)
  732. spawn(function()
  733. while ringeff.Parent ~= nil do
  734. DamageNear(11,ringeff,math.random(10,15),15,0.25)
  735. Rwait()
  736. end
  737. end)
  738. end
  739. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.3,0.1,-0.65) *CFrame.Angles(math.pi/2,0,math.pi/4),armspeed)
  740. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.2,0.1,-0.65) *CFrame.Angles(math.pi/2,0,-math.pi/4),armspeed)
  741. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/15,0,0),legspeed)
  742. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(-math.pi/15,0,0),legspeed)
  743. lerp(WRJ,WRJ.C0,RJC0,speed)
  744. lerp(Neck,Neck.C0,NC0,speed)
  745. lerp(HW,HW.C0,hc0 *CFrame.Angles(math.pi,0,-math.pi/4) *CFrame.new(0,-0.2,-1.8),speed)
  746. Rwait()
  747. end
  748. Human.WalkSpeed = 16
  749. damen = false
  750. end
  751.  
  752. local function SaxSlam()
  753. Human.WalkSpeed = 0
  754. for i = 1,14 do
  755. lerp(WLS,WLS.C0,LSC0 *CFrame.new(2.3,0.5,0.2) *CFrame.Angles(math.pi/1.1,0,math.pi/5),armspeed)
  756. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0.2,0.25,0) *CFrame.Angles(math.pi/1.1,0,math.pi/10),armspeed)
  757. lerp(WLH,WLH.C0,LHC0,legspeed)
  758. lerp(WRH,WRH.C0,RHC0,legspeed)
  759. lerp(WRJ,WRJ.C0,RJC0,speed)
  760. lerp(Neck,Neck.C0,NC0,speed)
  761. lerp(HW,HW.C0,hc0 *CFrame.Angles(0,math.pi/10,0) *CFrame.new(0,-0.3,-2),speed)
  762. Rwait()
  763. end
  764. damen = true
  765. PlaySound(Sax,1,0.7,Sounds[1])
  766. local hashit = false
  767. local Ignore = {}
  768. for i = 1,30 do
  769. if i >= 10 then
  770. for I_shall,ignore_this in pairs(workspace:GetChildren()) do
  771. if ignore_this:IsA("Model") then
  772. if ignore_this:FindFirstChild("Humanoid") then
  773. for _,ignorepart in pairs(ignore_this:GetChildren()) do
  774. if ignorepart.ClassName == "Part" then
  775. table.insert(Ignore,ignorepart)
  776. end
  777. end
  778. end
  779. end
  780. end
  781. local RayC = Ray.new(Sax.Position +Vector3.new(0,2,0),Vector3.new(0,-5.1,0))
  782. local Hit,pos = workspace:FindPartOnRayWithIgnoreList(RayC,Ignore)
  783. if Hit ~= nil and hashit == false then
  784. hashit = true
  785. PlaySound(Sax,1,0.875,Sounds[4])
  786. local explosioneff = effect(Sax,Hit.BrickColor,Vector3.new(0.5,0.5,0.5),CFrame.new(pos),0,0.05,Vector3.new(0.3,0.5,0.3),2,Meshes.Blast,nil)
  787. DamageNear(8,explosioneff,math.random(15,20),10,0.25,Vector3.new(0,2.5,0))
  788. end
  789. end
  790. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1,0,-0.5) *CFrame.Angles(math.pi/9,0,math.pi/10),armspeed)
  791. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-0.7) *CFrame.Angles(math.pi/9,0,-math.pi/7),armspeed)
  792. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/2),legspeed)
  793. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.8,2,0),legspeed)
  794. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-2),speed)
  795. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/7,0,0),speed)
  796. lerp(HW,HW.C0,hc0 *CFrame.Angles(-math.pi/9,0,math.pi/7) *CFrame.new(0,0,-2),speed)
  797. Rwait()
  798. end
  799. Human.WalkSpeed = 16
  800. damen = false
  801. end
  802.  
  803. local function Endure()
  804. spawn(function()
  805. buff = true
  806. effect(HM,BrickColor.White(),Vector3.new(0.5,0.5,0.5),HM.CFrame,0,0.05,Vector3.new(0.3,0.5,0.3),2,Meshes.Blast,nil)
  807. local glasses = Instance.new("Part",Head)
  808. glasses.CanCollide = false
  809. glasses.TopSurface = 10
  810. glasses.BottomSurface = 10
  811. glasses.Size = Vector3.new(1.4, 0.6, 1.4)
  812. local glassesmesh = Instance.new("SpecialMesh",glasses)
  813. glassesmesh.MeshId = "rbxassetid://121910245"
  814. glassesmesh.TextureId = "rbxassetid://182196075"
  815. glassesmesh.Scale = Vector3.new(0.7,0.7,0.7)
  816. local glassesweld = Instance.new("Weld",glasses)
  817. glassesweld.Part0 = Head
  818. glassesweld.Part1 = glasses
  819. glassesweld.C0 = CFrame.new(0,0.1,-0.05)
  820. PlaySound(glasses,1,0.7,"rbxassetid://181004943")
  821. PlaySound(glasses,0.3,1,"rbxassetid://195737599")
  822. PlaySound(glasses,0.7,1,"rbxassetid://362846090")
  823. for i = 0,1,0.1 do
  824. song.Pitch = song.Pitch -0.1
  825. Rwait()
  826. end
  827. local song2 = PlaySound(Head,0.8,0,"rbxassetid://183826663",true)
  828. song2.TimePosition = 10
  829. spawn(function()
  830. for i = 0,1,0.1 do
  831. song2.Pitch = i
  832. Rwait()
  833. end
  834. end)
  835. for i = 0,240,1 do
  836. local saxeff = effect(Sax,BrickColor.new("Medium stone grey"),Sax.Size,Sax.CFrame,0,0.15,Vector3.new(-0.05,-0.05,-0.05),0.5,"44410178",nil)
  837. saxeff.Mesh.Scale = SaxMesh.Scale
  838. saxeff.Mesh.TextureId = SaxMesh.TextureId
  839. local glasseseff = effect(Sax,BrickColor.new("Medium stone grey"),glasses.Size,glasses.CFrame,0,0.15,Vector3.new(0.05,0.05,0.05),0.5,"121910245",nil)
  840. glasseseff.Mesh.Scale = glassesmesh.Scale
  841. glasseseff.Mesh.TextureId = glassesmesh.TextureId
  842. Rwait(2.5)
  843. end
  844. spawn(function()
  845. for i = 0,1,0.1 do
  846. song2.Pitch = song2.Pitch -0.1
  847. Rwait()
  848. end
  849. end)
  850. song2:Destroy()
  851. glasses:Destroy()
  852. spawn(function()
  853. for i = 0,1,0.1 do
  854. song.Pitch = i
  855. Rwait()
  856. end
  857. end)
  858. PlaySound(Head,1,0.7,"rbxassetid://231107923")
  859. buff = false
  860. effect(HM,BrickColor.White(),Vector3.new(3,5,3),HM.CFrame,0,0.05,Vector3.new(-0.1,-0.1,-0.1),2,Meshes.Blast,nil)
  861. end)
  862. end
  863.  
  864. local function SummonMemes()
  865. PlaySound(Sax,1,10,"rbxassetid://128912290")
  866. for i = 1,14 do
  867. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/4),armspeed)
  868. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/9),armspeed)
  869. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/4),speed)
  870. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/4),speed)
  871. lerp(HW,HW.C0,hc0 *CFrame.new(0,0.1,0),speed)
  872. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  873. lerp(WLH,WLH.C0,LHC0,legspeed)
  874. lerp(WRH,WRH.C0,RHC0,legspeed)
  875. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  876. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1+math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  877. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.1+math.sin(legangle*Human.WalkSpeed/16)*0.2,0.1-math.sin(legangle*Human.WalkSpeed/16)*0.3,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*Human.WalkSpeed/16)*0.75)),legspeed)
  878. end
  879. Rwait()
  880. end
  881. damen = true
  882. local meme = effect(Char,BrickColor.White(),Vector3.new(3,3,3),HM.CFrame *CFrame.Angles(0,math.rad(45),0) *CFrame.new(0,0,-5),0,0,Vector3.new(),40,nil,"Brick")
  883. meme.Anchored = false
  884. local memep = Instance.new("ParticleEmitter",meme)
  885. memep.Rate = 5
  886. memep.Texture = "rbxassetid://48308661"
  887. local RP = Instance.new("RocketPropulsion",meme)
  888. spawn(function()
  889. while meme.Parent ~= nil do
  890. DamageNear(3,meme,math.random(6,10),0,0.5,nil,true)
  891. for i,v in pairs(workspace:GetChildren()) do
  892. if v.ClassName == "Model" and v ~= Char then
  893. local hum = GetHumanoid(v)
  894. if hum ~= nil and hum.Torso ~= nil then
  895. local Mag = (meme.CFrame.p - hum.Torso.CFrame.p).magnitude
  896. if Mag <= 30 then
  897. RP.Target = hum.Torso
  898. RP:Fire()
  899. end
  900. end
  901. end
  902. end
  903. Rwait()
  904. end
  905. end)
  906. local meme = effect(Char,BrickColor.White(),Vector3.new(3,3,3),HM.CFrame *CFrame.Angles(0,math.rad(45*2),0) *CFrame.new(0,0,-5),0,0,Vector3.new(),40,nil,"Brick")
  907. meme.Anchored = false
  908. local memep = Instance.new("ParticleEmitter",meme)
  909. memep.Rate = 5
  910. memep.Texture = "rbxassetid://487518317"
  911. local RP = Instance.new("RocketPropulsion",meme)
  912. spawn(function()
  913. while meme.Parent ~= nil do
  914. DamageNear(3,meme,math.random(6,10),0,10)
  915. for i,v in pairs(workspace:GetChildren()) do
  916. if v.ClassName == "Model" and v ~= Char then
  917. local hum = GetHumanoid(v)
  918. if hum ~= nil and hum.Torso ~= nil then
  919. local Mag = (meme.CFrame.p - hum.Torso.CFrame.p).magnitude
  920. if Mag <= 30 then
  921. RP.Target = hum.Torso
  922. RP:Fire()
  923. end
  924. end
  925. end
  926. end
  927. Rwait()
  928. end
  929. end)
  930. local meme = effect(Char,BrickColor.White(),Vector3.new(3,3,3),HM.CFrame *CFrame.Angles(0,math.rad(45*3),0) *CFrame.new(0,0,-5),0,0,Vector3.new(),40,nil,"Brick")
  931. meme.Anchored = false
  932. local memep = Instance.new("ParticleEmitter",meme)
  933. memep.Rate = 5
  934. memep.Texture = "rbxassetid://286279066"
  935. local RP = Instance.new("RocketPropulsion",meme)
  936. spawn(function()
  937. while meme.Parent ~= nil do
  938. DamageNear(3,meme,math.random(6,10),0,10)
  939. for i,v in pairs(workspace:GetChildren()) do
  940. if v.ClassName == "Model" and v ~= Char then
  941. local hum = GetHumanoid(v)
  942. if hum ~= nil and hum.Torso ~= nil then
  943. local Mag = (meme.CFrame.p - hum.Torso.CFrame.p).magnitude
  944. if Mag <= 30 then
  945. RP.Target = hum.Torso
  946. RP:Fire()
  947. end
  948. end
  949. end
  950. end
  951. Rwait()
  952. end
  953. end)
  954. local meme = effect(Char,BrickColor.White(),Vector3.new(3,3,3),HM.CFrame *CFrame.Angles(0,math.rad(45*4),0) *CFrame.new(0,0,-5),0,0,Vector3.new(),40,nil,"Brick")
  955. meme.Anchored = false
  956. local memep = Instance.new("ParticleEmitter",memep)
  957. memep.Rate = 5
  958. memep.Texture = "rbxassetid://148989069"
  959. local RP = Instance.new("RocketPropulsion",meme)
  960. spawn(function()
  961. while meme.Parent ~= nil do
  962. DamageNear(3,meme,math.random(6,10),0,10)
  963. for i,v in pairs(workspace:GetChildren()) do
  964. if v.ClassName == "Model" and v ~= Char then
  965. local hum = GetHumanoid(v)
  966. if hum ~= nil and hum.Torso ~= nil then
  967. local Mag = (meme.CFrame.p - hum.Torso.CFrame.p).magnitude
  968. if Mag <= 30 then
  969. RP.Target = hum.Torso
  970. RP:Fire()
  971. end
  972. end
  973. end
  974. end
  975. Rwait()
  976. end
  977. end)
  978. local meme = effect(Char,BrickColor.White(),Vector3.new(3,5,3),HM.CFrame *CFrame.Angles(0,math.rad(45*5),0) *CFrame.new(0,0,-5),0,0,Vector3.new(),40,nil,"Brick")
  979. meme.Anchored = false
  980. local memep = Instance.new("ParticleEmitter",memep)
  981. memep.Rate = 5
  982. memep.Texture = "rbxassetid://210744859"
  983. local RP = Instance.new("RocketPropulsion",meme)
  984. spawn(function()
  985. while meme.Parent ~= nil do
  986. DamageNear(3,meme,math.random(6,10),0,10)
  987. for i,v in pairs(workspace:GetChildren()) do
  988. if v.ClassName == "Model" and v ~= Char then
  989. local hum = GetHumanoid(v)
  990. if hum ~= nil and hum.Torso ~= nil then
  991. local Mag = (meme.CFrame.p - hum.Torso.CFrame.p).magnitude
  992. if Mag <= 30 then
  993. RP.Target = hum.Torso
  994. RP:Fire()
  995. end
  996. end
  997. end
  998. end
  999. Rwait()
  1000. end
  1001. end)
  1002. local meme = effect(Char,BrickColor.White(),Vector3.new(3,3,3),HM.CFrame *CFrame.Angles(0,math.rad(45*6),0) *CFrame.new(0,0,-5),0,0,Vector3.new(),40,nil,"Brick")
  1003. meme.Anchored = false
  1004. local memep = Instance.new("ParticleEmitter",meme)
  1005. memep.Rate = 5
  1006. memep.Texture = "rbxassetid://569577148"
  1007. local RP = Instance.new("RocketPropulsion",meme)
  1008. spawn(function()
  1009. while meme.Parent ~= nil do
  1010. DamageNear(3,meme,math.random(6,10),0,10)
  1011. for i,v in pairs(workspace:GetChildren()) do
  1012. if v.ClassName == "Model" and v ~= Char then
  1013. local hum = GetHumanoid(v)
  1014. if hum ~= nil and hum.Torso ~= nil then
  1015. local Mag = (meme.CFrame.p - hum.Torso.CFrame.p).magnitude
  1016. if Mag <= 30 then
  1017. RP.Target = hum.Torso
  1018. RP:Fire()
  1019. end
  1020. end
  1021. end
  1022. end
  1023. Rwait()
  1024. end
  1025. end)
  1026. local meme = effect(Char,BrickColor.White(),Vector3.new(3,3,3),HM.CFrame *CFrame.Angles(0,math.rad(45*7),0) *CFrame.new(0,0,-5),0,0,Vector3.new(),40,nil,"Brick")
  1027. meme.Anchored = false
  1028. local memep = Instance.new("ParticleEmitter",memep)
  1029. memep.Rate = 5
  1030. memep.Texture = "rbxassetid://472697717"
  1031. local RP = Instance.new("RocketPropulsion",meme)
  1032. spawn(function()
  1033. while meme.Parent ~= nil do
  1034. DamageNear(3,meme,math.random(6,10),0,10)
  1035. for i,v in pairs(workspace:GetChildren()) do
  1036. if v.ClassName == "Model" and v ~= Char then
  1037. local hum = GetHumanoid(v)
  1038. if hum ~= nil and hum.Torso ~= nil then
  1039. local Mag = (meme.CFrame.p - hum.Torso.CFrame.p).magnitude
  1040. if Mag <= 30 then
  1041. RP.Target = hum.Torso
  1042. RP:Fire()
  1043. end
  1044. end
  1045. end
  1046. end
  1047. Rwait()
  1048. end
  1049. end)
  1050. local meme = effect(Char,BrickColor.White(),Vector3.new(3,3,3),HM.CFrame *CFrame.Angles(0,math.rad(45*8),0) *CFrame.new(0,0,-5),0,0,Vector3.new(),40,nil,"Brick")
  1051. meme.Anchored = false
  1052. local memep = Instance.new("ParticleEmitter",meme)
  1053. memep.Rate = 5
  1054. memep.Texture = "rbxassetid://68774965"
  1055. local RP = Instance.new("RocketPropulsion",meme)
  1056. spawn(function()
  1057. while meme.Parent ~= nil do
  1058. DamageNear(3,meme,math.random(6,10),0,10)
  1059. for i,v in pairs(workspace:GetChildren()) do
  1060. if v.ClassName == "Model" and v ~= Char then
  1061. local hum = GetHumanoid(v)
  1062. if hum ~= nil and hum.Torso ~= nil then
  1063. local Mag = (meme.CFrame.p - hum.Torso.CFrame.p).magnitude
  1064. if Mag <= 30 then
  1065. RP.Target = hum.Torso
  1066. RP:Fire()
  1067. end
  1068. end
  1069. end
  1070. end
  1071. Rwait()
  1072. end
  1073. end)
  1074. end
  1075.  
  1076. local click = mouse.Button1Down:connect(function()
  1077. if on == false then return end
  1078. if enabled == false then return end
  1079. if combo == 1 and enabled == true then
  1080. enabled = false
  1081. Slash1()
  1082. enabled = true
  1083. combo = 2
  1084. coroutine.wrap(function()
  1085. Rwait(400)
  1086. if combo ~= 1 and enabled == true then
  1087. combo = 1
  1088. end
  1089. end)()
  1090. elseif combo == 2 and enabled == true then
  1091. enabled = false
  1092. Slash2()
  1093. enabled = true
  1094. combo = 3
  1095. coroutine.wrap(function()
  1096. Rwait(400)
  1097. if combo ~= 1 and enabled == true then
  1098. combo = 1
  1099. end
  1100. end)()
  1101. elseif combo == 3 and enabled == true then
  1102. enabled = false
  1103. Spin3()
  1104. enabled = true
  1105. combo = 1
  1106. end
  1107. end)
  1108.  
  1109. local keys = mouse.KeyDown:connect(function(key)
  1110. key = key:lower()
  1111. if enabled == false then return end
  1112. if key == "z" and on == true and enabled == true and zenabled == 1 then
  1113. zenabled = 0
  1114. enabled = false
  1115. Deafen()
  1116. enabled = true
  1117. elseif key == "x" and on == true and enabled == true and xenabled == 1 then
  1118. xenabled = 0
  1119. enabled = false
  1120. SaxSlam()
  1121. enabled = true
  1122. elseif key == "c" and on == true and enabled == true and cenabled == 1 then
  1123. cenabled = 0
  1124. enabled = false
  1125. SummonMemes()
  1126. enabled = true
  1127. elseif key == "v" and on == true and enabled == true and venabled == 1 then
  1128. venabled = 0
  1129. enabled = false
  1130. --MultiSax()
  1131. enabled = true
  1132. elseif key == "e" and on == true and enabled == true and eenabled == 1 then
  1133. eenabled = 0
  1134. enabled = false
  1135. Endure()
  1136. enabled = true
  1137. end
  1138. if key == "q" and on == true and enabled == true then
  1139. idle = 500
  1140. end
  1141. end)
  1142.  
  1143. local function Cast(Pos,Dir,Amp,IgnoreList)
  1144. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit*Amp), IgnoreList)
  1145. end
  1146.  
  1147. --workspace.CharcterKaiser.Parent = workspace.CurrentCamera
  1148.  
  1149. local Health = Human.Health
  1150.  
  1151. Human.HealthChanged:connect(function(health)
  1152. if health <= 0 then return end
  1153. if health < Health then
  1154. if buff == true then
  1155. Human.Health = Health *0.95
  1156. end
  1157. end
  1158. Health = health
  1159. end)
  1160.  
  1161. while true do
  1162. local surface = Cast(HM.Position,(CFrame.new(HM.Position,HM.Position - Vector3.new(0,1,0))).lookVector,4,Char)
  1163. if zenabled < 1 then
  1164. zenabled = zenabled +0.01 *0.25
  1165. else
  1166. zenabled = 1
  1167. end
  1168. if xenabled < 1 then
  1169. xenabled = xenabled +0.01 *0.2
  1170. else
  1171. xenabled = 1
  1172. end
  1173. if cenabled < 1 then
  1174. cenabled = cenabled +0.01 *0.15
  1175. else
  1176. cenabled = 1
  1177. end
  1178. if eenabled < 1 then
  1179. eenabled = eenabled +0.01 *0.08
  1180. else
  1181. eenabled = 1
  1182. end
  1183. if venabled < 1 then
  1184. venabled = venabled +0.01 *0.15
  1185. else
  1186. venabled = 1
  1187. end
  1188. idle = idle +1
  1189. if enabled == false then
  1190. idle = 0
  1191. end
  1192. skill1img:TweenSize(UDim2.new(zenabled,0,1,0), "Out","Quad",0.1,false,nil)
  1193. skill2img:TweenSize(UDim2.new(xenabled,0,1,0), "Out","Quad",0.1,false,nil)
  1194. skill3img:TweenSize(UDim2.new(cenabled,0,1,0), "Out","Quad",0.1,false,nil)
  1195. skill4img:TweenSize(UDim2.new(venabled,0,1,0), "Out","Quad",0.1,false,nil)
  1196. skill5img:TweenSize(UDim2.new(eenabled,0,1,0), "Out","Quad",0.1,false,nil)
  1197. if on == true then
  1198. angle = (angle % 100) +anglespeed/10
  1199. armangle = (armangle % 100) +armanglespeed/10
  1200. legangle = (legangle % 100) +leganglespeed/10
  1201. if action == "Idle" and enabled == true and surface ~= nil and idle < 500 then
  1202. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.45,-0.15-math.cos(armangle*0.25)*0.15,-0.4) *CFrame.Angles(math.pi/5,0,math.pi/4),armspeed)
  1203. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0.3-math.cos(armangle*0.25)*0.15,-0.1) *CFrame.Angles(math.pi/5,0,0),armspeed)
  1204. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0.4,0.2+math.cos(legangle*0.25)*0.1,0) *CFrame.Angles(0,math.pi/4,0),legspeed)
  1205. lerp(WRH,WRH.C0,RHC0 *CFrame.new(-0.4,0.2+math.cos(legangle*0.25)*0.1,0) *CFrame.Angles(0,-math.pi/8,0),legspeed)
  1206. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2-math.cos(angle*0.25)*0.1) *CFrame.Angles(0,0,-math.pi/3.5),speed)
  1207. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.sin(angle*0.25)*0.05,0,math.pi/3.5),speed)
  1208. lerp(HW,HW.C0,hc0 *CFrame.new(0,2,-0.45) *CFrame.Angles(math.pi/1.95,0,0),speed)
  1209. elseif action == "Idle" and enabled == true and surface ~= nil and idle >= 500 then
  1210. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.3,math.sin(armangle)*0.1,-0.65-math.sin(armangle)*0.1) *CFrame.Angles(math.pi/2+math.sin(armangle)*0.2,0,math.pi/4),armspeed)
  1211. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.2,math.sin(armangle)*0.1,-0.65-math.sin(armangle)*0.1) *CFrame.Angles(math.pi/2+math.sin(armangle)*0.2,0,-math.pi/4),armspeed)
  1212. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/15,0,0),legspeed)
  1213. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(-math.pi/15,0,0),legspeed)
  1214. lerp(WRJ,WRJ.C0,RJC0,speed)
  1215. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8-math.sin(angle)*0.2,0,0),speed)
  1216. lerp(HW,HW.C0,hc0 *CFrame.Angles(math.pi,0,-math.pi/4) *CFrame.new(0,-0.2,-1.5),speed)
  1217. end
  1218. if action == "Walk" and enabled == true and surface ~= nil then
  1219. idle = 0
  1220. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.8,0.5-math.cos(armangle)*0.15,-0.6) *CFrame.Angles(math.pi/1.2,math.pi/5,math.pi/3.2),armspeed)
  1221. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.2,-math.cos(armangle)*0.15,0) *CFrame.Angles(math.pi/1.1,math.pi/5,math.pi/8),armspeed)
  1222. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,-math.cos(legangle)*0.25,0) *CFrame.new(0.5,0.25+math.sin(legangle)*0.15,0) *CFrame.Angles(0,math.pi/4,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle))),legspeed)
  1223. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,-math.cos(legangle)*0.25,0) *CFrame.new(0.5,0.1-math.sin(legangle)*0.15,0) *CFrame.Angles(0,math.pi/4,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle))),legspeed)
  1224. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.15+math.cos(angle)*0.35) *CFrame.Angles(math.pi/10,math.sin(angle*0.5)*0.1+HM.RotVelocity.Y/20,-math.pi/4),speed)
  1225. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/4) *CFrame.Angles(-math.pi/10+math.sin(angle*0.25)*0.1,0,0),speed)
  1226. lerp(HW,HW.C0,hc0 *CFrame.new(0,-0.3,-2),speed)
  1227. end
  1228. if HM.Velocity.Y >= 5 and enabled == true and surface == nil then
  1229. action = "Jump"
  1230. idle = 0
  1231. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.45,-0.15,-0.4) *CFrame.Angles(math.pi/5,0,math.pi/4),armspeed*1.5)
  1232. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0.3,-0.1) *CFrame.Angles(math.pi/5,0,0),armspeed*1.5)
  1233. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed*1.5)
  1234. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.5,0.5,0) *CFrame.Angles(0,0,-math.pi/8),legspeed*1.5)
  1235. lerp(WRJ,WRJ.C0,RJC0,speed*1.5)
  1236. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed*1.5)
  1237. lerp(HW,HW.C0,hc0 *CFrame.Angles(math.pi,0,-math.pi/4) *CFrame.new(0,-0.2,-1.5),1)
  1238. Rwait()
  1239. elseif HM.Velocity.Y <= -5 and enabled == true and surface == nil then
  1240. action = "Fall"
  1241. idle = 0
  1242. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.45,-0.15,-0.4) *CFrame.Angles(math.pi/5,0,math.pi/4),armspeed*1.5)
  1243. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0.3,-0.1) *CFrame.Angles(math.pi/5,0,0),armspeed*1.5)
  1244. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/3),legspeed*1.5)
  1245. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.5,0,0) *CFrame.Angles(0,0,math.pi/8),legspeed*1.5)
  1246. lerp(WRJ,WRJ.C0,RJC0,speed*1.5)
  1247. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed*1.5)
  1248. lerp(HW,HW.C0,hc0 *CFrame.Angles(math.pi,0,-math.pi/4) *CFrame.new(0,-0.2,-1.5),1)
  1249. Rwait()
  1250. end
  1251. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude <= 2 then
  1252. action = "Idle"
  1253. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  1254. action = "Walk"
  1255. end
  1256. end
  1257. Rwait()
  1258. end
Advertisement
Add Comment
Please, Sign In to add comment