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")
- PointLight2 = Instance.new("PointLight")
- SpecialMesh3 = Instance.new("SpecialMesh")
- Decal4 = Instance.new("Decal")
- Sound5 = Instance.new("Sound")
- Sound6 = Instance.new("Sound")
- Sound7 = Instance.new("Sound")
- Sound8 = Instance.new("Sound")
- Weld9 = Instance.new("Weld")
- Weld10 = Instance.new("Weld")
- Weld11 = Instance.new("Weld")
- Part12 = Instance.new("Part")
- Decal13 = Instance.new("Decal")
- Motor6D14 = Instance.new("Motor6D")
- Motor6D15 = Instance.new("Motor6D")
- Motor6D16 = Instance.new("Motor6D")
- Motor6D17 = Instance.new("Motor6D")
- Motor6D18 = Instance.new("Motor6D")
- Decal19 = Instance.new("Decal")
- Part20 = Instance.new("Part")
- Decal21 = Instance.new("Decal")
- SpecialMesh22 = Instance.new("SpecialMesh")
- Part23 = Instance.new("Part")
- Decal24 = Instance.new("Decal")
- SpecialMesh25 = Instance.new("SpecialMesh")
- Part26 = Instance.new("Part")
- Decal27 = Instance.new("Decal")
- Part28 = Instance.new("Part")
- Decal29 = Instance.new("Decal")
- Humanoid30 = Instance.new("Humanoid")
- Part31 = Instance.new("Part")
- Motor6D32 = Instance.new("Motor6D")
- SpecialMesh33 = Instance.new("SpecialMesh")
- Decal34 = Instance.new("Decal")
- CharacterMesh35 = Instance.new("CharacterMesh")
- Script36 = Instance.new("Script")
- Script37 = Instance.new("Script")
- StringValue38 = Instance.new("StringValue")
- Animation39 = Instance.new("Animation")
- StringValue40 = Instance.new("StringValue")
- Animation41 = Instance.new("Animation")
- StringValue42 = Instance.new("StringValue")
- Animation43 = Instance.new("Animation")
- NumberValue44 = Instance.new("NumberValue")
- Animation45 = Instance.new("Animation")
- NumberValue46 = Instance.new("NumberValue")
- StringValue47 = Instance.new("StringValue")
- Animation48 = Instance.new("Animation")
- StringValue49 = Instance.new("StringValue")
- Animation50 = Instance.new("Animation")
- StringValue51 = Instance.new("StringValue")
- Animation52 = Instance.new("Animation")
- StringValue53 = Instance.new("StringValue")
- Animation54 = Instance.new("Animation")
- StringValue55 = Instance.new("StringValue")
- Animation56 = Instance.new("Animation")
- Script57 = Instance.new("Script")
- Script58 = Instance.new("Script")
- CharacterMesh59 = Instance.new("CharacterMesh")
- BodyColors60 = Instance.new("BodyColors")
- Sound61 = Instance.new("Sound")
- Script62 = Instance.new("Script")
- CharacterMesh63 = Instance.new("CharacterMesh")
- Hat64 = Instance.new("Hat")
- Part65 = Instance.new("Part")
- SpecialMesh66 = Instance.new("SpecialMesh")
- Hat67 = Instance.new("Hat")
- Part68 = Instance.new("Part")
- SpecialMesh69 = Instance.new("SpecialMesh")
- Hat70 = Instance.new("Hat")
- Part71 = Instance.new("Part")
- SpecialMesh72 = Instance.new("SpecialMesh")
- Decal73 = Instance.new("Decal")
- Decal74 = Instance.new("Decal")
- Decal75 = Instance.new("Decal")
- Decal76 = Instance.new("Decal")
- Decal77 = Instance.new("Decal")
- Sound78 = Instance.new("Sound")
- Model0.Name = "Scp-096."
- Model0.Parent = mas
- Model0.PrimaryPart = Part1
- Part1.Name = "Head"
- 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 = 0
- Part1.Size = Vector3.new(2, 1, 1)
- Part1.CFrame = CFrame.new(-14.5499878, 4.50002003, -55.75, 1, 0, 0, 0, 1, 0, 0, 0, 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(-14.5499878, 4.50002003, -55.75)
- Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
- PointLight2.Parent = Part1
- PointLight2.Color = Color3.new(1, 0, 0)
- PointLight2.Brightness = inf
- PointLight2.Range = 9
- PointLight2.Color = Color3.new(1, 0, 0)
- SpecialMesh3.Parent = Part1
- SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=36869983"
- SpecialMesh3.Scale = Vector3.new(0.949999988, 0.899999976, 0.949999988)
- SpecialMesh3.TextureId = "http://www.roblox.com/asset/?id=36869975"
- SpecialMesh3.MeshType = Enum.MeshType.FileMesh
- SpecialMesh3.Scale = Vector3.new(0.949999988, 0.899999976, 0.949999988)
- Decal4.Parent = Part1
- Decal4.Texture = "http://www.roblox.com/asset/?id=382210323"
- Sound5.Name = "Damage5"
- Sound5.Parent = Part1
- Sound5.SoundId = "rbxassetid://256509968"
- Sound5.Volume = 1
- Sound6.Name = "Idle"
- Sound6.Parent = Part1
- Sound6.SoundId = "rbxassetid://254932698"
- Sound6.Volume = 1
- Sound6.Looped = true
- Sound7.Name = "Panic"
- Sound7.Parent = Part1
- Sound7.SoundId = "rbxassetid://306192776"
- Sound7.Volume = 1
- Sound8.Name = "Screaming"
- Sound8.Parent = Part1
- Sound8.SoundId = "rbxassetid://325096496"
- Sound8.Volume = 1
- Sound8.Looped = true
- Weld9.Name = "HeadWeld"
- Weld9.Parent = Part1
- Weld9.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld9.C1 = CFrame.new(-0.200000003, -0.419999987, 0.300000012, 1, 2.18651817e-08, -4.31581502e-05, -4.31581466e-05, 0.00100303721, -0.999999523, 2.14240572e-08, 0.999999523, 0.00100303721)
- Weld9.Part0 = Part1
- Weld9.Part1 = Part65
- Weld10.Name = "HeadWeld"
- Weld10.Parent = Part1
- Weld10.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld10.C1 = CFrame.new(0.200000003, -0.449999988, 0.300000012, 1, 2.18651817e-08, -4.31581502e-05, -4.31581466e-05, 0.00100303721, -0.999999523, 2.14240572e-08, 0.999999523, 0.00100303721)
- Weld10.Part0 = Part1
- Weld10.Part1 = Part68
- Weld11.Name = "HeadWeld"
- Weld11.Parent = Part1
- Weld11.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld11.C1 = CFrame.new(0, 0.5, 1.29999995, -1, -2.37697755e-08, 4.31562403e-05, 4.31562366e-05, -0.00106867601, 0.999999404, 2.2350271e-08, 0.999999404, 0.00106867612)
- Weld11.Part0 = Part1
- Weld11.Part1 = Part71
- Part12.Name = "Torso"
- Part12.Parent = Model0
- Part12.Material = Enum.Material.SmoothPlastic
- Part12.BrickColor = BrickColor.new("Institutional white")
- Part12.CanCollide = false
- Part12.Locked = true
- Part12.Elasticity = 0
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.Friction = 2
- Part12.Size = Vector3.new(2, 2, 1)
- Part12.CFrame = CFrame.new(-14.5499878, 3.00002003, -55.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part12.Position = Vector3.new(-14.5499878, 3.00002003, -55.75)
- Part12.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Decal13.Name = "roblox"
- Decal13.Parent = Part12
- Motor6D14.Name = "Right Shoulder"
- Motor6D14.Parent = Part12
- Motor6D14.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D14.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D14.Part0 = Part12
- Motor6D14.Part1 = Part23
- Motor6D14.MaxVelocity = 0.10000000149012
- Motor6D15.Name = "Left Shoulder"
- Motor6D15.Parent = Part12
- Motor6D15.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D15.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D15.Part0 = Part12
- Motor6D15.Part1 = Part20
- Motor6D15.MaxVelocity = 0.10000000149012
- Motor6D16.Name = "Right Hip"
- Motor6D16.Parent = Part12
- Motor6D16.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D16.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D16.Part0 = Part12
- Motor6D16.Part1 = Part28
- Motor6D16.MaxVelocity = 0.10000000149012
- Motor6D17.Name = "Left Hip"
- Motor6D17.Parent = Part12
- Motor6D17.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D17.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D17.Part0 = Part12
- Motor6D17.Part1 = Part26
- Motor6D17.MaxVelocity = 0.10000000149012
- Motor6D18.Name = "Neck"
- Motor6D18.Parent = Part12
- Motor6D18.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D18.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D18.Part0 = Part12
- Motor6D18.Part1 = Part1
- Motor6D18.MaxVelocity = 0.10000000149012
- Decal19.Parent = Part12
- Decal19.Texture = "http://www.roblox.com/asset/?id=378017683"
- Decal19.Face = Enum.NormalId.Top
- Part20.Name = "Left Arm"
- Part20.Parent = Model0
- Part20.Material = Enum.Material.SmoothPlastic
- Part20.BrickColor = BrickColor.new("Institutional white")
- Part20.CanCollide = false
- Part20.Locked = true
- Part20.Elasticity = 0
- Part20.FormFactor = Enum.FormFactor.Symmetric
- Part20.Friction = 2
- Part20.Size = Vector3.new(1, 2, 1)
- Part20.CFrame = CFrame.new(-16.0499878, 3.00002003, -55.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part20.Position = Vector3.new(-16.0499878, 3.00002003, -55.75)
- Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Decal21.Parent = Part20
- Decal21.Texture = "http://www.roblox.com/asset/?id=378017584"
- SpecialMesh22.Parent = Part20
- SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=36780032"
- SpecialMesh22.Scale = Vector3.new(1.5, 1.5, 1.5)
- SpecialMesh22.TextureId = "http://www.roblox.com/asset/?id=29578966"
- SpecialMesh22.MeshType = Enum.MeshType.FileMesh
- SpecialMesh22.Scale = Vector3.new(1.5, 1.5, 1.5)
- Part23.Name = "Right Arm"
- Part23.Parent = Model0
- Part23.Material = Enum.Material.SmoothPlastic
- Part23.BrickColor = BrickColor.new("Institutional white")
- Part23.CanCollide = false
- Part23.Locked = true
- Part23.Elasticity = 0
- Part23.FormFactor = Enum.FormFactor.Symmetric
- Part23.Friction = 2
- Part23.Size = Vector3.new(1, 2, 1)
- Part23.CFrame = CFrame.new(-13.0499878, 3.00002003, -55.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part23.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part23.Position = Vector3.new(-13.0499878, 3.00002003, -55.75)
- Part23.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Decal24.Parent = Part23
- Decal24.Texture = "http://www.roblox.com/asset/?id=378017584"
- SpecialMesh25.Parent = Part23
- SpecialMesh25.MeshId = "http://www.roblox.com/asset/?id=36780156"
- SpecialMesh25.Scale = Vector3.new(1.5, 1.5, 1.5)
- SpecialMesh25.TextureId = "http://www.roblox.com/asset/?id=29578966"
- SpecialMesh25.MeshType = Enum.MeshType.FileMesh
- SpecialMesh25.Scale = Vector3.new(1.5, 1.5, 1.5)
- Part26.Name = "Left Leg"
- Part26.Parent = Model0
- Part26.Material = Enum.Material.SmoothPlastic
- Part26.BrickColor = BrickColor.new("Really black")
- Part26.CanCollide = false
- Part26.Locked = true
- Part26.Elasticity = 0
- Part26.FormFactor = Enum.FormFactor.Symmetric
- Part26.Friction = 2
- Part26.Size = Vector3.new(1, 2, 1)
- Part26.CFrame = CFrame.new(-15.0499878, 1.00002003, -55.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part26.Position = Vector3.new(-15.0499878, 1.00002003, -55.75)
- Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Decal27.Parent = Part26
- Decal27.Texture = "http://www.roblox.com/asset/?id=378017584"
- Part28.Name = "Right Leg"
- Part28.Parent = Model0
- Part28.Material = Enum.Material.SmoothPlastic
- Part28.BrickColor = BrickColor.new("Really black")
- Part28.CanCollide = false
- Part28.Locked = true
- Part28.Elasticity = 0
- Part28.FormFactor = Enum.FormFactor.Symmetric
- Part28.Friction = 2
- Part28.Size = Vector3.new(1, 2, 1)
- Part28.CFrame = CFrame.new(-14.0499878, 1.00002003, -55.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part28.Position = Vector3.new(-14.0499878, 1.00002003, -55.75)
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Decal29.Parent = Part28
- Decal29.Texture = "http://www.roblox.com/asset/?id=378017584"
- Humanoid30.Parent = Model0
- Humanoid30.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid30.RightLeg = Part28
- Humanoid30.LeftLeg = Part26
- Humanoid30.Torso = Part31
- Part31.Name = "HumanoidRootPart"
- Part31.Parent = Model0
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.BrickColor = BrickColor.new("Bright blue")
- Part31.Transparency = 1
- Part31.CanCollide = false
- Part31.Locked = true
- Part31.Elasticity = 0
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.Friction = 0
- Part31.Size = Vector3.new(2, 2, 1)
- Part31.CFrame = CFrame.new(-14.5499878, 3.00002003, -55.75, 1, 0, 0, 0, 1, 0, 0, 0, 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(0.0509804, 0.411765, 0.67451)
- Part31.Position = Vector3.new(-14.5499878, 3.00002003, -55.75)
- Part31.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Motor6D32.Name = "RootJoint"
- Motor6D32.Parent = Part31
- Motor6D32.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D32.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D32.Part0 = Part31
- Motor6D32.Part1 = Part12
- Motor6D32.MaxVelocity = 0.10000000149012
- SpecialMesh33.Parent = Part31
- SpecialMesh33.MeshId = "http://www.roblox.com/asset/?id=36780113"
- SpecialMesh33.MeshType = Enum.MeshType.FileMesh
- Decal34.Parent = Part31
- Decal34.Texture = "http://www.roblox.com/asset/?id=378017584"
- CharacterMesh35.Name = "Alien torso"
- CharacterMesh35.Parent = Model0
- CharacterMesh35.MeshId = 27493004
- CharacterMesh35.BodyPart = Enum.BodyPart.Torso
- Script36.Name = "Health"
- Script36.Parent = Model0
- table.insert(cors,sandbox(Script36,function()
- --Responsible for regening a player's humanoid's health
- -- declarations
- local Figure = script.Parent
- local Head = Figure:WaitForChild("Head")
- local Humanoid;
- for _,Child in pairs(Figure:GetChildren())do
- if Child and Child.ClassName=="Humanoid"then
- Humanoid=Child;
- end;
- end;
- local regening = false
- -- regeneration
- function regenHealth()
- if regening then return end
- regening = true
- while Humanoid.Health < Humanoid.MaxHealth do
- local s = wait(1)
- local health = Humanoid.Health
- if health~=0 and health < Humanoid.MaxHealth then
- local newHealthDelta = 0.01 * s * Humanoid.MaxHealth
- health = health + newHealthDelta
- Humanoid.Health = math.min(health,Humanoid.MaxHealth)
- end
- end
- if Humanoid.Health > Humanoid.MaxHealth then
- Humanoid.Health = Humanoid.MaxHealth
- end
- regening = false
- end
- Humanoid.HealthChanged:connect(regenHealth)
- end))
- Script37.Name = "AnimateSauce"
- Script37.Parent = Model0
- table.insert(cors,sandbox(Script37,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;
- for _,Child in pairs(Figure:GetChildren())do
- if Child and Child.ClassName=="Humanoid"then
- Humanoid=Child;
- end;
- end;
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimInstance = nil
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
- },
- run = {
- { id = "http://www.roblox.com/asset/?id=252557606", weight = 20 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
- },
- sit = {
- { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=182393478", 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 }
- },
- dance1 = {
- { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- local dances = {"dance1", "dance2", "dance3"}
- -- 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, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- 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 = ""
- currentAnimInstance = nil
- 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
- local repeatAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
- repeatAnim = "idle"
- end
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- 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
- -- switch animation
- if (anim ~= currentAnimInstance) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- currentAnimInstance = anim
- -- 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 toolAnimInstance = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- --print("Keyframe : ".. frameName)
- playToolAnimation(toolAnimName, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- 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
- if (toolAnimInstance ~= anim) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- toolAnimInstance = anim
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- toolAnimInstance = nil
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- if Figure and Humanoid and Humanoid.WalkSpeed<17 then
- playAnimation("walk", 0.1, Humanoid);
- elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then
- playAnimation("run", 0.1, Humanoid);
- end;
- if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
- setAnimationSpeed(speed / 14.5)
- end
- 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
- playAnimation("sit", 0.5, Humanoid)
- return
- elseif (pose == "Running") then
- if Figure and Humanoid and Humanoid.WalkSpeed<17 then
- playAnimation("walk", 0.1, Humanoid);
- elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then
- playAnimation("run", 0.1, Humanoid);
- end;
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- stopAllAnimations()
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- local 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 and tool:FindFirstChild("Handle") then
- local 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"
- toolAnimInstance = nil
- 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)
- local runService = game:GetService("RunService");
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Wait(0)do
- local _,time=wait(0)
- move(time)
- end
- end))
- StringValue38.Name = "climb"
- StringValue38.Parent = Script37
- Animation39.Name = "ClimbAnim"
- Animation39.Parent = StringValue38
- Animation39.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue40.Name = "fall"
- StringValue40.Parent = Script37
- Animation41.Name = "FallAnim"
- Animation41.Parent = StringValue40
- Animation41.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue42.Name = "idle"
- StringValue42.Parent = Script37
- Animation43.Name = "Animation1"
- Animation43.Parent = StringValue42
- Animation43.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- NumberValue44.Name = "Weight"
- NumberValue44.Parent = Animation43
- NumberValue44.Value = 9
- Animation45.Name = "Animation2"
- Animation45.Parent = StringValue42
- Animation45.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- NumberValue46.Name = "Weight"
- NumberValue46.Parent = Animation45
- NumberValue46.Value = 1
- StringValue47.Name = "jump"
- StringValue47.Parent = Script37
- Animation48.Name = "JumpAnim"
- Animation48.Parent = StringValue47
- Animation48.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue49.Name = "run"
- StringValue49.Parent = Script37
- Animation50.Name = "RunAnim"
- Animation50.Parent = StringValue49
- Animation50.AnimationId = "http://www.roblox.com/asset/?id=252557606"
- StringValue51.Name = "sit"
- StringValue51.Parent = Script37
- Animation52.Name = "SitAnim"
- Animation52.Parent = StringValue51
- Animation52.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue53.Name = "toolnone"
- StringValue53.Parent = Script37
- Animation54.Name = "ToolNoneAnim"
- Animation54.Parent = StringValue53
- Animation54.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue55.Name = "walk"
- StringValue55.Parent = Script37
- Animation56.Name = "WalkAnim"
- Animation56.Parent = StringValue55
- Animation56.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Script57.Name = "MainAnimation"
- Script57.Parent = Model0
- table.insert(cors,sandbox(Script57,function()
- --[[ By: Brutez. ]]--
- local AnimationScript=script;
- repeat Wait(0);until script and script.ClassName=="Script"and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Torso")and script.Parent:FindFirstChild("Head");
- local SCP096=AnimationScript.Parent;
- local SCP096Torso=SCP096:FindFirstChild("Torso");
- local LeftHip=SCP096Torso:FindFirstChild("Left Hip");
- local LeftShoulder=SCP096Torso:FindFirstChild("Left Shoulder");
- local Neck=SCP096Torso:FindFirstChild("Neck");
- local RightHip=SCP096Torso:FindFirstChild("Right Hip");
- local RightShoulder=SCP096Torso:FindFirstChild("Right Shoulder");
- local SCP096Humanoid;
- for _,Child in pairs(SCP096:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- SCP096Humanoid=Child;
- end;
- end;
- local CurrentPose="WhaaPose";
- local CurrentToolAnimation="None";
- local CurrentToolAnimationTime=0;
- function AquireTool()
- for _,Child in ipairs(SCP096:GetChildren()) do
- if Child and Child~=nil and Child.className=="Tool"then
- return Child;
- end;
- end;
- end;
- function AquireToolAnimation(ToolChild)
- for _,Child in ipairs(ToolChild:GetChildren()) do
- if Child and Child~=nil and Child.Name=="toolanim"and Child.className=="StringValue"then
- return Child;
- end;
- end;
- end;
- function ToolAnimation()
- if CurrentToolAnimation=="None"then
- RightShoulder.DesiredAngle=1.57;
- return;
- elseif CurrentToolAnimation=="Slash"then
- RightShoulder.MaxVelocity=0.5;
- RightShoulder.DesiredAngle=0;
- return;
- elseif CurrentToolAnimation=="Lunge"then
- RightShoulder.MaxVelocity=0.5;
- LeftShoulder.MaxVelocity=0.5;
- RightHip.MaxVelocity=0.5;
- LeftHip.MaxVelocity=0.5;
- RightShoulder.DesiredAngle=1.57;
- LeftShoulder.DesiredAngle=1.0;
- RightHip.DesiredAngle=1.57;
- LeftHip.DesiredAngle=1.0;
- return;
- end;
- end;
- function ChangeAngle(time)
- local Amount;
- local Rate;
- local Angle;
- if CurrentPose=="Jumping"then
- LeftHip.MaxVelocity=0.5;
- LeftHip.DesiredAngle=0;
- LeftShoulder.CurrentAngle=-3.14;
- LeftShoulder.DesiredAngle=-3.14;
- Neck.MaxVelocity=5;
- Neck.DesiredAngle=0;
- RightHip.MaxVelocity=0.5;
- RightHip.DesiredAngle=0;
- RightShoulder.CurrentAngle=3.14;
- RightShoulder.MaxVelocity=0.5;
- RightShoulder.DesiredAngle=3.14;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="FreeFall"then
- LeftHip.MaxVelocity=0.5;
- LeftHip.DesiredAngle=0;
- LeftShoulder.MaxVelocity=0.5;
- LeftShoulder.DesiredAngle=-3.14;
- Neck.MaxVelocity=5;
- Neck.DesiredAngle=0;
- RightHip.MaxVelocity=0.5;
- RightHip.DesiredAngle=0;
- RightShoulder.MaxVelocity=0.5;
- RightShoulder.DesiredAngle=3.14;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="Sitting"then
- LeftHip.MaxVelocity=0.15;
- LeftHip.DesiredAngle=-3.14/2;
- LeftShoulder.MaxVelocity=0.15;
- LeftShoulder.DesiredAngle=-3.14/2;
- Neck.MaxVelocity=0.15;
- Neck.DesiredAngle=0;
- RightHip.MaxVelocity=0.15;
- RightHip.DesiredAngle=3.14/2;
- RightShoulder.MaxVelocity=0.15;
- RightShoulder.DesiredAngle=3.14/2;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="Walking"then
- LeftHip.MaxVelocity=0.2;
- LeftShoulder.MaxVelocity=0.2;
- Neck.MaxVelocity=0.02;
- RightHip.MaxVelocity=0.2;
- RightShoulder.MaxVelocity=0.2;
- Amount=0.4;
- Rate=2;
- Angle=0;
- elseif CurrentPose=="Running"then
- LeftHip.MaxVelocity=0.8;
- LeftShoulder.MaxVelocity=5;
- LeftShoulder.DesiredAngle=-3.14/2;
- Neck.MaxVelocity=0.8;
- RightHip.MaxVelocity=0.8;
- RightShoulder.MaxVelocity=5;
- RightShoulder.DesiredAngle=3.14/2;
- Amount=2;
- Rate=15;
- Angle=0;
- elseif CurrentPose=="Panic"then
- LeftHip.DesiredAngle=0;
- LeftHip.MaxVelocity=1;
- LeftShoulder.DesiredAngle=-3.14;
- LeftShoulder.MaxVelocity=1;
- Neck.DesiredAngle=0;
- Neck.MaxVelocity=1;
- RightHip.DesiredAngle=0;
- RightHip.MaxVelocity=1;
- RightShoulder.MaxVelocity=1;
- RightShoulder.DesiredAngle=3.14;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="Climbing"then
- LeftHip.MaxVelocity=0.7;
- LeftShoulder.MaxVelocity=0.15;
- Neck.MaxVelocity=1;
- RightHip.MaxVelocity=0.7;
- RightShoulder.MaxVelocity=0.15;
- Amount=1;
- Rate=9;
- Angle=3.14;
- elseif CurrentPose=="Platformed"then
- LeftHip.DesiredAngle=0;
- LeftHip.CurrentAngle=0;
- LeftHip.MaxVelocity=0;
- LeftShoulder.DesiredAngle=0;
- LeftShoulder.CurrentAngle=0;
- LeftShoulder.MaxVelocity=0;
- Neck.DesiredAngle=0;
- Neck.CurrentAngle=0;
- Neck.MaxVelocity=0;
- RightHip.DesiredAngle=0;
- RightHip.CurrentAngle=0;
- RightHip.MaxVelocity=0;
- RightShoulder.MaxVelocity=0;
- RightShoulder.DesiredAngle=0;
- RightShoulder.CurrentAngle=0;
- Amount=nil;
- Rate=nil;
- Angle=nil;
- elseif CurrentPose=="WhaaPose"then
- LeftHip.MaxVelocity=0.05;
- LeftShoulder.MaxVelocity=0.05;
- Neck.MaxVelocity=0.005;
- RightHip.MaxVelocity=0.05;
- RightShoulder.MaxVelocity=0.05;
- Amount=0.1;
- Rate=3;
- Angle=0;
- end;
- if CurrentPose~="Platformed"or CurrentPose~="Jumping"or CurrentPose~="FreeFalling"or CurrentPose~="Sitting"then
- if Amount and Amount~=nil and Rate and Rate~=nil and Angle and Angle~=nil then
- local DesiredAngle=Amount*math.sin(time*Rate);
- if CurrentPose~="Running"and CurrentPose~="Panic"then
- Neck.DesiredAngle=DesiredAngle;
- RightShoulder.DesiredAngle=DesiredAngle+Angle;
- LeftShoulder.DesiredAngle=DesiredAngle-Angle;
- end;
- RightHip.DesiredAngle=-DesiredAngle;
- LeftHip.DesiredAngle=-DesiredAngle;
- end;
- local CurrentTool=AquireTool();
- if CurrentTool and CurrentTool~=nil then
- local animStringValueObject=AquireToolAnimation(CurrentTool);
- if animStringValueObject then
- CurrentToolAnimation=animStringValueObject.Value;
- animStringValueObject.Parent=nil;
- CurrentToolAnimationTime=time+0.3;
- end;
- if time>CurrentToolAnimationTime then
- CurrentToolAnimationTime=0
- CurrentToolAnimation="None"
- end;
- ToolAnimation();
- else
- CurrentToolAnimation="None";
- CurrentToolAnimationTime=0;
- end;
- end;
- end;
- Spawn(function()
- while Wait(0)do
- if AnimationScript and SCP096 and SCP096Torso and SCP096Torso~=nil then
- local FiredRay=Ray.new(SCP096Torso.Position,Vector3.new(0,-5.5,0));
- local RayTarget,endPoint=Game:GetService("Workspace"):FindPartOnRay(FiredRay,SCP096);
- if RayTarget and(SCP096Torso.Velocity-Vector3.new(0,SCP096Torso.Velocity.y,0)).magnitude>=5 and SCP096Humanoid and SCP096Humanoid.WalkSpeed==10 and not SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Walking";
- elseif RayTarget and(SCP096Torso.Velocity-Vector3.new(0,SCP096Torso.Velocity.y,0)).magnitude>=5 and SCP096Humanoid and SCP096Humanoid.WalkSpeed==35 and not SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Running";
- elseif SCP096Humanoid and SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Sitting";
- elseif not RayTarget and SCP096Humanoid and not SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Jumping";
- elseif SCP096Humanoid and SCP096Humanoid.PlatformStand then
- CurrentPose="Platformed";
- elseif RayTarget and(SCP096Torso.Velocity-Vector3.new(0,SCP096Torso.Velocity.y,0)).magnitude<=5 and SCP096Humanoid and SCP096Humanoid.WalkSpeed==0 and not SCP096Humanoid.Sit and not SCP096Humanoid.PlatformStand then
- CurrentPose="Panic";
- else
- CurrentPose="WhaaPose";
- end;
- end;
- end;
- end);
- while Wait(0)do
- if SCP096 then
- local _,time=Wait(0);
- ChangeAngle(time);
- else
- break;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- Script58.Name = "Main"
- Script58.Parent = Model0
- table.insert(cors,sandbox(Script58,function()
- --[[ By: Brutez. ]]--
- local SCP096Script=script;
- repeat Wait(0);until script and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Head")and script.Parent:FindFirstChild("Torso")and script.Parent:FindFirstChild("HumanoidRootPart");
- local SCP096=SCP096Script.Parent;
- if SCP096Script and SCP096 and SCP096:FindFirstChild("Thumbnail")then
- SCP096:FindFirstChild("Thumbnail"):Destroy();
- end
- local Hush=SCP096:FindFirstChild("Hush");
- local Notice=SCP096:FindFirstChild("Notice");
- local SCP096Humanoid;
- for _,Child in pairs(SCP096:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- SCP096Humanoid=Child;
- end;
- end;
- local CanSee=false;
- local Pathing=false;
- local SCP096Head=SCP096:FindFirstChild("Head");
- local Damage5=SCP096Head:FindFirstChild("Damage5");
- local Idle=SCP096Head:FindFirstChild("Idle");
- local Panic=SCP096Head:FindFirstChild("Panic");
- local Screaming=SCP096Head:FindFirstChild("Screaming");
- local SCP096HumanoidRootPart=SCP096:FindFirstChild("HumanoidRootPart");
- local SCP096Torso=SCP096:FindFirstChild("Torso");
- local AttackDebounce=false;
- local Chasing=false;
- function raycast(Spos,vec,currentdist)
- local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),SCP096);
- if hit2~=nil and pos2 then
- if hit2.Name=="Handle" and not hit2.CanCollide or string.sub(hit2.Name,1,6)=="Effect"and not hit2.CanCollide then
- local currentdist=currentdist-(pos2-Spos).magnitude;
- return raycast(pos2,vec,currentdist);
- end;
- end;
- return hit2,pos2;
- end;
- function RayCast(Position,Direction,MaxDistance,IgnoreList)
- return Game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position,Direction.unit*(MaxDistance or 999.999)),IgnoreList);
- end;
- Spawn(function()
- while Wait(0)do
- if SCP096Script and SCP096 and SCP096HumanoidRootPart and SCP096Head and SCP096Humanoid and SCP096Humanoid.Health~=0 then
- local TargetPoint=SCP096Humanoid.TargetPoint;
- local Blockage,BlockagePos=RayCast((SCP096HumanoidRootPart.CFrame+CFrame.new(SCP096HumanoidRootPart.Position,Vector3.new(TargetPoint.X,SCP096HumanoidRootPart.Position.Y,TargetPoint.Z)).lookVector*(SCP096HumanoidRootPart.Size.Z/2)).p,SCP096HumanoidRootPart.CFrame.lookVector,(SCP096HumanoidRootPart.Size.Z*2.5),{SCP096,SCP096})
- local Jumpable=false;
- if Blockage then
- Jumpable=true;
- if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then
- local BlockageHumanoid;
- for _,Child in pairs(Blockage.Parent:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- BlockageHumanoid=Child;
- end;
- end;
- if Blockage and Blockage:IsA("Terrain")then
- local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0)));
- local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z);
- if CellMaterial==Enum.CellMaterial.Water then
- Jumpable=false;
- end;
- elseif BlockageHumanoid or Blockage.ClassName=="TrussPart"or Blockage.ClassName=="WedgePart"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Hat"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Tool"then
- Jumpable=false;
- end;
- end;
- if SCP096Script and SCP096 and SCP096Humanoid and SCP096Humanoid.Health~=0 and not SCP096Humanoid.Sit and Jumpable then
- SCP096Humanoid.Jump=false;
- end;
- end;
- end;
- end;
- end);
- local DynamicWander=true;
- while Wait(0)do
- if SCP096Script and SCP096 and SCP096Humanoid then
- SCP096Humanoid.CameraOffset=Vector3.new(0,0,0);
- SCP096Humanoid.DisplayDistanceType="None";
- SCP096Humanoid.HealthDisplayDistance=0;
- SCP096Humanoid.Name="SCP";
- SCP096Humanoid.NameDisplayDistance=0;
- SCP096Humanoid.NameOcclusion="EnemyOcclusion";
- SCP096Humanoid.Archivable=true;
- SCP096Humanoid.AutoRotate=true;
- SCP096Humanoid.MaxHealth=999999999e999999999;
- SCP096Humanoid.Health=999999999e999999999;
- SCP096Humanoid.JumpPower=100;
- SCP096Humanoid.MaxSlopeAngle=89.9;
- if not Chasing then
- local SwitchWander=math.random(1,2000);
- if SwitchWander==1 and not DynamicWander then
- DynamicWander=true;
- elseif SwitchWander==1 and DynamicWander then
- DynamicWander=false;
- end;
- local WalkChance=math.random(1,100);
- if WalkChance==1 and SCP096Script and SCP096 and SCP096:FindFirstChild("Torso")and SCP096:FindFirstChild("Head")and SCP096Humanoid and SCP096Humanoid.Health~=0 and not DynamicWander then
- SCP096Humanoid:MoveTo(Game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),Game:GetService("Workspace"):FindFirstChild("Terrain"));
- elseif SCP096Script and SCP096 and SCP096Torso and SCP096Head and SCP096Humanoid and SCP096Humanoid.Health~=0 and DynamicWander then
- local WanderAngle=(math.random()-0.5)*1;
- local RotatingLookVector=CFrame.Angles(0,WanderAngle,0)*SCP096Torso.CFrame.lookVector;
- SCP096Humanoid:MoveTo(SCP096Torso.Position+6*RotatingLookVector,SCP096Torso);
- end;
- SCP096Humanoid.WalkSpeed=8;
- else
- SCP096Humanoid=37;
- end;
- end;
- if SCP096Script and SCP096 and Hush and Hush.IsPlaying then
- Hush:Stop();
- end;
- if SCP096Script and SCP096 and Idle and not Idle.IsPlaying then
- Idle:Play();
- end;
- if SCP096Script and SCP096 and Panic and Panic.IsPlaying then
- Panic:Stop();
- end;
- if SCP096Script and SCP096 and Screaming and Screaming.IsPlaying then
- Screaming:Stop();
- end;
- local NoticeDistance=10;
- local TargetTorso;
- for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
- if TargetModel.className=="Model"and TargetModel~=SCP096 and TargetModel.Name~=SCP096.Name and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
- local TargetPart=TargetModel:FindFirstChild("Torso");
- local FoundHumanoid;
- for _,Child in pairs(TargetModel:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- FoundHumanoid=Child;
- end;
- end;
- if TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude<NoticeDistance then
- TargetTorso=TargetPart;
- NoticeDistance=(TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude;
- AttackDebounce=true;
- Spawn(function()
- Chasing=true;
- if SCP096Script and SCP096 and Idle then
- Notice:Play();
- end;
- if SCP096Script and SCP096 and Hush and Hush.IsPlaying then
- Hush:Stop();
- end;
- if SCP096Script and SCP096 and Idle and Idle.IsPlaying then
- Idle:Stop();
- end;
- if SCP096Script and SCP096 and Panic then
- Panic:Play();
- end;
- if SCP096Script and SCP096 and Screaming and Screaming.IsPlaying then
- Screaming:Stop();
- end;
- SCP096Humanoid.WalkSpeed=0;
- SCP096Humanoid:MoveTo(SCP096Torso.Position,Game:GetService("Workspace"):FindFirstChild("Terrain"));
- Wait(25);
- if SCP096Script and SCP096 and Hush and not Hush.IsPlaying then
- Hush:Play();
- end;
- if SCP096Script and SCP096 and Idle and Idle.IsPlaying then
- Idle:Stop();
- end;
- if SCP096Script and SCP096 and Panic and Panic.IsPlaying then
- Panic:Stop();
- end;
- if SCP096Script and SCP096 and Screaming and not Screaming.IsPlaying then
- Screaming:Play();
- end;
- SCP096Humanoid.WalkSpeed=37;
- Spawn(function()
- while Wait(0)do
- local hit,pos=raycast(SCP096HumanoidRootPart.Position,(TargetPart.Position-SCP096HumanoidRootPart.Position).unit,500)
- if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("Torso")and hit.Parent:FindFirstChild("Head")then
- CanSee=true;
- else
- CanSee=false;
- end;
- end;
- end);
- repeat
- Wait(0)
- if CanSee then
- SCP096Humanoid:MoveTo(TargetPart.Position+(TargetPart.Position-SCP096HumanoidRootPart.Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain"));
- end;
- if not CanSee and not Pathing then
- Spawn(function()
- Pathing=true;
- local RenderedPath=game:GetService("PathfindingService"):ComputeRawPathAsync(SCP096Torso.Position,TargetPart.Position,500);
- local RenderedPathCoordinates=RenderedPath:GetPointCoordinates();
- for _=1,#RenderedPathCoordinates do
- if not CanSee then
- local Point=RenderedPathCoordinates[_];
- local PathTimer=0;
- repeat Wait(0);
- SCP096Humanoid:MoveTo(Point);PathTimer=PathTimer+1;
- if PathTimer>15 or CanSee then
- break;
- end;
- until(SCP096Torso.Position-Point).Magnitude<5 or PathTimer>15 or CanSee;
- if PathTimer>15 or CanSee then
- break;
- end;
- end;
- end;
- Pathing=false;
- end);
- end;
- if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and (TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude<10 then
- Damage5:Play();
- FoundHumanoid:TakeDamage(99999e99999);
- end
- until TargetModel.Parent==nil or TargetPart.Parent==nil or FoundHumanoid.Parent==nil or TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health==0;
- Chasing=false;
- end);
- repeat Wait(0);until not Chasing;
- AttackDebounce=false
- end;
- end;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- CharacterMesh59.Name = "Superhero Left Leg"
- CharacterMesh59.Parent = Model0
- CharacterMesh59.MeshId = 32328520
- CharacterMesh59.BodyPart = Enum.BodyPart.LeftLeg
- BodyColors60.Parent = Model0
- BodyColors60.HeadColor = BrickColor.new("Institutional white")
- BodyColors60.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors60.LeftLegColor = BrickColor.new("Really black")
- BodyColors60.RightArmColor = BrickColor.new("Institutional white")
- BodyColors60.RightLegColor = BrickColor.new("Really black")
- BodyColors60.TorsoColor = BrickColor.new("Institutional white")
- Sound61.Name = "Notice"
- Sound61.Parent = Model0
- Sound61.SoundId = "rbxassetid://257340849"
- Sound61.Volume = 1
- Script62.Name = "Respawn"
- Script62.Parent = Model0
- table.insert(cors,sandbox(Script62,function()
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
- local AdvancedRespawnScript=script;
- repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
- local JeffTheKiller=AdvancedRespawnScript.Parent;
- if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
- JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
- end;
- local GameDerbis=Game:GetService("Debris");
- local JeffTheKillerHumanoid;
- for _,Child in pairs(JeffTheKiller:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- JeffTheKillerHumanoid=Child;
- end;
- end;
- local Respawndant=JeffTheKiller:Clone();
- if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
- coroutine.resume(coroutine.create(function()
- if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
- SpawnModel=Instance.new("Model");
- SpawnModel.Parent=JeffTheKillerHumanoid.Status;
- SpawnModel.Name="AvalibleSpawns";
- else
- SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
- end;
- function FindSpawn(SearchValue)
- local PartsArchivable=SearchValue:GetChildren();
- for AreaSearch=1,#PartsArchivable do
- if PartsArchivable[AreaSearch].className=="SpawnLocation"then
- local PositionValue=Instance.new("Vector3Value",SpawnModel);
- PositionValue.Value=PartsArchivable[AreaSearch].Position;
- PositionValue.Name=PartsArchivable[AreaSearch].Duration;
- end;
- FindSpawn(PartsArchivable[AreaSearch]);
- end;
- end;
- FindSpawn(Game:GetService("Workspace"));
- local SpawnChilden=SpawnModel:GetChildren();
- if#SpawnChilden>0 then
- local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
- local RespawningForceField=Instance.new("ForceField");
- RespawningForceField.Parent=JeffTheKiller;
- RespawningForceField.Name="SpawnForceField";
- GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
- JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
- else
- if JeffTheKiller:FindFirstChild("SpawnForceField")then
- JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
- end;
- JeffTheKiller:MoveTo(Vector3.new(0,115,0));
- end;
- end));
- end;
- function Respawn()
- Wait(5);
- Respawndant.Parent=JeffTheKiller.Parent;
- Respawndant:makeJoints();
- Respawndant:FindFirstChild("Head"):MakeJoints();
- Respawndant:FindFirstChild("Torso"):MakeJoints();
- JeffTheKiller:remove();
- end;
- if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then
- JeffTheKillerHumanoid.Died:connect(Respawn);
- end;
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- end))
- CharacterMesh63.Name = "Superhero Right Leg"
- CharacterMesh63.Parent = Model0
- CharacterMesh63.MeshId = 32328627
- CharacterMesh63.BodyPart = Enum.BodyPart.RightLeg
- Hat64.Name = "Eye"
- Hat64.Parent = Model0
- Hat64.AttachmentForward = Vector3.new(4.31581502e-05, 0.999999523, -0.00100303721)
- Hat64.AttachmentPos = Vector3.new(-0.200000003, -0.419999987, 0.300000012)
- Hat64.AttachmentRight = Vector3.new(1, -4.31581466e-05, 2.14240572e-08)
- Hat64.AttachmentUp = Vector3.new(2.18651817e-08, 0.00100303721, 0.999999523)
- Part65.Name = "Handle"
- Part65.Parent = Hat64
- Part65.Material = Enum.Material.Neon
- Part65.BrickColor = BrickColor.new("Institutional white")
- Part65.Rotation = Vector3.new(-89.9399948, 0, 0)
- Part65.CanCollide = false
- Part65.Locked = true
- Part65.Elasticity = 0
- Part65.FormFactor = Enum.FormFactor.Custom
- Part65.Friction = 2
- Part65.Size = Vector3.new(0.410000026, 0.290000021, 0.310000002)
- Part65.CFrame = CFrame.new(-14.3500061, 4.70044136, -56.170311, 1, -4.31581466e-05, 2.14240572e-08, 2.18651817e-08, 0.00100303721, 0.999999523, -4.31581502e-05, -0.999999523, 0.00100303721)
- 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(-14.3500061, 4.70044136, -56.170311)
- Part65.Orientation = Vector3.new(-89.9399948, 0, 0)
- Part65.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh66.Parent = Part65
- SpecialMesh66.MeshType = Enum.MeshType.Sphere
- Hat67.Name = "Eye"
- Hat67.Parent = Model0
- Hat67.AttachmentForward = Vector3.new(4.31581502e-05, 0.999999523, -0.00100303721)
- Hat67.AttachmentPos = Vector3.new(0.200000003, -0.449999988, 0.300000012)
- Hat67.AttachmentRight = Vector3.new(1, -4.31581466e-05, 2.14240572e-08)
- Hat67.AttachmentUp = Vector3.new(2.18651817e-08, 0.00100303721, 0.999999523)
- Part68.Name = "Handle"
- Part68.Parent = Hat67
- Part68.Material = Enum.Material.Neon
- Part68.BrickColor = BrickColor.new("Institutional white")
- Part68.Rotation = Vector3.new(-89.9399948, 0, 0)
- Part68.CanCollide = false
- Part68.Locked = true
- Part68.Elasticity = 0
- Part68.FormFactor = Enum.FormFactor.Custom
- Part68.Friction = 2
- Part68.Size = Vector3.new(0.389999986, 0.200000003, 0.319999993)
- Part68.CFrame = CFrame.new(-14.7500076, 4.7004714, -56.2002907, 1, -4.31581466e-05, 2.14240572e-08, 2.18651817e-08, 0.00100303721, 0.999999523, -4.31581502e-05, -0.999999523, 0.00100303721)
- Part68.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part68.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part68.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part68.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part68.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part68.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part68.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part68.Position = Vector3.new(-14.7500076, 4.7004714, -56.2002907)
- Part68.Orientation = Vector3.new(-89.9399948, 0, 0)
- Part68.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh69.Parent = Part68
- SpecialMesh69.MeshType = Enum.MeshType.Sphere
- Hat70.Name = "Mouth"
- Hat70.Parent = Model0
- Hat70.AttachmentForward = Vector3.new(-4.31562403e-05, -0.999999404, -0.00106867612)
- Hat70.AttachmentPos = Vector3.new(0, 0.5, 1.29999995)
- Hat70.AttachmentRight = Vector3.new(-1, 4.31562366e-05, 2.2350271e-08)
- Hat70.AttachmentUp = Vector3.new(-2.37697755e-08, -0.00106867601, 0.999999404)
- Part71.Name = "Handle"
- Part71.Parent = Hat70
- Part71.Material = Enum.Material.SmoothPlastic
- Part71.BrickColor = BrickColor.new("White")
- Part71.Rotation = Vector3.new(-89.9399948, 0, -180)
- Part71.CanCollide = false
- Part71.Elasticity = 0
- Part71.FormFactor = Enum.FormFactor.Custom
- Part71.Friction = 2
- Part71.Size = Vector3.new(0.820000172, 0.73999989, 1.76999998)
- Part71.CFrame = CFrame.new(-14.5500097, 3.70055509, -56.2513885, -1, 4.31562366e-05, 2.2350271e-08, -2.37697755e-08, -0.00106867601, 0.999999404, 4.31562403e-05, 0.999999404, 0.00106867612)
- Part71.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part71.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part71.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part71.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part71.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part71.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part71.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part71.Position = Vector3.new(-14.5500097, 3.70055509, -56.2513885)
- Part71.Orientation = Vector3.new(-89.9399948, 0, -180)
- Part71.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh72.Parent = Part71
- SpecialMesh72.MeshType = Enum.MeshType.Sphere
- Decal73.Parent = Part71
- Decal73.Texture = "http://www.roblox.com/asset/?id=369046477"
- Decal73.Face = Enum.NormalId.Left
- Decal74.Parent = Part71
- Decal74.Texture = "http://www.roblox.com/asset/?id=369046300"
- Decal74.Face = Enum.NormalId.Right
- Decal75.Parent = Part71
- Decal75.Texture = "http://www.roblox.com/asset/?id=369040970"
- Decal76.Parent = Part71
- Decal76.Texture = "http://www.roblox.com/asset/?id=402342524"
- Decal76.Face = Enum.NormalId.Back
- Decal77.Parent = Part71
- Decal77.Texture = "http://www.roblox.com/asset/?id=415695307"
- Decal77.Face = Enum.NormalId.Bottom
- Sound78.Name = "Hush"
- Sound78.Parent = Model0
- Sound78.SoundId = "rbxassetid://306207443"
- Sound78.Volume = 1
- Sound78.Looped = true
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- 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