Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("faux")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
- plr = owner
- char = plr.Character
- ra = char["Right Arm"]
- la = char["Left Arm"]
- rl = char["Right Leg"]
- ll = char["Left Leg"]
- hed = char.Head
- root = char.HumanoidRootPart
- hum = char.Humanoid
- dancin = false
- clerp = function(toclerp, cf, number)
- local joint = toclerp
- joint.C0 = joint.C0:Lerp(cf, number)
- end
- clerp2 = function(toclerp, cf)
- local joint = toclerp
- joint.C0 = cf
- end
- clerp3 = function(toclerp, cf, number)
- local joint = toclerp
- joint.C1 = joint.C1:Lerp(cf, number)
- end
- Swait,swait = function(number)
- if number == 0 or number == nil then
- game:GetService("RunService").Heartbeat:Wait()
- else
- for i = 1,number do
- game:GetService("RunService").Heartbeat:Wait()
- end
- end
- end
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- NewSound = function(p, id, pit, vol, loop)
- local Sound = Instance.new("Sound",p)
- Sound.Pitch = pit
- Sound.Volume = vol
- Sound.SoundId = "rbxassetid://" ..id
- Sound.Looped = loop
- Sound:Play()
- return Sound
- end
- IT = Instance.new
- Rad = math.rad
- Cos = math.cos
- Sin = math.sin
- BrickC = BrickColor.new
- C3 = Color3.new
- VT = Vector3.new
- anim = "Idle"
- attack = false
- local RS = char.Torso["Right Shoulder"]
- local LS = char.Torso["Left Shoulder"]
- local RH = char.Torso["Right Hip"]
- local LH = char.Torso["Left Hip"]
- local neck = char.Torso["Neck"]
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local sine = 0
- local RSnor = RS.C0
- local LSnor = LS.C0
- local RHnor = RH.C0
- local LHnor = LH.C0
- local RSnor2 = RS.C1
- local LSnor2 = LS.C1
- local RHnor2 = RH.C1
- local LHnor2 = LH.C1
- local rootjnor = rootj.C0
- local necknor = neck.C0
- local tors = char.Torso
- hum.Animator:remove()
- mouse = plr:GetMouse()
- hold = false
- Debris = game:GetService("Debris")
- sped = 16
- keyhold = false
- spino = 0
- hito = true
- shield = false
- function RayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function shine()
- shield = true
- local s = Instance.new("Sound", root)
- s.SoundId = "rbxassetid://277550780"
- s.Volume = 7
- s:Play()
- Debris:AddItem(s, 1.5)
- attack = true
- keyhold = true
- root.Anchored = false
- local sur = Instance.new("BillboardGui", root)
- sur.Name = "Billboard"
- sur.Adornee = root
- sur.Size = UDim2.new(10, 0, 7, 0)
- sur.StudsOffset = Vector3.new(2.5, 0, 0)
- local text = Instance.new("ImageLabel", sur)
- text.Image = "rbxassetid://325545755"
- text.Size = UDim2.new(0.5, 0, 0.75, 0)
- text.BackgroundTransparency = 1
- shield = true
- coroutine.resume(coroutine.create(function()
- repeat
- Swait(1)
- root.Velocity = Vector3.new(0, 0, 0)
- until keyhold == false
- end))
- sped = 0
- local shield2 = Instance.new("Part", char)
- shield2.Transparency = 1
- shield2.CFrame = root.CFrame * CFrame.new(0, 0, 0)
- shield2.Size = Vector3.new(4, 4, 4)
- shield2.CanCollide = false
- shield2.Anchored = false
- local weld = ezweld(char, shield2, root, CFrame.new())
- shield2.Touched:connect(function(hit)
- for i,v in pairs (hit:GetDescendants()) do
- if v:IsA("BodyVelocity") then
- v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- v.Velocity = hit.CFrame.lookVector * -50
- end
- local ack = hit
- ack.Touched:connect(function(hit)
- if ack.Name ~= "HumanoidRootPart" and hit.Parent ~= char and ack:FindFirstChildOfClass("BodyVelocity") then
- for i,v in pairs (hit.Parent:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 10
- ack:remove()
- end
- end
- end
- end)
- hum.Health = hp
- hp = hum.Health
- end
- end)
- repeat
- text.ImageTransparency = 0
- sped = 0
- wait(0.05)
- text.ImageTransparency = 0.25
- wait(0.05)
- sped = 0
- until keyhold == false
- shield2:remove()
- shield = false
- sped = 16
- sur:remove()
- root.Anchored = false
- keyhold = false
- attack = false
- shield = false
- end
- function gun()
- local s = Instance.new("Sound", la) s.SoundId = "rbxassetid://142072239" s.Volume = 3 s:Play() Debris:AddItem(s, 1.5)
- attack = true
- for i = 1,8 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-90)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(90)), 0.4)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.4)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.4)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.4)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-90), Rad(0), Rad(0)), 0.4)
- end
- local pew = Instance.new("Part", char)
- pew.CanCollide = false
- pew.Size = Vector3.new(0.25, 0.25, 2)
- pew.Color = Color3.new(1, 0, 0)
- pew.Transparency = 0.25
- pew.Material = "Neon"
- pew.CFrame = root.CFrame * CFrame.new(0, 1, -0.75)
- pew.Touched:connect(function(hit)
- local dud = hit.Parent
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 5
- pew:remove()
- end
- end
- end
- end)
- local bv = Instance.new("BodyVelocity", pew)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = pew.CFrame.lookVector * 50
- attack = false
- end
- function SpeedDashEffect(chara)
- fakecharthing = Instance.new("Model",chara)
- for _,v in pairs (chara:children()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- local cloney = v:Clone()
- cloney.Material = "Glass"
- cloney.Anchored = true
- cloney.CanCollide = false
- cloney.BrickColor = BrickColor.new("Cyan")
- cloney.Transparency = 0.5
- cloney.Parent = fakecharthing
- cloney:ClearAllChildren()
- cloney:BreakJoints()
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 1,15 do
- Swait()
- for _,v in pairs (fakecharthing:children()) do
- if v:IsA("Part") then
- v.Transparency = v.Transparency + 0.05
- end
- end
- end
- end))
- Debris:AddItem(fakecharthing, 0.5)
- end
- hp = hum.Health
- hum.HealthChanged:connect(function()
- if hum.Health < hp and shield == true and hum.Health > 0 then
- hum.Health = hp
- end
- hp = hum.Health
- end)
- function woosh()
- attack = true
- root.Anchored = true
- local hitb1 = rl.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or char:FindFirstChildOfClass("Head")
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 15
- v.Sit = true
- end
- end
- if torso then
- local bv = Instance.new("BodyVelocity", torso)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = Vector3.new(0, -45, 0)
- Debris:AddItem(bv, 0.1)
- end
- end
- end)
- local hitb2 = ll.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or char:FindFirstChildOfClass("Head")
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 15
- v.Sit = true
- end
- end
- if torso then
- local bv = Instance.new("BodyVelocity", torso)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = Vector3.new(0, -45, 0)
- Debris:AddItem(bv, 0.1)
- end
- end
- end)
- local hitb3 = root.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or char:FindFirstChildOfClass("Head")
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 15
- v.Sit = true
- end
- end
- if torso then
- local bv = Instance.new("BodyVelocity", torso)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = Vector3.new(0, 35, 0)
- Debris:AddItem(bv, 0.1)
- end
- end
- end)
- for i = 1,9 do
- Swait()
- SpeedDashEffect(char)
- root.CFrame = root.CFrame * CFrame.new(0, 0, -2.5)
- end
- hitb3:disconnect()
- hitb2:disconnect()
- hitb1:disconnect()
- root.Anchored = false
- attack = false
- end
- function fiya()
- attack = true
- tors.Anchored = true
- local ea = Instance.new("Part", char)
- ea.Transparency = 1
- ea.CanCollide = false
- ea.Size = Vector3.new(0.1, 0.1, 0.1)
- ea.Anchored = true
- ea.CFrame = CFrame.new(tors.Position, mouse.Hit.p)
- local fire = Instance.new("Fire", ea)
- fire.Size = 11
- for i = 1,15 do
- Swait()
- end
- for i = 1,15 do
- Swait()
- tors.CFrame = ea.CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(0, Rad(-3), 0)
- ea.CFrame = tors.CFrame
- end
- fire.Enabled = false
- Debris:AddItem(ea, 3.5)
- tors.Anchored = false
- attack = false
- end
- function smack()
- local hitbox = la.Touched:connect(function(hit)
- local dud = hit.Parent
- local torso = dud:FindFirstChild("Torso") or char:FindFirstChildOfClass("Head")
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 0.1
- v.Sit = false
- end
- end
- if torso then
- torso.CFrame = torso.CFrame * CFrame.Angles(Rad(45), 0, Rad(0))
- local bv = Instance.new("BodyVelocity", torso)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = torso.CFrame.lookVector * 15
- Debris:AddItem(bv, 0.1)
- end
- end
- end)
- for i = 1,10 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-90)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(90)), 0.4)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.4)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.4)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.4)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-90), Rad(0), Rad(0)), 0.4)
- end
- hitbox:disconnect()
- end
- function parti()
- if dancin then
- dancin = false
- else
- dancin = true
- attack = true
- local yus = NewSound(hed, 2532792635, 1.25, 10, true)
- local flinge = Instance.new("FlangeSoundEffect", yus)
- flinge.Rate = 8
- repeat
- Swait()
- for i = 1,5 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-65)), 0.9)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(0)), 0.9)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- for i = 1,5 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(65)), 0.9)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(0)), 0.9)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- until dancin == false
- flinge:remove()
- yus:remove()
- attack = false
- dancin = false
- end
- end
- function zooweemama()
- attack = true
- local zoo = NewSound(hed, 1021665529, 1, 10, false)
- zoo.TimePosition = 6.5
- repeat
- Swait()
- for i = 1,5 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-65)), 0.9)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(0)), 0.9)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- for i = 1,5 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(65)), 0.9)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(0)), 0.9)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- until zoo.Playing == false
- zoo:remove()
- attack = false
- end
- dust = Instance.new("ParticleEmitter", nil)
- mouse.Button1Down:connect(function()
- smack()
- end)
- mouse.KeyDown:connect(function(key)
- if key == "b" then
- shine()
- end
- if key == "c" then
- woosh()
- end
- if key == "v" then
- fiya()
- end
- if key == "z" then
- gun()
- end
- if key == "t" then
- parti()
- end
- if key == "y" then
- zooweemama()
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "b" then
- keyhold = false
- end
- end)
- while true do
- Swait()
- sine = sine + 1
- spino = spino + Rad(45)
- hum.JumpPower = 70
- hum.WalkSpeed = sped
- local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
- local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
- local WALKSPEEDVALUE = 8 / (sped / 16)
- torsverticalvel = root.Velocity.y
- hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
- if TORSOVELOCITY < 1 and hitfloor ~= nil then
- anim = "Idle"
- if attack == false then
- sped = 17.5
- dust.Enabled = false
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-65)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(65)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- elseif TORSOVELOCITY > 1 and hitfloor ~= nil then
- anim = "Walk"
- if attack == false then
- sped = 34
- dust.Enabled = false
- if sped < 65 then
- local heeh = 6
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-65)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(65)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- elseif sped > 64 then
- local heeh = 2
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-65)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(65)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- end
- elseif torsverticalvel > 0.5 and hitfloor == nil then
- anim = "Jump"
- if not hed:FindFirstChild("jump") then
- --[[
- local jump = Instance.new("Sound", hed)
- jump.Name = "jump"
- jump.SoundId = "rbxassetid://130782425"
- jump.Volume = 1
- jump:Play()
- Debris:AddItem(jump, 0.5)
- ]]--
- end
- if attack == false then
- sped = sped
- dust.Enabled = false
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-65)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(65)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- elseif torsverticalvel < 0.5 and hitfloor == nil then
- anim = "Fall"
- if attack == false then
- sped = sped
- dust.Enabled = false
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(-65)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(65)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(-35), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-17), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(-0.1, -0.15 - 0.025 * Cos(sine / 12), 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.5) * CFrame.Angles(Rad(-105), Rad(0), Rad(0)), 0.3)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement