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")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- SpecialMesh3 = Instance.new("SpecialMesh")
- Sound4 = Instance.new("Sound")
- Decal5 = Instance.new("Decal")
- Decal6 = Instance.new("Decal")
- Decal7 = Instance.new("Decal")
- Decal8 = Instance.new("Decal")
- Decal9 = Instance.new("Decal")
- Part10 = Instance.new("Part")
- Motor6D11 = Instance.new("Motor6D")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Motor6D14 = Instance.new("Motor6D")
- Motor6D15 = Instance.new("Motor6D")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Weld18 = Instance.new("Weld")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Humanoid21 = Instance.new("Humanoid")
- Model22 = Instance.new("Model")
- Model23 = Instance.new("Model")
- Part24 = Instance.new("Part")
- Motor6D25 = Instance.new("Motor6D")
- Script26 = Instance.new("Script")
- StringValue27 = Instance.new("StringValue")
- Animation28 = Instance.new("Animation")
- StringValue29 = Instance.new("StringValue")
- Animation30 = Instance.new("Animation")
- StringValue31 = Instance.new("StringValue")
- Animation32 = Instance.new("Animation")
- NumberValue33 = Instance.new("NumberValue")
- Animation34 = Instance.new("Animation")
- NumberValue35 = Instance.new("NumberValue")
- StringValue36 = Instance.new("StringValue")
- Animation37 = Instance.new("Animation")
- StringValue38 = Instance.new("StringValue")
- Animation39 = Instance.new("Animation")
- StringValue40 = Instance.new("StringValue")
- Animation41 = Instance.new("Animation")
- StringValue42 = Instance.new("StringValue")
- Animation43 = Instance.new("Animation")
- StringValue44 = Instance.new("StringValue")
- Animation45 = Instance.new("Animation")
- Animation46 = Instance.new("Animation")
- BodyColors47 = Instance.new("BodyColors")
- Script48 = Instance.new("Script")
- Part49 = Instance.new("Part")
- SpecialMesh50 = Instance.new("SpecialMesh")
- Sound51 = Instance.new("Sound")
- Sound52 = Instance.new("Sound")
- Sound53 = Instance.new("Sound")
- Sound54 = Instance.new("Sound")
- Script55 = Instance.new("Script")
- Camera56 = Instance.new("Camera")
- Shirt57 = Instance.new("Shirt")
- Pants58 = Instance.new("Pants")
- Script59 = Instance.new("Script")
- Hat60 = Instance.new("Hat")
- UnionOperation61 = Instance.new("UnionOperation")
- Decal62 = Instance.new("Decal")
- Decal63 = Instance.new("Decal")
- Decal64 = Instance.new("Decal")
- Decal65 = Instance.new("Decal")
- Decal66 = Instance.new("Decal")
- Decal67 = Instance.new("Decal")
- Model0.Name = "mario fighter"
- Model0.Parent = mas
- Model1.Name = "mario"
- Model1.Parent = Model0
- Model1.PrimaryPart = Part2
- Part2.Name = "Head"
- Part2.Parent = Model1
- Part2.CFrame = CFrame.new(158.320038, 4.50000095, -48.3200302, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part2.Orientation = Vector3.new(0, 90, 0)
- Part2.Position = Vector3.new(158.320038, 4.50000095, -48.3200302)
- Part2.Rotation = Vector3.new(0, 90, 0)
- Part2.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part2.Size = Vector3.new(2, 1, 1)
- Part2.BackParamA = -99999
- Part2.BackParamB = 99999
- Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BottomParamA = -99999
- Part2.BottomParamB = 99999
- Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BrickColor = BrickColor.new("Cool yellow")
- Part2.CanCollide = false
- Part2.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part2.Elasticity = 0
- Part2.Friction = 0
- Part2.FrontParamA = -99999
- Part2.FrontParamB = 99999
- Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.LeftParamA = -99999
- Part2.LeftParamB = 99999
- Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.Material = Enum.Material.SmoothPlastic
- Part2.RightParamA = -99999
- Part2.RightParamB = 99999
- Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.TopParamA = -99999
- Part2.TopParamB = 99999
- Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.brickColor = BrickColor.new("Cool yellow")
- Part2.FormFactor = Enum.FormFactor.Symmetric
- Part2.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh3.Parent = Part2
- SpecialMesh3.Scale = Vector3.new(1.20000005, 1.25, 1.25)
- Sound4.Name = "Jeff_Step"
- Sound4.Parent = Part2
- Sound4.SoundId = "rbxassetid://379611235"
- Sound4.Volume = 1
- Decal5.Parent = Part2
- Decal5.Texture = "http://www.roblox.com/asset/?id=122497643"
- Decal6.Parent = Part2
- Decal6.Texture = "http://www.roblox.com/asset/?id=738949518"
- Decal7.Parent = Part2
- Decal7.Texture = "http://www.roblox.com/asset/?id=738949518"
- Decal7.Face = Enum.NormalId.Back
- Decal8.Parent = Part2
- Decal8.Texture = "http://www.roblox.com/asset/?id=738949518"
- Decal8.Face = Enum.NormalId.Right
- Decal9.Parent = Part2
- Decal9.Texture = "http://www.roblox.com/asset/?id=738949518"
- Decal9.Face = Enum.NormalId.Left
- Part10.Name = "Torso"
- Part10.Parent = Model1
- Part10.CFrame = CFrame.new(158.320038, 3.00000095, -48.3200302, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part10.Orientation = Vector3.new(0, 90, 0)
- Part10.Position = Vector3.new(158.320038, 3.00000095, -48.3200302)
- Part10.Rotation = Vector3.new(0, 90, 0)
- Part10.Color = Color3.new(0.156863, 0.498039, 0.278431)
- Part10.Size = Vector3.new(2, 2, 1)
- Part10.BackParamA = -99999
- Part10.BackParamB = 99999
- Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BottomParamA = -99999
- Part10.BottomParamB = 99999
- Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BrickColor = BrickColor.new("Dark green")
- Part10.CanCollide = false
- Part10.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part10.Elasticity = 0
- Part10.Friction = 2
- Part10.FrontParamA = -99999
- Part10.FrontParamB = 99999
- Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.LeftParamA = -99999
- Part10.LeftParamB = 99999
- Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.Material = Enum.Material.SmoothPlastic
- Part10.RightParamA = -99999
- Part10.RightParamB = 99999
- Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.TopParamA = -99999
- Part10.TopParamB = 99999
- Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.brickColor = BrickColor.new("Dark green")
- Part10.FormFactor = Enum.FormFactor.Symmetric
- Part10.formFactor = Enum.FormFactor.Symmetric
- Motor6D11.Name = "Right Shoulder"
- Motor6D11.Parent = Part10
- Motor6D11.MaxVelocity = 0.10000000149012
- Motor6D11.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D11.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D11.Part0 = Part10
- Motor6D11.Part1 = Part17
- Motor6D11.part1 = Part17
- Motor6D12.Name = "Left Shoulder"
- Motor6D12.Parent = Part10
- Motor6D12.MaxVelocity = 0.10000000149012
- Motor6D12.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D12.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D12.Part0 = Part10
- Motor6D12.Part1 = Part16
- Motor6D12.part1 = Part16
- Motor6D13.Name = "Right Hip"
- Motor6D13.Parent = Part10
- Motor6D13.MaxVelocity = 0.10000000149012
- Motor6D13.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D13.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D13.Part0 = Part10
- Motor6D13.Part1 = Part20
- Motor6D13.part1 = Part20
- Motor6D14.Name = "Left Hip"
- Motor6D14.Parent = Part10
- Motor6D14.MaxVelocity = 0.10000000149012
- Motor6D14.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D14.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D14.Part0 = Part10
- Motor6D14.Part1 = Part19
- Motor6D14.part1 = Part19
- Motor6D15.Name = "Neck"
- Motor6D15.Parent = Part10
- Motor6D15.MaxVelocity = 0.10000000149012
- Motor6D15.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D15.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D15.Part0 = Part10
- Motor6D15.Part1 = Part2
- Motor6D15.part1 = Part2
- Part16.Name = "Left Arm"
- Part16.Parent = Model1
- Part16.CFrame = CFrame.new(158.320038, 3.00000095, -46.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part16.Orientation = Vector3.new(0, 90, 0)
- Part16.Position = Vector3.new(158.320038, 3.00000095, -46.8200302)
- Part16.Rotation = Vector3.new(0, 90, 0)
- Part16.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part16.Size = Vector3.new(1, 2, 1)
- Part16.BackParamA = -99999
- Part16.BackParamB = 99999
- Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.BottomParamA = -99999
- Part16.BottomParamB = 99999
- Part16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.BrickColor = BrickColor.new("Cool yellow")
- Part16.CanCollide = false
- Part16.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part16.Elasticity = 0
- Part16.Friction = 2
- Part16.FrontParamA = -99999
- Part16.FrontParamB = 99999
- Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.LeftParamA = -99999
- Part16.LeftParamB = 99999
- Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.Material = Enum.Material.SmoothPlastic
- Part16.RightParamA = -99999
- Part16.RightParamB = 99999
- Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.TopParamA = -99999
- Part16.TopParamB = 99999
- Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.brickColor = BrickColor.new("Cool yellow")
- Part16.FormFactor = Enum.FormFactor.Symmetric
- Part16.formFactor = Enum.FormFactor.Symmetric
- Part17.Name = "Right Arm"
- Part17.Parent = Model1
- Part17.CFrame = CFrame.new(158.320038, 3.00000095, -49.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part17.Orientation = Vector3.new(0, 90, 0)
- Part17.Position = Vector3.new(158.320038, 3.00000095, -49.8200302)
- Part17.Rotation = Vector3.new(0, 90, 0)
- Part17.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part17.Size = Vector3.new(1, 2, 1)
- Part17.BackParamA = -99999
- Part17.BackParamB = 99999
- Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BottomParamA = -99999
- Part17.BottomParamB = 99999
- Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BrickColor = BrickColor.new("Cool yellow")
- Part17.CanCollide = false
- Part17.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part17.Elasticity = 0
- Part17.Friction = 2
- Part17.FrontParamA = -99999
- Part17.FrontParamB = 99999
- Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.LeftParamA = -99999
- Part17.LeftParamB = 99999
- Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.RightParamA = -99999
- Part17.RightParamB = 99999
- Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.TopParamA = -99999
- Part17.TopParamB = 99999
- Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.brickColor = BrickColor.new("Cool yellow")
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.formFactor = Enum.FormFactor.Symmetric
- Weld18.Name = "RightGripWeld"
- Weld18.Parent = Part17
- Weld18.C0 = CFrame.new(-1.29999995, 1.16840947, 0.750634551, 1, 0, 0, 0, 0.968409479, 0.249365434, 0, -0.249365434, 0.968409479)
- Weld18.C1 = CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld18.Part0 = Part49
- Weld18.Part1 = Part17
- Weld18.part1 = Part17
- Part19.Name = "Left Leg"
- Part19.Parent = Model1
- Part19.CFrame = CFrame.new(158.320038, 1.00000095, -47.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part19.Orientation = Vector3.new(0, 90, 0)
- Part19.Position = Vector3.new(158.320038, 1.00000095, -47.8200302)
- Part19.Rotation = Vector3.new(0, 90, 0)
- Part19.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part19.Size = Vector3.new(1, 2, 1)
- Part19.BackParamA = -99999
- Part19.BackParamB = 99999
- Part19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.BottomParamA = -99999
- Part19.BottomParamB = 99999
- Part19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.BrickColor = BrickColor.new("Bright blue")
- Part19.CanCollide = false
- Part19.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part19.Elasticity = 0
- Part19.Friction = 2
- Part19.FrontParamA = -99999
- Part19.FrontParamB = 99999
- Part19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.LeftParamA = -99999
- Part19.LeftParamB = 99999
- Part19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.Material = Enum.Material.SmoothPlastic
- Part19.RightParamA = -99999
- Part19.RightParamB = 99999
- Part19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.TopParamA = -99999
- Part19.TopParamB = 99999
- Part19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.brickColor = BrickColor.new("Bright blue")
- Part19.FormFactor = Enum.FormFactor.Symmetric
- Part19.formFactor = Enum.FormFactor.Symmetric
- Part20.Name = "Right Leg"
- Part20.Parent = Model1
- Part20.CFrame = CFrame.new(158.320038, 1.00000095, -48.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part20.Orientation = Vector3.new(0, 90, 0)
- Part20.Position = Vector3.new(158.320038, 1.00000095, -48.8200302)
- Part20.Rotation = Vector3.new(0, 90, 0)
- Part20.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part20.Size = Vector3.new(1, 2, 1)
- Part20.BackParamA = -99999
- Part20.BackParamB = 99999
- Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.BottomParamA = -99999
- Part20.BottomParamB = 99999
- Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.BrickColor = BrickColor.new("Bright blue")
- Part20.CanCollide = false
- Part20.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part20.Elasticity = 0
- Part20.Friction = 2
- Part20.FrontParamA = -99999
- Part20.FrontParamB = 99999
- Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.LeftParamA = -99999
- Part20.LeftParamB = 99999
- Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.Material = Enum.Material.SmoothPlastic
- Part20.RightParamA = -99999
- Part20.RightParamB = 99999
- Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.TopParamA = -99999
- Part20.TopParamB = 99999
- Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.brickColor = BrickColor.new("Bright blue")
- Part20.FormFactor = Enum.FormFactor.Symmetric
- Part20.formFactor = Enum.FormFactor.Symmetric
- Humanoid21.Name = "ColdBloodedKiller"
- Humanoid21.Parent = Model1
- Humanoid21.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid21.Health = 500
- Humanoid21.HealthDisplayDistance = 0
- Humanoid21.JumpPower = 60
- Humanoid21.LeftLeg = Part19
- Humanoid21.MaxHealth = 500
- Humanoid21.MaxSlopeAngle = 89.900001525879
- Humanoid21.NameDisplayDistance = 0
- Humanoid21.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid21.RightLeg = Part20
- Humanoid21.Torso = Part24
- Humanoid21.maxHealth = 500
- Model22.Name = "Status"
- Model22.Parent = Humanoid21
- Model23.Name = "AvalibleSpawns"
- Model23.Parent = Model22
- Part24.Name = "HumanoidRootPart"
- Part24.Parent = Model1
- Part24.CFrame = CFrame.new(158.320038, 3.00000095, -48.3200302, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part24.Orientation = Vector3.new(0, 90, 0)
- Part24.Position = Vector3.new(158.320038, 3.00000095, -48.3200302)
- Part24.Rotation = Vector3.new(0, 90, 0)
- Part24.Color = Color3.new(1, 0.8, 0.6)
- Part24.Transparency = 1
- Part24.Size = Vector3.new(2, 2, 1)
- Part24.BackParamA = -99999
- Part24.BackParamB = 99999
- Part24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.BottomParamA = -99999
- Part24.BottomParamB = 99999
- Part24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.BrickColor = BrickColor.new("Pastel brown")
- Part24.CanCollide = false
- Part24.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part24.Elasticity = 0
- Part24.Friction = 0
- Part24.FrontParamA = -99999
- Part24.FrontParamB = 99999
- Part24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.LeftParamA = -99999
- Part24.LeftParamB = 99999
- Part24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.Material = Enum.Material.SmoothPlastic
- Part24.RightParamA = -99999
- Part24.RightParamB = 99999
- Part24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.TopParamA = -99999
- Part24.TopParamB = 99999
- Part24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.brickColor = BrickColor.new("Pastel brown")
- Part24.FormFactor = Enum.FormFactor.Symmetric
- Part24.formFactor = Enum.FormFactor.Symmetric
- Motor6D25.Name = "RootJoint"
- Motor6D25.Parent = Part24
- Motor6D25.MaxVelocity = 0.10000000149012
- Motor6D25.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D25.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D25.Part0 = Part24
- Motor6D25.Part1 = Part10
- Motor6D25.part1 = Part10
- Script26.Name = "AnimateSauce"
- Script26.Parent = Model1
- table.insert(cors,sandbox(Script26,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))
- StringValue27.Name = "climb"
- StringValue27.Parent = Script26
- Animation28.Name = "ClimbAnim"
- Animation28.Parent = StringValue27
- Animation28.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue29.Name = "fall"
- StringValue29.Parent = Script26
- Animation30.Name = "FallAnim"
- Animation30.Parent = StringValue29
- Animation30.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue31.Name = "idle"
- StringValue31.Parent = Script26
- Animation32.Name = "Animation1"
- Animation32.Parent = StringValue31
- Animation32.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- NumberValue33.Name = "Weight"
- NumberValue33.Parent = Animation32
- NumberValue33.Value = 9
- Animation34.Name = "Animation2"
- Animation34.Parent = StringValue31
- Animation34.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- NumberValue35.Name = "Weight"
- NumberValue35.Parent = Animation34
- NumberValue35.Value = 1
- StringValue36.Name = "jump"
- StringValue36.Parent = Script26
- Animation37.Name = "JumpAnim"
- Animation37.Parent = StringValue36
- Animation37.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue38.Name = "run"
- StringValue38.Parent = Script26
- Animation39.Name = "RunAnim"
- Animation39.Parent = StringValue38
- Animation39.AnimationId = "http://www.roblox.com/asset/?id=252557606"
- StringValue40.Name = "sit"
- StringValue40.Parent = Script26
- Animation41.Name = "SitAnim"
- Animation41.Parent = StringValue40
- Animation41.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue42.Name = "toolnone"
- StringValue42.Parent = Script26
- Animation43.Name = "ToolNoneAnim"
- Animation43.Parent = StringValue42
- Animation43.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue44.Name = "walk"
- StringValue44.Parent = Script26
- Animation45.Name = "WalkAnim"
- Animation45.Parent = StringValue44
- Animation45.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Animation46.Name = "Swing"
- Animation46.Parent = Model1
- Animation46.AnimationId = "rbxassetid://191123156"
- BodyColors47.Parent = Model1
- BodyColors47.HeadColor = BrickColor.new("Institutional white")
- BodyColors47.HeadColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors47.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors47.LeftArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors47.LeftLegColor = BrickColor.new("Really black")
- BodyColors47.LeftLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BodyColors47.RightArmColor = BrickColor.new("Institutional white")
- BodyColors47.RightArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors47.RightLegColor = BrickColor.new("Really black")
- BodyColors47.RightLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BodyColors47.TorsoColor = BrickColor.new("Institutional white")
- BodyColors47.TorsoColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- Script48.Name = "Respawn"
- Script48.Parent = Model1
- table.insert(cors,sandbox(Script48,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))
- Part49.Name = "Knife"
- Part49.Parent = Model1
- Part49.CFrame = CFrame.new(157.301758, 2.05568457, -49.6200294, 0, 0.249365434, 0.968409479, 0, 0.968409479, -0.249365434, -1, 0, 0)
- Part49.Orientation = Vector3.new(14.4399996, 90, 0)
- Part49.Position = Vector3.new(157.301758, 2.05568457, -49.6200294)
- Part49.Rotation = Vector3.new(90, 75.5599976, -90)
- Part49.Color = Color3.new(1, 0.8, 0.6)
- Part49.Transparency = 1
- Part49.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part49.BackParamA = -99999
- Part49.BackParamB = 99999
- Part49.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.BottomParamA = -99999
- Part49.BottomParamB = 99999
- Part49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.BrickColor = BrickColor.new("Pastel brown")
- Part49.CanCollide = false
- Part49.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part49.Elasticity = 0
- Part49.Friction = 2
- Part49.FrontParamA = -99999
- Part49.FrontParamB = 99999
- Part49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.LeftParamA = -99999
- Part49.LeftParamB = 99999
- Part49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.Material = Enum.Material.Metal
- Part49.RightParamA = -99999
- Part49.RightParamB = 99999
- Part49.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.TopParamA = -99999
- Part49.TopParamB = 99999
- Part49.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.brickColor = BrickColor.new("Pastel brown")
- Part49.FormFactor = Enum.FormFactor.Custom
- Part49.formFactor = Enum.FormFactor.Custom
- SpecialMesh50.Name = "KnifeMesh"
- SpecialMesh50.Parent = Part49
- SpecialMesh50.MeshId = "rbxassetid://165710339"
- SpecialMesh50.Scale = Vector3.new(0.5, 0.5, 0.699999988)
- SpecialMesh50.TextureId = "rbxassetid://381626146"
- SpecialMesh50.MeshType = Enum.MeshType.FileMesh
- Sound51.Name = "Hit1"
- Sound51.Parent = Part49
- Sound51.Pitch = 1.0225422382355
- Sound51.PlaybackSpeed = 1.0225422382355
- Sound51.SoundId = "rbxassetid://278061737"
- Sound51.Volume = 1
- Sound52.Name = "Hit2"
- Sound52.Parent = Part49
- Sound52.Pitch = 1.0092434883118
- Sound52.PlaybackSpeed = 1.0092434883118
- Sound52.SoundId = "rbxassetid://260430060"
- Sound52.Volume = 1
- Sound53.Name = "Hit3"
- Sound53.Parent = Part49
- Sound53.Pitch = 1.0101846456528
- Sound53.PlaybackSpeed = 1.0101846456528
- Sound53.SoundId = "rbxassetid://278061737"
- Sound53.Volume = 1
- Sound54.Name = "Swing"
- Sound54.Parent = Part49
- Sound54.SoundId = "rbxassetid://148196278"
- Sound54.Volume = 1
- Script55.Name = "JeffTheKillerMain"
- Script55.Parent = Model1
- table.insert(cors,sandbox(Script55,function()
- --[[ By: Brutez. ]]--
- local JeffTheKillerScript=script;
- repeat Wait(0)until JeffTheKillerScript and JeffTheKillerScript.Parent and JeffTheKillerScript.Parent.ClassName=="Model"and JeffTheKillerScript.Parent:FindFirstChild("Head")and JeffTheKillerScript.Parent:FindFirstChild("Torso");
- local JeffTheKiller=JeffTheKillerScript.Parent;
- function raycast(Spos,vec,currentdist)
- local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),JeffTheKiller);
- 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;
- --[[if JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then]]--
- --[[JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();]]--
- --[[end;]]--
- 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 AttackDebounce=false;
- local JeffTheKillerKnife=JeffTheKiller:FindFirstChild("Knife");
- local JeffTheKillerHead=JeffTheKiller:FindFirstChild("Head");
- local JeffTheKillerHumanoidRootPart=JeffTheKiller:FindFirstChild("HumanoidRootPart");
- local WalkDebounce=false;
- local Notice=false;
- local JeffLaughDebounce=false;
- local MusicDebounce=false;
- local NoticeDebounce=false;
- local ChosenMusic;
- JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
- local OriginalC0=JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0;
- function FindNearestBae()
- local NoticeDistance=999999999999;
- local TargetMain;
- for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and TargetModel.className=="Model"and TargetModel~=JeffTheKiller and TargetModel.Name~=JeffTheKiller.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 TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<NoticeDistance then
- TargetMain=TargetPart;
- NoticeDistance=(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude;
- local hit,pos=raycast(JeffTheKillerHumanoidRootPart.Position,(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).unit,500)
- if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("Torso")and hit.Parent:FindFirstChild("Head")then
- if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<9 and not AttackDebounce then
- Spawn(function()
- AttackDebounce=true;
- local SwingAnimation=JeffTheKillerHumanoid:LoadAnimation(JeffTheKiller:FindFirstChild("Swing"));
- local SwingChoice=math.random(1,2);
- local HitChoice=math.random(1,3);
- SwingAnimation:Play();
- SwingAnimation:AdjustSpeed(1.5+(math.random()*0.1));
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Swing")then
- local SwingSound=JeffTheKillerKnife:FindFirstChild("Swing");
- SwingSound.Pitch=1+(math.random()*0.04);
- SwingSound:Play();
- end;
- Wait(0.3);
- if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<8 then
- FoundHumanoid:TakeDamage(30);
- if HitChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit1")then
- local HitSound=JeffTheKillerKnife:FindFirstChild("Hit1");
- HitSound.Pitch=1+(math.random()*0.04);
- HitSound:Play();
- elseif HitChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit2")then
- local HitSound=JeffTheKillerKnife:FindFirstChild("Hit2");
- HitSound.Pitch=1+(math.random()*0.04);
- HitSound:Play();
- elseif HitChoice==3 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit3")then
- local HitSound=JeffTheKillerKnife:FindFirstChild("Hit3");
- HitSound.Pitch=1+(math.random()*0.04);
- HitSound:Play();
- end;
- end;
- Wait(0.1);
- AttackDebounce=false;
- end);
- end;
- end;
- end;
- end;
- end;
- return TargetMain;
- end;
- while Wait(0)do
- local TargetPoint=JeffTheKillerHumanoid.TargetPoint;
- local Blockage,BlockagePos=RayCast((JeffTheKillerHumanoidRootPart.CFrame+CFrame.new(JeffTheKillerHumanoidRootPart.Position,Vector3.new(TargetPoint.X,JeffTheKillerHumanoidRootPart.Position.Y,TargetPoint.Z)).lookVector*(JeffTheKillerHumanoidRootPart.Size.Z/2)).p,JeffTheKillerHumanoidRootPart.CFrame.lookVector,(JeffTheKillerHumanoidRootPart.Size.Z*2.5),{JeffTheKiller,JeffTheKiller})
- 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 JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and not JeffTheKillerHumanoid.Sit and Jumpable then
- JeffTheKillerHumanoid.Jump=true;
- end;
- end;
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHumanoidRootPart and JeffTheKillerHead:FindFirstChild("Jeff_Step")and (JeffTheKillerHumanoidRootPart.Velocity-Vector3.new(0,JeffTheKillerHumanoidRootPart.Velocity.y,0)).magnitude>=5 and not WalkDebounce and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
- Spawn(function()
- WalkDebounce=true;
- local FiredRay=Ray.new(JeffTheKillerHumanoidRootPart.Position,Vector3.new(0,-4,0));
- local RayTarget,endPoint=Game:GetService("Workspace"):FindPartOnRay(FiredRay,JeffTheKiller);
- if RayTarget then
- local JeffTheKillerHeadFootStepClone=JeffTheKillerHead:FindFirstChild("Jeff_Step"):Clone();
- JeffTheKillerHeadFootStepClone.Parent=JeffTheKillerHead;
- JeffTheKillerHeadFootStepClone:Play();
- JeffTheKillerHeadFootStepClone:Destroy();
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed<17 then
- Wait(0.4);
- elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed>17 then
- Wait(0.15);
- end
- end;
- WalkDebounce=false;
- end);
- end;
- local MainTarget=FindNearestBae();
- local FoundHumanoid;
- if MainTarget then
- for _,Child in pairs(MainTarget.Parent:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- FoundHumanoid=Child;
- end;
- end;
- end;
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and MainTarget.Parent and FoundHumanoid and FoundHumanoid.Jump then
- JeffTheKillerHumanoid.Jump=true;
- end;
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<999999999999999999999999 then
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and not JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
- JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=1;
- JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Play();
- end;
- elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>9999999999999999999999 then
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
- if not JeffLaughDebounce then
- Spawn(function()
- JeffLaughDebounce=true;
- repeat Wait(0);if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")then JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume-0.1;else break;end;until JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume==0 or JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume<0;
- JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
- JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
- JeffLaughDebounce=false;
- end);
- end;
- end;
- end;
- if not ChosenMusic and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<999999999999999999999999999 then
- local MusicChoice=math.random(1,2);
- if MusicChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1")then
- ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1");
- elseif MusicChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2")then
- ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2");
- end;
- if JeffTheKillerScript and JeffTheKiller and ChosenMusic and not ChosenMusic.IsPlaying then
- ChosenMusic.Volume=0.5;
- ChosenMusic:Play();
- end;
- elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>999999999999999999999999 then
- if JeffTheKillerScript and JeffTheKiller and ChosenMusic and ChosenMusic.IsPlaying then
- if not MusicDebounce then
- Spawn(function()
- MusicDebounce=true;
- repeat Wait(0);if JeffTheKillerScript and JeffTheKiller and ChosenMusic then ChosenMusic.Volume=ChosenMusic.Volume-0.01;else break;end;until ChosenMusic.Volume==0 or ChosenMusic.Volume<0;
- if ChosenMusic then
- ChosenMusic.Volume=0;
- ChosenMusic:Stop();
- end;
- ChosenMusic=nil;
- MusicDebounce=false;
- end);
- end;
- end;
- end;
- if not MainTarget and not JeffLaughDebounce then
- Spawn(function()
- JeffLaughDebounce=true;
- repeat Wait(0);if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")then JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume-0.1;else break;end;until JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume==0 or JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume<0;
- JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
- JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
- JeffLaughDebounce=false;
- end);
- end;
- if not MainTarget and not MusicDebounce then
- Spawn(function()
- MusicDebounce=true;
- repeat Wait(0);if JeffTheKillerScript and JeffTheKiller and ChosenMusic then ChosenMusic.Volume=ChosenMusic.Volume-0.01;else break;end;until ChosenMusic.Volume==0 or ChosenMusic.Volume<0;
- if ChosenMusic then
- ChosenMusic.Volume=0;
- ChosenMusic:Stop();
- end;
- ChosenMusic=nil;
- MusicDebounce=false;
- end);
- end;
- if MainTarget then
- Notice=true;
- if Notice and not NoticeDebounce and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Susto2")then
- JeffTheKillerHead:FindFirstChild("Jeff_Susto2"):Play();
- NoticeDebounce=true;
- end
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
- if MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>5 then
- JeffTheKillerHumanoid.WalkSpeed=30;
- elseif MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<5 then
- JeffTheKillerHumanoid.WalkSpeed=0.004;
- end;
- JeffTheKillerHumanoid:MoveTo(MainTarget.Position+(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain"));
- local NeckRotation=(JeffTheKiller:FindFirstChild("Torso").Position.Y-MainTarget.Parent:FindFirstChild("Head").Position.Y)/10;
- if NeckRotation>-1.5 and NeckRotation<1.5 then
- JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=OriginalC0*CFrame.fromEulerAnglesXYZ(NeckRotation,0,0);
- end;
- if NeckRotation<-1.5 then
- JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,-0.993636549,0.112633869,0,0.112633869,0.993636549);
- elseif NeckRotation>1.5 then
- JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0.996671617,0.081521146,0,0.081521146,-0.996671617);
- end;
- else
- end;
- else
- Notice=false;
- NoticeDebounce=false;
- JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
- local RandomWalk=math.random(1,150);
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
- JeffTheKillerHumanoid.WalkSpeed=12;
- if RandomWalk==1 then
- JeffTheKillerHumanoid:MoveTo(Game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),Game:GetService("Workspace"):FindFirstChild("Terrain"));
- end;
- end;
- end;
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid then
- JeffTheKillerHumanoid.DisplayDistanceType="None";
- JeffTheKillerHumanoid.HealthDisplayDistance=0;
- JeffTheKillerHumanoid.Name="ColdBloodedKiller";
- JeffTheKillerHumanoid.NameDisplayDistance=0;
- JeffTheKillerHumanoid.NameOcclusion="EnemyOcclusion";
- JeffTheKillerHumanoid.AutoJumpEnabled=true;
- JeffTheKillerHumanoid.AutoRotate=true;
- JeffTheKillerHumanoid.MaxHealth=500;
- JeffTheKillerHumanoid.JumpPower=60;
- JeffTheKillerHumanoid.MaxSlopeAngle=89.9;
- end;
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoJumpEnabled then
- JeffTheKillerHumanoid.AutoJumpEnabled=true;
- end;
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoRotate then
- JeffTheKillerHumanoid.AutoRotate=true;
- end;
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.PlatformStand then
- JeffTheKillerHumanoid.PlatformStand=false;
- end;
- if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Sit then
- JeffTheKillerHumanoid.Sit=false;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- Camera56.Name = "ThumbnailCamera"
- Camera56.Parent = Model1
- Camera56.CFrame = CFrame.new(-3.92639256, 7.66294432, 5.06560326, -0.999975979, 0.000870122865, -0.00688695721, -0, 0.992112994, 0.125347108, 0.00694170687, 0.125344098, -0.992089033)
- Camera56.CoordinateFrame = CFrame.new(-3.92639256, 7.66294432, 5.06560326, -0.999975979, 0.000870122865, -0.00688695721, -0, 0.992112994, 0.125347108, 0.00694170687, 0.125344098, -0.992089033)
- Camera56.FieldOfView = 39.999999303284
- Camera56.Focus = CFrame.new(-3.91261864, 7.41225004, 7.0497818, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera56.focus = CFrame.new(-3.91261864, 7.41225004, 7.0497818, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Shirt57.Parent = Model1
- Shirt57.ShirtTemplate = "rbxassetid://1053681727"
- Pants58.Parent = Model1
- Pants58.PantsTemplate = "rbxassetid://808846597"
- Script59.Name = "Health (TO MAKE HEALTH ABOVE 100)"
- Script59.Parent = Model1
- table.insert(cors,sandbox(Script59,function()
- function waitForChild(parent, childName)
- while true do
- local child = parent:findFirstChild(childName)
- if child then
- return child
- end
- parent.ChildAdded:wait()
- end
- end
- -- declarations
- local Figure = script.Parent
- local Head = waitForChild(Figure, "Head")
- local Humanoid = waitForChild(Figure, "Humanoid")
- Humanoid.Health=500 ------------- Hey dude, this is how to change the max health. Increase the number, make sure to change the humanoid maxhealth too.
- -- regeneration
- while true do
- local s = wait(99999999) ------------ Don't change this.
- local health = Humanoid.Health
- if health > 0 and health < Humanoid.MaxHealth then
- health = health + 0.08 * s * Humanoid.MaxHealth
- if health * 1.05 < Humanoid.MaxHealth then
- Humanoid.Health = health
- else
- Humanoid.Health = Humanoid.MaxHealth
- end
- end
- end
- end))
- Hat60.Parent = Model0
- Hat60.AttachmentPoint = CFrame.new(0, -0.200000003, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Hat60.AttachmentPos = Vector3.new(0, -0.200000003, 0.100000001)
- UnionOperation61.Name = "Handle"
- UnionOperation61.Parent = Hat60
- UnionOperation61.CFrame = CFrame.new(157.98584, 5.46826077, -48.6411514, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
- UnionOperation61.Orientation = Vector3.new(0, 90, 0)
- UnionOperation61.Position = Vector3.new(157.98584, 5.46826077, -48.6411514)
- UnionOperation61.Rotation = Vector3.new(0, 90, 0)
- UnionOperation61.Color = Color3.new(1, 0, 0)
- UnionOperation61.Size = Vector3.new(1.3577584, 0.936562181, 1.6683836)
- UnionOperation61.BrickColor = BrickColor.new("Really red")
- UnionOperation61.Material = Enum.Material.Sand
- UnionOperation61.brickColor = BrickColor.new("Really red")
- UnionOperation61.UsePartColor = true
- Decal62.Parent = UnionOperation61
- Decal62.Texture = "http://www.roblox.com/asset/?id=287608534"
- Decal63.Parent = UnionOperation61
- Decal63.Texture = "http://www.roblox.com/asset/?id=287617286"
- Decal63.Face = Enum.NormalId.Right
- Decal64.Parent = UnionOperation61
- Decal64.Texture = "http://www.roblox.com/asset/?id=287617265"
- Decal64.Face = Enum.NormalId.Left
- Decal65.Parent = UnionOperation61
- Decal65.Texture = "http://www.roblox.com/asset/?id=287624931"
- Decal65.Face = Enum.NormalId.Top
- Decal66.Parent = UnionOperation61
- Decal66.Texture = "http://www.roblox.com/asset/?id=287617245"
- Decal66.Face = Enum.NormalId.Back
- Decal67.Parent = UnionOperation61
- Decal67.Texture = "http://www.roblox.com/asset/?id=287624921"
- Decal67.Face = Enum.NormalId.Bottom
- 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