Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Motor6D2 = Instance.new("Motor6D")
- Sound3 = Instance.new("Sound")
- Sound4 = Instance.new("Sound")
- Sound5 = Instance.new("Sound")
- Sound6 = Instance.new("Sound")
- Sound7 = Instance.new("Sound")
- Sound8 = Instance.new("Sound")
- Sound9 = Instance.new("Sound")
- Sound10 = Instance.new("Sound")
- Sound11 = Instance.new("Sound")
- Sound12 = Instance.new("Sound")
- Sound13 = Instance.new("Sound")
- Sound14 = Instance.new("Sound")
- Sound15 = Instance.new("Sound")
- Sound16 = Instance.new("Sound")
- SurfaceLight17 = Instance.new("SurfaceLight")
- Part18 = Instance.new("Part")
- Motor6D19 = Instance.new("Motor6D")
- Motor6D20 = Instance.new("Motor6D")
- Motor6D21 = Instance.new("Motor6D")
- Motor6D22 = Instance.new("Motor6D")
- SpecialMesh23 = Instance.new("SpecialMesh")
- Motor6D24 = Instance.new("Motor6D")
- Part25 = Instance.new("Part")
- SpecialMesh26 = Instance.new("SpecialMesh")
- Part27 = Instance.new("Part")
- SpecialMesh28 = Instance.new("SpecialMesh")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Part31 = Instance.new("Part")
- SpecialMesh32 = Instance.new("SpecialMesh")
- Part33 = Instance.new("Part")
- SpecialMesh34 = Instance.new("SpecialMesh")
- Motor6D35 = Instance.new("Motor6D")
- Weld36 = Instance.new("Weld")
- Motor6D37 = Instance.new("Motor6D")
- Sound38 = Instance.new("Sound")
- Sound39 = Instance.new("Sound")
- Sound40 = Instance.new("Sound")
- Sound41 = Instance.new("Sound")
- Humanoid42 = Instance.new("Humanoid")
- Sound43 = Instance.new("Sound")
- Sound44 = Instance.new("Sound")
- Sound45 = Instance.new("Sound")
- Sound46 = Instance.new("Sound")
- Sound47 = Instance.new("Sound")
- Sound48 = Instance.new("Sound")
- Sound49 = Instance.new("Sound")
- Sound50 = Instance.new("Sound")
- Sound51 = Instance.new("Sound")
- Part52 = Instance.new("Part")
- SpecialMesh53 = Instance.new("SpecialMesh")
- Decal54 = Instance.new("Decal")
- Decal55 = Instance.new("Decal")
- Decal56 = Instance.new("Decal")
- Decal57 = Instance.new("Decal")
- Decal58 = Instance.new("Decal")
- Decal59 = Instance.new("Decal")
- Sound60 = Instance.new("Sound")
- Part61 = Instance.new("Part")
- SpecialMesh62 = Instance.new("SpecialMesh")
- Motor6D63 = Instance.new("Motor6D")
- Part64 = Instance.new("Part")
- SpecialMesh65 = Instance.new("SpecialMesh")
- Sound66 = Instance.new("Sound")
- Sound67 = Instance.new("Sound")
- Script68 = Instance.new("Script")
- Sound69 = Instance.new("Sound")
- Animation70 = Instance.new("Animation")
- Sound71 = Instance.new("Sound")
- Part72 = Instance.new("Part")
- SpecialMesh73 = Instance.new("SpecialMesh")
- Sound74 = Instance.new("Sound")
- Animation75 = Instance.new("Animation")
- Animation76 = Instance.new("Animation")
- Animation77 = Instance.new("Animation")
- Animation78 = Instance.new("Animation")
- Animation79 = Instance.new("Animation")
- Animation80 = Instance.new("Animation")
- Animation81 = Instance.new("Animation")
- Animation82 = Instance.new("Animation")
- Animation83 = Instance.new("Animation")
- Animation84 = Instance.new("Animation")
- Animation85 = Instance.new("Animation")
- Animation86 = Instance.new("Animation")
- Animation87 = Instance.new("Animation")
- Animation88 = Instance.new("Animation")
- Animation89 = Instance.new("Animation")
- Sound90 = Instance.new("Sound")
- Sound91 = Instance.new("Sound")
- Script92 = Instance.new("Script")
- Script93 = Instance.new("Script")
- Model0.Name = "SCP-096"
- Model0.Parent = mas
- Model0.PrimaryPart = Part33
- Part1.Name = "HumanoidRootPart"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-17.9200039, 4.0500679, 9.77749157, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part1.Orientation = Vector3.new(0, 168.710007, 0)
- Part1.Position = Vector3.new(-17.9200039, 4.0500679, 9.77749157)
- Part1.Rotation = Vector3.new(-180, 11.29, -180)
- Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1.Transparency = 1
- Part1.Size = Vector3.new(2.70000148, 2.70000148, 1.35000074)
- Part1.BackParamA = -99999
- Part1.BackParamB = 99999
- Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BottomParamA = -99999
- Part1.BottomParamB = 99999
- Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BrickColor = BrickColor.new("Institutional white")
- Part1.CanCollide = false
- Part1.CustomPhysicalProperties = 0.699999988, 0, 0, 1, 1
- Part1.Elasticity = 0
- Part1.Friction = 0
- Part1.FrontParamA = -99999
- Part1.FrontParamB = 99999
- Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.LeftParamA = -99999
- Part1.LeftParamB = 99999
- Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.RightParamA = -99999
- Part1.RightParamB = 99999
- Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.TopParamA = -99999
- Part1.TopParamB = 99999
- Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.brickColor = BrickColor.new("Institutional white")
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.formFactor = Enum.FormFactor.Custom
- Motor6D2.Name = "Root Hip"
- Motor6D2.Parent = Part1
- Motor6D2.MaxVelocity = 0.10000000149012
- Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D2.Part0 = Part1
- Motor6D2.Part1 = Part18
- Motor6D2.part1 = Part18
- Sound3.Name = "Idle3"
- Sound3.Parent = Part1
- Sound3.Looped = true
- Sound3.SoundId = "rbxassetid://257345390"
- Sound3.Volume = 1
- Sound4.Name = "Idle4"
- Sound4.Parent = Part1
- Sound4.Looped = true
- Sound4.SoundId = "rbxassetid://268471649"
- Sound4.Volume = 1
- Sound5.Name = "ScreamingNoise2"
- Sound5.Parent = Part1
- Sound5.Looped = true
- Sound5.SoundId = "rbxassetid://285292100"
- Sound5.Volume = 1
- Sound6.Name = "Idle5"
- Sound6.Parent = Part1
- Sound6.Looped = true
- Sound6.SoundId = "rbxassetid://285291438"
- Sound6.Volume = 1
- Sound7.Name = "Idle6"
- Sound7.Parent = Part1
- Sound7.Looped = true
- Sound7.TimePosition = 53.503245144751
- Sound7.Playing = true
- Sound7.SoundId = "rbxassetid://285752434"
- Sound7.Volume = 1
- Sound8.Name = "ScreamingNoise1"
- Sound8.Parent = Part1
- Sound8.Looped = true
- Sound8.SoundId = "rbxassetid://261824926"
- Sound8.Volume = 1
- Sound9.Name = "Damage5"
- Sound9.Parent = Part1
- Sound9.SoundId = "rbxassetid://330944299"
- Sound9.Volume = 1
- Sound10.Name = "Idle1"
- Sound10.Parent = Part1
- Sound10.Looped = true
- Sound10.SoundId = "rbxassetid://254932698"
- Sound10.Volume = 1
- Sound11.Name = "Idle2"
- Sound11.Parent = Part1
- Sound11.Looped = true
- Sound11.SoundId = "rbxassetid://337657742"
- Sound11.Volume = 1
- Sound12.Name = "Screaming1"
- Sound12.Parent = Part1
- Sound12.Looped = true
- Sound12.SoundId = "rbxassetid://325117535"
- Sound12.Volume = 1
- Sound13.Name = "Screaming2"
- Sound13.Parent = Part1
- Sound13.Looped = true
- Sound13.SoundId = "rbxassetid://325109850"
- Sound13.Volume = 1
- Sound14.Name = "Screaming3"
- Sound14.Parent = Part1
- Sound14.Looped = true
- Sound14.SoundId = "rbxassetid://325103254"
- Sound14.Volume = 1
- Sound15.Name = "Screaming4"
- Sound15.Parent = Part1
- Sound15.Looped = true
- Sound15.SoundId = "rbxassetid://325096496"
- Sound15.Volume = 1
- Sound16.Name = "FootSteps"
- Sound16.Parent = Part1
- Sound16.Looped = true
- Sound16.SoundId = "rbxassetid://342726817"
- Sound16.Volume = 1
- SurfaceLight17.Name = "Sight"
- SurfaceLight17.Parent = Part1
- SurfaceLight17.Color = Color3.new(0, 0, 0)
- SurfaceLight17.Enabled = false
- SurfaceLight17.Range = 60
- SurfaceLight17.Brightness = 255
- SurfaceLight17.Angle = 70
- Part18.Name = "Torso"
- Part18.Parent = Model0
- Part18.CFrame = CFrame.new(-17.9200039, 4.0500679, 9.77749157, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part18.Orientation = Vector3.new(0, 168.710007, 0)
- Part18.Position = Vector3.new(-17.9200039, 4.0500679, 9.77749157)
- Part18.Rotation = Vector3.new(-180, 11.29, -180)
- Part18.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part18.Size = Vector3.new(2.70000148, 2.70000148, 1.35000074)
- Part18.BackParamA = -99999
- Part18.BackParamB = 99999
- Part18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.BottomParamA = -99999
- Part18.BottomParamB = 99999
- Part18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.BrickColor = BrickColor.new("Institutional white")
- Part18.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part18.Elasticity = 0
- Part18.Friction = 2
- Part18.FrontParamA = -99999
- Part18.FrontParamB = 99999
- Part18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.LeftParamA = -99999
- Part18.LeftParamB = 99999
- Part18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.RightParamA = -99999
- Part18.RightParamB = 99999
- Part18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.TopParamA = -99999
- Part18.TopParamB = 99999
- Part18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.brickColor = BrickColor.new("Institutional white")
- Part18.FormFactor = Enum.FormFactor.Custom
- Part18.formFactor = Enum.FormFactor.Custom
- Motor6D19.Name = "Left Hip"
- Motor6D19.Parent = Part18
- Motor6D19.C0 = CFrame.new(-1.35000074, -1.35000074, 0, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05)
- Motor6D19.C1 = CFrame.new(-0.67500037, 1.35000074, 0, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05)
- Motor6D19.Part0 = Part18
- Motor6D19.Part1 = Part25
- Motor6D19.part1 = Part25
- Motor6D20.Name = "Right Hip"
- Motor6D20.Parent = Part18
- Motor6D20.C0 = CFrame.new(1.35000074, -1.35000074, 0, 5.34682295e-05, 1.23517841e-13, 1, -4.3159529e-05, 1, 2.30754016e-09, -1, -4.3159529e-05, 5.34682331e-05)
- Motor6D20.C1 = CFrame.new(0.67500037, 1.35000074, 0, 5.34682295e-05, 1.23517841e-13, 1, -4.3159529e-05, 1, 2.30754016e-09, -1, -4.3159529e-05, 5.34682331e-05)
- Motor6D20.Part0 = Part18
- Motor6D20.Part1 = Part27
- Motor6D20.part1 = Part27
- Motor6D21.Name = "Left Shoulder"
- Motor6D21.Parent = Part18
- Motor6D21.MaxVelocity = 1
- Motor6D21.C0 = CFrame.new(-1.35000074, 0.67500037, 0, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05)
- Motor6D21.C1 = CFrame.new(0.67500037, 0.67500037, 0, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05)
- Motor6D21.Part0 = Part18
- Motor6D21.Part1 = Part29
- Motor6D21.part1 = Part29
- Motor6D22.Name = "Right Shoulder"
- Motor6D22.Parent = Part18
- Motor6D22.MaxVelocity = 1
- Motor6D22.C0 = CFrame.new(1.35000074, 0.67500037, 0, 5.34682295e-05, 1.23517841e-13, 1, -4.3159529e-05, 1, 2.30754016e-09, -1, -4.3159529e-05, 5.34682331e-05)
- Motor6D22.C1 = CFrame.new(-0.67500037, 0.67500037, 0, 5.34682295e-05, 1.23517841e-13, 1, -4.3159529e-05, 1, 2.30754016e-09, -1, -4.3159529e-05, 5.34682331e-05)
- Motor6D22.Part0 = Part18
- Motor6D22.Part1 = Part31
- Motor6D22.part1 = Part31
- SpecialMesh23.Name = "TorsoMesh"
- SpecialMesh23.Parent = Part18
- SpecialMesh23.MeshId = "rbxassetid://27111894"
- SpecialMesh23.Scale = Vector3.new(1, 1.39999998, 1)
- SpecialMesh23.TextureId = "rbxassetid://255693950"
- SpecialMesh23.MeshType = Enum.MeshType.FileMesh
- Motor6D24.Name = "Neck"
- Motor6D24.Parent = Part18
- Motor6D24.C0 = CFrame.new(0, 1.35000074, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D24.C1 = CFrame.new(0, -0.67500037, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D24.Part0 = Part18
- Motor6D24.Part1 = Part33
- Motor6D24.part1 = Part33
- Part25.Name = "Left Leg"
- Part25.Parent = Model0
- Part25.CFrame = CFrame.new(-17.2581463, 1.35004401, 9.90960407, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part25.Orientation = Vector3.new(0, 168.710007, 0)
- Part25.Position = Vector3.new(-17.2581463, 1.35004401, 9.90960407)
- Part25.Rotation = Vector3.new(-180, 11.29, -180)
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part25.Size = Vector3.new(1.35000074, 2.70000148, 1.35000074)
- Part25.BackParamA = -99999
- Part25.BackParamB = 99999
- Part25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.BottomParamA = -99999
- Part25.BottomParamB = 99999
- Part25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.BrickColor = BrickColor.new("Institutional white")
- Part25.CanCollide = false
- Part25.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part25.Elasticity = 0
- Part25.Friction = 2
- Part25.FrontParamA = -99999
- Part25.FrontParamB = 99999
- Part25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.LeftParamA = -99999
- Part25.LeftParamB = 99999
- Part25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.Material = Enum.Material.SmoothPlastic
- Part25.RightParamA = -99999
- Part25.RightParamB = 99999
- Part25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.TopParamA = -99999
- Part25.TopParamB = 99999
- Part25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.brickColor = BrickColor.new("Institutional white")
- Part25.FormFactor = Enum.FormFactor.Custom
- Part25.formFactor = Enum.FormFactor.Custom
- SpecialMesh26.Name = "LeftLegMesh"
- SpecialMesh26.Parent = Part25
- SpecialMesh26.MeshId = "rbxassetid://32328520"
- SpecialMesh26.Scale = Vector3.new(0.899999976, 1.42999995, 1)
- SpecialMesh26.TextureId = "rbxassetid://255692783"
- SpecialMesh26.MeshType = Enum.MeshType.FileMesh
- Part27.Name = "Right Leg"
- Part27.Parent = Model0
- Part27.CFrame = CFrame.new(-18.5820084, 1.35008883, 9.64519882, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part27.Orientation = Vector3.new(0, 168.710007, 0)
- Part27.Position = Vector3.new(-18.5820084, 1.35008883, 9.64519882)
- Part27.Rotation = Vector3.new(-180, 11.29, -180)
- Part27.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part27.Size = Vector3.new(1.35000074, 2.70000148, 1.35000074)
- Part27.BackParamA = -99999
- Part27.BackParamB = 99999
- Part27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.BottomParamA = -99999
- Part27.BottomParamB = 99999
- Part27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.BrickColor = BrickColor.new("Institutional white")
- Part27.CanCollide = false
- Part27.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part27.Elasticity = 0
- Part27.Friction = 2
- Part27.FrontParamA = -99999
- Part27.FrontParamB = 99999
- Part27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.LeftParamA = -99999
- Part27.LeftParamB = 99999
- Part27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.Material = Enum.Material.SmoothPlastic
- Part27.RightParamA = -99999
- Part27.RightParamB = 99999
- Part27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.TopParamA = -99999
- Part27.TopParamB = 99999
- Part27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.brickColor = BrickColor.new("Institutional white")
- Part27.FormFactor = Enum.FormFactor.Custom
- Part27.formFactor = Enum.FormFactor.Custom
- SpecialMesh28.Name = "RightLegMesh"
- SpecialMesh28.Parent = Part27
- SpecialMesh28.MeshId = "rbxassetid://32328627"
- SpecialMesh28.Scale = Vector3.new(0.899999976, 1.42999995, 1)
- SpecialMesh28.TextureId = "rbxassetid://255692783"
- SpecialMesh28.MeshType = Enum.MeshType.FileMesh
- Part29.Name = "Left Arm"
- Part29.Parent = Model0
- Part29.CFrame = CFrame.new(-15.9342117, 4.05000019, 10.1740999, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part29.Orientation = Vector3.new(0, 168.710007, 0)
- Part29.Position = Vector3.new(-15.9342117, 4.05000019, 10.1740999)
- Part29.Rotation = Vector3.new(-180, 11.29, -180)
- Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part29.Size = Vector3.new(1.35000074, 2.70000148, 1.35000074)
- Part29.BackParamA = -99999
- Part29.BackParamB = 99999
- Part29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.BottomParamA = -99999
- Part29.BottomParamB = 99999
- Part29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.BrickColor = BrickColor.new("Institutional white")
- Part29.CanCollide = false
- Part29.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part29.Elasticity = 0
- Part29.Friction = 2
- Part29.FrontParamA = -99999
- Part29.FrontParamB = 99999
- Part29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.LeftParamA = -99999
- Part29.LeftParamB = 99999
- Part29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.Material = Enum.Material.SmoothPlastic
- Part29.RightParamA = -99999
- Part29.RightParamB = 99999
- Part29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.TopParamA = -99999
- Part29.TopParamB = 99999
- Part29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.brickColor = BrickColor.new("Institutional white")
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.formFactor = Enum.FormFactor.Custom
- SpecialMesh30.Name = "LeftArmMesh"
- SpecialMesh30.Parent = Part29
- SpecialMesh30.MeshId = "rbxassetid://36780032"
- SpecialMesh30.Scale = Vector3.new(2, 1.5, 1.79999995)
- SpecialMesh30.TextureId = "rbxassetid://255692783"
- SpecialMesh30.MeshType = Enum.MeshType.FileMesh
- Part31.Name = "Right Arm"
- Part31.Parent = Model0
- Part31.CFrame = CFrame.new(-19.9057961, 4.05013561, 9.38088322, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part31.Orientation = Vector3.new(0, 168.710007, 0)
- Part31.Position = Vector3.new(-19.9057961, 4.05013561, 9.38088322)
- Part31.Rotation = Vector3.new(-180, 11.29, -180)
- Part31.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part31.Size = Vector3.new(1.35000074, 2.70000148, 1.35000074)
- Part31.BackParamA = -99999
- Part31.BackParamB = 99999
- Part31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.BottomParamA = -99999
- Part31.BottomParamB = 99999
- Part31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.BrickColor = BrickColor.new("Institutional white")
- Part31.CanCollide = false
- Part31.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part31.Elasticity = 0
- Part31.Friction = 2
- Part31.FrontParamA = -99999
- Part31.FrontParamB = 99999
- Part31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.LeftParamA = -99999
- Part31.LeftParamB = 99999
- Part31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.RightParamA = -99999
- Part31.RightParamB = 99999
- Part31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.TopParamA = -99999
- Part31.TopParamB = 99999
- Part31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.brickColor = BrickColor.new("Institutional white")
- Part31.FormFactor = Enum.FormFactor.Custom
- Part31.formFactor = Enum.FormFactor.Custom
- SpecialMesh32.Name = "RightArmMesh"
- SpecialMesh32.Parent = Part31
- SpecialMesh32.MeshId = "rbxassetid://36780156"
- SpecialMesh32.Scale = Vector3.new(2, 1.5, 1.79999995)
- SpecialMesh32.TextureId = "rbxassetid://255692783"
- SpecialMesh32.MeshType = Enum.MeshType.FileMesh
- Part33.Name = "Head"
- Part33.Parent = Model0
- Part33.CFrame = CFrame.new(-17.9199486, 6.07506895, 9.77755928, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part33.Orientation = Vector3.new(0, 168.710007, 0)
- Part33.Position = Vector3.new(-17.9199486, 6.07506895, 9.77755928)
- Part33.Rotation = Vector3.new(-180, 11.29, -180)
- Part33.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part33.Size = Vector3.new(2.70000148, 1.35000074, 1.35000074)
- Part33.BackParamA = -99999
- Part33.BackParamB = 99999
- Part33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.BottomParamA = -99999
- Part33.BottomParamB = 99999
- Part33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.BrickColor = BrickColor.new("Institutional white")
- Part33.CustomPhysicalProperties = 0.699999988, 0, 0, 1, 1
- Part33.Elasticity = 0
- Part33.Friction = 0
- Part33.FrontParamA = -99999
- Part33.FrontParamB = 99999
- Part33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.LeftParamA = -99999
- Part33.LeftParamB = 99999
- Part33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.Material = Enum.Material.SmoothPlastic
- Part33.RightParamA = -99999
- Part33.RightParamB = 99999
- Part33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.TopParamA = -99999
- Part33.TopParamB = 99999
- Part33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.brickColor = BrickColor.new("Institutional white")
- Part33.FormFactor = Enum.FormFactor.Custom
- Part33.formFactor = Enum.FormFactor.Custom
- SpecialMesh34.Name = "HeadMesh"
- SpecialMesh34.Parent = Part33
- SpecialMesh34.MeshId = "rbxassetid://36869983"
- SpecialMesh34.Scale = Vector3.new(1, 1.29999995, 1)
- SpecialMesh34.TextureId = "rbxassetid://367967552"
- SpecialMesh34.MeshType = Enum.MeshType.FileMesh
- Motor6D35.Name = "Left Eye"
- Motor6D35.Parent = Part33
- Motor6D35.MaxVelocity = 0.10000000149012
- Motor6D35.C0 = CFrame.new(-0.340000004, 0.25999999, -0.469999999, 1, 4.31581502e-05, 4.80200824e-10, 9.29503585e-10, -3.26636873e-05, 1, 4.31581502e-05, -1, -3.26636873e-05)
- Motor6D35.C1 = CFrame.new(0, 0, 0, 1, 4.31581502e-05, 4.80200824e-10, 9.29503585e-10, -3.26636873e-05, 1, 4.31581502e-05, -1, -3.26636873e-05)
- Motor6D35.Part0 = Part33
- Motor6D35.Part1 = Part64
- Motor6D35.part1 = Part64
- Weld36.Name = "Mouth Weld"
- Weld36.Parent = Part33
- Weld36.C0 = CFrame.new(0, -0.730000019, -0.639999986, 1, 4.31581502e-05, 4.80200824e-10, 9.29503585e-10, -3.26636873e-05, 1, 4.31581502e-05, -1, -3.26636873e-05)
- Weld36.C1 = CFrame.new(0, 0, 0, 1, 4.31581502e-05, 4.80200824e-10, 9.29503585e-10, -3.26636873e-05, 1, 4.31581502e-05, -1, -3.26636873e-05)
- Weld36.Part0 = Part33
- Weld36.Part1 = Part52
- Weld36.part1 = Part52
- Motor6D37.Name = "Right Eye"
- Motor6D37.Parent = Part33
- Motor6D37.MaxVelocity = 0.10000000149012
- Motor6D37.C0 = CFrame.new(0.340000004, 0.25999999, -0.469999999, 1, 4.31581502e-05, 4.80200824e-10, 9.29503585e-10, -3.26636873e-05, 1, 4.31581502e-05, -1, -3.26636873e-05)
- Motor6D37.C1 = CFrame.new(0, 0, 0, 1, 4.31581502e-05, 4.80200824e-10, 9.29503585e-10, -3.26636873e-05, 1, 4.31581502e-05, -1, -3.26636873e-05)
- Motor6D37.Part0 = Part33
- Motor6D37.Part1 = Part72
- Motor6D37.part1 = Part72
- Sound38.Name = "Damage5"
- Sound38.Parent = Part33
- Sound38.SoundId = "rbxassetid://256509968"
- Sound38.Volume = 1
- Sound39.Name = "Idle"
- Sound39.Parent = Part33
- Sound39.Looped = true
- Sound39.SoundId = "rbxassetid://257345390"
- Sound39.Volume = 1
- Sound40.Name = "Panic"
- Sound40.Parent = Part33
- Sound40.SoundId = "rbxassetid://261933442"
- Sound40.Volume = 1
- Sound41.Name = "Screaming"
- Sound41.Parent = Part33
- Sound41.Looped = true
- Sound41.SoundId = "rbxassetid://325096496"
- Sound41.Volume = 1
- Humanoid42.Name = "SCP"
- Humanoid42.Parent = Model0
- Humanoid42.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid42.Health = inf
- Humanoid42.HealthDisplayDistance = 0
- Humanoid42.LeftLeg = Part25
- Humanoid42.MaxHealth = inf
- Humanoid42.MaxSlopeAngle = 89.900001525879
- Humanoid42.NameDisplayDistance = 0
- Humanoid42.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid42.RightLeg = Part27
- Humanoid42.Torso = Part1
- Humanoid42.WalkSpeed = 0
- Humanoid42.maxHealth = inf
- Sound43.Name = "Panicking3"
- Sound43.Parent = Model0
- Sound43.SoundId = "rbxassetid://330944564"
- Sound43.Volume = 1
- Sound44.Name = "Panicking4"
- Sound44.Parent = Model0
- Sound44.SoundId = "rbxassetid://285829481"
- Sound44.Volume = 1
- Sound45.Name = "ChasingMusic4"
- Sound45.Parent = Model0
- Sound45.Looped = true
- Sound45.SoundId = "rbxassetid://315132414"
- Sound45.Volume = 1
- Sound46.Name = "ChasingMusic3"
- Sound46.Parent = Model0
- Sound46.Looped = true
- Sound46.SoundId = "rbxassetid://306207443"
- Sound46.Volume = 1
- Sound47.Name = "Panicking6"
- Sound47.Parent = Model0
- Sound47.SoundId = "rbxassetid://325092633"
- Sound47.Volume = 1
- Sound48.Name = "HorrorStrings2"
- Sound48.Parent = Model0
- Sound48.SoundId = "rbxassetid://254933987"
- Sound48.Volume = 1
- Sound49.Name = "Panicking7"
- Sound49.Parent = Model0
- Sound49.SoundId = "rbxassetid://325080827"
- Sound49.Volume = 1
- Sound50.Name = "Panicking1"
- Sound50.Parent = Model0
- Sound50.SoundId = "rbxassetid://261933442"
- Sound50.Volume = 1
- Sound51.Name = "Panicking2"
- Sound51.Parent = Model0
- Sound51.SoundId = "rbxassetid://330944587"
- Sound51.Volume = 1
- Part52.Name = "Mouth"
- Part52.Parent = Model0
- Part52.CFrame = CFrame.new(-18.0453167, 5.34505129, 10.4051428, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part52.Orientation = Vector3.new(0, 168.710007, 0)
- Part52.Position = Vector3.new(-18.0453167, 5.34505129, 10.4051428)
- Part52.Rotation = Vector3.new(-180, 11.29, -180)
- Part52.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part52.Size = Vector3.new(0.819999993, 1.76999998, 0.519999981)
- Part52.BackParamA = -99999
- Part52.BackParamB = 99999
- Part52.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part52.BottomParamA = -99999
- Part52.BottomParamB = 99999
- Part52.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part52.BrickColor = BrickColor.new("White")
- Part52.CanCollide = false
- Part52.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part52.Elasticity = 0
- Part52.Friction = 2
- Part52.FrontParamA = -99999
- Part52.FrontParamB = 99999
- Part52.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part52.LeftParamA = -99999
- Part52.LeftParamB = 99999
- Part52.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part52.Material = Enum.Material.SmoothPlastic
- Part52.RightParamA = -99999
- Part52.RightParamB = 99999
- Part52.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part52.TopParamA = -99999
- Part52.TopParamB = 99999
- Part52.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part52.brickColor = BrickColor.new("White")
- Part52.FormFactor = Enum.FormFactor.Custom
- Part52.formFactor = Enum.FormFactor.Custom
- SpecialMesh53.Name = "MouthMesh"
- SpecialMesh53.Parent = Part52
- SpecialMesh53.Scale = Vector3.new(1, 0.200000003, 1)
- SpecialMesh53.MeshType = Enum.MeshType.Sphere
- Decal54.Name = "MouthTexture"
- Decal54.Parent = Part52
- Decal54.Texture = "rbxassetid://367968217"
- Decal54.Face = Enum.NormalId.Back
- Decal55.Name = "MouthTexture"
- Decal55.Parent = Part52
- Decal55.Texture = "rbxassetid://367968232"
- Decal55.Face = Enum.NormalId.Left
- Decal56.Name = "MouthTexture"
- Decal56.Parent = Part52
- Decal56.Texture = "rbxassetid://367968249"
- Decal56.Face = Enum.NormalId.Right
- Decal57.Name = "MouthTexture"
- Decal57.Parent = Part52
- Decal57.Texture = "rbxassetid://367968261"
- Decal57.Face = Enum.NormalId.Top
- Decal58.Name = "MouthTexture"
- Decal58.Parent = Part52
- Decal58.Texture = "rbxassetid://367968261"
- Decal58.Face = Enum.NormalId.Bottom
- Decal59.Name = "MouthTexture"
- Decal59.Parent = Part52
- Decal59.Texture = "rbxassetid://413176929"
- Sound60.Name = "ChasingMusic5"
- Sound60.Parent = Model0
- Sound60.Looped = true
- Sound60.SoundId = "rbxassetid://337658152"
- Sound60.Volume = 1
- Part61.Name = "Ribs"
- Part61.Parent = Model0
- Part61.CFrame = CFrame.new(-17.9200039, 4.0500679, 9.77749157, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part61.Orientation = Vector3.new(0, 168.710007, 0)
- Part61.Position = Vector3.new(-17.9200039, 4.0500679, 9.77749157)
- Part61.Rotation = Vector3.new(-180, 11.29, -180)
- Part61.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part61.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part61.BackParamA = -99999
- Part61.BackParamB = 99999
- Part61.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part61.BottomParamA = -99999
- Part61.BottomParamB = 99999
- Part61.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part61.BrickColor = BrickColor.new("Institutional white")
- Part61.CanCollide = false
- Part61.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part61.Elasticity = 0
- Part61.Friction = 2
- Part61.FrontParamA = -99999
- Part61.FrontParamB = 99999
- Part61.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part61.LeftParamA = -99999
- Part61.LeftParamB = 99999
- Part61.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part61.Material = Enum.Material.SmoothPlastic
- Part61.RightParamA = -99999
- Part61.RightParamB = 99999
- Part61.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part61.TopParamA = -99999
- Part61.TopParamB = 99999
- Part61.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part61.brickColor = BrickColor.new("Institutional white")
- Part61.FormFactor = Enum.FormFactor.Custom
- Part61.formFactor = Enum.FormFactor.Custom
- SpecialMesh62.Name = "RibsMesh"
- SpecialMesh62.Parent = Part61
- SpecialMesh62.MeshId = "rbxassetid://36780113"
- SpecialMesh62.Scale = Vector3.new(1, 1.20000005, 2)
- SpecialMesh62.TextureId = "rbxassetid://255692783"
- SpecialMesh62.MeshType = Enum.MeshType.FileMesh
- Motor6D63.Name = "Ribs"
- Motor6D63.Parent = Part61
- Motor6D63.MaxVelocity = 0.10000000149012
- Motor6D63.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D63.C1 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Motor6D63.Part0 = Part18
- Motor6D63.Part1 = Part61
- Motor6D63.part1 = Part61
- Part64.Name = "Left Eye"
- Part64.Parent = Model0
- Part64.CFrame = CFrame.new(-17.6785774, 6.33504486, 10.3050585, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part64.Orientation = Vector3.new(0, 168.710007, 0)
- Part64.Position = Vector3.new(-17.6785774, 6.33504486, 10.3050585)
- Part64.Rotation = Vector3.new(-180, 11.29, -180)
- Part64.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part64.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part64.BackParamA = -99999
- Part64.BackParamB = 99999
- Part64.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.BottomParamA = -99999
- Part64.BottomParamB = 99999
- Part64.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.BrickColor = BrickColor.new("Institutional white")
- Part64.CanCollide = false
- Part64.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part64.Elasticity = 0
- Part64.Friction = 2
- Part64.FrontParamA = -99999
- Part64.FrontParamB = 99999
- Part64.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.LeftParamA = -99999
- Part64.LeftParamB = 99999
- Part64.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.Material = Enum.Material.SmoothPlastic
- Part64.RightParamA = -99999
- Part64.RightParamB = 99999
- Part64.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.TopParamA = -99999
- Part64.TopParamB = 99999
- Part64.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.brickColor = BrickColor.new("Institutional white")
- Part64.FormFactor = Enum.FormFactor.Custom
- Part64.formFactor = Enum.FormFactor.Custom
- SpecialMesh65.Name = "LeftEyeMesh"
- SpecialMesh65.Parent = Part64
- SpecialMesh65.MeshId = "rbxassetid://82326541"
- SpecialMesh65.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- SpecialMesh65.TextureId = "rbxassetid://369019120"
- SpecialMesh65.MeshType = Enum.MeshType.FileMesh
- Sound66.Name = "Panicking5"
- Sound66.Parent = Model0
- Sound66.SoundId = "rbxassetid://330944619"
- Sound66.Volume = 1
- Sound67.Name = "HorrorStrings1"
- Sound67.Parent = Model0
- Sound67.SoundId = "rbxassetid://257340849"
- Sound67.Volume = 1
- Script68.Name = "MainAnimation"
- Script68.Parent = Model0
- table.insert(cors,sandbox(Script68,function()
- --[[ By: Brutez. ]]--
- local AnimationScript=script;
- repeat Wait(0);until script and script.ClassName=="Script"and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Torso")and script.Parent:FindFirstChild("Head");
- local SCP096=AnimationScript.Parent;
- local SCP096Torso=SCP096:FindFirstChild("Torso");
- local LeftHip=SCP096Torso:FindFirstChild("Left Hip");
- local LeftShoulder=SCP096Torso:FindFirstChild("Left Shoulder");
- local Neck=SCP096Torso:FindFirstChild("Neck");
- local RightHip=SCP096Torso:FindFirstChild("Right Hip");
- local RightShoulder=SCP096Torso:FindFirstChild("Right Shoulder");
- local SCP096Humanoid;
- for _,Child in pairs(SCP096:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- SCP096Humanoid=Child;
- end;
- end;
- local CurrentPose="WhaaPose";
- local CurrentToolAnimation="None";
- local CurrentToolAnimationTime=0;
- function AquireTool()
- for _,Child in ipairs(SCP096:GetChildren()) do
- if Child and Child~=nil and Child.className=="Tool"then
- return Child;
- end;
- end;
- end;
- function AquireToolAnimation(ToolChild)
- for _,Child in ipairs(ToolChild:GetChildren()) do
- if Child and Child~=nil and Child.Name=="toolanim"and Child.className=="StringValue"then
- return Child;
- end;
- end;
- end;
- function ToolAnimation()
- if CurrentToolAnimation=="None"then
- RightShoulder.DesiredAngle=1.57;
- return;
- elseif CurrentToolAnimation=="Slash"then
- RightShoulder.MaxVelocity=0.5;
- RightShoulder.DesiredAngle=0;
- return;
- elseif CurrentToolAnimation=="Lunge"then
- RightShoulder.MaxVelocity=0.5;
- LeftShoulder.MaxVelocity=0.5;
- RightHip.MaxVelocity=0.5;
- LeftHip.MaxVelocity=0.5;
- RightShoulder.DesiredAngle=1.57;
- LeftShoulder.DesiredAngle=1.0;
- RightHip.DesiredAngle=1.57;
- LeftHip.DesiredAngle=1.0;
- return;
- end;
- end;
- function ChangeAngle(time)
- local Amount;
- local Rate;
- local Angle;
- if CurrentPose=="Jumping"then
- LeftHip.MaxVelocity=0.5;
- LeftHip.DesiredAngle=0;
- LeftShoulder.CurrentAngle=-3.14;
- LeftShoulder.DesiredAngle=-3.14;
- Neck.MaxVelocity=5;
- Neck.DesiredAngle=0;
- RightHip.MaxVelocity=0.5;
- RightHip.DesiredAngle=0;
- RightShoulder.CurrentAngle=3.14;
- RightShoulder.MaxVelocity=0.5;
- RightShoulder.DesiredAngle=3.14;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="FreeFall"then
- LeftHip.MaxVelocity=0.5;
- LeftHip.DesiredAngle=0;
- LeftShoulder.MaxVelocity=0.5;
- LeftShoulder.DesiredAngle=-3.14;
- Neck.MaxVelocity=5;
- Neck.DesiredAngle=0;
- RightHip.MaxVelocity=0.5;
- RightHip.DesiredAngle=0;
- RightShoulder.MaxVelocity=0.5;
- RightShoulder.DesiredAngle=3.14;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="Sitting"then
- LeftHip.MaxVelocity=0.15;
- LeftHip.DesiredAngle=-3.14/2;
- LeftShoulder.MaxVelocity=0.15;
- LeftShoulder.DesiredAngle=-3.14/2;
- Neck.MaxVelocity=0.15;
- Neck.DesiredAngle=0;
- RightHip.MaxVelocity=0.15;
- RightHip.DesiredAngle=3.14/2;
- RightShoulder.MaxVelocity=0.15;
- RightShoulder.DesiredAngle=3.14/2;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="Walking"then
- LeftHip.MaxVelocity=0.2;
- LeftShoulder.MaxVelocity=0.2;
- Neck.MaxVelocity=0.02;
- RightHip.MaxVelocity=0.2;
- RightShoulder.MaxVelocity=0.2;
- Amount=0.4;
- Rate=2;
- Angle=0;
- elseif CurrentPose=="Running"then
- LeftHip.MaxVelocity=0.8;
- LeftShoulder.MaxVelocity=5;
- LeftShoulder.DesiredAngle=-3.14/2;
- Neck.MaxVelocity=0.8;
- RightHip.MaxVelocity=0.8;
- RightShoulder.MaxVelocity=5;
- RightShoulder.DesiredAngle=3.14/2;
- Amount=2;
- Rate=15;
- Angle=0;
- elseif CurrentPose=="Panic"then
- LeftHip.DesiredAngle=0;
- LeftHip.MaxVelocity=1;
- LeftShoulder.DesiredAngle=-3.14;
- LeftShoulder.MaxVelocity=1;
- Neck.DesiredAngle=0;
- Neck.MaxVelocity=1;
- RightHip.DesiredAngle=0;
- RightHip.MaxVelocity=1;
- RightShoulder.MaxVelocity=1;
- RightShoulder.DesiredAngle=3.14;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="Climbing"then
- LeftHip.MaxVelocity=0.7;
- LeftShoulder.MaxVelocity=0.15;
- Neck.MaxVelocity=1;
- RightHip.MaxVelocity=0.7;
- RightShoulder.MaxVelocity=0.15;
- Amount=1;
- Rate=9;
- Angle=3.14;
- elseif CurrentPose=="Platformed"then
- LeftHip.DesiredAngle=0;
- LeftHip.CurrentAngle=0;
- LeftHip.MaxVelocity=0;
- LeftShoulder.DesiredAngle=0;
- LeftShoulder.CurrentAngle=0;
- LeftShoulder.MaxVelocity=0;
- Neck.DesiredAngle=0;
- Neck.CurrentAngle=0;
- Neck.MaxVelocity=0;
- RightHip.DesiredAngle=0;
- RightHip.CurrentAngle=0;
- RightHip.MaxVelocity=0;
- RightShoulder.MaxVelocity=0;
- RightShoulder.DesiredAngle=0;
- RightShoulder.CurrentAngle=0;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="WhaaPose"then
- LeftHip.MaxVelocity=0.05;
- LeftShoulder.MaxVelocity=0.05;
- Neck.MaxVelocity=0.005;
- RightHip.MaxVelocity=0.05;
- RightShoulder.MaxVelocity=0.05;
- Amount=0.1;
- Rate=3;
- Angle=0;
- end;
- if CurrentPose~="Platformed"or CurrentPose~="Jumping"or CurrentPose~="FreeFalling"or CurrentPose~="Sitting"then
- if Amount and Amount~=nil and Rate and Rate~=nil and Angle and Angle~=nil then
- local DesiredAngle=Amount*math.sin(time*Rate);
- if CurrentPose~="Running"and CurrentPose~="Panic"then
- Neck.DesiredAngle=DesiredAngle;
- RightShoulder.DesiredAngle=DesiredAngle+Angle;
- LeftShoulder.DesiredAngle=DesiredAngle-Angle;
- end;
- RightHip.DesiredAngle=-DesiredAngle;
- LeftHip.DesiredAngle=-DesiredAngle;
- end;
- local CurrentTool=AquireTool();
- if CurrentTool and CurrentTool~=nil then
- local animStringValueObject=AquireToolAnimation(CurrentTool);
- if animStringValueObject then
- CurrentToolAnimation=animStringValueObject.Value;
- animStringValueObject.Parent=nil;
- CurrentToolAnimationTime=time+0.3;
- end;
- if time>CurrentToolAnimationTime then
- CurrentToolAnimationTime=0
- CurrentToolAnimation="None"
- end;
- ToolAnimation();
- else
- CurrentToolAnimation="None";
- CurrentToolAnimationTime=0;
- end;
- end;
- end;
- Spawn(function()
- while Wait(0)do
- if AnimationScript and SCP096 and SCP096Torso and SCP096Torso~=nil then
- local FiredRay=Ray.new(SCP096Torso.Position,Vector3.new(0,-5.5,0));
- local RayTarget,endPoint=Game:GetService("Workspace"):FindPartOnRay(FiredRay,SCP096);
- if RayTarget and(SCP096Torso.Velocity-Vector3.new(0,SCP096Torso.Velocity.y,0)).magnitude>=5 and SCP096Humanoid and SCP096Humanoid.WalkSpeed==10 and not SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Walking";
- elseif RayTarget and(SCP096Torso.Velocity-Vector3.new(0,SCP096Torso.Velocity.y,0)).magnitude>=5 and SCP096Humanoid and SCP096Humanoid.WalkSpeed==35 and not SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Running";
- elseif SCP096Humanoid and SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Sitting";
- elseif not RayTarget and SCP096Humanoid and not SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Jumping";
- elseif SCP096Humanoid and SCP096Humanoid.PlatformStand then
- CurrentPose="Platformed";
- elseif RayTarget and(SCP096Torso.Velocity-Vector3.new(0,SCP096Torso.Velocity.y,0)).magnitude<=5 and SCP096Humanoid and SCP096Humanoid.WalkSpeed==0 and not SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Panic";
- else
- CurrentPose="WhaaPose";
- end;
- end;
- end;
- end);
- while Wait(0)do
- if SCP096 then
- local _,time=Wait(0);
- ChangeAngle(time);
- else
- break;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- Sound69.Name = "ChasingMusic2"
- Sound69.Parent = Model0
- Sound69.Looped = true
- Sound69.SoundId = "rbxassetid://261681311"
- Sound69.Volume = 1
- Animation70.Name = "Walk2"
- Animation70.Parent = Model0
- Animation70.AnimationId = "rbxassetid://335519686"
- Sound71.Name = "HorrorStrings3"
- Sound71.Parent = Model0
- Sound71.SoundId = "rbxassetid://289500141"
- Sound71.Volume = 1
- Part72.Name = "Right Eye"
- Part72.Parent = Model0
- Part72.CFrame = CFrame.new(-18.3454113, 6.33506727, 10.1718769, -0.98063767, 2.73664009e-05, 0.195855841, 3.33725911e-05, 1, 2.73664009e-05, -0.195855841, 3.33725911e-05, -0.98063767)
- Part72.Orientation = Vector3.new(0, 168.710007, 0)
- Part72.Position = Vector3.new(-18.3454113, 6.33506727, 10.1718769)
- Part72.Rotation = Vector3.new(-180, 11.29, -180)
- Part72.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part72.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part72.BackParamA = -99999
- Part72.BackParamB = 99999
- Part72.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part72.BottomParamA = -99999
- Part72.BottomParamB = 99999
- Part72.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part72.BrickColor = BrickColor.new("Institutional white")
- Part72.CanCollide = false
- Part72.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part72.Elasticity = 0
- Part72.Friction = 2
- Part72.FrontParamA = -99999
- Part72.FrontParamB = 99999
- Part72.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part72.LeftParamA = -99999
- Part72.LeftParamB = 99999
- Part72.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part72.Material = Enum.Material.SmoothPlastic
- Part72.RightParamA = -99999
- Part72.RightParamB = 99999
- Part72.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part72.TopParamA = -99999
- Part72.TopParamB = 99999
- Part72.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part72.brickColor = BrickColor.new("Institutional white")
- Part72.FormFactor = Enum.FormFactor.Custom
- Part72.formFactor = Enum.FormFactor.Custom
- SpecialMesh73.Name = "RightEyeMesh"
- SpecialMesh73.Parent = Part72
- SpecialMesh73.MeshId = "rbxassetid://82326541"
- SpecialMesh73.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- SpecialMesh73.TextureId = "rbxassetid://369019120"
- SpecialMesh73.MeshType = Enum.MeshType.FileMesh
- Sound74.Name = "ChasingMusic1"
- Sound74.Parent = Model0
- Sound74.Looped = true
- Sound74.SoundId = "rbxassetid://254933693"
- Sound74.Volume = 1
- Animation75.Name = "Attack1"
- Animation75.Parent = Model0
- Animation75.AnimationId = "rbxassetid://343065160"
- Animation76.Name = "AttackRun"
- Animation76.Parent = Model0
- Animation76.AnimationId = "rbxassetid://343260466"
- Animation77.Name = "GetUp2"
- Animation77.Parent = Model0
- Animation77.AnimationId = "rbxassetid://335316457"
- Animation78.Name = "Idle"
- Animation78.Parent = Model0
- Animation78.AnimationId = "rbxassetid://335319557"
- Animation79.Name = "PanicTochase"
- Animation79.Parent = Model0
- Animation79.AnimationId = "rbxassetid://359445467"
- Animation80.Name = "Panicking"
- Animation80.Parent = Model0
- Animation80.AnimationId = "rbxassetid://359435489"
- Animation81.Name = "RunToAttack"
- Animation81.Parent = Model0
- Animation81.AnimationId = "rbxassetid://343263376"
- Animation82.Name = "Running"
- Animation82.Parent = Model0
- Animation82.AnimationId = "rbxassetid://343256571"
- Animation83.Name = "Sit"
- Animation83.Parent = Model0
- Animation83.AnimationId = "rbxassetid://335306919"
- Animation84.Name = "Sit2"
- Animation84.Parent = Model0
- Animation84.AnimationId = "rbxassetid://254753159"
- Animation85.Name = "Sit2End"
- Animation85.Parent = Model0
- Animation85.AnimationId = "rbxassetid://335311971"
- Animation86.Name = "Sit2Start"
- Animation86.Parent = Model0
- Animation86.AnimationId = "rbxassetid://335309265"
- Animation87.Name = "SitBack"
- Animation87.Parent = Model0
- Animation87.AnimationId = "rbxassetid://335655760"
- Animation88.Name = "SitToPanic"
- Animation88.Parent = Model0
- Animation88.AnimationId = "rbxassetid://359442730"
- Animation89.Name = "StandToPanic"
- Animation89.Parent = Model0
- Animation89.AnimationId = "rbxassetid://335525183"
- Sound90.Name = "Hush"
- Sound90.Parent = Model0
- Sound90.Looped = true
- Sound90.SoundId = "rbxassetid://306207443"
- Sound90.Volume = 1
- Sound91.Name = "Notice"
- Sound91.Parent = Model0
- Sound91.SoundId = "rbxassetid://257340849"
- Sound91.Volume = 1
- Script92.Name = "Hidenametag"
- Script92.Parent = Model0
- table.insert(cors,sandbox(Script92,function()
- character = script.Parent
- character.Head.Changed:connect(function(property)
- if property == "BrickColor" then
- if character:FindFirstChild("NewHead") then
- character.NewHead.BrickColor= character.Head.BrickColor
- end
- end
- end)
- local head= character.Head
- local newhead= head:Clone()
- newhead.Name= "NewHead"
- newhead.Parent= character
- head.Transparency= 1
- weld= Instance.new("Weld")
- weld.Parent= head
- weld.Part0= head
- weld.Part1= newhead
- end))
- Script93.Name = "Main"
- Script93.Parent = Model0
- table.insert(cors,sandbox(Script93,function()
- --[[ By: Brutez. ]]--
- local SCP096Script=script;
- repeat Wait(0);until script and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Head")and script.Parent:FindFirstChild("Torso")and script.Parent:FindFirstChild("HumanoidRootPart");
- local SCP096=SCP096Script.Parent;
- if SCP096Script and SCP096 and SCP096:FindFirstChild("Thumbnail")then
- SCP096:FindFirstChild("Thumbnail"):Destroy();
- end
- local Hush=SCP096:FindFirstChild("Hush");
- local Notice=SCP096:FindFirstChild("Notice");
- local SCP096Humanoid;
- for _,Child in pairs(SCP096:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- SCP096Humanoid=Child;
- end;
- end;
- local CanSee=false;
- local Pathing=false;
- local SCP096Head=SCP096:FindFirstChild("Head");
- local Damage5=SCP096Head:FindFirstChild("Damage5");
- local Idle=SCP096Head:FindFirstChild("Idle");
- local Panic=SCP096Head:FindFirstChild("Panic");
- local Screaming=SCP096Head:FindFirstChild("Screaming");
- local SCP096HumanoidRootPart=SCP096:FindFirstChild("HumanoidRootPart");
- local SCP096Torso=SCP096:FindFirstChild("Torso");
- local AttackDebounce=false;
- local Chasing=false;
- function raycast(Spos,vec,currentdist)
- local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),SCP096);
- if hit2~=nil and pos2 then
- if hit2.Name=="Handle" and not hit2.CanCollide or string.sub(hit2.Name,1,6)=="Effect"and not hit2.CanCollide then
- local currentdist=currentdist-(pos2-Spos).magnitude;
- return raycast(pos2,vec,currentdist);
- end;
- end;
- return hit2,pos2;
- end;
- function RayCast(Position,Direction,MaxDistance,IgnoreList)
- return Game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position,Direction.unit*(MaxDistance or 999.999)),IgnoreList);
- end;
- Spawn(function()
- while Wait(0)do
- if SCP096Script and SCP096 and SCP096HumanoidRootPart and SCP096Head and SCP096Humanoid and SCP096Humanoid.Health~=0 then
- local TargetPoint=SCP096Humanoid.TargetPoint;
- local Blockage,BlockagePos=RayCast((SCP096HumanoidRootPart.CFrame+CFrame.new(SCP096HumanoidRootPart.Position,Vector3.new(TargetPoint.X,SCP096HumanoidRootPart.Position.Y,TargetPoint.Z)).lookVector*(SCP096HumanoidRootPart.Size.Z/2)).p,SCP096HumanoidRootPart.CFrame.lookVector,(SCP096HumanoidRootPart.Size.Z*2.5),{SCP096,SCP096})
- local Jumpable=false;
- if Blockage then
- Jumpable=true;
- if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then
- local BlockageHumanoid;
- for _,Child in pairs(Blockage.Parent:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- BlockageHumanoid=Child;
- end;
- end;
- if Blockage and Blockage:IsA("Terrain")then
- local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0)));
- local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z);
- if CellMaterial==Enum.CellMaterial.Water then
- Jumpable=false;
- end;
- elseif BlockageHumanoid or Blockage.ClassName=="TrussPart"or Blockage.ClassName=="WedgePart"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Hat"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Tool"then
- Jumpable=false;
- end;
- end;
- if SCP096Script and SCP096 and SCP096Humanoid and SCP096Humanoid.Health~=0 and not SCP096Humanoid.Sit and Jumpable then
- SCP096Humanoid.Jump=true;
- end;
- end;
- end;
- end;
- end);
- local DynamicWander=true;
- while Wait(0)do
- if SCP096Script and SCP096 and SCP096Humanoid then
- SCP096Humanoid.CameraOffset=Vector3.new(0,0,0);
- SCP096Humanoid.DisplayDistanceType="None";
- SCP096Humanoid.HealthDisplayDistance=0;
- SCP096Humanoid.Name="SCP";
- SCP096Humanoid.NameDisplayDistance=0;
- SCP096Humanoid.NameOcclusion="EnemyOcclusion";
- SCP096Humanoid.Archivable=true;
- SCP096Humanoid.AutoRotate=true;
- SCP096Humanoid.MaxHealth=99999e99999;
- SCP096Humanoid.Health=99999e99999;
- SCP096Humanoid.JumpPower=0;
- SCP096Humanoid.MaxSlopeAngle=89.9;
- if not Chasing then
- local SwitchWander=math.random(1,2000);
- if SwitchWander==1 and not DynamicWander then
- DynamicWander=true;
- elseif SwitchWander==1 and DynamicWander then
- DynamicWander=false;
- end;
- local WalkChance=math.random(1,100);
- if WalkChance==1 and SCP096Script and SCP096 and SCP096:FindFirstChild("Torso")and SCP096:FindFirstChild("Head")and SCP096Humanoid and SCP096Humanoid.Health~=0 and not DynamicWander then
- SCP096Humanoid:MoveTo(Game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),Game:GetService("Workspace"):FindFirstChild("Terrain"));
- elseif SCP096Script and SCP096 and SCP096Torso and SCP096Head and SCP096Humanoid and SCP096Humanoid.Health~=0 and DynamicWander then
- local WanderAngle=(math.random()-0.5)*1;
- local RotatingLookVector=CFrame.Angles(0,WanderAngle,0)*SCP096Torso.CFrame.lookVector;
- SCP096Humanoid:MoveTo(SCP096Torso.Position+6*RotatingLookVector,SCP096Torso);
- end;
- SCP096Humanoid.WalkSpeed=10;
- else
- SCP096Humanoid=35;
- end;
- end;
- if SCP096Script and SCP096 and Hush and Hush.IsPlaying then
- Hush:Stop();
- end;
- if SCP096Script and SCP096 and Idle and not Idle.IsPlaying then
- Idle:Play();
- end;
- if SCP096Script and SCP096 and Panic and Panic.IsPlaying then
- Panic:Stop();
- end;
- if SCP096Script and SCP096 and Screaming and Screaming.IsPlaying then
- Screaming:Stop();
- end;
- local NoticeDistance=10;
- local TargetTorso;
- for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
- if TargetModel.className=="Model"and TargetModel~=SCP096 and TargetModel.Name~=SCP096.Name and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
- local TargetPart=TargetModel:FindFirstChild("Torso");
- local FoundHumanoid;
- for _,Child in pairs(TargetModel:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- FoundHumanoid=Child;
- end;
- end;
- if TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude<NoticeDistance then
- TargetTorso=TargetPart;
- NoticeDistance=(TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude;
- AttackDebounce=true;
- Spawn(function()
- Chasing=true;
- if SCP096Script and SCP096 and Idle then
- Notice:Play();
- end;
- if SCP096Script and SCP096 and Hush and Hush.IsPlaying then
- Hush:Stop();
- end;
- if SCP096Script and SCP096 and Idle and Idle.IsPlaying then
- Idle:Stop();
- end;
- if SCP096Script and SCP096 and Panic then
- Panic:Play();
- end;
- if SCP096Script and SCP096 and Screaming and Screaming.IsPlaying then
- Screaming:Stop();
- end;
- SCP096Humanoid.WalkSpeed=0;
- SCP096Humanoid:MoveTo(SCP096Torso.Position,Game:GetService("Workspace"):FindFirstChild("Terrain"));
- Wait(38);
- if SCP096Script and SCP096 and Hush and not Hush.IsPlaying then
- Hush:Play();
- end;
- if SCP096Script and SCP096 and Idle and Idle.IsPlaying then
- Idle:Stop();
- end;
- if SCP096Script and SCP096 and Panic and Panic.IsPlaying then
- Panic:Stop();
- end;
- if SCP096Script and SCP096 and Screaming and not Screaming.IsPlaying then
- Screaming:Play();
- end;
- SCP096Humanoid.WalkSpeed=35;
- Spawn(function()
- while Wait(0)do
- local hit,pos=raycast(SCP096HumanoidRootPart.Position,(TargetPart.Position-SCP096HumanoidRootPart.Position).unit,500)
- if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("Torso")and hit.Parent:FindFirstChild("Head")then
- CanSee=true;
- else
- CanSee=false;
- end;
- end;
- end);
- repeat
- Wait(0)
- if CanSee then
- SCP096Humanoid:MoveTo(TargetPart.Position+(TargetPart.Position-SCP096HumanoidRootPart.Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain"));
- end;
- if not CanSee and not Pathing then
- Spawn(function()
- Pathing=true;
- local RenderedPath=game:GetService("PathfindingService"):ComputeRawPathAsync(SCP096Torso.Position,TargetPart.Position,500);
- local RenderedPathCoordinates=RenderedPath:GetPointCoordinates();
- for _=1,#RenderedPathCoordinates do
- if not CanSee then
- local Point=RenderedPathCoordinates[_];
- local PathTimer=0;
- repeat Wait(0);
- SCP096Humanoid:MoveTo(Point);PathTimer=PathTimer+1;
- if PathTimer>15 or CanSee then
- break;
- end;
- until(SCP096Torso.Position-Point).Magnitude<5 or PathTimer>15 or CanSee;
- if PathTimer>15 or CanSee then
- break;
- end;
- end;
- end;
- Pathing=false;
- end);
- end;
- if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and (TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude<10 then
- Damage5:Play();
- FoundHumanoid:TakeDamage(99999e99999);
- end
- until TargetModel.Parent==nil or TargetPart.Parent==nil or FoundHumanoid.Parent==nil or TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health==0;
- Chasing=false;
- end);
- repeat Wait(0);until not Chasing;
- AttackDebounce=false
- end;
- end;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement