Advertisement
Axprotss

We are number one! FE (Roblox script)

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