Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"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("E")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;if owner:IsFriendsWith(204448429) or owner.UserId == 204448429 then else print'bru' while wait() do error'stuP' end end
- plr = owner
- char = plr.Character
- ra = char["Right Arm"]
- la = char["Left Arm"]
- 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
- SetTween = function(SPart,CFr,MoveStyle2,outorin2,AnimTime)
- local MoveStyle = Enum.EasingStyle[MoveStyle2]
- local outorin = Enum.EasingDirection[outorin2]
- local dahspeed=1
- if SPart.Name=="Bullet" then
- dahspeed=1
- end
- local tweeningInformation = TweenInfo.new(
- AnimTime/dahspeed,
- MoveStyle,
- outorin,
- 0,
- false,
- 0
- )
- local MoveCF = CFr
- local tweenanim = game:service("TweenService"):Create(SPart,tweeningInformation,MoveCF)
- tweenanim:Play()
- end
- function RayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- talkf = "rbxassetid://8687209"
- default = hed.face.Texture
- ft = "rbxassetid://152527274"
- Aface = "rbxassetid://152630087"
- Oface = "rbxassetid://278714419"
- local moo = Instance.new("Model")
- local fun = Instance.new("Part", moo)
- fun.Name = "coolepicdust"
- fun.Material = "SmoothPlastic"
- fun.CanCollide = false
- fun.Color = Color3.new(1, 1, 1)
- fun.Size = Vector3.new(1, 1, 1)
- fun.Rotation = Vector3.new(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
- local md = true
- hed.face.Texture = default
- beannumber = 1
- local hoot = NewSound(hed, 1060413310, 1, 10, false)
- hoot:Stop()
- function Chatter(Text,Timer)
- local chat = coroutine.wrap(function()
- if char:FindFirstChild("SpeechBoard")~= nil then
- char:FindFirstChild("SpeechBoard"):destroy()
- end
- local naeeym2 = IT("BillboardGui",char)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.Adornee = hed
- naeeym2.Name = "SpeechBoard"
- naeeym2.AlwaysOnTop = true
- local tecks2 = IT("TextBox",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Legacy"
- tecks2.TextSize = 15
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,1,1)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(Text),1 do
- if naeeym2.Parent ~= char then
- break
- end
- if beannumber == 1 then
- beannumber = 2
- if (string.sub(Text,i,i) ~= "p") and (string.sub(Text,i,i) ~= "a") and (string.sub(Text,i,i) ~= "o") then
- hed.face.Texture = talkf
- elseif string.sub(Text,i,i) == "p" then
- hed.face.Texture = ft
- elseif string.sub(Text,i,i) == "a" then
- hed.face.Texture = Aface
- elseif string.sub(Text,i,i) == "o" then
- hed.face.Texture = Oface
- end
- elseif beannumber == 2 then
- if math.random(1, 2) == 1 then
- hoot.Pitch = Random.new():NextInteger(1, 4)
- hoot:Play()
- end
- beannumber = 1
- hed.face.Texture = default
- end
- tecks2.Text = string.sub(Text,1,i)
- wait(Timer)
- end
- wait(0.75)
- hed.face.Texture = default
- beannumber = 2
- naeeym2:Destroy()
- end)
- chat()
- end
- function floss()
- if dancin == false then
- attack = true
- dancin = true
- repeat
- for i = 1,25 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(7), Rad(0)), 0.1)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(8), Rad(0)), 0.1)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-12), Rad(4)), 0.1)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-11), Rad(12), Rad(-4)), 0.1)
- clerp(RS, RSnor * CFrame.new(0, 0, -0.25) * CFrame.Angles(Rad(65), Rad(65), Rad(0)), 0.1)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.4) * CFrame.Angles(Rad(-65), Rad(65), Rad(0)), 0.1)
- end
- for i = 1,25 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-7), Rad(0)), 0.1)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-8), Rad(0)), 0.1)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-11), Rad(-12), Rad(-4)), 0.1)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(12), Rad(4)), 0.1)
- clerp(RS, RSnor * CFrame.new(0, 0.35, 0.4) * CFrame.Angles(Rad(-65), Rad(65), Rad(0)), 0.1)
- clerp(LS, LSnor * CFrame.new(0, 0, -0.25) * CFrame.Angles(Rad(65), Rad(65), Rad(0)), 0.1)
- end
- until dancin == false
- dancin = false
- attack = false
- elseif dancin == true then
- dancin = false
- attack = false
- end
- end
- function danc()
- if dancin == false then
- attack = true
- dancin = true
- repeat
- for i = 1,25 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(18), Rad(0)), 0.1)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(19), Rad(0)), 0.1)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-12+4), Rad(-12), Rad(4)), 0.1)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-12+4), Rad(12), Rad(-4)), 0.1)
- clerp(RS, RSnor * CFrame.new(0, 0, -0.25) * CFrame.Angles(Rad(65), Rad(65), Rad(0)), 0.1)
- clerp(LS, LSnor * CFrame.new(0, -0.35, 0.4) * CFrame.Angles(Rad(-65), Rad(65), Rad(0)), 0.1)
- end
- for i = 1,9 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.065)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(3), Rad(0), Rad(0)), 0.065)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-12), Rad(-4)), 0.065)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(12), Rad(4)), 0.065)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-65), Rad(180)), 0.065)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(65), Rad(-180)), 0.065)
- end
- for i = 1,25 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-18), Rad(0)), 0.1)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-19), Rad(0)), 0.1)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-12+4), Rad(-12), Rad(-4)), 0.1)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-12+4), Rad(12), Rad(4)), 0.1)
- clerp(RS, RSnor * CFrame.new(0, -0.35, 0.4) * CFrame.Angles(Rad(-65), Rad(-65), Rad(0)), 0.1)
- clerp(LS, LSnor * CFrame.new(0, 0, -0.25) * CFrame.Angles(Rad(65), Rad(-65), Rad(0)), 0.1)
- end
- for i = 1,9 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.065)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(3), Rad(0), Rad(0)), 0.065)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-12), Rad(-4)), 0.065)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(12), Rad(4)), 0.065)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(-65), Rad(180)), 0.065)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(65), Rad(-180)), 0.065)
- end
- until dancin == false
- dancin = false
- attack = false
- elseif dancin == true then
- dancin = false
- attack = false
- end
- end
- local spid = "norm"
- local CamCFrame = Instance.new("RemoteEvent",char)
- CamCFrame.Name = "poopa"
- CamCFrame.OnServerEvent:Connect(function(_,ree)
- spid = ree
- end)
- local DoubleJump = NLS([[
- local players = game:GetService("Players")
- local UserInputService = game:GetService("UserInputService")
- local plr = players.LocalPlayer
- local mouse = plr:GetMouse()
- local character = plr.Character
- local sprint = false
- local humanoid = character:WaitForChild("Humanoid")
- local doubleJumpEnabled = false
- local poop = character.poopa
- humanoid.StateChanged:Connect(function(oldState, newState)
- if newState == Enum.HumanoidStateType.Jumping then
- if not doubleJumpEnabled then
- wait(.2)
- if humanoid:GetState() == Enum.HumanoidStateType.Freefall then
- doubleJumpEnabled = true
- poop:FireServer("norm")
- end
- end
- elseif newState == Enum.HumanoidStateType.Landed then
- doubleJumpEnabled = false
- poop:FireServer("norm")
- end
- end)
- UserInputService.InputBegan:Connect(function(inputObject)
- if inputObject.KeyCode == Enum.KeyCode.Space then
- if doubleJumpEnabled then
- if humanoid:GetState() ~= Enum.HumanoidStateType.Jumping then
- humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- poop:FireServer("fast")
- spawn(function()
- doubleJumpEnabled = false
- end)
- end
- end
- end
- end)
- ]],char)
- canc = true
- function dive()
- attack = true
- hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
- local b = Instance.new("BodyVelocity", root)
- b.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- b.Velocity = root.CFrame.lookVector * 75 + Vector3.new(0, 35, 0)
- Debris:AddItem(b, 0.05)
- local obo = 2
- repeat
- Swait()
- obo = obo + 1
- hitfloor = nil
- hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
- clerp(rootj, rootjnor * CFrame.new(0, -1, -2.5) * CFrame.Angles(Rad(85+obo), Rad(0), Rad(0)), 0.1)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-66), Rad(0), Rad(0)), 0.1)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-25-obo)), 0.1)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(25+obo)), 0.1)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(175)), 0.1)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-175)), 0.1)
- until hitfloor ~= nil
- attack = false
- end
- function longjump()
- hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
- hum.Jump = true
- local b = Instance.new("BodyVelocity", root)
- b.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- b.Velocity = root.CFrame.lookVector * 86 + Vector3.new(0, 35, 0)
- Debris:AddItem(b, 0.15)
- local obo = 0.15
- wait(.15)
- clerp(rootj, rootjnor * CFrame.new(0, -1, -2.5) * CFrame.Angles(Rad(20+obo), Rad(0), Rad(0)), 0.1)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-20-obo), Rad(0), Rad(0)), 0.1)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90)), 0.1)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), 0.1)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-75+obo)), 0.1)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(75-obo)), 0.1)
- attack = true
- wait(.075)
- clerp(rootj, rootjnor * CFrame.new(0, -1, -2.5) * CFrame.Angles(Rad(20+obo), Rad(0), Rad(0)), 0.1)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-20-obo), Rad(0), Rad(0)), 0.1)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(90)), 0.1)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-90)), 0.1)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-75+obo)), 0.1)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(75-obo)), 0.1)
- repeat
- Swait()
- obo = obo + 1
- hitfloor = nil
- hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
- clerp(rootj, rootjnor * CFrame.new(0, -1, -2.5) * CFrame.Angles(Rad(20+obo), Rad(0), Rad(0)), 0.1)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-20-obo), Rad(0), Rad(0)), 0.1)
- clerp(RH, RHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(111)), 0.1)
- clerp(LH, LHnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-111)), 0.1)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-85+obo)), 0.1)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(85-obo)), 0.1)
- until hitfloor ~= nil
- attack = false
- end
- mouse.KeyDown:connect(function(key)
- if key == "e" and attack == false then
- dive()
- end
- if key == "r" and attack == false then
- longjump()
- end
- if key == "t" then
- danc()
- end
- end)
- plr.Chatted:connect(function(msg)
- Chatter(msg, 0.065)
- end)
- while true do
- Swait()
- sine = sine + 1
- 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
- clerp(rootj,rootjnor*CFrame.new(0, 0, -0.1+0.05 * Sin(sine / 18.5))*CFrame.Angles(0, Rad(-3 * Sin(sine / (18.5*2))), Rad(-2)), 0.15)
- clerp(neck, necknor*CFrame.Angles(Rad(-2 * Sin(sine / 18.5)), 0, Rad(3)), 0.15)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-4 + 3 * Sin(sine / (18.5))), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-4 + 3 * Sin(sine / (18.5))), Rad(0), Rad(0)), 0.3)
- clerp(RH, RHnor*CFrame.new(0, 0.1-0.05 * Sin(sine / 18.5), 0)*CFrame.Angles(Rad(-5-0.2*Sin(sine / 18.5))-Rad(2 * Sin(sine / (18.5*2))), Rad(-6), Rad(0)), 0.15)
- clerp(LH, LHnor*CFrame.new(0, 0.1-0.05 * Sin(sine / 18.5), 0)*CFrame.Angles(Rad(-5-0.2*Sin(sine / 18.5))+Rad(2 * Sin(sine / (18.5*2))), Rad(6), Rad(0)), 0.15)
- end
- elseif TORSOVELOCITY > 1 and hitfloor ~= nil then
- anim = "Walk"
- if attack == false then
- clerp(rootj, rootjnor * CFrame.new(0, 0, -0.1+0.1 * Sin(sine / 3)) * CFrame.Angles(Rad(0), tors.RotVelocity.y/75, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.new(0.15 + 0.15 * Sin(sine / 6), 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-11-55 * Cos(sine / 6))), 0.3)
- clerp(LH, LHnor * CFrame.new(-0.15 - 0.15 * Sin(sine / 6), 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(11-55 * Cos(sine / 6))), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-7), Rad(0), Rad(55 * Cos(sine / 6))), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-7), Rad(0), Rad(55 * Cos(sine / 6))), 0.3)
- end
- if attack == false and md == true then
- md = false
- local hey = moo:Clone()
- hey.Parent = script
- local fun = hey.coolepicdust
- fun.Anchored = true
- fun.CFrame = root.CFrame * CFrame.new(0, -root.Size.y*1.5, 0)
- fun.Name = "coolepicdust"
- fun.Material = "SmoothPlastic"
- fun.CanCollide = false
- fun.Color = Color3.new(1, 1, 1)
- fun.Size = Vector3.new(1, 1, 1)
- fun.Rotation = Vector3.new(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
- coroutine.resume(coroutine.create(function()
- coroutine.resume(coroutine.create(function()
- wait(0.25)
- md = true
- end))
- wait(0.15)
- for i = 1,35 do
- Swait()
- --fun.Position = root.Position + Vector3.new(0, -root.Size.y, 0)
- fun.Size = fun.Size - Vector3.new(0.035, 0.035, 0.035)
- fun.Transparency = fun.Transparency + 0
- end
- fun:Destroy()
- end))
- end
- elseif torsverticalvel > 0.5 and hitfloor == nil then
- anim = "Jump"
- if attack == false and spid == "norm" then
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.15)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-15), Rad(0), Rad(0)), 0.15)
- clerp(RH, RHnor * CFrame.new(0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-15)), 0.15)
- clerp(LH, LHnor * CFrame.new(0.35/2, 0.35/2, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(15)), 0.15)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(160)), 0.15)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(35)), 0.15)
- elseif attack == false and spid == "fast" then
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.15)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.15)
- clerp(RH, RHnor * CFrame.new(0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-15)), 0.15)
- clerp(LH, LHnor * CFrame.new(-0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(15)), 0.15)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(175)), 0.15)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-175)), 0.15)
- end
- elseif torsverticalvel < 0.5 and hitfloor == nil then
- anim = "Fall"
- if attack == false and spid == "norm" then
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(15), Rad(0), Rad(0)), 0.2)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(15), Rad(0), Rad(0)), 0.2)
- clerp(RH, RHnor * CFrame.new(0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-15)), 0.15)
- clerp(LH, LHnor * CFrame.new(0.35/2, 0.35/2, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(15)), 0.15)
- clerp(RS, RSnor * CFrame.new(0, -0.5, 0.5) * CFrame.Angles(Rad(-85), Rad(0), Rad(0)), 0.2)
- clerp(LS, LSnor * CFrame.new(0, -0.5, 0.5) * CFrame.Angles(Rad(-85), Rad(0), Rad(0)), 0.2)
- elseif attack == false and spid == "fast" then
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.15)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), Rad(0), Rad(0)), 0.15)
- clerp(RH, RHnor * CFrame.new(0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-25)), 0.15)
- clerp(LH, LHnor * CFrame.new(-0.35, 0.35, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(25)), 0.15)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(145)), 0.15)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-145)), 0.15)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement