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
- do
- print("FE Compatibility code by Mokiros")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- ------------------
- --Basic Fighting--
- ------------------
- --By CKbackup--
- ---------------
- player = game.Players.LocalPlayer
- mouse = player:GetMouse()
- chara = player.Character
- equipped = false
- del = false
- attacking = false
- atkd = false
- hum = chara:FindFirstChildOfClass("Humanoid")
- debby = game.Debris
- ws = 16
- if hum.WalkSpeed > 16 then
- ws = hum.WalkSpeed
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.03333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num*30 do
- ArtificialHB.Event:wait()
- end
- end
- end
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- RightArm = New("Model",chara,"RightArm",{})
- MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
- Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
- Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- LeftArm = New("Model",chara,"LeftArm",{})
- MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
- Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
- Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- lach = LeftArm:GetChildren()
- rach = RightArm:GetChildren()
- local pemit = Instance.new("ParticleEmitter")
- pemit.Enabled = false
- pemit.Color = ColorSequence.new(Color3.new(255,255,0))
- pemit.LightEmission = 1
- pemit.Size = NumberSequence.new(1.5,0)
- pemit.Texture = "http://www.roblox.com/asset/?id=243098098"
- pemit.Lifetime = NumberRange.new(.2)
- pemit.Rate = 100
- pemit.Rotation = NumberRange.new(0,360)
- pemit.Speed = NumberRange.new(0)
- local p1 = pemit:Clone()
- p1.Parent = EmitPart
- local p2 = pemit:Clone()
- p2.Parent = Emit2Part
- local p3 = pemit:Clone()
- p3.Parent = chara["Right Leg"]
- p3.Rate = 10000
- local p4 = pemit:Clone()
- p4.Parent = chara["Left Leg"]
- p4.Rate = 10000
- --Sounds--
- function LoadSnd(id,loop,vol,pit)
- local snd = New("Sound",chara.Head,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
- return snd
- end
- Swing2Snd = LoadSnd(536642316,false,1,1)
- HitPunchSnd = LoadSnd(153092227,false,1,1)
- HitHamonSnd = LoadSnd(260433624,false,1,1)
- HamonSnd = LoadSnd(876570589,false,1,1)
- SHamonSnd = LoadSnd(379557765,true,.5,1)
- --Play Sound in Part--
- function PlaySnd(snd,part)
- local sound = snd:Clone()
- sound.PlayOnRemove = true
- sound.Parent = part
- sound:Destroy()
- end
- maincol = "White"
- function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
- local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
- local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
- local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
- return TEff
- end
- RPunchT = CreateTrailObj(chara["Right Arm"],"White","White",0,0)
- LPunchT = CreateTrailObj(chara["Left Arm"],"White","White",0,0)
- RKickT = CreateTrailObj(chara["Right Leg"],"White","White",0,0)
- LKickT = CreateTrailObj(chara["Left Leg"],"White","White",0,0)
- --Punch Hit Effect--
- function PunchEff(pos)
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new(maincol)
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = pos
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- coroutine.resume(coroutine.create(function()
- for i = 0,1,.05 do
- swait()
- p.Transparency = i
- pm.Scale = Vector3.new(2*i,2*i,2*i)
- end
- swait()
- p:Destroy()
- end))
- end
- --Damage Function--
- function dealdmg(dude,damage,env,toim,kby,kbx)
- coroutine.resume(coroutine.create(function()
- if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
- finaldmg = damage + math.random(-env,env)
- dudehum = dude:FindFirstChildOfClass("Humanoid")
- dudehum.MaxHealth = 100
- dudehum.Health = dudehum.Health - finaldmg
- local vall = Instance.new("ObjectValue",dude)
- vall.Name = "IsHit"
- game.Debris:AddItem(vall,toim)
- local bfos = Instance.new("BodyVelocity",dude.Head)
- bfos.P = 20000
- bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P)
- bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx
- game.Debris:AddItem(bfos,.1)
- local naeeym2 = Instance.new("BillboardGui",dude)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = dude.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = "-"..finaldmg
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,0.6,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- for i = 1, 5 do
- wait(.1)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end
- end))
- end
- --Explode Hitbox--
- function ExHitbox(rad,pos,damage,env,toim,kby,kbx)
- local E = Instance.new("Explosion")
- E.Position = pos
- E.Parent = game.Workspace
- E.BlastRadius = rad
- E.BlastPressure = 0
- E.Visible = false
- E.Hit:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
- dealdmg(hit.Parent,damage,env,toim,kby,kbx)
- end
- end)
- end
- --Punch Touch--
- dela = .5
- punchactive = false
- function punchhit(hit)
- if punchactive == true then
- if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- dealdmg(hit.Parent,15,2,dela,0,5)
- PlaySnd(HitPunchSnd,hit.Parent.Head)
- if maincol == "New Yeller" then
- PlaySnd(HitHamonSnd,hit.Parent.Head)
- end
- PunchEff(hit.CFrame)
- end
- end
- end
- Emit2Part.Touched:connect(punchhit)
- EmitPart.Touched:connect(punchhit)
- --Kick Touch--
- kickactive = false
- function kickhit(hit)
- if kickactive == true then
- if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- PlaySnd(HitPunchSnd,hit.Parent.Head)
- PunchEff(hit.CFrame)
- if maincol == "New Yeller" then
- PlaySnd(HitHamonSnd,hit.Parent.Head)
- end
- dealdmg(hit.Parent,20,2,dela,0,20)
- end
- end
- end
- chara["Right Leg"].Touched:connect(kickhit)
- chara["Left Leg"].Touched:connect(kickhit)
- --Chat Function--
- function chatfunc(text)
- coroutine.resume(coroutine.create(function()
- if chara:FindFirstChild("TalkingBillBoard")~= nil then
- chara:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- 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)
- coroutine.resume(coroutine.create(function()
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- swait(0.01)
- end
- swait(1)
- for i = 1, 5 do
- swait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end))
- end))
- end
- function onChatted(msg)
- --chatfunc(msg)
- if msg == "Hamon!" then
- HamonSnd:Play()
- maincol = "New Yeller"
- for i = 0,.1,.01 do
- swait()
- EmitPart.Transparency = 1-i
- Emit2Part.Transparency = 1-i
- end
- p1.Enabled = true
- p2.Enabled = true
- RPunchT.Color = ColorSequence.new(Color3.new(1,1,0))
- LPunchT.Color = ColorSequence.new(Color3.new(1,1,0))
- RKickT.Color = ColorSequence.new(Color3.new(1,1,0))
- LKickT.Color = ColorSequence.new(Color3.new(1,1,0))
- elseif msg == "Hamon off." then
- maincol = "White"
- p1.Enabled = false
- p2.Enabled = false
- for i = .9,1,.01 do
- swait()
- EmitPart.Transparency = i
- Emit2Part.Transparency = i
- end
- RPunchT.Color = ColorSequence.new(BrickColor.new("White").Color)
- LPunchT.Color = ColorSequence.new(BrickColor.new("White").Color)
- RKickT.Color = ColorSequence.new(BrickColor.new("White").Color)
- LKickT.Color = ColorSequence.new(BrickColor.new("White").Color)
- end
- end
- player.Chatted:connect(onChatted)
- --Clerp Animations--
- TC = chara.HumanoidRootPart.RootJoint
- HC = chara.Torso.Neck
- RAC = chara.Torso["Right Shoulder"]
- LAC = chara.Torso["Left Shoulder"]
- RLC = chara.Torso["Right Hip"]
- LLC = chara.Torso["Left Hip"]
- TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW = Instance.new("Weld",HC.Parent)
- RW.Part1 = HC.Parent
- RW.Part0 = chara["Right Arm"]
- RW.C0 = RWF
- LW = Instance.new("Weld",HC.Parent)
- LW.Part1 = HC.Parent
- LW.Part0 = chara["Left Arm"]
- LW.C0 = LWF
- RLW = nil
- LLW = nil
- grp = Instance.new("Model",chara)
- function AddLegWelds()
- RLW = Instance.new("Weld",chara["Right Leg"])
- RLW.Part1 = HC.Parent
- RLW.Part0 = chara["Right Leg"]
- RLW.C0 = RLWF
- LLW = Instance.new("Weld",chara["Left Leg"])
- LLW.Part1 = HC.Parent
- LLW.Part0 = chara["Left Leg"]
- LLW.C0 = LLWF
- end
- function DestroyLegWelds()
- RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
- LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
- RLW:Destroy()
- LLW:Destroy()
- end
- function clerp(a,b,c)
- return a:lerp(b,c)
- end
- ITCF = TCF
- IHCF = HCF
- IRWF = RWF
- ILWF = LWF
- function res()
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- end
- res()
- --Flip--
- function Flip()
- del = true
- res()
- hum.WalkSpeed = 0
- AddLegWelds()
- Swing2Snd:Play()
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i)
- RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
- LW.C0 = clerp(ILWF,LWF,.4+i)
- RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.4+i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
- end
- local bf = Instance.new("BodyVelocity",chara.Torso)
- bf.P = 100000
- bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
- bf.Velocity = Vector3.new(0,60,0) + chara.HumanoidRootPart.CFrame.lookVector*30
- debby:AddItem(bf,.5)
- for i = 0,1,.25 do
- swait()
- TC.C0 = clerp(TCF - Vector3.new(0,1,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i)
- RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
- LW.C0 = clerp(LWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
- LLW.C0 = clerp((LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),LLWF,i)
- end
- bf.MaxForce = Vector3.new(bf.P,0,bf.P)
- for i = 0,1,.25 do
- swait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),i)
- end
- swait(.5)
- bf:Destroy()
- for i = 0,1,.25 do
- swait()
- TC.C0 = clerp(TCF,TCF - Vector3.new(0,1,0),i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
- RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),i)
- LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),LWF,i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i)
- end
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i)
- RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
- LW.C0 = clerp(ILWF,LWF,.6-i)
- RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.6-i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.6-i)
- end
- DestroyLegWelds()
- res()
- hum.WalkSpeed = ws
- walking = false
- del = false
- end
- function BackFlip()
- del = true
- res()
- hum.WalkSpeed = 0
- AddLegWelds()
- Swing2Snd:Play()
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i)
- RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i)
- LW.C0 = clerp(ILWF,LWF,.4+i)
- RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.4+i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i)
- end
- local bf = Instance.new("BodyVelocity",chara.Torso)
- bf.P = 100000
- bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
- bf.Velocity = Vector3.new(0,60,0) + chara.HumanoidRootPart.CFrame.lookVector*-30
- for i = 0,1,.25 do
- swait()
- TC.C0 = clerp(TCF - Vector3.new(0,1,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i)
- RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
- LW.C0 = clerp(LWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
- LLW.C0 = clerp((LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),LLWF,i)
- end
- bf.MaxForce = Vector3.new(bf.P,0,bf.P)
- for i = 0,1,.25 do
- swait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i)
- end
- swait(.5)
- bf:Destroy()
- for i = 0,1,.25 do
- swait()
- TC.C0 = clerp(TCF,TCF - Vector3.new(0,1,0),i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i)
- RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),i)
- LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),LWF,i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i)
- end
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i)
- RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i)
- LW.C0 = clerp(ILWF,LWF,.6-i)
- RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.6-i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.6-i)
- end
- DestroyLegWelds()
- res()
- hum.WalkSpeed = ws
- walking = false
- del = false
- end
- --Keys--
- combo = 0
- function onKeyDown(key)
- if del == false then
- if key == "r" then
- BackFlip()
- elseif key == "t" then
- Flip()
- end
- end
- end
- function onButton1Down()
- if del == false then
- del = true
- torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(0,1,0)).magnitude
- res()
- if torvel > 3 then
- Swing2Snd:Play()
- kickactive = true
- RKickT.Enabled = true
- if maincol == "New Yeller" then
- SHamonSnd:Play()
- p3.Enabled = true
- end
- AddLegWelds()
- for i = 0,1,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i)
- LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i)
- end
- for i = 0,1,.2 do
- swait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),i)
- end
- DestroyLegWelds()
- kickactive = false
- RKickT.Enabled = false
- p3.Enabled = false
- SHamonSnd:Stop()
- elseif torvel < 3 then
- if combo == 0 then
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- swait(.1)
- Swing2Snd:Play()
- punchactive = true
- LPunchT.Enabled = true
- if maincol == "New Yeller" then
- SHamonSnd:Play()
- end
- for i = 0,.6,.3 do
- swait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),TCF,.4+i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),HCF,.4+i)
- LW.C0 = clerp((LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i)
- end
- LW.C0 = (LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- end
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
- swait(.1)
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.6-i)
- end
- punchactive = false
- LPunchT.Enabled = false
- SHamonSnd:Stop()
- combo = 1
- elseif combo == 1 then
- hum.WalkSpeed = 0
- AddLegWelds()
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
- RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i)
- end
- swait(.1)
- Swing2Snd:Play()
- kickactive = true
- RKickT.Enabled = true
- if maincol == "New Yeller" then
- SHamonSnd:Play()
- p3.Enabled = true
- end
- local bfos = Instance.new("BodyVelocity",chara.HumanoidRootPart)
- bfos.P = 10000
- bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
- bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200
- debby:AddItem(bfos,.1)
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
- LLW.C0 = clerp(LLWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),LLWF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i)
- RLW.C0 = clerp((RLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),(RLWF - Vector3.new(0,1,1))*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i)
- end
- swait(.3)
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),ITCF,.4+i)
- HC.C0 = clerp(HCF,IHCF,.4+i)
- LLW.C0 = clerp(LLWF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),LLWF,.4+i)
- RLW.C0 = clerp((RLWF - Vector3.new(0,1,1))*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i)
- end
- DestroyLegWelds()
- kickactive = false
- RKickT.Enabled = false
- p3.Enabled = false
- SHamonSnd:Stop()
- combo = 2
- elseif combo == 2 then
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i)
- end
- swait(.1)
- Swing2Snd:Play()
- punchactive = true
- RPunchT.Enabled = true
- if maincol == "New Yeller" then
- SHamonSnd:Play()
- end
- for i = 0,.6,.3 do
- swait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),TCF,.4+i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),HCF,.4+i)
- LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i)
- RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- swait(.1)
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- punchactive = false
- RPunchT.Enabled = false
- SHamonSnd:Stop()
- combo = 3
- elseif combo == 3 then
- hum.WalkSpeed = 0
- AddLegWelds()
- for i = 0,.6,.2 do
- swait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- HC.C0 = clerp(IHCF,HCF,.4+i)
- LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-60)),.4+i)
- RLW.C0 = clerp(RLWF,RLWF*CFrame.fromEulerAnglesXYZ(0,0,math.rad(60)),.4+i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i)
- end
- Swing2Snd:Play()
- kickactive = true
- LKickT.Enabled = true
- if maincol == "New Yeller" then
- SHamonSnd:Play()
- p4.Enabled = true
- end
- local bfos = Instance.new("BodyVelocity",chara.HumanoidRootPart)
- bfos.P = 10000
- bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P)
- bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200
- debby:AddItem(bfos,.1)
- for i = 0,.6,.1 do
- swait()
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-100)),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90)),.4+i)
- end
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90))
- swait(.2)
- for i = 0,.6,.1 do
- swait()
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF,.6-i)
- LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-60)),.6-i)
- RLW.C0 = clerp(RLWF,RLWF*CFrame.fromEulerAnglesXYZ(0,0,math.rad(60)),.6-i)
- LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.6-i)
- end
- DestroyLegWelds()
- kickactive = false
- LKickT.Enabled = false
- p4.Enabled = false
- SHamonSnd:Stop()
- combo = 0
- end
- end
- res()
- hum.WalkSpeed = ws
- walking = false
- del = false
- end
- end
- if mouse then
- mouse.Button1Down:connect(onButton1Down)
- mouse.KeyDown:connect(onKeyDown)
- end
- --Loop Function--
- walking = false
- toim = 0
- while true do
- swait()
- toim = toim + .1
- if del == false then attacking = false elseif del == true then attacking = true end
- if atkd == true then
- TC.C0 = TCF
- HC.C0 = HCF
- RW.C0 = RWF
- LW.C0 = LWF
- atkd = false
- end
- if atkdd == true then
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- atkdd = false
- end
- torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
- if torvel < 1 and walking == true and del == false and atkd == false and attacking == false then
- for i = 0,1,.25 do
- swait(.001)
- if del == false and attacking == false then
- TC.C0 = clerp(TCF,ITCF,i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,i)
- RW.C0 = clerp((RWF - Vector3.new(-1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(45)),IRWF,i)
- LW.C0 = clerp((LWF - Vector3.new(1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(-45)),ILWF,i)
- end
- end
- walking = false
- elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false then
- for i = 0,1,.25 do
- swait(.001)
- if del == false and attacking == false then
- TC.C0 = clerp(ITCF,TCF,i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),i)
- RW.C0 = clerp((RWF - Vector3.new(-1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(45)),IRWF,1-i)
- LW.C0 = clerp((LWF - Vector3.new(1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(-45)),ILWF,1-i)
- end
- end
- walking = true
- else
- end
- end
- function TakeDamage(hum, dmg)
- hum:TakeDamage(dmg)
- end
- plr = owner
- repeat
- wait(0.4)
- until plr.Character
- chr = plr.Character
- human = chr:FindFirstChild("Humanoid")
- human.MaxHealth, human.Health = math.huge, math.huge
- cam = workspace.CurrentCamera
- selected = false
- equipd = false
- tors = chr.Torso
- rarm = chr["Right Arm"]
- larm = chr["Left Arm"]
- rleg = chr["Right Leg"]
- lleg = chr["Left Leg"]
- hrp = chr.HumanoidRootPart
- hed = chr.Head
- anim = human.Animator
- activu = false
- appeared = false
- animpose = nil
- POSU = false
- local wherto = hrp
- local addcfr = CFrame.new(0, 0, 0)
- Heartbeat = Instance.new("BindableEvent")
- Heartbeat.Name = "Heartbeat"
- Heartbeat.Parent = script
- frame = 0.03333333333333333
- tf = 0
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- for i = 1, math.floor(tf / frame) do
- Heartbeat:Fire()
- end
- tf = tf - frame * math.floor(tf / frame)
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- Heartbeat.Event:wait()
- else
- for i = 1, num do
- Heartbeat.Event:wait()
- end
- end
- end
- tool = Instance.new("Tool")
- tool.CanBeDropped = false
- tool.RequiresHandle = false
- tool.TextureId = "http://www.roblox.com/asset/?id=4025191505"
- tool.ToolTip = "KEKKA DAKE DA"
- tool.Name = "King Crismon"
- tool.Parent = plr.Backpack
- modz = Instance.new("Model")
- modz.Name = "efx"
- modz.Parent = chr
- ZANOOB = Instance.new("Model")
- ZANOOB.Name = "King Crimson"
- ZANOOB.Parent = chr
- RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RS = tors:FindFirstChild("Right Shoulder")
- LS = tors:FindFirstChild("Left Shoulder")
- RH = tors:FindFirstChild("Right Hip")
- LH = tors:FindFirstChild("Left Hip")
- RJ = hrp:FindFirstChild("RootJoint")
- N = tors:FindFirstChild("Neck")
- cf = CFrame.new
- ang = CFrame.Angles
- rd = math.rad
- rd2 = math.random
- function nooutline(p)
- p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
- end
- function makepart(color, name, reflec, mater, parnt, cfram)
- local port = Instance.new("Part")
- port.BrickColor = BrickColor.new(color)
- port.Name = name
- port.Transparency = 1
- nooutline(port)
- port.Reflectance = reflec
- port.Material = mater
- port.Anchored = false
- port.CanCollide = false
- port.Locked = true
- port.Size = Vector3.new(0.2, 0.2, 0.2)
- port.Parent = parnt
- return port
- end
- function makemesh(meshtype, scale, meshid, parent)
- local mes = Instance.new("SpecialMesh")
- mes.MeshType = meshtype
- mes.Scale = scale
- if meshtype == "FileMesh" then
- mes.MeshId = meshid
- end
- mes.Parent = parent
- return mes
- end
- function makemotor(parent, p0, p1, c0, c1)
- swait()
- local wel = Instance.new("Motor6D")
- wel.Part0 = p0
- wel.Part1 = p1
- wel.C0 = c0
- if c1 ~= nil then
- wel.C1 = c1
- end
- wel.Parent = parent
- return wel
- end
- local konodioda = Instance.new("Sound")
- konodioda.SoundId = "rbxassetid://3373967354"
- konodioda.Volume = 0.5
- konodioda.Parent = hrp
- local bast = Instance.new("Sound")
- bast.SoundId = "rbxassetid://3289256209"
- bast.Volume = 0.5
- bast.Parent = hrp
- local zaworld = Instance.new("Sound")
- zaworld.SoundId = "rbxassetid://3373956700"
- zaworld.Volume = 1
- zaworld.Parent = hrp
- local wry = Instance.new("Sound")
- wry.SoundId = "rbxassetid://3373975760"
- wry.Volume = 1
- wry.Parent = hrp
- function animo(yep)
- if yep == true then
- anim.Parent = human
- chr.Animate.Disabled = false
- elseif yep == false then
- chr.Animate.Disabled = true
- anim.Parent = nil
- end
- end
- animo(false)
- function lerpz(joint, prop, cfrmz, alp)
- joint[prop] = joint[prop]:lerp(cfrmz, alp)
- end
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- function resetlerp(whoever)
- if whoever == nil then
- RJ.C0 = RJC0
- RJ.C1 = RJC1
- N.C0 = NC0
- N.C1 = NC1
- RS.C0 = RSC0
- RS.C1 = RSC1
- LS.C0 = LSC0
- LS.C1 = LSC1
- RH.C0 = RHC0
- RH.C1 = RHC1
- LH.C0 = LHC0
- LH.C1 = LHC1
- elseif whoever ~= nil then
- nRJ.C0 = RJC0
- nRJ.C1 = RJC1
- nN.C0 = NC0
- nN.C1 = NC1
- nRS.C0 = RSC0
- nRS.C1 = RSC1
- nLS.C0 = LSC0
- nLS.C1 = LSC1
- nRH.C0 = RHC0
- nRH.C1 = RHC1
- nLH.C0 = LHC0
- nLH.C1 = LHC1
- end
- end
- function STANDO(cfr)
- local rooto = Instance.new("Part")
- nooutline(rooto)
- rooto.Name = "HumanoidRootPart"
- rooto.Anchored = true
- rooto.CFrame = cfr
- rooto.Size = Vector3.new(2, 2, 1)
- rooto.CanCollide = false
- rooto.Locked = true
- rooto.Transparency = 1
- rooto.Parent = ZANOOB
- local head = Instance.new("Part")
- nooutline(head)
- head.Anchored = false
- head.CFrame = rooto.CFrame * CFrame.new(0, 1.5, 0)
- head.Size = Vector3.new(2, 1, 1)
- head.BrickColor = BrickColor.new("Bright red")
- head.CanCollide = false
- head.Name = "Head"
- head.Locked = true
- head.Transparency = 1
- head.Parent = ZANOOB
- local headmesh = makemesh("Head", Vector3.new(1.25, 1.25, 1.25), nil, head)
- local headdecal = Instance.new("Decal")
- headdecal.Name = "face"
- headdecal.Texture = "rbxasset://textures/face.png"
- headdecal.Face = "Front"
- headdecal.Transparency = 1
- headdecal.Parent = head
- local torso = Instance.new("Part")
- nooutline(torso)
- torso.Name = "Torso"
- torso.Anchored = false
- torso.CFrame = rooto.CFrame * CFrame.new(0, 0, 0)
- torso.Size = Vector3.new(2, 1, 1)
- torso.BrickColor = BrickColor.new("Bright red")
- torso.CanCollide = false
- torso.Transparency = 1
- torso.Locked = true
- torso.Parent = ZANOOB
- local torsomesh = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/torso.mesh", torso)
- local leftarm = Instance.new("Part")
- nooutline(leftarm)
- leftarm.Anchored = false
- leftarm.Name = "Left Arm"
- leftarm.CFrame = rooto.CFrame * CFrame.new(1.5, 0, 0)
- leftarm.Size = Vector3.new(1, 2, 1)
- leftarm.BrickColor = BrickColor.new("Bright red")
- leftarm.CanCollide = false
- leftarm.Transparency = 1
- leftarm.Locked = true
- leftarm.Parent = ZANOOB
- local leftarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftarm)
- local rightarm = Instance.new("Part")
- nooutline(rightarm)
- rightarm.Anchored = false
- rightarm.CFrame = rooto.CFrame * CFrame.new(-1.5, 0, 0)
- rightarm.Name = "Right Arm"
- rightarm.Size = Vector3.new(1, 2, 1)
- rightarm.BrickColor = BrickColor.new("Bright red")
- rightarm.CanCollide = false
- rightarm.Locked = true
- rightarm.Transparency = 1
- rightarm.Parent = ZANOOB
- local rightarmmesh = makemesh("FileMesh", Vector3.new(0.8, 1, 1), "", rightarm)
- local leftleg = Instance.new("Part")
- nooutline(leftleg)
- leftleg.Anchored = false
- leftleg.CFrame = rooto.CFrame * CFrame.new(1.5, -1.5, 0)
- leftleg.Name = "Left Leg"
- leftleg.Size = Vector3.new(1, 2, 1)
- leftleg.BrickColor = BrickColor.new("Bright red")
- leftleg.CanCollide = false
- leftleg.Transparency = 1
- leftleg.Locked = true
- leftleg.Parent = ZANOOB
- local leftlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftleg)
- local rightleg = Instance.new("Part")
- nooutline(rightleg)
- rightleg.Anchored = false
- rightleg.CFrame = rooto.CFrame * CFrame.new(-1.5, -1.5, 0)
- rightleg.Name = "Right Leg"
- rightleg.Size = Vector3.new(1, 2, 1)
- rightleg.BrickColor = BrickColor.new("Bright red")
- rightleg.CanCollide = false
- rightleg.Locked = true
- rightleg.Transparency = 1
- rightleg.Parent = ZANOOB
- local rightlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", rightleg)
- local rootweld = makemotor(rooto, rooto, torso, RJC0, RJC1)
- rootweld.Name = "RootJoint"
- local neckweld = makemotor(torso, torso, head, NC0, NC1)
- neckweld.Name = "Neck"
- local rshoulderweld = makemotor(torso, torso, rightarm, RSC0, RSC1)
- rshoulderweld.Name = "Right Shoulder"
- local lshoulderweld = makemotor(torso, torso, leftarm, LSC0, LSC1)
- lshoulderweld.Name = "Left Shoulder"
- local rhipweld = makemotor(torso, torso, rightleg, RHC0, RHC1)
- rhipweld.Name = "Right Hip"
- local lhipweld = makemotor(torso, torso, leftleg, LHC0, LHC1)
- lhipweld.Name = "Left Hip"
- local la1 = Instance.new("Part")
- nooutline(la1)
- la1.Anchored = false
- la1.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la1.Name = "la1" -- Head
- la1.Size = Vector3.new(0.2, 0.2, 0.2)
- la1.BrickColor = BrickColor.new("Institutional white")
- la1.CanCollide = false
- la1.Locked = true
- la1.Transparency = 1
- la1.Parent = ZANOOB
- local la1m = makemesh("FileMesh", Vector3.new(1., 1.03, 1),"rbxassetid://1307316259", la1)
- local la1w = makemotor(la1, la1, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.01, 0), ang(rd(0), 0, 0))
- local la2 = Instance.new("Part")
- nooutline(la2)
- la2.Anchored = false
- la2.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la2.Name = "la2" -- Head
- la2.Size = Vector3.new(0.2, 0.2, 0.2)
- la2.BrickColor = BrickColor.new("Ghost grey")
- la2.CanCollide = false
- la2.Locked = true
- la2.Transparency = 1
- la2.Parent = ZANOOB
- local la2m = makemesh("FileMesh", Vector3.new(0.5, 0.5, 0.5),"rbxassetid://514528170", la2)
- local la2w = makemotor(la2, la2, head, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.2), ang(rd(0), 0, 0))
- local la3 = Instance.new("Part")
- nooutline(la3)
- la3.Anchored = false
- la3.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la3.Name = "la3" -- Head
- la3.Size = Vector3.new(0.2, 0.2, 0.2)
- la3.BrickColor = BrickColor.new("Smoky grey")
- la3.CanCollide = false
- la3.Locked = true
- la3.Transparency = 1
- la3.Parent = ZANOOB
- local la3m = makemesh("FileMesh", Vector3.new(0.2, 0.2, 0.2),"rbxassetid://514528170", la3)
- local la3w = makemotor(la3, la3, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.5), ang(rd(0), 0, 0))
- local la4 = Instance.new("Part")
- nooutline(la4)
- la4.Anchored = false
- la4.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la4.Name = "la4" -- Head
- la4.Size = Vector3.new(0.2, 0.2, 0.2)
- la4.BrickColor = BrickColor.new("Persimmon")
- la4.CanCollide = false
- la4.Locked = true
- la4.Transparency = 1
- la4.Parent = ZANOOB
- local la4m = makemesh("FileMesh", Vector3.new(0.1, 0.1, 0.1),"rbxassetid://514528170", la4)
- local la4w = makemotor(la4, la4, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.65), ang(rd(0), 0, 0))
- local la5 = Instance.new("Part")
- nooutline(la5)
- la5.Anchored = false
- la5.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la5.Name = "la5" -- Torso
- la5.Size = Vector3.new(0.2, 0.2, 0.2)
- la5.BrickColor = BrickColor.new("Institutional white")
- la5.CanCollide = false
- la5.Locked = true
- la5.Transparency = 1
- la5.Parent = ZANOOB
- local la5m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la5)
- local la5w = makemotor(la5, la5, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
- local la8 = Instance.new("Part")
- nooutline(la8)
- la8.Anchored = false
- la8.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la8.Name = "la8" -- Torso
- la8.Size = Vector3.new(0.2, 0.2, 0.2)
- la8.BrickColor = BrickColor.new("Institutional white")
- la8.CanCollide = false
- la8.Locked = true
- la8.Transparency = 1
- la8.Parent = ZANOOB
- local la8m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la8)
- local la8w = makemotor(la8, la8, torso, ang(rd(180), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
- local la6 = Instance.new("Part")
- nooutline(la6)
- la6.Anchored = false
- la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la6.Name = "la6" -- Torso
- la6.Size = Vector3.new(0.2, 0.2, 0.2)
- la6.BrickColor = BrickColor.new("Institutional white")
- la6.CanCollide = false
- la6.Locked = true
- la6.Transparency = 1
- la6.Parent = ZANOOB
- local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
- local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(3)) * cf(-0.3, 0.5, 0), ang(rd(0), 0, 0))
- local la6 = Instance.new("Part")
- nooutline(la6)
- la6.Anchored = false
- la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la6.Name = "la6" -- Torso
- la6.Size = Vector3.new(0.2, 0.2, 0.2)
- la6.BrickColor = BrickColor.new("Institutional white")
- la6.CanCollide = false
- la6.Locked = true
- la6.Transparency = 1
- la6.Parent = ZANOOB
- local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
- local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(-3)) * cf(0.3, 0.5, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- Torso
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Bright red")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(1, 0.5, 1),"rbxasset://fonts/torso.mesh", la7)
- local la7w = makemotor(la7, la7, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
- local la9 = Instance.new("Part")
- nooutline (la9)
- la9.Anchored = false
- la9.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la9.Name = "la9" -- Torso
- la9.Size = Vector3.new(0.2, 0.2, 0.2)
- la9.BrickColor = BrickColor.new("Bright red")
- la9.CanCollide = false
- la9.Locked = true
- la9.Transparency = 1
- la9.Parent = ZANOOB
- local la9m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la9)
- local la9w = makemotor(la9, la9, torso, ang(rd(0), rd(0), rd(20)) * cf(-0.5, -0.3, 0), ang(rd(0), 0, 0))
- local la10 = Instance.new("Part")
- nooutline (la10)
- la10.Anchored = false
- la10.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la10.Name = "la10" -- Torso
- la10.Size = Vector3.new(0.2, 0.2, 0.2)
- la10.BrickColor = BrickColor.new("Bright red")
- la10.CanCollide = false
- la10.Locked = true
- la10.Transparency = 1
- la10.Parent = ZANOOB
- local la10m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la10)
- local la10w = makemotor(la10, la10, torso, ang(rd(0), rd(0), rd(-20)) * cf(0.5, -0.3, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Right Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Right Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, rightarm, ang(rd(90), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Right Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Right Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Bright red")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
- local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Right Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Bright red")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
- local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Torso
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.007, 0.01, 0.01),"rbxassetid://548881795", la11)
- local la11w = makemotor(la11, la11, torso, ang(rd(0), rd(180), rd(0)) * cf(0, -1.1, -0.05), ang(rd(0), 0, 0))
- local la6 = Instance.new("Part")
- nooutline(la6)
- la6.Anchored = false
- la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la6.Name = "la6" -- Torso
- la6.Size = Vector3.new(0.2, 0.2, 0.2)
- la6.BrickColor = BrickColor.new("Smoky grey")
- la6.CanCollide = false
- la6.Locked = true
- la6.Transparency = 1
- la6.Parent = ZANOOB
- local la6m = makemesh("FileMesh", Vector3.new(1.34, 1.4, 1.4),"rbxassetid://448723209", la6)
- local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(0)) * cf(0, 1.37, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- LeftLeg
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Bright red")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/leftleg.mesh", la11)
- local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- RightLeg
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Bright red")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/Rightleg.mesh", la11)
- local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Leg
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Leg
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
- local la11 = Instance.new("Part")
- nooutline (la11)
- la11.Anchored = false
- la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la11.Name = "la11" -- Left Arm
- la11.Size = Vector3.new(0.2, 0.2, 0.2)
- la11.BrickColor = BrickColor.new("Institutional white")
- la11.CanCollide = false
- la11.Locked = true
- la11.Transparency = 1
- la11.Parent = ZANOOB
- local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
- local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Institutional white")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
- local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.81, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Smoky grey")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
- local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(270)) * cf(0.39, 0.31, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- RightArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Smoky grey")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
- local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(-270)) * cf(-0.39, 0.31, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Institutional white")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
- local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.81, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Institutional white")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
- local la7w = makemotor(la7, la7, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.92, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Institutional white")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
- local la7w = makemotor(la7, la7, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.92, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Institutional white")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
- local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Institutional white")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
- local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-5)) * cf(0.3, -0.70, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Institutional white")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
- local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Institutional white")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
- local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(5)) * cf(-0.3, -0.70, 0), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Smoky grey")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
- local la7w = makemotor(la7, la7, leftleg, ang(rd(90), rd(0), rd(270)) * cf(-0.09, -0.2, 0.55), ang(rd(0), 0, 0))
- local la7 = Instance.new("Part")
- nooutline (la7)
- la7.Anchored = false
- la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
- la7.Name = "la7" -- LeftArm
- la7.Size = Vector3.new(0.2, 0.2, 0.2)
- la7.BrickColor = BrickColor.new("Smoky grey")
- la7.CanCollide = false
- la7.Locked = true
- la7.Transparency = 1
- la7.Parent = ZANOOB
- local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
- local la7w = makemotor(la7, la7, rightleg, ang(rd(90), rd(0), rd(270)) * cf(0.09, -0.2, 0.55), ang(rd(0), 0, 0))
- local raemblem = Instance.new("Part")
- nooutline(raemblem)
- raemblem.Anchored = false
- raemblem.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
- raemblem.Name = "raemblem"
- raemblem.Size = Vector3.new(0.2, 0.2, 0.2)
- raemblem.BrickColor = BrickColor.new("Bright yellow")
- raemblem.CanCollide = false
- raemblem.Locked = true
- raemblem.Material = "SmoothPlastic"
- raemblem.Transparency = 1
- raemblem.Parent = ZANOOB
- local raemblemm = makemesh("Brick", Vector3.new(0, 3, 3), nil, raemblem)
- local raemblemw = makemotor(raemblem, raemblem, rightarm, ang(rd(0.5), rd(0), rd(0)) * cf(-0.5, -0.5, 0), ang(rd(0), 0, 0))
- local emmes = Instance.new("Decal")
- emmes.Texture = "N/A"
- emmes.Transparency = 1
- emmes.Face = "Right"
- emmes.Name = "embe"
- emmes.Parent = raemblem
- return ZANOOB
- end
- local thenoob = STANDO(hrp.CFrame * CFrame.new(0, 0, 0))
- coroutine.resume(coroutine.create(function()
- local rot = thenoob.HumanoidRootPart
- repeat
- swait()
- rot.CFrame = rot.CFrame:lerp(wherto.CFrame * addcfr, 0.5)
- until rot == nil
- end))
- local rot = thenoob.HumanoidRootPart
- local ntorso = thenoob:FindFirstChild("Torso")
- local rightarm = thenoob:FindFirstChild("Right Arm")
- local leftarm = thenoob:FindFirstChild("Left Arm")
- local leftleg = thenoob:FindFirstChild("Left Leg")
- local rightleg = thenoob:FindFirstChild("Right Leg")
- local head = thenoob:FindFirstChild("Head")
- local face = head:FindFirstChild("face")
- local emblem = thenoob:FindFirstChild("raemblem"):FindFirstChild("embe")
- local embpart = thenoob:FindFirstChild("raemblem")
- local nRJ = rot:FindFirstChild("RootJoint")
- local nN = ntorso:FindFirstChild("Neck")
- local nRS = ntorso:FindFirstChild("Right Shoulder")
- local nLS = ntorso:FindFirstChild("Left Shoulder")
- local nRH = ntorso:FindFirstChild("Right Hip")
- local nLH = ntorso:FindFirstChild("Left Hip")
- function standappear(nbz)
- if selected == false or activu == true then
- return
- end
- if appeared == false then
- appeared = true
- wherto = hrp
- addcfr = cf(-2, 1, 2)
- local apear = Instance.new("Sound")
- apear.SoundId = "rbxassetid://3373995015"
- apear.Parent = rot
- apear.Volume = 2
- game.Debris:AddItem(apear, 1.5)
- apear:Play()
- for _, n in pairs(nbz:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- if n ~= rot and n ~= embpart and n.ClassName ~= "Sound" then
- swait()
- n.Transparency = n.Transparency - 0.2
- face.Transparency = face.Transparency - 0.2
- emblem.Transparency = emblem.Transparency - 0.2
- end
- end
- if n ~= rot and n ~= embpart then
- n.Transparency = 0
- end
- face.Transparency = 0
- emblem.Transparency = 0
- end))
- end
- elseif appeared == true then
- appeared = false
- wherto = hrp
- addcfr = cf(0, 0, 0)
- for _, n in pairs(nbz:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- if n ~= rot and n ~= embpart then
- swait()
- n.Transparency = n.Transparency + 0.2
- face.Transparency = face.Transparency + 0.2
- emblem.Transparency = emblem.Transparency + 0.2
- end
- end
- if n ~= rot and n ~= embpart then
- n.Transparency = 1
- end
- face.Transparency = 1
- emblem.Transparency = 1
- end))
- end
- end
- end
- function THREATENING()
- if selected == false or activu == true then
- return
- end
- if POSU == false then
- POSU = true
- human.WalkSpeed = 0
- local d = Instance.new("ParticleEmitter")
- d.Name = "MENACINGU"
- d.Lifetime = NumberRange.new(1)
- d.Rate = 2
- d.Texture = "rbxassetid://298768656"
- d.VelocitySpread = 60
- d.Parent = tors
- human:SetStateEnabled(3, false)
- local randomoth = math.random(1)
- if randomoth == 1 then
- repeat
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.05) * ang(rd(-5), rd(0), rd(-30)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(10)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(10)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(-10)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(0)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0.3, 0.1, -0.15) * ang(rd(-20), rd(50), rd(10)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3)
- until POSU == false
- elseif randomoth == 2 then
- repeat
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(25)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(-50)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(-0.25, 0.3, -0.5) * ang(rd(-30), rd(-15), rd(200)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0.25, 0.3, -0.5) * ang(rd(-32), rd(13), rd(-195)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-15), rd(-10)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-10)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- until POSU == false
- end
- elseif POSU == true then
- POSU = false
- human.WalkSpeed = 16
- human:SetStateEnabled(3, true)
- tors.MENACINGU:Destroy()
- activu = true
- activu = false
- end
- end
- local EHMMM = 0
- function block()
- if EHMMM == 50 or selected == false or activu == true then
- return
- end
- if appeared == false then
- standappear(thenoob)
- end
- wherto = hrp
- addcfr = cf(0, 0, -3)
- local bep = true
- local humanshealth = human.Health
- activu = true
- human:SetStateEnabled(15, false)
- local de = mouse.KeyUp:connect(function(key)
- if key == "e" then
- bep = false
- end
- end)
- local poopes = 0
- repeat
- swait()
- poopes = poopes + 1
- human.Health = humanshealth
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(0)), 0.5)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(7), rd(0), rd(0)), 0.5)
- lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(110), rd(160)), 0.5)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-110), rd(-160)), 0.5)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- until bep == false or poopes > 240
- de:Disconnect()
- human:SetStateEnabled(15, true)
- activu = false
- EHMMM = 50
- coroutine.resume(coroutine.create(function()
- wait(7)
- EHMMM = 0
- end))
- wherto = hrp
- addcfr = cf(-2, 1, 2)
- end
- function MUDA()
- if selected == false or activu == true then
- return
- end
- if appeared == false then
- standappear(thenoob)
- wherto = hrp
- addcfr = cf(0, 0, -3.5)
- end
- wry:Stop()
- local bep = true
- activu = true
- wherto = hrp
- addcfr = cf(0, 0, -3.5)
- local function blur(limb)
- coroutine.resume(coroutine.create(function()
- local memedon = {}
- for i = 1, 6 do
- local b1 = Instance.new("Part")
- nooutline(b1)
- b1.Size = Vector3.new(1, 2, 1)
- b1.CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10)
- b1.CanCollide = false
- b1.BrickColor = limb.BrickColor
- b1.Anchored = true
- b1.Transparency = 0.7
- b1.Locked = true
- b1.Parent = modz
- table.insert(memedon, b1)
- end
- local num = 0
- repeat
- swait()
- num = num % 6 + 1
- memedon[num].CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10)
- until bep == false
- for i = 1, #memedon do
- swait()
- memedon[i]:Destroy()
- end
- end))
- end
- local de = mouse.KeyUp:connect(function(key)
- if key == "r" then
- bep = false
- end
- end)
- blur(rightarm)
- blur(leftarm)
- local mudodo = Instance.new("Sound")
- mudodo.Volume = 0.5
- mudodo.SoundId = "rbxassetid://220025689"
- mudodo.Looped = true
- mudodo.Parent = hrp
- mudodo:Play()
- repeat
- for _ = 1, 2 do
- swait()
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(4), rd(4), rd(30)), 0.85)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-28)), 0.85)
- lerpz(nRS, "C0", RSC0 * cf(0.5, 0.25, -0.1) * ang(rd(20), rd(20), rd(105)), 0.85)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(30), rd(10), rd(-70)), 0.85)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- end
- hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
- for _ = 1, 2 do
- swait()
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(-30)), 0.85)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(31)), 0.85)
- lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(-10), rd(-30), rd(75)), 0.85)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(10), rd(-70)), 0.85)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- end
- hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
- for _ = 1, 2 do
- swait()
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(3), rd(3), rd(32)), 0.85)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-29)), 0.85)
- lerpz(nRS, "C0", RSC0 * cf(0.35, 0.25, 0.1) * ang(rd(-10), rd(-20), rd(95)), 0.85)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(-10), rd(10), rd(-80)), 0.85)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- end
- hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
- for _ = 1, 2 do
- swait()
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(3), rd(-40)), 0.85)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-2), rd(35)), 0.85)
- lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(20), rd(-30), rd(65)), 0.85)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(30), rd(-75)), 0.85)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
- end
- hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
- until bep == false or 0 >= human.Health
- de:Disconnect()
- mudodo:Stop()
- wry:Play()
- for _ = 1, 6 do
- swait()
- lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75)
- lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
- end
- for _ = 1, 7 do
- swait()
- hito(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 50)
- lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75)
- lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.75)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
- end
- swait(5)
- wherto = hrp
- mudodo:Destroy()
- addcfr = cf(-2, 1, 2)
- activu = false
- end
- function cability()
- if selected == false or activu == true then
- return
- end
- if appeared == false then
- standappear(thenoob)
- wherto = hrp
- addcfr = cf(0, 0, -3.75)
- end
- activu = true
- wherto = hrp
- addcfr = cf(0, 0, -3.5)
- local ZAWRUA = Instance.new("Sound")
- ZAWRUA.SoundId = "rbxassetid://3373975760"
- ZAWRUA.Volume = 0.5
- ZAWRUA.Parent = hrp
- ZAWRUA:Play()
- game.Debris:AddItem(ZAWRUA, 2.5)
- local wate = Instance.new("Part")
- nooutline(wate)
- wate.Size = Vector3.new(0, 0, 0)
- wate.Material = "Neon"
- wate.Transparency = 1
- wate.BrickColor = BrickColor.new("Institutional white")
- wate.CFrame = rightarm.CFrame * cf(0, -1.5, 0)
- wate.Anchored = true
- wate.CanCollide = false
- wate.Parent = modz
- local wmesh = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wate)
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- wate.CFrame = rightarm.CFrame * cf(0, 0, 0)
- wmesh.Scale = wmesh.Scale:lerp(Vector3.new(0, 0, 0), 0.5)
- until not wate
- end))
- coroutine.resume(coroutine.create(function()
- local pt = {}
- for _ = 1, 10 do
- local wp = Instance.new("Part")
- nooutline(wp)
- wp.Size = Vector3.new(0, 0, 0)
- wp.Material = "Neon"
- wp.Transparency = 1
- wp.BrickColor = BrickColor.new("Institutional white")
- wp.CFrame = wate.CFrame * ang(rd2(-100, 100) / 1000, rd2(-100, 100) / 1000, rd2(-100, 100) / 1000) * cf(0, -0.25, 0)
- wp.Anchored = true
- wp.CanCollide = false
- wp.Parent = modz
- local wmz = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wp)
- table.insert(pt, wp)
- table.insert(pt, wmz)
- end
- for m = 1, 45 do
- for _, hey in pairs(pt) do
- if hey.ClassName == "SpecialMesh" then
- hey.Scale = hey.Scale + Vector3.new(0, 0, 0)
- elseif hey.ClassName == "Part" then
- hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0)
- hey.Transparency = hey.Transparency - 0.015
- end
- end
- end
- for m = 45, 50 do
- swait()
- for _, hey in pairs(pt) do
- if hey.ClassName == "SpecialMesh" then
- hey.Scale = hey.Scale + Vector3.new(0, 0, 0)
- elseif hey.ClassName == "Part" then
- hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0)
- hey.Transparency = hey.Transparency + 0.2
- end
- end
- end
- for _, AAA in pairs(pt) do
- if AAA.ClassName == "Part" then
- AAA:Destroy()
- end
- end
- end))
- for _ = 1, 10 do
- swait()
- wmesh.Scale = Vector3.new(9, 9, 9)
- wate.Transparency = wate.Transparency - 0.008
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-125)), 0.2)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(115)), 0.2)
- lerpz(nRS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(-15, -5)), rd(rd2(-25, -15)), rd(rd2(95, 105))), 0.2)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.2)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.2)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.2)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- end
- local pooo = Instance.new("Sound")
- pooo.SoundId = "rbxassetid://3939937734"
- pooo.Volume = 0.5
- pooo.Parent = hrp
- pooo:Play()
- game.Debris:AddItem(pooo, 2.5)
- for _ = 1, 1 do
- swait()
- wate.Transparency = wate.Transparency + 0.15
- lerpz(nRJ, "C0", RJC0 * cf(0, -2, 0) * ang(rd(0), rd(10), rd(35)), 0.5)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-30)), 0.5)
- lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-80), rd(100)), 0.5)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- local swoo = Instance.new("Part")
- nooutline(swoo)
- swoo.Size = Vector3.new(0.2, 0.2, 0.2)
- swoo.Material = "Neon"
- swoo.Transparency = 0.2
- swoo.BrickColor = BrickColor.new("Institutional white")
- swoo.CFrame = rightarm.CFrame * ang(rd(0), rd(15), rd(240)) * cf(1.5, -2.5, 0)
- swoo.Anchored = true
- swoo.CanCollide = false
- swoo.Parent = modz
- local wmesh = makemesh("FileMesh", Vector3.new(0.013333333333333334, 0.015384615384615385, 0.025), "rbxassetid://576041905", swoo)
- local pli = Instance.new("PointLight")
- pli.Brightness = 0
- pli.Color = Color3.new(0.45098039215686275, 1, 0)
- pli.Range = 10
- pli.Shadows = true
- pli.Parent = swoo
- hito(swoo, 5, 50, 0.15, rot.CFrame.lookVector * 10)
- tagability(swoo, 4)
- for _ = 1, 10 do
- swait()
- wate.Transparency = wate.Transparency + 0.05
- swoo.Transparency = swoo.Transparency + 0.075
- pli.Range = pli.Range - 1
- lerpz(nRJ, "C0", RJC0 * cf(0, -3, 0) * ang(rd(25), rd(0), rd(25)), 0.5)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-25), rd(0), rd(-25)), 0.5)
- lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(90), rd(-30), rd(100)), 0.5)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nLH, "C0", LHC0 * cf(-0.3, 0.7, -0.2) * ang(rd(-10), rd(10), rd(5)), 0.5)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- wate:Destroy()
- swoo:Destroy()
- pli:Destroy()
- swait(0)
- wherto = hrp
- addcfr = cf(-2, 1, 2)
- activu = false
- end
- game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=188959462")
- game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616594208")
- game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616576400")
- game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=291088606")
- function THEBEST()
- if selected == false or activu == true or appeared == true or POSU == true then
- return
- end
- local dipperhat = chr:FindFirstChild("DXD_DipperHat")
- local dipperrot
- if dipperhat then
- dipperrot = dipperhat.Handle.HatAttachment.Rotation
- end
- activu = true
- POSU = true
- cam.CameraType = "Scriptable"
- chr.PrimaryPart = hrp
- human.WalkSpeed = 0
- human:SetStateEnabled(3, false)
- local actmus1 = Instance.new("Sound")
- actmus1.SoundId = "rbxassetid://188959462"
- actmus1.Volume = 1.5
- actmus1.RollOffMode = 1
- actmus1.TimePosition = 0
- actmus1.Parent = cam
- local actmus2 = Instance.new("Sound")
- actmus2.SoundId = "rbxassetid://188959462"
- actmus2.Volume = 1.5
- actmus2.RollOffMode = 1
- actmus2.TimePosition = 0
- actmus2.Parent = hrp
- actmus1:Play()
- actmus2:Play()
- local mus1 = Instance.new("Sound")
- mus1.SoundId = "rbxassetid://616594208"
- mus1.Volume = 1.25
- mus1.TimePosition = 0.45
- mus1.Parent = cam
- local mus2 = Instance.new("Sound")
- mus2.SoundId = "rbxassetid://616594208"
- mus2.Volume = 1.25
- mus2.TimePosition = 0.45
- mus2.Parent = hrp
- local zawarudoda = Instance.new("Sound")
- zawarudoda.SoundId = "rbxassetid://616576400"
- zawarudoda.Volume = 2
- zawarudoda.TimePosition = 0.3
- zawarudoda.Parent = hrp
- mus1:Play()
- mus2:Play()
- cam.CoordinateFrame = hrp.CFrame * ang(rd(20), rd(100), rd(0)) * cf(0, 0, 7)
- local regface = hed.face.Texture
- local whogothit, bodyvel
- local function checkhit(partoz, magn)
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and not whogothit then
- whogothit = guy
- guy:FindFirstChild("Humanoid").PlatformStand = true
- do
- local derp = Instance.new("BodyPosition")
- derp.MaxForce = Vector3.new(999999999999, 999999999999, 999999999999)
- derp.P = 8000
- derp.D = 500
- derp.Position = hrp.Position + hrp.CFrame.lookVector * 20
- derp.Parent = guy:FindFirstChild("HumanoidRootPart")
- bodyvel = derp
- local derp2 = Instance.new("BodyAngularVelocity")
- derp2.MaxTorque = Vector3.new(999999999999, 999999999999, 999999999999)
- derp2.P = 8000
- derp2.AngularVelocity = Vector3.new(rd2(2, 4), rd2(50, 100), 0)
- derp2.Parent = guy:FindFirstChild("HumanoidRootPart")
- delay(0.1, function()
- derp2:Destroy()
- end)
- bodyvel = derp
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function()
- for _ = 1, 25 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(10), rd(20)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- for _ = 1, 20 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(10), rd(20)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0.4) * ang(rd(70), rd(-60), rd(-100)), 0.3)
- if dipperhat then
- dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, -40, 0), 0.3)
- end
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- end))
- repeat
- swait()
- cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(1), rd(0)) * cf(0.15, 0, 0)
- until mus1.TimePosition > 2.9
- mus1:Pause()
- mus2:Pause()
- zawarudoda:Play()
- coroutine.resume(coroutine.create(function()
- for _ = 1, 7 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(-5)), 0.4)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(80)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(-70)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- for _ = 1, 16 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- end))
- repeat
- swait()
- until zawarudoda.TimePosition > 1.4
- zawarudoda:Pause()
- activu = false
- standappear(thenoob)
- wherto = hrp
- addcfr = cf(3, 0.25, -1.5)
- activu = true
- cam.CoordinateFrame = hrp.CFrame * ang(rd(-25), rd(0), rd(0)) * cf(0, 2, 3)
- for _ = 1, 10 do
- swait()
- cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 1.5)
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-75)), 0.5)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(45)), 0.5)
- lerpz(nRS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(-15, -5)), rd(rd2(-25, -15)), rd(rd2(95, 105))), 0.5)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- wherto = hrp
- addcfr = cf(-3, 0.25, -1.5)
- for _ = 1, 25 do
- swait()
- checkhit(rightarm, 3)
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(105)), 0.4)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(-45)), 0.4)
- lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.4)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.4)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.4)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.4)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- end
- if whogothit then
- print("derp")
- cam.CoordinateFrame = hrp.CFrame * ang(rd(15), rd(140), rd(0)) * cf(0, 1, 4)
- local laugo = Instance.new("Sound")
- laugo.SoundId = "rbxassetid://291088606"
- laugo.Volume = 1.5
- laugo.Parent = hrp
- game.Debris:AddItem(laugo, 2.5)
- laugo:Play()
- local sda = 0
- local chn = 2
- local cs = math.cos
- for D = 1, 60 do
- swait()
- cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.15)
- sda = sda + chn
- lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 1 * cs(sda / 2)) * ang(rd(-40), rd(0), rd(-5)), 0.8 / D)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-60 + 40 * cs(sda / 2)), rd(8), rd(0)), 0.8 / D)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-110 + 80 * cs(sda / 2)), rd(80)), 0.8 / D)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(110 + 80 * cs(sda / 2)), rd(-70)), 0.8 / D)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
- lerpz(RH, "C0", RHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(-10), rd(-40)), 0.8 / D)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
- lerpz(LH, "C0", LHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(10), rd(40)), 0.8 / D)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
- end
- hed.face.Texture = "rbxassetid://176777497"
- mus1.TimePosition = 2.75
- mus1:Play()
- for C = 1, 30 do
- swait()
- cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, -(0.02 + C / 60))
- sda = sda + chn
- lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.05 + C / 31)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.05 + C / 31)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.05 + C / 31)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.05 + C / 31)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.05 + C / 31)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.05 + C / 31)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
- end
- for _ = 1, 5 do
- swait()
- cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.02)
- sda = sda + chn
- lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0.25, 0) * ang(rd(60), rd(-60), rd(-100)), 0.5)
- if dipperhat then
- dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.5)
- end
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- wait(2)
- elseif whogothit == nil then
- print("noderp")
- end
- human:SetStateEnabled(3, true)
- activu = false
- standappear(thenoob)
- activu = true
- if dipperhat then
- dipperhat.Handle.HatAttachment.Rotation = dipperrot
- end
- actmus1:Destroy()
- actmus2:Destroy()
- bast:Play()
- if bodyvel then
- bodyvel:Destroy()
- end
- cam.CameraType = "Custom"
- hed.face.Texture = regface
- chr.PrimaryPart = head
- human.WalkSpeed = 16
- activu = false
- POSU = false
- end
- function hito(partoz, magn, dmg, debtim, bodyfdire)
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
- do
- local humz = guy:FindFirstChild("Humanoid")
- local horp = guy:FindFirstChild("HumanoidRootPart")
- TakeDamage(humz, dmg)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = horp
- delay(debtim, function()
- db:Destroy()
- end)
- local b = Instance.new("Part")
- nooutline(b)
- b.Size = Vector3.new(0.2, 0.2, 0.2)
- b.Transparency = 0.25
- b.Anchored = true
- b.CanCollide = false
- b.BrickColor = BrickColor.new("Institutional white")
- b.Locked = true
- b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
- b.Parent = modz
- local c = Instance.new("SpecialMesh")
- c.MeshType = "Sphere"
- c.Scale = Vector3.new(3.5, 3.5, 3.5)
- c.Parent = b
- game.Debris:AddItem(b, 1)
- if bodyfdire then
- local boopyve = Instance.new("BodyVelocity")
- boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- boopyve.P = math.huge
- boopyve.Velocity = bodyfdire
- boopyve.Parent = horp
- game.Debris:AddItem(boopyve, debtim)
- end
- local bet = Instance.new("Sound")
- bet.Pitch = rd2(9, 11) / 10
- bet.Volume = rd2(12, 14) / 10
- bet.SoundId = "rbxassetid://165604684"
- bet.Parent = b
- bet:Play()
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- swait()
- b.Transparency = b.Transparency + 0.15
- c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
- end
- end))
- end
- end
- end
- end
- function tagability(partoz, magn)
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("derbaba") == nil and guy:FindFirstChildOfClass("ForceField") == nil then
- do
- local humz = guy:FindFirstChild("Humanoid")
- humz.PlatformStand = true
- delay(1, function()
- humz.PlatformStand = false
- end)
- coroutine.resume(coroutine.create(function()
- if aL then
- aL.Name = "Right Arm"
- wait()
- end
- if bL then
- bL.Name = "Left Leg"
- wait()
- end
- if cL then
- cL.Name = "Left Arm"
- wait()
- end
- if dL then
- dL.Name = "Right Leg"
- end
- end))
- end
- end
- end
- end
- mouse.KeyDown:connect(function(key)
- if human.Health <= 0 then
- return
- end
- if key == "f" then
- standappear(thenoob)
- end
- if key == "r" then
- MUDA()
- end
- if key == "e" then
- block()
- end
- if key == "q" then
- cability()
- end
- if key == "m" and plr.UserId then
- THEBEST()
- end
- if key == "j" then
- THREATENING()
- end
- if key == "k" then
- konodioda:Play()
- end
- if key == "l" then
- bast:Play()
- end
- if key == "p" then
- zaworld:Play()
- end
- if key == "m" then
- bast:Stop()
- end
- end)
- tool.Equipped:connect(function()
- selected = true
- end)
- tool.Unequipped:connect(function()
- selected = false
- end)
- sine = 0
- charge = 1
- cos = math.cos
- game:GetService("RunService").Stepped:connect(function()
- if POSU == false then
- local checkfloor = Ray.new(hrp.Position, hrp.CFrame.upVector * -4)
- local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
- local checkstate = human:GetState()
- if checkstate.Value == 13 then
- animpose = "Sitting"
- elseif hrp.Velocity.y > 1 and checkpart == nil then
- animpose = "Jumping"
- elseif hrp.Velocity.y < -1 and checkpart == nil then
- animpose = "Falling"
- elseif 1 > (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude then
- animpose = "Idle"
- elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 35 then
- animpose = "Walking"
- elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 35 then
- animpose = "TooFast"
- end
- if animpose == "Idle" then
- sine = sine + charge
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 60)), rd(2 - 2 * cos(sine / 60)), rd(2 * cos(sine / 60))), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 60)), rd(-2 - 2 * cos(sine / 60)), rd(2 * cos(sine / 60))), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-3 - 1 * cos(sine / 60)), rd(-5 - 1 * cos(sine / 60)), rd(1 * cos(sine / 60))), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-3 - 1 * cos(sine / 60)), rd(5 - 1 * cos(sine / 60)), rd(1 * cos(sine / 60))), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- if animpose == "Walking" then
- sine = sine + charge
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 60)), rd(2 - 2 * cos(sine / 60)), rd(30 * cos(sine / 10))), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 60)), rd(-2 - 2 * cos(sine / 60)), rd(30 * cos(sine / 10))), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-30 * cos(sine / 10))), 0.6)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-30 * cos(sine / 10))), 0.6)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- if animpose == "Jumping" then
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(20)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- if animpose == "Falling" then
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(-0.65, 0.75, 0) * ang(rd(0), rd(0), rd(20)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- if animpose == "TooFast" then
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -1.5) * ang(rd(20), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-10)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, -0.75, 0) * ang(rd(10), rd(-80), rd(-10)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0.75, 1.5, 0) * ang(rd(0), rd(0), rd(30)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- if animpose == "Sitting" then
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- end
- if appeared == false and activu == false then
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- elseif appeared == true and activu == false then
- sine = sine + charge
- lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0.05 * cos(sine / 90)) * ang(rd(1 - 1 * cos(sine / 90)), rd(0), rd(-5)), 0.3)
- lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 90)), rd(0), rd(4)), 0.3)
- lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(-3 - 3 * cos(sine / 100)), rd(0)), 0.3)
- lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(3 - 3 * cos(sine / 100)), rd(0)), 0.3)
- lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 100)), rd(-3 - 3 * cos(sine / 100)), rd(-2 - 2 * cos(sine / 100))), 0.3)
- lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 100)), rd(3 - 3 * cos(sine / 100)), rd(2 - 2 * cos(sine / 100))), 0.3)
- lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- end)
- function dispose()
- for i, v in pairs(getfenv(0)) do
- v = nil
- end
- error = nil
- print = nil
- warn = nil
- end
- human.Died:connect(dispose)
- chr.Changed:connect(function()
- if chr.Parent == nil then
- dispose()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment