Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --GENOCIDE!
- 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")
- Sound2 = Instance.new("Sound")
- Sound3 = Instance.new("Sound")
- Sound4 = Instance.new("Sound")
- SpecialMesh5 = Instance.new("SpecialMesh")
- Decal6 = Instance.new("Decal")
- Weld7 = Instance.new("Weld")
- Part8 = Instance.new("Part")
- Decal9 = Instance.new("Decal")
- Motor6D10 = Instance.new("Motor6D")
- Motor6D11 = Instance.new("Motor6D")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Motor6D14 = Instance.new("Motor6D")
- BillboardGui15 = Instance.new("BillboardGui")
- TextLabel16 = Instance.new("TextLabel")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Weld19 = Instance.new("Weld")
- Weld20 = Instance.new("Weld")
- Part21 = Instance.new("Part")
- Part22 = Instance.new("Part")
- Humanoid23 = Instance.new("Humanoid")
- Model24 = Instance.new("Model")
- Model25 = Instance.new("Model")
- Part26 = Instance.new("Part")
- Motor6D27 = Instance.new("Motor6D")
- Part28 = Instance.new("Part")
- Sound29 = Instance.new("Sound")
- Sound30 = Instance.new("Sound")
- Sound31 = Instance.new("Sound")
- Sound32 = Instance.new("Sound")
- SpecialMesh33 = Instance.new("SpecialMesh")
- Script34 = Instance.new("Script")
- Script35 = Instance.new("Script")
- StringValue36 = Instance.new("StringValue")
- Animation37 = Instance.new("Animation")
- StringValue38 = Instance.new("StringValue")
- Animation39 = Instance.new("Animation")
- StringValue40 = Instance.new("StringValue")
- Animation41 = Instance.new("Animation")
- NumberValue42 = Instance.new("NumberValue")
- Animation43 = Instance.new("Animation")
- NumberValue44 = Instance.new("NumberValue")
- StringValue45 = Instance.new("StringValue")
- Animation46 = Instance.new("Animation")
- StringValue47 = Instance.new("StringValue")
- Animation48 = Instance.new("Animation")
- StringValue49 = Instance.new("StringValue")
- Animation50 = Instance.new("Animation")
- StringValue51 = Instance.new("StringValue")
- Animation52 = Instance.new("Animation")
- StringValue53 = Instance.new("StringValue")
- Animation54 = Instance.new("Animation")
- Animation55 = Instance.new("Animation")
- Tool56 = Instance.new("Tool")
- Part57 = Instance.new("Part")
- Sound58 = Instance.new("Sound")
- FileMesh59 = Instance.new("FileMesh")
- ScreenGui60 = Instance.new("ScreenGui")
- TextLabel61 = Instance.new("TextLabel")
- LocalScript62 = Instance.new("LocalScript")
- LocalScript63 = Instance.new("LocalScript")
- Script64 = Instance.new("Script")
- Script65 = Instance.new("Script")
- Pants66 = Instance.new("Pants")
- Hat67 = Instance.new("Hat")
- Part68 = Instance.new("Part")
- SpecialMesh69 = Instance.new("SpecialMesh")
- CharacterMesh70 = Instance.new("CharacterMesh")
- CharacterMesh71 = Instance.new("CharacterMesh")
- CharacterMesh72 = Instance.new("CharacterMesh")
- CharacterMesh73 = Instance.new("CharacterMesh")
- CharacterMesh74 = Instance.new("CharacterMesh")
- Model0.Name = "Genocide"
- Model0.Parent = mas
- Model0.PrimaryPart = Part1
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.BrickColor = BrickColor.new("Pastel brown")
- Part1.Rotation = Vector3.new(-180, 0.0199999996, -180)
- Part1.Elasticity = 0
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Friction = 0
- Part1.Size = Vector3.new(2, 1, 1)
- Part1.CFrame = CFrame.new(-2.25450635, 4.50008392, -119.720833, -1.00000262, 7.15458737e-06, 0.000275864091, 7.17589546e-06, 1, 7.71678751e-05, -0.000275863538, 7.71696868e-05, -1.00000262)
- 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(1, 0.8, 0.6)
- Part1.Position = Vector3.new(-2.25450635, 4.50008392, -119.720833)
- Part1.Orientation = Vector3.new(0, 179.979996, 0)
- Part1.Color = Color3.new(1, 0.8, 0.6)
- Sound2.Name = "Jeff_Step"
- Sound2.Parent = Part1
- Sound2.SoundId = "rbxassetid://379611235"
- Sound2.Volume = 1
- Sound3.Name = "Jeff_Laugh"
- Sound3.Parent = Part1
- Sound3.SoundId = "rbxassetid://224921358"
- Sound3.Volume = 1
- Sound3.Looped = true
- Sound4.Name = "Jeff_Susto2"
- Sound4.Parent = Part1
- Sound4.SoundId = "rbxassetid://320355925"
- Sound4.Volume = 1
- SpecialMesh5.Parent = Part1
- SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal6.Parent = Part1
- Decal6.Texture = "http://www.roblox.com/asset/?id=143031148"
- Weld7.Name = "HeadWeld"
- Weld7.Parent = Part1
- Weld7.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld7.C1 = CFrame.new(0, 0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld7.Part0 = Part1
- Weld7.Part1 = Part68
- Part8.Name = "Torso"
- Part8.Parent = Model0
- Part8.Material = Enum.Material.SmoothPlastic
- Part8.BrickColor = BrickColor.new("Pastel brown")
- Part8.Rotation = Vector3.new(-180, 0.0199999996, -180)
- Part8.Elasticity = 0
- Part8.FormFactor = Enum.FormFactor.Symmetric
- Part8.Friction = 2
- Part8.Size = Vector3.new(2, 2, 1)
- Part8.CFrame = CFrame.new(-2.25451708, 3.00008392, -119.720947, -1.00000262, 7.15458737e-06, 0.000275864091, 7.17589546e-06, 1, 7.71678751e-05, -0.000275863538, 7.71696868e-05, -1.00000262)
- Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.Color = Color3.new(1, 0.8, 0.6)
- Part8.Position = Vector3.new(-2.25451708, 3.00008392, -119.720947)
- Part8.Orientation = Vector3.new(0, 179.979996, 0)
- Part8.Color = Color3.new(1, 0.8, 0.6)
- Decal9.Name = "roblox"
- Decal9.Parent = Part8
- Motor6D10.Name = "Right Shoulder"
- Motor6D10.Parent = Part8
- Motor6D10.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D10.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D10.Part0 = Part8
- Motor6D10.Part1 = Part18
- Motor6D10.MaxVelocity = 0.10000000149012
- Motor6D11.Name = "Left Shoulder"
- Motor6D11.Parent = Part8
- 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 = Part8
- Motor6D11.Part1 = Part17
- Motor6D11.MaxVelocity = 0.10000000149012
- Motor6D12.Name = "Right Hip"
- Motor6D12.Parent = Part8
- Motor6D12.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D12.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D12.Part0 = Part8
- Motor6D12.Part1 = Part22
- Motor6D12.MaxVelocity = 0.10000000149012
- Motor6D13.Name = "Left Hip"
- Motor6D13.Parent = Part8
- 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 = Part8
- Motor6D13.Part1 = Part21
- Motor6D13.MaxVelocity = 0.10000000149012
- Motor6D14.Name = "Neck"
- Motor6D14.Parent = Part8
- Motor6D14.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D14.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D14.Part0 = Part8
- Motor6D14.Part1 = Part1
- Motor6D14.MaxVelocity = 0.10000000149012
- BillboardGui15.Name = "BossGui"
- BillboardGui15.Parent = Part8
- BillboardGui15.Size = UDim2.new(10, 0, 10, 0)
- BillboardGui15.Active = true
- BillboardGui15.AlwaysOnTop = true
- BillboardGui15.StudsOffset = Vector3.new(0, 5, 0)
- TextLabel16.Parent = BillboardGui15
- TextLabel16.Transparency = 1
- TextLabel16.Size = UDim2.new(1, 0, 1, 0)
- TextLabel16.Text = "KILL THIS GAL!"
- TextLabel16.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel16.BackgroundTransparency = 1
- TextLabel16.Font = Enum.Font.ArialBold
- TextLabel16.FontSize = Enum.FontSize.Size12
- TextLabel16.TextColor3 = Color3.new(1, 1, 1)
- TextLabel16.TextScaled = true
- TextLabel16.TextStrokeColor3 = Color3.new(1, 1, 1)
- TextLabel16.TextStrokeTransparency = 0
- TextLabel16.TextWrapped = true
- Part17.Name = "Left Arm"
- Part17.Parent = Model0
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.BrickColor = BrickColor.new("Pastel brown")
- Part17.Rotation = Vector3.new(-180, 0.0199999996, -180)
- Part17.Elasticity = 0
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.Friction = 2
- Part17.Size = Vector3.new(1, 2, 1)
- Part17.CFrame = CFrame.new(-0.754513144, 3.00007319, -119.720535, -1.00000262, 7.15458737e-06, 0.000275864091, 7.17589546e-06, 1, 7.71678751e-05, -0.000275863538, 7.71696868e-05, -1.00000262)
- Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.Color = Color3.new(1, 0.8, 0.6)
- Part17.Position = Vector3.new(-0.754513144, 3.00007319, -119.720535)
- Part17.Orientation = Vector3.new(0, 179.979996, 0)
- Part17.Color = Color3.new(1, 0.8, 0.6)
- Part18.Name = "Right Arm"
- Part18.Parent = Model0
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.BrickColor = BrickColor.new("Pastel brown")
- Part18.Rotation = Vector3.new(-180, 0.0199999996, -180)
- Part18.Elasticity = 0
- Part18.FormFactor = Enum.FormFactor.Symmetric
- Part18.Friction = 2
- Part18.Size = Vector3.new(1, 2, 1)
- Part18.CFrame = CFrame.new(-3.75452089, 3.00009465, -119.721359, -1.00000262, 7.15458737e-06, 0.000275864091, 7.17589546e-06, 1, 7.71678751e-05, -0.000275863538, 7.71696868e-05, -1.00000262)
- Part18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.Color = Color3.new(1, 0.8, 0.6)
- Part18.Position = Vector3.new(-3.75452089, 3.00009465, -119.721359)
- Part18.Orientation = Vector3.new(0, 179.979996, 0)
- Part18.Color = Color3.new(1, 0.8, 0.6)
- Weld19.Name = "RightGripWeld"
- Weld19.Parent = Part18
- Weld19.C0 = CFrame.new(-1.29999995, 1.16840947, 0.750634551, 1, 3.41111408e-05, -2.64397204e-05, -2.64397204e-05, 0.96840477, 0.249382511, 3.41111408e-05, -0.249382511, 0.96840477)
- Weld19.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld19.Part0 = Part28
- Weld19.Part1 = Part18
- Weld20.Name = "RightGrip"
- Weld20.Parent = Part18
- Weld20.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
- Weld20.C1 = CFrame.new(0, -0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld20.Part0 = Part18
- Weld20.Part1 = Part57
- Part21.Name = "Left Leg"
- Part21.Parent = Model0
- Part21.Material = Enum.Material.SmoothPlastic
- Part21.BrickColor = BrickColor.new("Pastel brown")
- Part21.Rotation = Vector3.new(-180, 0.0199999996, -180)
- Part21.Elasticity = 0
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.Friction = 2
- Part21.Size = Vector3.new(1, 2, 1)
- Part21.CFrame = CFrame.new(-1.75453007, 1.00008035, -119.720963, -1.00000262, 7.15458737e-06, 0.000275864091, 7.17589546e-06, 1, 7.71678751e-05, -0.000275863538, 7.71696868e-05, -1.00000262)
- Part21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.Color = Color3.new(1, 0.8, 0.6)
- Part21.Position = Vector3.new(-1.75453007, 1.00008035, -119.720963)
- Part21.Orientation = Vector3.new(0, 179.979996, 0)
- Part21.Color = Color3.new(1, 0.8, 0.6)
- Part22.Name = "Right Leg"
- Part22.Parent = Model0
- Part22.Material = Enum.Material.SmoothPlastic
- Part22.BrickColor = BrickColor.new("Pastel brown")
- Part22.Rotation = Vector3.new(-180, 0.0199999996, -180)
- Part22.Elasticity = 0
- Part22.FormFactor = Enum.FormFactor.Symmetric
- Part22.Friction = 2
- Part22.Size = Vector3.new(1, 2, 1)
- Part22.CFrame = CFrame.new(-2.75453281, 1.0000875, -119.721237, -1.00000262, 7.15458737e-06, 0.000275864091, 7.17589546e-06, 1, 7.71678751e-05, -0.000275863538, 7.71696868e-05, -1.00000262)
- Part22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.Color = Color3.new(1, 0.8, 0.6)
- Part22.Position = Vector3.new(-2.75453281, 1.0000875, -119.721237)
- Part22.Orientation = Vector3.new(0, 179.979996, 0)
- Part22.Color = Color3.new(1, 0.8, 0.6)
- Humanoid23.Parent = Model0
- Humanoid23.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid23.HealthDisplayDistance = 0
- Humanoid23.NameDisplayDistance = 0
- Humanoid23.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid23.RightLeg = Part22
- Humanoid23.LeftLeg = Part21
- Humanoid23.Torso = Part26
- Humanoid23.Health = 500
- Humanoid23.MaxHealth = 500
- Model24.Name = "Status"
- Model24.Parent = Humanoid23
- Model25.Name = "AvalibleSpawns"
- Model25.Parent = Model24
- Part26.Name = "HumanoidRootPart"
- Part26.Parent = Model0
- Part26.Material = Enum.Material.SmoothPlastic
- Part26.BrickColor = BrickColor.new("Bright blue")
- Part26.Transparency = 1
- Part26.Rotation = Vector3.new(-180, 0.0199999996, -180)
- Part26.CanCollide = false
- Part26.Elasticity = 0
- Part26.FormFactor = Enum.FormFactor.Symmetric
- Part26.Friction = 0
- Part26.Size = Vector3.new(2, 2, 1)
- Part26.CFrame = CFrame.new(-2.25451708, 3.00008392, -119.720947, -1.00000262, 7.15458737e-06, 0.000275864091, 7.17589546e-06, 1, 7.71678751e-05, -0.000275863538, 7.71696868e-05, -1.00000262)
- 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.0509804, 0.411765, 0.67451)
- Part26.Position = Vector3.new(-2.25451708, 3.00008392, -119.720947)
- Part26.Orientation = Vector3.new(0, 179.979996, 0)
- Part26.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Motor6D27.Name = "RootJoint"
- Motor6D27.Parent = Part26
- Motor6D27.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D27.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D27.Part0 = Part26
- Motor6D27.Part1 = Part8
- Motor6D27.MaxVelocity = 0.10000000149012
- Part28.Name = "Knife"
- Part28.Parent = Model0
- Part28.Material = Enum.Material.Metal
- Part28.BrickColor = BrickColor.new("Mid gray")
- Part28.Transparency = 1
- Part28.Rotation = Vector3.new(165.559998, 0.00999999978, -179.98999)
- Part28.CanCollide = false
- Part28.Elasticity = 0
- Part28.FormFactor = Enum.FormFactor.Custom
- Part28.Friction = 2
- Part28.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part28.CFrame = CFrame.new(-3.55481315, 2.05576086, -118.703041, -1.00000262, 0.000102164006, 0.000231252649, 4.12849949e-05, 0.968424022, -0.249307781, -0.000249421137, -0.249308422, -0.968426585)
- 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.803922, 0.803922, 0.803922)
- Part28.Position = Vector3.new(-3.55481315, 2.05576086, -118.703041)
- Part28.Orientation = Vector3.new(14.4399996, 179.98999, 0)
- Part28.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Sound29.Name = "Hit1"
- Sound29.Parent = Part28
- Sound29.SoundId = "http://www.roblox.com/Asset?ID=186311262"
- Sound29.Volume = 1
- Sound30.Name = "Swing"
- Sound30.Parent = Part28
- Sound30.Pitch = 1.1000000238419
- Sound30.SoundId = "rbxassetid://153647529"
- Sound30.Volume = 1
- Sound31.Name = "Hit3"
- Sound31.Parent = Part28
- Sound31.SoundId = "http://www.roblox.com/Asset?ID=186311262"
- Sound31.Volume = 1
- Sound32.Name = "Hit2"
- Sound32.Parent = Part28
- Sound32.SoundId = "http://www.roblox.com/Asset?ID=186311262"
- Sound32.Volume = 1
- SpecialMesh33.Name = "Knife Mesh"
- SpecialMesh33.Parent = Part28
- SpecialMesh33.MeshId = "rbxassetid://165710339"
- SpecialMesh33.Scale = Vector3.new(0.5, 0.5, 0.699999988)
- SpecialMesh33.TextureId = "http://www.roblox.com/asset/?id=338106795"
- SpecialMesh33.MeshType = Enum.MeshType.FileMesh
- SpecialMesh33.Scale = Vector3.new(0.5, 0.5, 0.699999988)
- Script34.Name = "Health"
- Script34.Parent = Model0
- table.insert(cors,sandbox(Script34,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))
- Script35.Name = "AnimateSauce"
- Script35.Parent = Model0
- table.insert(cors,sandbox(Script35,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid;
- 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))
- StringValue36.Name = "climb"
- StringValue36.Parent = Script35
- Animation37.Name = "ClimbAnim"
- Animation37.Parent = StringValue36
- Animation37.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue38.Name = "fall"
- StringValue38.Parent = Script35
- Animation39.Name = "FallAnim"
- Animation39.Parent = StringValue38
- Animation39.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue40.Name = "idle"
- StringValue40.Parent = Script35
- Animation41.Name = "Animation1"
- Animation41.Parent = StringValue40
- Animation41.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- NumberValue42.Name = "Weight"
- NumberValue42.Parent = Animation41
- NumberValue42.Value = 9
- Animation43.Name = "Animation2"
- Animation43.Parent = StringValue40
- Animation43.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- NumberValue44.Name = "Weight"
- NumberValue44.Parent = Animation43
- NumberValue44.Value = 1
- StringValue45.Name = "jump"
- StringValue45.Parent = Script35
- Animation46.Name = "JumpAnim"
- Animation46.Parent = StringValue45
- Animation46.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue47.Name = "run"
- StringValue47.Parent = Script35
- Animation48.Name = "RunAnim"
- Animation48.Parent = StringValue47
- Animation48.AnimationId = "http://www.roblox.com/asset/?id=252557606"
- StringValue49.Name = "sit"
- StringValue49.Parent = Script35
- Animation50.Name = "SitAnim"
- Animation50.Parent = StringValue49
- Animation50.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue51.Name = "toolnone"
- StringValue51.Parent = Script35
- Animation52.Name = "ToolNoneAnim"
- Animation52.Parent = StringValue51
- Animation52.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue53.Name = "walk"
- StringValue53.Parent = Script35
- Animation54.Name = "WalkAnim"
- Animation54.Parent = StringValue53
- Animation54.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Animation55.Name = "Swing"
- Animation55.Parent = Model0
- Animation55.AnimationId = "http://www.roblox.com/Asset?ID=96559161"
- Tool56.Name = "Knife"
- Tool56.Parent = Model0
- Tool56.TextureId = "http://www.roblox.com/asset/?id=155344898"
- Tool56.GripPos = Vector3.new(0, -0.800000012, 0)
- Part57.Name = "Handle"
- Part57.Parent = Tool56
- Part57.BrickColor = BrickColor.new("Really black")
- Part57.Rotation = Vector3.new(-90, 0, 179.979996)
- Part57.CanCollide = false
- Part57.FormFactor = Enum.FormFactor.Custom
- Part57.Size = Vector3.new(0.400000006, 3, 0.800000012)
- Part57.CFrame = CFrame.new(-3.75474882, 2.0000329, -118.921432, -1.00000262, -0.000275864091, 7.15458737e-06, 7.17589546e-06, -7.71678751e-05, 1, -0.000275863538, 1.00000262, 7.71696868e-05)
- Part57.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part57.Position = Vector3.new(-3.75474882, 2.0000329, -118.921432)
- Part57.Orientation = Vector3.new(-90, 179.979996, 0)
- Part57.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound58.Parent = Part57
- Sound58.SoundId = "rbxassetid://153647514"
- Sound58.Volume = 1
- FileMesh59.Parent = Part57
- FileMesh59.MeshId = "http://www.roblox.com/asset/?id=121944778"
- FileMesh59.TextureId = "http://www.roblox.com/asset/?id=144012212"
- ScreenGui60.Parent = Tool56
- TextLabel61.Name = "Devs"
- TextLabel61.Parent = ScreenGui60
- TextLabel61.Size = UDim2.new(0, 175, 0, 20)
- TextLabel61.Text = "Knife Scripted by Cryme Studios"
- TextLabel61.Position = UDim2.new(0.00999999978, 0, 0.899999976, 0)
- TextLabel61.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel61.BorderColor3 = Color3.new(0.027451, 1, 0.482353)
- TextLabel61.BorderSizePixel = 2
- TextLabel61.Font = Enum.Font.SourceSans
- TextLabel61.FontSize = Enum.FontSize.Size14
- TextLabel61.TextColor3 = Color3.new(0.0823529, 1, 0.494118)
- TextLabel61.TextTransparency = 1
- LocalScript62.Name = "FirstPersonArms"
- LocalScript62.Parent = Tool56
- table.insert(cors,sandbox(LocalScript62,function()
- wait(0.2)
- local player=game.Players.LocalPlayer
- local camera=workspace.CurrentCamera
- local tool=script.Parent
- local char=player.Character
- local humanoid=char:WaitForChild("Humanoid")
- SETTINGS={
- FIRST_PERSON={
- left_arm=true, --if left arm is Enabled
- right_arm=true, --If right arm is Enabled
- arm_transparency=0.5, --The transparency of the Arms
- arm_color=BrickColor.new("Really black"), --The colo(u)r of the arms, If below is set to true, This will be the BrickColor of the Arms.
- change_color=false, --Changes the colo(u)r of the arms, If false, Will set them as the Players arm colo(u)r
- add_shirt=true, --If true, add's the Character's shirt to the Arms--
- },
- }
- function FirstPerson()
- if (camera.focus.p - camera.CoordinateFrame.p).magnitude > 1 then
- return false
- else
- return true
- end
- end
- function Start()
- anim_arms=Instance.new("Model")
- anim_arms.Name="Arms_Model"
- local Shirt=player.Character:FindFirstChild("Shirt")
- if Shirt then
- Shirt:clone().Parent=anim_arms
- Instance.new("Humanoid",anim_arms)
- end
- local r,l = char:FindFirstChild("Right Arm"):clone(), char:FindFirstChild("Left Arm"):clone()
- if r and SETTINGS.FIRST_PERSON.right_arm then
- r.Transparency=SETTINGS.FIRST_PERSON.arm_transparency
- r.Material=Enum.Material.SmoothPlastic
- if SETTINGS.FIRST_PERSON.change_color then
- r.BrickColor=SETTINGS.FIRST_PERSON.arm_color
- end
- end
- if l and SETTINGS.FIRST_PERSON.left_arm then
- l.Transparency=SETTINGS.FIRST_PERSON.arm_transparency
- l.Material=Enum.Material.SmoothPlastic
- if SETTINGS.FIRST_PERSON.change_color then
- l.BrickColor=SETTINGS.FIRST_PERSON.arm_color
- end
- end
- local rw,lw = Instance.new("Weld"),Instance.new("Weld")
- if rw and SETTINGS.FIRST_PERSON.right_arm then
- rw.Part0=r
- rw.Part1=char:FindFirstChild("Right Arm")
- rw.Parent=r
- r.Parent=anim_arms
- end
- if lw and SETTINGS.FIRST_PERSON.left_arm then
- lw.Part0=l
- lw.Part1=char:FindFirstChild("Left Arm")
- lw.Parent=l
- l.Parent=anim_arms
- end
- l.CanCollide=false
- r.CanCollide=false
- if SETTINGS.FIRST_PERSON.right_arm then
- if r:FindFirstChild("RightGrip")~=nil then r:FindFirstChild("RightGrip"):Destroy() end
- end
- if tool.Handle:FindFirstChild("Mesh") ~= nil then tool.Handle.Mesh:Destroy() end
- while equipped do
- if FirstPerson() then
- if anim_arms ~= nil then
- anim_arms.Parent=camera
- humanoid.CameraOffset = Vector3.new(0, -0.2, -0.5)
- end
- else
- if anim_arms ~= nil then
- anim_arms.Parent=nil
- humanoid.CameraOffset = Vector3.new(0,0,0)
- end
- end
- wait()
- end
- end
- function End()
- anim_arms:Destroy()
- anim_arms=nil
- humanoid.CameraOffset = Vector3.new(0,0,0)
- end
- tool.Equipped:connect(function ()
- equipped=true
- Start()
- end)
- tool.Unequipped:connect(function ()
- equipped=false
- End()
- end)
- end))
- LocalScript63.Name = "Module"
- LocalScript63.Parent = Tool56
- table.insert(cors,sandbox(LocalScript63,function()
- -- Knife script
- -- By Cryme studios
- -- Help from MatrixComplexity
- wait(.2)
- local tool=script.Parent
- local player=game.Players.LocalPlayer
- local char=player.Character
- local humanoid=char:FindFirstChild("Humanoid")
- local camera=workspace.CurrentCamera
- local rightC1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(0, (math.pi / 2), 0)
- local leftC1 = CFrame.new(0, 0.7, 0) * CFrame.Angles(0, (math.pi / 2), 0)
- local mouse=player:GetMouse()
- local equipping=false
- local gettingknife=false
- local playcharge=false
- local justthrown=false
- local justattacked=false
- local thrownkniferotation=0
- local Damage=110
- local Attacking=false
- local handle=nil
- local WalkSpeeds={16,20}
- SOUNDS={
- throwing={"153647554","153647549"},
- striking={"153647529","153647534","153647539","153647540"},
- equip="153647514",
- wallhit={"153647563","153647564"},
- hitplayer={"153647516","153647519","153647522","153647526"},
- deaths={"146594640","146457047","146594648"},
- }
- SETTINGS={
- TOOL={
- mesh_id="http://www.roblox.com/asset/?id=121944778",
- mesh_type=Enum.MeshType.FileMesh,
- texture_id="http://www.roblox.com/asset/?id=183076355 ",
- mesh_offset=Vector3.new(0,0,0),
- mesh_scale=.6,
- tool_size=Vector3.new(0.2,0.2,0.2),
- tool_transparency=0,
- tool_color=BrickColor.Black(),
- default_tool_size=0.6,
- },
- }
- function DamageObject(hit)
- local char=hit.Parent
- if char and char~=player.Character and char.Name~="Arms_Model" and hit.Name~="Handle" then
- local h=char:FindFirstChild("Humanoid")
- if h and h.Health > 0 then
- h:TakeDamage(Damage)
- PlaySound("Hit1",char.Torso)
- if h.Health == 0 then
- PlaySound("Hit2",char.Torso)
- end
- end
- end
- end
- function PlaySound(name,ctorso)
- if name=="Throw" then
- tool.Handle.Sound.SoundId = "rbxassetid://" .. SOUNDS.throwing[math.random(1,#SOUNDS.throwing)]
- tool.Handle.Sound:Play()
- elseif name=="Equip" then
- tool.Handle.Sound.SoundId = "rbxassetid://" .. SOUNDS.equip
- tool.Handle.Sound:Play()
- elseif name=="Swing" then
- tool.Handle.Sound.SoundId = "rbxassetid://" .. SOUNDS.striking[math.random(1,#SOUNDS.striking)]
- tool.Handle.Sound:Play()
- elseif name=="Hit1" then
- local NewSound=tool.Handle.Sound:clone()
- NewSound.Parent=ctorso
- NewSound.SoundId = "rbxassetid://" .. SOUNDS.hitplayer[math.random(1,#SOUNDS.hitplayer)]
- NewSound:Play()
- NewSound:Destroy()
- elseif name=="Hit2" then
- local NewSound=tool.Handle.Sound:clone()
- NewSound.Parent=ctorso
- NewSound.SoundId = "rbxassetid://" .. SOUNDS.deaths[math.random(1,#SOUNDS.deaths)]
- NewSound:Play()
- NewSound:Destroy()
- end
- end
- function ThrowTool(dPos)
- if not tool.Handle then return end
- local throwingHandle = tool.Handle:Clone()
- game:GetService("Debris"):AddItem(throwingHandle, 5)
- throwingHandle.Transparency=0
- throwingHandle.Parent = workspace
- if player.Character and player.Character.Humanoid then
- throwingHandle.Velocity = (player.Character.Humanoid.TargetPoint - throwingHandle.CFrame.p).unit * 135
- if mouse.Target ~= nil then
- if mouse.Target.Parent.Name~="Arms_Model" and mouse.Target.Name~="ThrownKnife" and mouse.Target.Name~="Handle" then
- targetpos=player.Character.Humanoid.TargetPoint
- else
- targetpos=Vector3.new(0,-10,0)
- end
- end
- -- set the orientation to the direction it is being thrown in
- throwingHandle.CFrame = CFrame.new(throwingHandle.CFrame.p, throwingHandle.CFrame.p + throwingHandle.Velocity) * CFrame.Angles(0, 0, math.rad(-90))
- local floatingForce = Instance.new('BodyForce', throwingHandle)
- floatingForce.force = Vector3.new(0, 196.2 * throwingHandle:GetMass() * 0.98, 0)
- local spin = Instance.new('BodyAngularVelocity', throwingHandle)
- spin.angularvelocity = throwingHandle.CFrame:vectorToWorldSpace(Vector3.new(0, -400, 0))
- spawnPos=player.Character.PrimaryPart.Position
- spawnPos = spawnPos + dPos*1000000
- end
- if throwingHandle then
- local touchedConn = throwingHandle.Touched:connect(function(hit)
- local char=hit.Parent
- camera.CameraSubject=humanoid
- camera.CameraType=Enum.CameraType.Custom
- if char and char~=player.Character and char.Name~="Arms_Model" and hit.Name~="Handle" then
- local h=char:FindFirstChild("Humanoid")
- if h and h.Health > 0 then
- throwingHandle:Destroy()
- if hit.Name~="Head" or hit.className=="Hat" then
- h:TakeDamage(Damage)
- PlaySound("Hit1",char.Torso)
- if h.Health == 0 then
- PlaySound("Hit2",char.Torso)
- end
- else
- h:TakeDamage(Damage * 2)
- print("Headshot!")
- char.Head.Transparency=1
- char.Head.CanCollide=false
- if char.Head:FindFirstChild("face") then char.Head:FindFirstChild("face").Transparency=1 end
- for _,v in pairs(char:GetChildren()) do
- if v.className=="Hat" then
- v:Destroy()
- end
- end
- for i = 1, 7 do
- local blood=Instance.new("Part")
- blood.FormFactor="Custom"
- blood.Size=Vector3.new(1,.2,1)
- blood.BrickColor=BrickColor.Red()
- blood.TopSurface=0
- blood.BottomSurface=0
- game:GetService("Debris"):AddItem(blood,5)
- blood.Parent=workspace
- blood.Position=char.Head.Position + Vector3.new(math.random(0.2,0.8),0,math.random(0.2,0.8))
- end
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://142347633"
- sound.Parent=char.Head
- sound.Pitch=1.1
- sound:Play()
- end
- PlaySound("Hit1")
- if h.Health == 0 then
- PlaySound("Hit2")
- end
- elseif hit.Name~="Handle" or hit.Name~="IgnoreThrowingKnives" and hit.Parent.Name~="Arms_Model" and hit.CanCollide==false then
- local sound=Instance.new("Sound")
- sound.Parent=hit
- sound.SoundId = "rbxassetid://" .. SOUNDS.wallhit[math.random(1,#SOUNDS.wallhit)]
- sound:Play()
- sound:Destroy()
- print("Hit Object: " .. hit.Name)
- local newknife=tool.Handle:clone()
- newknife.Name="ThrownKnife"
- newknife.CFrame = CFrame.new(spawnPos, spawnPos + dPos) * CFrame.Angles(math.pi/-2, 0, 0)
- newknife.Position = targetpos
- throwingHandle:Destroy()
- newknife.Anchored=true
- newknife.CanCollide=true
- newknife.Transparency=0
- newknife.Parent=workspace
- wait(7)
- for i=1,10 do
- newknife.Transparency=i*.1
- wait()
- end
- newknife:Destroy()
- end
- end
- end)
- end
- end
- -- must check if it still exists since we waited
- if throwingHandle then
- throwingHandle.CanCollide = true
- end
- FUNCTIONS={
- CHECKFORFIRSTPERSON=function()
- if (camera.focus.p - camera.CoordinateFrame.p).magnitude > 1 then
- return false
- else
- return true
- end
- end,
- ANIMS=function(state)
- if state then
- mouse.Icon="http://www.roblox.com/asset/?id=54019936"
- --Start Animation
- local mesh=Instance.new("FileMesh")
- mesh.MeshId=SETTINGS.TOOL.mesh_id
- mesh.TextureId=SETTINGS.TOOL.texture_id
- mesh.Scale=Vector3.new(SETTINGS.TOOL.mesh_scale,SETTINGS.TOOL.mesh_scale,SETTINGS.TOOL.mesh_scale)
- mesh.Parent=tool.Handle
- if SETTINGS.TOOL.mesh_scale==.1 then
- tool.GripPos = Vector3.new(0, -0.55, 0)
- elseif SETTINGS.TOOL.mesh_scale==.2 then
- tool.GripPos = Vector3.new(0, -0.6, 0)
- elseif SETTINGS.TOOL.mesh_scale==.3 then
- tool.GripPos = Vector3.new(0, -0.65, 0)
- elseif SETTINGS.TOOL.mesh_scale==.4 then
- tool.GripPos = Vector3.new(0, -0.7, 0)
- elseif SETTINGS.TOOL.mesh_scale==.5 then
- tool.GripPos = Vector3.new(0, -0.75, 0)
- elseif SETTINGS.TOOL.mesh_scale==.6 then
- tool.GripPos = Vector3.new(0, -0.8, 0)
- elseif SETTINGS.TOOL.mesh_scale==.7 then
- tool.GripPos = Vector3.new(0, -0.85, 0)
- elseif SETTINGS.TOOL.mesh_scale==.8 then
- tool.GripPos = Vector3.new(0, -0.9, 0)
- elseif SETTINGS.TOOL.mesh_scale==.9 then
- tool.GripPos = Vector3.new(0, -0.95, 0)
- elseif SETTINGS.TOOL.mesh_scale==1 then
- tool.GripPos = Vector3.new(0, -1, 0)
- else
- print("Invalid tool size! Set to default: " .. SETTINGS.TOOL.default_tool_size )
- mesh.Scale=Vector3.new(SETTINGS.TOOL.default_tool_size,SETTINGS.TOOL.default_tool_size,SETTINGS.TOOL.default_tool_size)
- if SETTINGS.TOOL.default_tool_size==.1 then
- tool.GripPos = Vector3.new(0, -0.55, 0)
- elseif SETTINGS.TOOL.default_tool_size==.2 then
- tool.GripPos = Vector3.new(0, -0.6, 0)
- elseif SETTINGS.TOOL.default_tool_size==.3 then
- tool.GripPos = Vector3.new(0, -0.65, 0)
- elseif SETTINGS.TOOL.default_tool_size==.4 then
- tool.GripPos = Vector3.new(0, -0.7, 0)
- elseif SETTINGS.TOOL.default_tool_size==.5 then
- tool.GripPos = Vector3.new(0, -0.75, 0)
- elseif SETTINGS.TOOL.default_tool_size==.6 then
- tool.GripPos = Vector3.new(0, -0.8, 0)
- elseif SETTINGS.TOOL.default_tool_size==.7 then
- tool.GripPos = Vector3.new(0, -0.85, 0)
- elseif SETTINGS.TOOL.default_tool_size==.8 then
- tool.GripPos = Vector3.new(0, -0.9, 0)
- elseif SETTINGS.TOOL.default_tool_size==.9 then
- tool.GripPos = Vector3.new(0, -0.95, 0)
- elseif SETTINGS.TOOL.default_tool_size==1 then
- tool.GripPos = Vector3.new(0, -1, 0)
- else
- print("Invalid default size! Un-equipping and removing Knife...")
- if humanoid then
- humanoid:UnequipTools()
- tool:Destroy()
- end
- end
- end
- torso=char:FindFirstChild("Torso")
- leftarm=torso:FindFirstChild("Left Shoulder")
- if leftarm then
- leftarm.Parent=nil
- newarmweld=Instance.new("Weld")
- newarmweld.Name="LeftWeld"
- newarmweld.Part0=torso
- newarmweld.C0 = CFrame.new(-1.5, 0.7, 0)
- newarmweld.C1 = CFrame.new(0, 0.7, 0)
- newarmweld.Part1=char:FindFirstChild("Left Arm")
- newarmweld.Parent=torso
- end
- humanoid.WalkSpeed=WalkSpeeds[2]
- for i = 1, 15, 3 do
- if equipped then
- torso:FindFirstChild("Right Shoulder").C1 = rightC1 * CFrame.Angles((-i * (math.pi / 90)),(-i * (math.pi / 90)),(i * (math.pi / 210)))
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.2, .7, 0) * CFrame.Angles((-i * (math.pi / 60)),(i * (math.pi / 90)),(-i * (math.pi / 240)))
- end
- wait()
- end
- else
- humanoid.WalkSpeed=WalkSpeeds[1]
- torso:FindFirstChild("Right Shoulder").C1 = rightC1 * CFrame.new(0,-0.2,0)
- tool.GripForward = Vector3.new(0,0,-1)
- newarmweld:Destroy()
- leftarm.Parent=torso
- mouse.Icon=""
- torso:FindFirstChild("Neck").C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- torso:FindFirstChild("Right Shoulder").C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- end
- end
- }
- tool.Equipped:connect(function ()
- equipped=true
- PlaySound("Equip")
- FUNCTIONS.ANIMS(true)
- script.Parent.ScreenGui:clone().Parent = player.PlayerGui
- end)
- tool.Unequipped:connect(function ()
- equipped=false
- FUNCTIONS.ANIMS(false)
- player.PlayerGui.ScreenGui:Destroy()
- end)
- tool.Handle.Touched:connect(function (hit)
- if Attacking then
- DamageObject(hit)
- end
- end)
- tool.Activated:connect(function ()
- if Attacking then return end
- if not tool.Enabled then return end
- justthrown=false
- justattacked=false
- if not gettingknife and not justthrown and not Attacking then
- HeldTime=time()
- end
- playcharge=true
- wait(.15)
- while gettingknife do
- wait()
- end
- for i = 1, 15, 0.2 do
- if playcharge and equipped and not gettingknife and not justthrown and not Attacking then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.5, 0.5, 0, 0.195277825, -0.747909963, 0.634426773, 0.482016951, 0.636551082, 0.602048457, -0.854123056, 0.188237742, 0.484809577) * CFrame.Angles((i * (math.pi / 50)), 0, (-i * (math.pi / 25)))
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.2, .7, 0, 0.858912528, 0.165011853, 0.484809607, -0.464581847, 0.649385393, 0.602048457, -0.215483144, -0.742340684, 0.634426773) * CFrame.Angles((-i * (math.pi / 75)),(i * (math.pi / 180)),0)
- player.Character["Right Arm"].RightGrip.C1 = CFrame.new(0, -0.800000012, 0.05, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.Angles((-i * (math.pi / 150)),0,0)
- wait()
- end
- end
- end)
- tool.Deactivated:connect(function ()
- if not tool.Enabled then return end
- currTime=time()
- playcharge=false
- if HeldTime and currTime - HeldTime > 0.2 and
- currTime - HeldTime > 0.01 and not justthrown and not gettingknife then
- if not Attacking and not justattacked then
- print("Throw")
- PlaySound("Throw")
- tool.Handle.Transparency=1
- local targetPos = player.Character.Humanoid.TargetPoint
- local lookAt = (targetPos - player.Character.PrimaryPart.Position).unit
- local switchEvenOddParity = 1
- local angle = math.ceil((1-1)/2)*math.pi/12*switchEvenOddParity
- ThrowTool(CFrame.Angles(0, angle, 0) * lookAt)
- HeldTime=0
- gettingknife=true
- mouse.Icon="http://www.roblox.com/asset/?id=54020165"
- player.Character["Right Arm"].RightGrip.C1 = CFrame.new(0, -0.800000012, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- for i = 1, 15, .8 do
- if equipped then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.5, 0.5, 0, 0.0719629526, 0.22870943, 0.970831275, -0.981789052, 0.187819958, 0.0285283029, -0.175816804, -0.955204487, 0.238060504) * CFrame.Angles(0, 0, (i * (math.pi / 15)))
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.2, 0.7, 0, 0.703028679, -0.151466534, 0.694844246, -0.673604906, 0.171488613, 0.718921423, -0.228050426, -0.973472893, 0.0185328126) * CFrame.Angles((i * (math.pi / 60)),(-i * (math.pi / 180)),(i * (math.pi / 60)))
- wait()
- end
- end
- justthrown=true
- tool.Handle.Transparency=0
- PlaySound("Equip")
- mouse.Icon="http://www.roblox.com/asset/?id=54019936"
- tool.GripForward = Vector3.new(0,0,-1)
- for i = 1, 15, 1 do
- if equipped then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.5, 0.5, 0, -0.071962975, -0.22870943, 0.970831275, 0.981789052, -0.187820047, 0.0285283029, 0.175816894, 0.955204487, 0.238060504) * CFrame.Angles(0, 0, (-i * (math.pi / 30)))
- wait()
- end
- end
- gettingknife=false
- for i = 1, 15, 3 do
- if equipped then
- torso:FindFirstChild("Right Shoulder").C1 = rightC1 * CFrame.Angles((-i * (math.pi / 90)),(-i * (math.pi / 90)),(i * (math.pi / 210)))
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.2, .7, 0) * CFrame.Angles((-i * (math.pi / 60)),(i * (math.pi / 90)),(-i * (math.pi / 240)))
- end
- wait()
- end
- end
- else
- if not justthrown and not gettingknife then
- if Attacking then return end
- print("Attack")
- HeldTime=0
- Attacking=true
- justattacked=true
- if math.random(1,2)==1 then
- for i = 1, 15, 3 do
- if equipped and not gettingknife and not justthrown then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.5, 0.5, 0, 0.195277825, -0.747909963, 0.634426773, 0.482016951, 0.636551082, 0.602048457, -0.854123056, 0.188237742, 0.484809577) * CFrame.Angles((i * (math.pi / 65)), 0, (-i * (math.pi / 30)))
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.2, .7, 0, 0.858912528, 0.165011853, 0.484809607, -0.464581847, 0.649385393, 0.602048457, -0.215483144, -0.742340684, 0.634426773) * CFrame.Angles((-i * (math.pi / 75)),(i * (math.pi / 180)),0)
- wait()
- end
- end
- PlaySound("Swing")
- for i = 1, 15, 3 do
- if equipped and not gettingknife and not justthrown then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.5, 0.5, 0, 0.0719629526, 0.22870943, 0.970831275, -0.981789052, 0.187819958, 0.0285283029, -0.175816804, -0.955204487, 0.238060504) * CFrame.Angles(0, 0, (i * (math.pi / 15)))
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.2, 0.7, 0, 0.703028679, -0.151466534, 0.694844246, -0.673604906, 0.171488613, 0.718921423, -0.228050426, -0.973472893, 0.0185328126) * CFrame.Angles((i * (math.pi / 60)),(-i * (math.pi / 180)),(i * (math.pi / 60)))
- wait()
- end
- end
- for i = 1, 15, 3 do
- if equipped and not justthrown and not gettingknife then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.5, 0.5, 0, -0.071962975, -0.22870943, 0.970831275, 0.981789052, -0.187820047, 0.0285283029, 0.175816894, 0.955204487, 0.238060504) * CFrame.Angles(0, 0, (-i * (math.pi / 30)))
- wait()
- end
- end
- for i = 1, 15, 3 do
- equipping=true
- if equipped and not gettingknife and not justthrown then
- torso:FindFirstChild("Right Shoulder").C1 = rightC1 * CFrame.Angles((-i * (math.pi / 90)),(-i * (math.pi / 90)),(i * (math.pi / 210)))
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.2, .7, 0) * CFrame.Angles((-i * (math.pi / 60)),(i * (math.pi / 90)),(-i * (math.pi / 240)))
- end
- wait()
- end
- Attacking=false
- else
- for i = 1, 15, 3 do
- if equipped and not gettingknife and not justthrown then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.3, 0.5, 0, 0.195277825, -0.747909963, 0.634426773, 0.482016951, 0.636551082, 0.602048457, -0.854123056, 0.188237742, 0.484809577) * CFrame.Angles((i * (math.pi / 40)),(-i * (math.pi / 45)),(i * (math.pi / 60)))
- end
- wait()
- end
- PlaySound("Swing")
- for i = 1, 15, 3 do
- if equipped and not gettingknife and not justthrown then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.2, 0.5, -.3, 0.852928281, -0.428775758, 0.29776603, 0.516928136, 0.614185035, -0.596290231, 0.0727913082, 0.662516415, 0.745502114) * CFrame.Angles((-i * (math.pi / 45)),0,0)
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.200000003, 0.7, 0, 0.849384904, 0.16895318, 0.5, -0.48470962, 0.624545038, 0.612372398, -0.208810255, -0.762494743, 0.612372398) * CFrame.Angles((i * (math.pi / 60)),(-i * (math.pi / 180)),(i * (math.pi / 60)))
- end
- wait()
- end
- for i = 1, 15, 3 do
- if equipped and not gettingknife and not justthrown then
- torso:FindFirstChild("Right Shoulder").C1 = CFrame.new(-0.3, 0.5, -0.300000012, 0.852928281, -0.472260833, -0.222447708, 0.516928136, 0.82349503, 0.233754784, 0.0727913082, -0.314365625, 0.946507096) * CFrame.Angles((i * (math.pi / 45)),0,0)
- end
- wait()
- end
- for i = 1, 15, 3 do
- if equipped and not gettingknife and not justthrown then
- torso:FindFirstChild("Right Shoulder").C1 = rightC1 * CFrame.Angles((-i * (math.pi / 90)),(-i * (math.pi / 90)),(i * (math.pi / 210)))
- torso:FindFirstChild("LeftWeld").C1 = CFrame.new(-0.2, .7, 0) * CFrame.Angles((-i * (math.pi / 60)),(i * (math.pi / 90)),(-i * (math.pi / 240)))
- end
- wait()
- end
- Attacking=false
- end
- end
- end
- end)
- mouse.Move:connect(function ()
- if equipped and mouse then
- if (mouse.Hit.p - mouse.Origin.p).unit.y < 0.25 and (mouse.Hit.p - mouse.Origin.p).unit.y > -0.25 then
- torso:FindFirstChild("Right Shoulder").C0 = CFrame.new(.9,.5,0) * CFrame.Angles(0,math.rad(90),0) * CFrame.Angles(0, 0, math.asin((mouse.Hit.p - mouse.Origin.p).unit.y))
- torso:FindFirstChild("LeftWeld").C0 = CFrame.new(-1.5,0.5,0) * CFrame.Angles(0, 0, math.asin((mouse.Hit.p - mouse.Origin.p).unit.y))
- torso:FindFirstChild("Neck").C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(-90),0,math.rad(180)) * CFrame.Angles(math.asin(-(mouse.Hit.p - mouse.Origin.p).unit.y), 0, 0)
- end
- end
- end)
- end))
- Script64.Name = "Respawn"
- Script64.Parent = Model0
- table.insert(cors,sandbox(Script64,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))
- Script65.Name = "JeffTheKillerMain"
- Script65.Parent = Model0
- table.insert(cors,sandbox(Script65,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;
- function FindNearestBae()
- local NoticeDistance=100;
- 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.5);
- elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed>17 then
- Wait(0.2);
- 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<25 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>25 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<50 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>50 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"));
- end;
- else
- Notice=false;
- NoticeDebounce=false;
- 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))
- Pants66.Name = "Pants"
- Pants66.Parent = Model0
- Pants66.PantsTemplate = "http://www.roblox.com/asset/?id=167539725"
- Hat67.Name = "Kate Hair"
- Hat67.Parent = Model0
- Hat67.AttachmentPos = Vector3.new(0, 0.100000001, 0)
- Part68.Name = "Handle"
- Part68.Parent = Hat67
- Part68.Rotation = Vector3.new(-180, 0.0199999996, -180)
- Part68.CanCollide = false
- Part68.FormFactor = Enum.FormFactor.Symmetric
- Part68.Size = Vector3.new(1, 1, 2)
- Part68.CFrame = CFrame.new(-2.25450349, 4.90008402, -119.720802, -1.00000262, 7.15458737e-06, 0.000275864091, 7.17589546e-06, 1, 7.71678751e-05, -0.000275863538, 7.71696868e-05, -1.00000262)
- Part68.BottomSurface = Enum.SurfaceType.Smooth
- Part68.TopSurface = Enum.SurfaceType.Smooth
- Part68.Position = Vector3.new(-2.25450349, 4.90008402, -119.720802)
- Part68.Orientation = Vector3.new(0, 179.979996, 0)
- SpecialMesh69.Parent = Part68
- SpecialMesh69.MeshId = "http://www.roblox.com/asset/?id=81642452"
- SpecialMesh69.Scale = Vector3.new(1.14999998, 1.20000005, 1.10000002)
- SpecialMesh69.TextureId = "http://www.roblox.com/asset/?id=81643238"
- SpecialMesh69.VertexColor = Vector3.new(1.29999995, 1.10000002, 1.10000002)
- SpecialMesh69.MeshType = Enum.MeshType.FileMesh
- SpecialMesh69.Scale = Vector3.new(1.14999998, 1.20000005, 1.10000002)
- CharacterMesh70.Name = "3.0 Female Left Arm"
- CharacterMesh70.Parent = Model0
- CharacterMesh70.MeshId = 83001137
- CharacterMesh70.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh71.Name = "3.0 Female Left Leg"
- CharacterMesh71.Parent = Model0
- CharacterMesh71.MeshId = 81628361
- CharacterMesh71.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh72.Name = "3.0 Female Right Arm"
- CharacterMesh72.Parent = Model0
- CharacterMesh72.MeshId = 83001181
- CharacterMesh72.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh73.Name = "3.0 Female Right Leg"
- CharacterMesh73.Parent = Model0
- CharacterMesh73.MeshId = 81628308
- CharacterMesh73.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh74.Name = "3.0 Female Torso"
- CharacterMesh74.Parent = Model0
- CharacterMesh74.MeshId = 82987757
- CharacterMesh74.BodyPart = Enum.BodyPart.Torso
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement