Piyangkoon

robbie rotten

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