SHOW:
|
|
- or go back to the newest paste.
| 1 | ||
| 2 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 3 | function sandbox(var,func) | |
| 4 | local env = getfenv(func) | |
| 5 | local newenv = setmetatable({},{
| |
| 6 | __index = function(self,k) | |
| 7 | if k=="script" then | |
| 8 | return var | |
| 9 | else | |
| 10 | return env[k] | |
| 11 | end | |
| 12 | end, | |
| 13 | }) | |
| 14 | setfenv(func,newenv) | |
| 15 | return func | |
| 16 | end | |
| 17 | cors = {}
| |
| 18 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 19 | Model0 = Instance.new("Model")
| |
| 20 | - | Model1 = Instance.new("Model")
|
| 20 | + | Part1 = Instance.new("Part")
|
| 21 | - | Part2 = Instance.new("Part")
|
| 21 | + | SpecialMesh2 = Instance.new("SpecialMesh")
|
| 22 | - | SpecialMesh3 = Instance.new("SpecialMesh")
|
| 22 | + | Sound3 = Instance.new("Sound")
|
| 23 | Sound4 = Instance.new("Sound")
| |
| 24 | - | Decal5 = Instance.new("Decal")
|
| 24 | + | Sound5 = Instance.new("Sound")
|
| 25 | - | Decal6 = Instance.new("Decal")
|
| 25 | + | Sound6 = Instance.new("Sound")
|
| 26 | - | Decal7 = Instance.new("Decal")
|
| 26 | + | Sound7 = Instance.new("Sound")
|
| 27 | - | Decal8 = Instance.new("Decal")
|
| 27 | + | Sound8 = Instance.new("Sound")
|
| 28 | - | Decal9 = Instance.new("Decal")
|
| 28 | + | Sound9 = Instance.new("Sound")
|
| 29 | - | Part10 = Instance.new("Part")
|
| 29 | + | Sound10 = Instance.new("Sound")
|
| 30 | - | Motor6D11 = Instance.new("Motor6D")
|
| 30 | + | Sound11 = Instance.new("Sound")
|
| 31 | - | Motor6D12 = Instance.new("Motor6D")
|
| 31 | + | Sound12 = Instance.new("Sound")
|
| 32 | - | Motor6D13 = Instance.new("Motor6D")
|
| 32 | + | Sound13 = Instance.new("Sound")
|
| 33 | - | Motor6D14 = Instance.new("Motor6D")
|
| 33 | + | Sound14 = Instance.new("Sound")
|
| 34 | - | Motor6D15 = Instance.new("Motor6D")
|
| 34 | + | Sound15 = Instance.new("Sound")
|
| 35 | - | Part16 = Instance.new("Part")
|
| 35 | + | Sound16 = Instance.new("Sound")
|
| 36 | - | Part17 = Instance.new("Part")
|
| 36 | + | Sound17 = Instance.new("Sound")
|
| 37 | - | Weld18 = Instance.new("Weld")
|
| 37 | + | Sound18 = Instance.new("Sound")
|
| 38 | - | Part19 = Instance.new("Part")
|
| 38 | + | Sound19 = Instance.new("Sound")
|
| 39 | - | Part20 = Instance.new("Part")
|
| 39 | + | Sound20 = Instance.new("Sound")
|
| 40 | - | Humanoid21 = Instance.new("Humanoid")
|
| 40 | + | Sound21 = Instance.new("Sound")
|
| 41 | - | Model22 = Instance.new("Model")
|
| 41 | + | Sound22 = Instance.new("Sound")
|
| 42 | - | Model23 = Instance.new("Model")
|
| 42 | + | Sound23 = Instance.new("Sound")
|
| 43 | - | Part24 = Instance.new("Part")
|
| 43 | + | Sound24 = Instance.new("Sound")
|
| 44 | - | Motor6D25 = Instance.new("Motor6D")
|
| 44 | + | Sound25 = Instance.new("Sound")
|
| 45 | - | Script26 = Instance.new("Script")
|
| 45 | + | Sound26 = Instance.new("Sound")
|
| 46 | - | StringValue27 = Instance.new("StringValue")
|
| 46 | + | Sound27 = Instance.new("Sound")
|
| 47 | - | Animation28 = Instance.new("Animation")
|
| 47 | + | Sound28 = Instance.new("Sound")
|
| 48 | - | StringValue29 = Instance.new("StringValue")
|
| 48 | + | Sound29 = Instance.new("Sound")
|
| 49 | - | Animation30 = Instance.new("Animation")
|
| 49 | + | Sound30 = Instance.new("Sound")
|
| 50 | - | StringValue31 = Instance.new("StringValue")
|
| 50 | + | Sound31 = Instance.new("Sound")
|
| 51 | - | Animation32 = Instance.new("Animation")
|
| 51 | + | Sound32 = Instance.new("Sound")
|
| 52 | - | NumberValue33 = Instance.new("NumberValue")
|
| 52 | + | Sound33 = Instance.new("Sound")
|
| 53 | - | Animation34 = Instance.new("Animation")
|
| 53 | + | Sound34 = Instance.new("Sound")
|
| 54 | - | NumberValue35 = Instance.new("NumberValue")
|
| 54 | + | Sound35 = Instance.new("Sound")
|
| 55 | - | StringValue36 = Instance.new("StringValue")
|
| 55 | + | Sound36 = Instance.new("Sound")
|
| 56 | - | Animation37 = Instance.new("Animation")
|
| 56 | + | Sound37 = Instance.new("Sound")
|
| 57 | - | StringValue38 = Instance.new("StringValue")
|
| 57 | + | Sound38 = Instance.new("Sound")
|
| 58 | - | Animation39 = Instance.new("Animation")
|
| 58 | + | Sound39 = Instance.new("Sound")
|
| 59 | - | StringValue40 = Instance.new("StringValue")
|
| 59 | + | Sound40 = Instance.new("Sound")
|
| 60 | - | Animation41 = Instance.new("Animation")
|
| 60 | + | Sound41 = Instance.new("Sound")
|
| 61 | - | StringValue42 = Instance.new("StringValue")
|
| 61 | + | Sound42 = Instance.new("Sound")
|
| 62 | - | Animation43 = Instance.new("Animation")
|
| 62 | + | Sound43 = Instance.new("Sound")
|
| 63 | - | StringValue44 = Instance.new("StringValue")
|
| 63 | + | Sound44 = Instance.new("Sound")
|
| 64 | - | Animation45 = Instance.new("Animation")
|
| 64 | + | Sound45 = Instance.new("Sound")
|
| 65 | - | Animation46 = Instance.new("Animation")
|
| 65 | + | Sound46 = Instance.new("Sound")
|
| 66 | - | BodyColors47 = Instance.new("BodyColors")
|
| 66 | + | Sound47 = Instance.new("Sound")
|
| 67 | - | Script48 = Instance.new("Script")
|
| 67 | + | Sound48 = Instance.new("Sound")
|
| 68 | - | Part49 = Instance.new("Part")
|
| 68 | + | Sound49 = Instance.new("Sound")
|
| 69 | - | SpecialMesh50 = Instance.new("SpecialMesh")
|
| 69 | + | Sound50 = Instance.new("Sound")
|
| 70 | Sound51 = Instance.new("Sound")
| |
| 71 | Sound52 = Instance.new("Sound")
| |
| 72 | Sound53 = Instance.new("Sound")
| |
| 73 | Sound54 = Instance.new("Sound")
| |
| 74 | - | Script55 = Instance.new("Script")
|
| 74 | + | Sound55 = Instance.new("Sound")
|
| 75 | - | Camera56 = Instance.new("Camera")
|
| 75 | + | Sound56 = Instance.new("Sound")
|
| 76 | - | Shirt57 = Instance.new("Shirt")
|
| 76 | + | Sound57 = Instance.new("Sound")
|
| 77 | - | Pants58 = Instance.new("Pants")
|
| 77 | + | Sound58 = Instance.new("Sound")
|
| 78 | - | Script59 = Instance.new("Script")
|
| 78 | + | Sound59 = Instance.new("Sound")
|
| 79 | - | Hat60 = Instance.new("Hat")
|
| 79 | + | Sound60 = Instance.new("Sound")
|
| 80 | - | UnionOperation61 = Instance.new("UnionOperation")
|
| 80 | + | Sound61 = Instance.new("Sound")
|
| 81 | - | Decal62 = Instance.new("Decal")
|
| 81 | + | Sound62 = Instance.new("Sound")
|
| 82 | - | Decal63 = Instance.new("Decal")
|
| 82 | + | Sound63 = Instance.new("Sound")
|
| 83 | - | Decal64 = Instance.new("Decal")
|
| 83 | + | Sound64 = Instance.new("Sound")
|
| 84 | - | Decal65 = Instance.new("Decal")
|
| 84 | + | Sound65 = Instance.new("Sound")
|
| 85 | - | Decal66 = Instance.new("Decal")
|
| 85 | + | Sound66 = Instance.new("Sound")
|
| 86 | - | Decal67 = Instance.new("Decal")
|
| 86 | + | Sound67 = Instance.new("Sound")
|
| 87 | - | Model0.Name = "mario fighter" |
| 87 | + | Sound68 = Instance.new("Sound")
|
| 88 | Sound69 = Instance.new("Sound")
| |
| 89 | - | Model1.Name = "mario" |
| 89 | + | Sound70 = Instance.new("Sound")
|
| 90 | - | Model1.Parent = Model0 |
| 90 | + | Sound71 = Instance.new("Sound")
|
| 91 | - | Model1.PrimaryPart = Part2 |
| 91 | + | Sound72 = Instance.new("Sound")
|
| 92 | - | Part2.Name = "Head" |
| 92 | + | Sound73 = Instance.new("Sound")
|
| 93 | - | Part2.Parent = Model1 |
| 93 | + | Sound74 = Instance.new("Sound")
|
| 94 | - | Part2.CFrame = CFrame.new(158.320038, 4.50000095, -48.3200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 94 | + | Sound75 = Instance.new("Sound")
|
| 95 | - | Part2.Orientation = Vector3.new(0, 90, 0) |
| 95 | + | Sound76 = Instance.new("Sound")
|
| 96 | - | Part2.Position = Vector3.new(158.320038, 4.50000095, -48.3200302) |
| 96 | + | Sound77 = Instance.new("Sound")
|
| 97 | - | Part2.Rotation = Vector3.new(0, 90, 0) |
| 97 | + | Sound78 = Instance.new("Sound")
|
| 98 | - | Part2.Color = Color3.new(0.992157, 0.917647, 0.552941) |
| 98 | + | Sound79 = Instance.new("Sound")
|
| 99 | - | Part2.Size = Vector3.new(2, 1, 1) |
| 99 | + | Sound80 = Instance.new("Sound")
|
| 100 | - | Part2.BackParamA = -99999 |
| 100 | + | Sound81 = Instance.new("Sound")
|
| 101 | - | Part2.BackParamB = 99999 |
| 101 | + | Sound82 = Instance.new("Sound")
|
| 102 | - | Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 102 | + | Sound83 = Instance.new("Sound")
|
| 103 | - | Part2.BottomParamA = -99999 |
| 103 | + | Sound84 = Instance.new("Sound")
|
| 104 | - | Part2.BottomParamB = 99999 |
| 104 | + | Sound85 = Instance.new("Sound")
|
| 105 | - | Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 105 | + | Sound86 = Instance.new("Sound")
|
| 106 | - | Part2.BrickColor = BrickColor.new("Cool yellow")
|
| 106 | + | Sound87 = Instance.new("Sound")
|
| 107 | - | Part2.CanCollide = false |
| 107 | + | Sound88 = Instance.new("Sound")
|
| 108 | - | Part2.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
| 108 | + | Sound89 = Instance.new("Sound")
|
| 109 | - | Part2.Elasticity = 0 |
| 109 | + | Sound90 = Instance.new("Sound")
|
| 110 | - | Part2.Friction = 0 |
| 110 | + | Sound91 = Instance.new("Sound")
|
| 111 | - | Part2.FrontParamA = -99999 |
| 111 | + | Sound92 = Instance.new("Sound")
|
| 112 | - | Part2.FrontParamB = 99999 |
| 112 | + | Sound93 = Instance.new("Sound")
|
| 113 | - | Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 113 | + | Sound94 = Instance.new("Sound")
|
| 114 | - | Part2.LeftParamA = -99999 |
| 114 | + | Sound95 = Instance.new("Sound")
|
| 115 | - | Part2.LeftParamB = 99999 |
| 115 | + | Sound96 = Instance.new("Sound")
|
| 116 | - | Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 116 | + | Sound97 = Instance.new("Sound")
|
| 117 | - | Part2.Material = Enum.Material.SmoothPlastic |
| 117 | + | Sound98 = Instance.new("Sound")
|
| 118 | - | Part2.RightParamA = -99999 |
| 118 | + | Sound99 = Instance.new("Sound")
|
| 119 | - | Part2.RightParamB = 99999 |
| 119 | + | Sound100 = Instance.new("Sound")
|
| 120 | - | Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 120 | + | Sound101 = Instance.new("Sound")
|
| 121 | - | Part2.TopParamA = -99999 |
| 121 | + | Sound102 = Instance.new("Sound")
|
| 122 | - | Part2.TopParamB = 99999 |
| 122 | + | Sound103 = Instance.new("Sound")
|
| 123 | - | Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 123 | + | Sound104 = Instance.new("Sound")
|
| 124 | - | Part2.brickColor = BrickColor.new("Cool yellow")
|
| 124 | + | Sound105 = Instance.new("Sound")
|
| 125 | - | Part2.FormFactor = Enum.FormFactor.Symmetric |
| 125 | + | Sound106 = Instance.new("Sound")
|
| 126 | - | Part2.formFactor = Enum.FormFactor.Symmetric |
| 126 | + | Sound107 = Instance.new("Sound")
|
| 127 | - | SpecialMesh3.Parent = Part2 |
| 127 | + | Sound108 = Instance.new("Sound")
|
| 128 | - | SpecialMesh3.Scale = Vector3.new(1.20000005, 1.25, 1.25) |
| 128 | + | Sound109 = Instance.new("Sound")
|
| 129 | - | Sound4.Name = "Jeff_Step" |
| 129 | + | Sound110 = Instance.new("Sound")
|
| 130 | - | Sound4.Parent = Part2 |
| 130 | + | Sound111 = Instance.new("Sound")
|
| 131 | - | Sound4.SoundId = "rbxassetid://379611235" |
| 131 | + | Sound112 = Instance.new("Sound")
|
| 132 | - | Sound4.Volume = 1 |
| 132 | + | Sound113 = Instance.new("Sound")
|
| 133 | - | Decal5.Parent = Part2 |
| 133 | + | Sound114 = Instance.new("Sound")
|
| 134 | - | Decal5.Texture = "http://www.roblox.com/asset/?id=122497643" |
| 134 | + | Sound115 = Instance.new("Sound")
|
| 135 | - | Decal6.Parent = Part2 |
| 135 | + | Sound116 = Instance.new("Sound")
|
| 136 | - | Decal6.Texture = "http://www.roblox.com/asset/?id=738949518" |
| 136 | + | Sound117 = Instance.new("Sound")
|
| 137 | - | Decal7.Parent = Part2 |
| 137 | + | Sound118 = Instance.new("Sound")
|
| 138 | - | Decal7.Texture = "http://www.roblox.com/asset/?id=738949518" |
| 138 | + | Sound119 = Instance.new("Sound")
|
| 139 | - | Decal7.Face = Enum.NormalId.Back |
| 139 | + | Sound120 = Instance.new("Sound")
|
| 140 | - | Decal8.Parent = Part2 |
| 140 | + | Sound121 = Instance.new("Sound")
|
| 141 | - | Decal8.Texture = "http://www.roblox.com/asset/?id=738949518" |
| 141 | + | Sound122 = Instance.new("Sound")
|
| 142 | - | Decal8.Face = Enum.NormalId.Right |
| 142 | + | Sound123 = Instance.new("Sound")
|
| 143 | - | Decal9.Parent = Part2 |
| 143 | + | Sound124 = Instance.new("Sound")
|
| 144 | - | Decal9.Texture = "http://www.roblox.com/asset/?id=738949518" |
| 144 | + | Sound125 = Instance.new("Sound")
|
| 145 | - | Decal9.Face = Enum.NormalId.Left |
| 145 | + | Sound126 = Instance.new("Sound")
|
| 146 | - | Part10.Name = "Torso" |
| 146 | + | Sound127 = Instance.new("Sound")
|
| 147 | - | Part10.Parent = Model1 |
| 147 | + | Sound128 = Instance.new("Sound")
|
| 148 | - | Part10.CFrame = CFrame.new(158.320038, 3.00000095, -48.3200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 148 | + | Sound129 = Instance.new("Sound")
|
| 149 | - | Part10.Orientation = Vector3.new(0, 90, 0) |
| 149 | + | Sound130 = Instance.new("Sound")
|
| 150 | - | Part10.Position = Vector3.new(158.320038, 3.00000095, -48.3200302) |
| 150 | + | Sound131 = Instance.new("Sound")
|
| 151 | - | Part10.Rotation = Vector3.new(0, 90, 0) |
| 151 | + | Sound132 = Instance.new("Sound")
|
| 152 | - | Part10.Color = Color3.new(0.156863, 0.498039, 0.278431) |
| 152 | + | Sound133 = Instance.new("Sound")
|
| 153 | - | Part10.Size = Vector3.new(2, 2, 1) |
| 153 | + | Sound134 = Instance.new("Sound")
|
| 154 | - | Part10.BackParamA = -99999 |
| 154 | + | Sound135 = Instance.new("Sound")
|
| 155 | - | Part10.BackParamB = 99999 |
| 155 | + | Sound136 = Instance.new("Sound")
|
| 156 | - | Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 156 | + | Sound137 = Instance.new("Sound")
|
| 157 | - | Part10.BottomParamA = -99999 |
| 157 | + | Sound138 = Instance.new("Sound")
|
| 158 | - | Part10.BottomParamB = 99999 |
| 158 | + | Sound139 = Instance.new("Sound")
|
| 159 | - | Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 159 | + | Sound140 = Instance.new("Sound")
|
| 160 | - | Part10.BrickColor = BrickColor.new("Dark green")
|
| 160 | + | Sound141 = Instance.new("Sound")
|
| 161 | - | Part10.CanCollide = false |
| 161 | + | Sound142 = Instance.new("Sound")
|
| 162 | - | Part10.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
| 162 | + | Sound143 = Instance.new("Sound")
|
| 163 | - | Part10.Elasticity = 0 |
| 163 | + | Sound144 = Instance.new("Sound")
|
| 164 | - | Part10.Friction = 2 |
| 164 | + | Sound145 = Instance.new("Sound")
|
| 165 | - | Part10.FrontParamA = -99999 |
| 165 | + | Sound146 = Instance.new("Sound")
|
| 166 | - | Part10.FrontParamB = 99999 |
| 166 | + | Part147 = Instance.new("Part")
|
| 167 | - | Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 167 | + | Motor148 = Instance.new("Motor")
|
| 168 | - | Part10.LeftParamA = -99999 |
| 168 | + | Snap149 = Instance.new("Snap")
|
| 169 | - | Part10.LeftParamB = 99999 |
| 169 | + | Motor150 = Instance.new("Motor")
|
| 170 | - | Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 170 | + | Motor151 = Instance.new("Motor")
|
| 171 | - | Part10.Material = Enum.Material.SmoothPlastic |
| 171 | + | Motor152 = Instance.new("Motor")
|
| 172 | - | Part10.RightParamA = -99999 |
| 172 | + | BlockMesh153 = Instance.new("BlockMesh")
|
| 173 | - | Part10.RightParamB = 99999 |
| 173 | + | Decal154 = Instance.new("Decal")
|
| 174 | - | Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 174 | + | Decal155 = Instance.new("Decal")
|
| 175 | - | Part10.TopParamA = -99999 |
| 175 | + | Part156 = Instance.new("Part")
|
| 176 | - | Part10.TopParamB = 99999 |
| 176 | + | Part157 = Instance.new("Part")
|
| 177 | - | Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 177 | + | Humanoid158 = Instance.new("Humanoid")
|
| 178 | - | Part10.brickColor = BrickColor.new("Dark green")
|
| 178 | + | BodyColors159 = Instance.new("BodyColors")
|
| 179 | - | Part10.FormFactor = Enum.FormFactor.Symmetric |
| 179 | + | IntValue160 = Instance.new("IntValue")
|
| 180 | - | Part10.formFactor = Enum.FormFactor.Symmetric |
| 180 | + | Part161 = Instance.new("Part")
|
| 181 | - | Motor6D11.Name = "Right Shoulder" |
| 181 | + | Part162 = Instance.new("Part")
|
| 182 | - | Motor6D11.Parent = Part10 |
| 182 | + | Script163 = Instance.new("Script")
|
| 183 | - | Motor6D11.MaxVelocity = 0.10000000149012 |
| 183 | + | Script164 = Instance.new("Script")
|
| 184 | - | Motor6D11.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 184 | + | Script165 = Instance.new("Script")
|
| 185 | - | Motor6D11.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 185 | + | Script166 = Instance.new("Script")
|
| 186 | - | Motor6D11.Part0 = Part10 |
| 186 | + | Sound167 = Instance.new("Sound")
|
| 187 | - | Motor6D11.Part1 = Part17 |
| 187 | + | Model0.Name = "sanic" |
| 188 | - | Motor6D11.part1 = Part17 |
| 188 | + | |
| 189 | - | Motor6D12.Name = "Left Shoulder" |
| 189 | + | Part1.Name = "Head" |
| 190 | - | Motor6D12.Parent = Part10 |
| 190 | + | Part1.Parent = Model0 |
| 191 | - | Motor6D12.MaxVelocity = 0.10000000149012 |
| 191 | + | Part1.CFrame = CFrame.new(140, 6.00000906, -142.500015, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 192 | - | Motor6D12.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 192 | + | Part1.Orientation = Vector3.new(0, -90, 0) |
| 193 | - | Motor6D12.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 193 | + | Part1.Position = Vector3.new(140, 6.00000906, -142.500015) |
| 194 | - | Motor6D12.Part0 = Part10 |
| 194 | + | Part1.Rotation = Vector3.new(0, -90, 0) |
| 195 | - | Motor6D12.Part1 = Part16 |
| 195 | + | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) |
| 196 | - | Motor6D12.part1 = Part16 |
| 196 | + | Part1.Transparency = 0.98000001907349 |
| 197 | - | Motor6D13.Name = "Right Hip" |
| 197 | + | Part1.Size = Vector3.new(2, 2, 1) |
| 198 | - | Motor6D13.Parent = Part10 |
| 198 | + | Part1.BrickColor = BrickColor.new("Bright yellow")
|
| 199 | - | Motor6D13.MaxVelocity = 0.10000000149012 |
| 199 | + | Part1.TopSurface = Enum.SurfaceType.Smooth |
| 200 | - | Motor6D13.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 200 | + | Part1.brickColor = BrickColor.new("Bright yellow")
|
| 201 | - | Motor6D13.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 201 | + | Part1.FormFactor = Enum.FormFactor.Symmetric |
| 202 | - | Motor6D13.Part0 = Part10 |
| 202 | + | Part1.formFactor = Enum.FormFactor.Symmetric |
| 203 | - | Motor6D13.Part1 = Part20 |
| 203 | + | SpecialMesh2.Parent = Part1 |
| 204 | - | Motor6D13.part1 = Part20 |
| 204 | + | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) |
| 205 | - | Motor6D14.Name = "Left Hip" |
| 205 | + | Sound3.Parent = Part1 |
| 206 | - | Motor6D14.Parent = Part10 |
| 206 | + | Sound3.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 207 | - | Motor6D14.MaxVelocity = 0.10000000149012 |
| 207 | + | Sound4.Parent = Part1 |
| 208 | - | Motor6D14.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 208 | + | Sound4.SoundId = "rbxasset://sounds/splat.wav" |
| 209 | - | Motor6D14.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 209 | + | Sound5.Parent = Part1 |
| 210 | - | Motor6D14.Part0 = Part10 |
| 210 | + | Sound5.SoundId = "rbxasset://sounds/swoosh.wav" |
| 211 | - | Motor6D14.Part1 = Part19 |
| 211 | + | Sound6.Parent = Part1 |
| 212 | - | Motor6D14.part1 = Part19 |
| 212 | + | Sound6.SoundId = "rbxasset://sounds/hit.wav" |
| 213 | - | Motor6D15.Name = "Neck" |
| 213 | + | Sound7.Parent = Part1 |
| 214 | - | Motor6D15.Parent = Part10 |
| 214 | + | Sound7.SoundId = "rbxasset://sounds/button.wav" |
| 215 | - | Motor6D15.MaxVelocity = 0.10000000149012 |
| 215 | + | Sound8.Parent = Part1 |
| 216 | - | Motor6D15.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
| 216 | + | Sound8.Looped = true |
| 217 | - | Motor6D15.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
| 217 | + | Sound8.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 218 | - | Motor6D15.Part0 = Part10 |
| 218 | + | Sound9.Parent = Part1 |
| 219 | - | Motor6D15.Part1 = Part2 |
| 219 | + | Sound9.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 220 | - | Motor6D15.part1 = Part2 |
| 220 | + | Sound10.Parent = Part1 |
| 221 | - | Part16.Name = "Left Arm" |
| 221 | + | Sound10.SoundId = "rbxasset://sounds/splat.wav" |
| 222 | - | Part16.Parent = Model1 |
| 222 | + | Sound11.Parent = Part1 |
| 223 | - | Part16.CFrame = CFrame.new(158.320038, 3.00000095, -46.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 223 | + | Sound11.SoundId = "rbxasset://sounds/swoosh.wav" |
| 224 | - | Part16.Orientation = Vector3.new(0, 90, 0) |
| 224 | + | Sound12.Parent = Part1 |
| 225 | - | Part16.Position = Vector3.new(158.320038, 3.00000095, -46.8200302) |
| 225 | + | Sound12.SoundId = "rbxasset://sounds/hit.wav" |
| 226 | - | Part16.Rotation = Vector3.new(0, 90, 0) |
| 226 | + | Sound13.Parent = Part1 |
| 227 | - | Part16.Color = Color3.new(0.992157, 0.917647, 0.552941) |
| 227 | + | Sound13.SoundId = "rbxasset://sounds/button.wav" |
| 228 | - | Part16.Size = Vector3.new(1, 2, 1) |
| 228 | + | Sound14.Parent = Part1 |
| 229 | - | Part16.BackParamA = -99999 |
| 229 | + | Sound14.Looped = true |
| 230 | - | Part16.BackParamB = 99999 |
| 230 | + | Sound14.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 231 | - | Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 231 | + | Sound15.Parent = Part1 |
| 232 | - | Part16.BottomParamA = -99999 |
| 232 | + | Sound15.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 233 | - | Part16.BottomParamB = 99999 |
| 233 | + | Sound16.Parent = Part1 |
| 234 | - | Part16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 234 | + | Sound16.SoundId = "rbxasset://sounds/splat.wav" |
| 235 | - | Part16.BrickColor = BrickColor.new("Cool yellow")
|
| 235 | + | Sound17.Parent = Part1 |
| 236 | - | Part16.CanCollide = false |
| 236 | + | Sound17.SoundId = "rbxasset://sounds/swoosh.wav" |
| 237 | - | Part16.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
| 237 | + | Sound18.Parent = Part1 |
| 238 | - | Part16.Elasticity = 0 |
| 238 | + | Sound18.SoundId = "rbxasset://sounds/hit.wav" |
| 239 | - | Part16.Friction = 2 |
| 239 | + | Sound19.Parent = Part1 |
| 240 | - | Part16.FrontParamA = -99999 |
| 240 | + | Sound19.SoundId = "rbxasset://sounds/button.wav" |
| 241 | - | Part16.FrontParamB = 99999 |
| 241 | + | Sound20.Parent = Part1 |
| 242 | - | Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 242 | + | Sound20.Looped = true |
| 243 | - | Part16.LeftParamA = -99999 |
| 243 | + | Sound20.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 244 | - | Part16.LeftParamB = 99999 |
| 244 | + | Sound21.Parent = Part1 |
| 245 | - | Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 245 | + | Sound21.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 246 | - | Part16.Material = Enum.Material.SmoothPlastic |
| 246 | + | Sound22.Parent = Part1 |
| 247 | - | Part16.RightParamA = -99999 |
| 247 | + | Sound22.SoundId = "rbxasset://sounds/splat.wav" |
| 248 | - | Part16.RightParamB = 99999 |
| 248 | + | Sound23.Parent = Part1 |
| 249 | - | Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 249 | + | Sound23.SoundId = "rbxasset://sounds/swoosh.wav" |
| 250 | - | Part16.TopParamA = -99999 |
| 250 | + | Sound24.Parent = Part1 |
| 251 | - | Part16.TopParamB = 99999 |
| 251 | + | Sound24.SoundId = "rbxasset://sounds/hit.wav" |
| 252 | - | Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 252 | + | Sound25.Parent = Part1 |
| 253 | - | Part16.brickColor = BrickColor.new("Cool yellow")
|
| 253 | + | Sound25.SoundId = "rbxasset://sounds/button.wav" |
| 254 | - | Part16.FormFactor = Enum.FormFactor.Symmetric |
| 254 | + | Sound26.Parent = Part1 |
| 255 | - | Part16.formFactor = Enum.FormFactor.Symmetric |
| 255 | + | Sound26.Looped = true |
| 256 | - | Part17.Name = "Right Arm" |
| 256 | + | Sound26.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 257 | - | Part17.Parent = Model1 |
| 257 | + | Sound27.Parent = Part1 |
| 258 | - | Part17.CFrame = CFrame.new(158.320038, 3.00000095, -49.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 258 | + | Sound27.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 259 | - | Part17.Orientation = Vector3.new(0, 90, 0) |
| 259 | + | Sound28.Parent = Part1 |
| 260 | - | Part17.Position = Vector3.new(158.320038, 3.00000095, -49.8200302) |
| 260 | + | Sound28.SoundId = "rbxasset://sounds/splat.wav" |
| 261 | - | Part17.Rotation = Vector3.new(0, 90, 0) |
| 261 | + | Sound29.Parent = Part1 |
| 262 | - | Part17.Color = Color3.new(0.992157, 0.917647, 0.552941) |
| 262 | + | Sound29.SoundId = "rbxasset://sounds/swoosh.wav" |
| 263 | - | Part17.Size = Vector3.new(1, 2, 1) |
| 263 | + | Sound30.Parent = Part1 |
| 264 | - | Part17.BackParamA = -99999 |
| 264 | + | Sound30.SoundId = "rbxasset://sounds/hit.wav" |
| 265 | - | Part17.BackParamB = 99999 |
| 265 | + | Sound31.Parent = Part1 |
| 266 | - | Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 266 | + | Sound31.SoundId = "rbxasset://sounds/button.wav" |
| 267 | - | Part17.BottomParamA = -99999 |
| 267 | + | Sound32.Parent = Part1 |
| 268 | - | Part17.BottomParamB = 99999 |
| 268 | + | Sound32.Looped = true |
| 269 | - | Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 269 | + | Sound32.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 270 | - | Part17.BrickColor = BrickColor.new("Cool yellow")
|
| 270 | + | Sound33.Parent = Part1 |
| 271 | - | Part17.CanCollide = false |
| 271 | + | Sound33.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 272 | - | Part17.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
| 272 | + | Sound34.Parent = Part1 |
| 273 | - | Part17.Elasticity = 0 |
| 273 | + | Sound34.SoundId = "rbxasset://sounds/splat.wav" |
| 274 | - | Part17.Friction = 2 |
| 274 | + | Sound35.Parent = Part1 |
| 275 | - | Part17.FrontParamA = -99999 |
| 275 | + | Sound35.SoundId = "rbxasset://sounds/swoosh.wav" |
| 276 | - | Part17.FrontParamB = 99999 |
| 276 | + | Sound36.Parent = Part1 |
| 277 | - | Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 277 | + | Sound36.SoundId = "rbxasset://sounds/hit.wav" |
| 278 | - | Part17.LeftParamA = -99999 |
| 278 | + | Sound37.Parent = Part1 |
| 279 | - | Part17.LeftParamB = 99999 |
| 279 | + | Sound37.SoundId = "rbxasset://sounds/button.wav" |
| 280 | - | Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 280 | + | Sound38.Parent = Part1 |
| 281 | - | Part17.Material = Enum.Material.SmoothPlastic |
| 281 | + | Sound38.Looped = true |
| 282 | - | Part17.RightParamA = -99999 |
| 282 | + | Sound38.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 283 | - | Part17.RightParamB = 99999 |
| 283 | + | Sound39.Parent = Part1 |
| 284 | - | Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 284 | + | Sound39.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 285 | - | Part17.TopParamA = -99999 |
| 285 | + | Sound40.Parent = Part1 |
| 286 | - | Part17.TopParamB = 99999 |
| 286 | + | Sound40.SoundId = "rbxasset://sounds/splat.wav" |
| 287 | - | Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 287 | + | Sound41.Parent = Part1 |
| 288 | - | Part17.brickColor = BrickColor.new("Cool yellow")
|
| 288 | + | Sound41.SoundId = "rbxasset://sounds/swoosh.wav" |
| 289 | - | Part17.FormFactor = Enum.FormFactor.Symmetric |
| 289 | + | Sound42.Parent = Part1 |
| 290 | - | Part17.formFactor = Enum.FormFactor.Symmetric |
| 290 | + | Sound42.SoundId = "rbxasset://sounds/hit.wav" |
| 291 | - | Weld18.Name = "RightGripWeld" |
| 291 | + | Sound43.Parent = Part1 |
| 292 | - | Weld18.Parent = Part17 |
| 292 | + | Sound43.SoundId = "rbxasset://sounds/button.wav" |
| 293 | - | Weld18.C0 = CFrame.new(-1.29999995, 1.16840947, 0.750634551, 1, 0, 0, 0, 0.968409479, 0.249365434, 0, -0.249365434, 0.968409479) |
| 293 | + | Sound44.Parent = Part1 |
| 294 | - | Weld18.C1 = CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 294 | + | Sound44.Looped = true |
| 295 | - | Weld18.Part0 = Part49 |
| 295 | + | Sound44.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 296 | - | Weld18.Part1 = Part17 |
| 296 | + | Sound45.Parent = Part1 |
| 297 | - | Weld18.part1 = Part17 |
| 297 | + | Sound45.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 298 | - | Part19.Name = "Left Leg" |
| 298 | + | Sound46.Parent = Part1 |
| 299 | - | Part19.Parent = Model1 |
| 299 | + | Sound46.SoundId = "rbxasset://sounds/splat.wav" |
| 300 | - | Part19.CFrame = CFrame.new(158.320038, 1.00000095, -47.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 300 | + | Sound47.Parent = Part1 |
| 301 | - | Part19.Orientation = Vector3.new(0, 90, 0) |
| 301 | + | Sound47.SoundId = "rbxasset://sounds/swoosh.wav" |
| 302 | - | Part19.Position = Vector3.new(158.320038, 1.00000095, -47.8200302) |
| 302 | + | Sound48.Parent = Part1 |
| 303 | - | Part19.Rotation = Vector3.new(0, 90, 0) |
| 303 | + | Sound48.SoundId = "rbxasset://sounds/hit.wav" |
| 304 | - | Part19.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
| 304 | + | Sound49.Parent = Part1 |
| 305 | - | Part19.Size = Vector3.new(1, 2, 1) |
| 305 | + | Sound49.SoundId = "rbxasset://sounds/button.wav" |
| 306 | - | Part19.BackParamA = -99999 |
| 306 | + | Sound50.Parent = Part1 |
| 307 | - | Part19.BackParamB = 99999 |
| 307 | + | Sound50.Looped = true |
| 308 | - | Part19.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 308 | + | Sound50.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 309 | - | Part19.BottomParamA = -99999 |
| 309 | + | Sound51.Parent = Part1 |
| 310 | - | Part19.BottomParamB = 99999 |
| 310 | + | Sound51.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 311 | - | Part19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 311 | + | Sound52.Parent = Part1 |
| 312 | - | Part19.BrickColor = BrickColor.new("Bright blue")
|
| 312 | + | Sound52.SoundId = "rbxasset://sounds/splat.wav" |
| 313 | - | Part19.CanCollide = false |
| 313 | + | Sound53.Parent = Part1 |
| 314 | - | Part19.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
| 314 | + | Sound53.SoundId = "rbxasset://sounds/swoosh.wav" |
| 315 | - | Part19.Elasticity = 0 |
| 315 | + | Sound54.Parent = Part1 |
| 316 | - | Part19.Friction = 2 |
| 316 | + | Sound54.SoundId = "rbxasset://sounds/hit.wav" |
| 317 | - | Part19.FrontParamA = -99999 |
| 317 | + | Sound55.Parent = Part1 |
| 318 | - | Part19.FrontParamB = 99999 |
| 318 | + | Sound55.SoundId = "rbxasset://sounds/button.wav" |
| 319 | - | Part19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 319 | + | Sound56.Parent = Part1 |
| 320 | - | Part19.LeftParamA = -99999 |
| 320 | + | Sound56.Looped = true |
| 321 | - | Part19.LeftParamB = 99999 |
| 321 | + | Sound56.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 322 | - | Part19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 322 | + | Sound57.Parent = Part1 |
| 323 | - | Part19.Material = Enum.Material.SmoothPlastic |
| 323 | + | Sound57.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 324 | - | Part19.RightParamA = -99999 |
| 324 | + | Sound58.Parent = Part1 |
| 325 | - | Part19.RightParamB = 99999 |
| 325 | + | Sound58.SoundId = "rbxasset://sounds/splat.wav" |
| 326 | - | Part19.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 326 | + | Sound59.Parent = Part1 |
| 327 | - | Part19.TopParamA = -99999 |
| 327 | + | Sound59.SoundId = "rbxasset://sounds/swoosh.wav" |
| 328 | - | Part19.TopParamB = 99999 |
| 328 | + | Sound60.Parent = Part1 |
| 329 | - | Part19.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 329 | + | Sound60.SoundId = "rbxasset://sounds/hit.wav" |
| 330 | - | Part19.brickColor = BrickColor.new("Bright blue")
|
| 330 | + | Sound61.Parent = Part1 |
| 331 | - | Part19.FormFactor = Enum.FormFactor.Symmetric |
| 331 | + | Sound61.SoundId = "rbxasset://sounds/button.wav" |
| 332 | - | Part19.formFactor = Enum.FormFactor.Symmetric |
| 332 | + | Sound62.Parent = Part1 |
| 333 | - | Part20.Name = "Right Leg" |
| 333 | + | Sound62.Looped = true |
| 334 | - | Part20.Parent = Model1 |
| 334 | + | Sound62.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 335 | - | Part20.CFrame = CFrame.new(158.320038, 1.00000095, -48.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 335 | + | Sound63.Parent = Part1 |
| 336 | - | Part20.Orientation = Vector3.new(0, 90, 0) |
| 336 | + | Sound63.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 337 | - | Part20.Position = Vector3.new(158.320038, 1.00000095, -48.8200302) |
| 337 | + | Sound64.Parent = Part1 |
| 338 | - | Part20.Rotation = Vector3.new(0, 90, 0) |
| 338 | + | Sound64.SoundId = "rbxasset://sounds/splat.wav" |
| 339 | - | Part20.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
| 339 | + | Sound65.Parent = Part1 |
| 340 | - | Part20.Size = Vector3.new(1, 2, 1) |
| 340 | + | Sound65.SoundId = "rbxasset://sounds/swoosh.wav" |
| 341 | - | Part20.BackParamA = -99999 |
| 341 | + | Sound66.Parent = Part1 |
| 342 | - | Part20.BackParamB = 99999 |
| 342 | + | Sound66.SoundId = "rbxasset://sounds/hit.wav" |
| 343 | - | Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 343 | + | Sound67.Parent = Part1 |
| 344 | - | Part20.BottomParamA = -99999 |
| 344 | + | Sound67.SoundId = "rbxasset://sounds/button.wav" |
| 345 | - | Part20.BottomParamB = 99999 |
| 345 | + | Sound68.Parent = Part1 |
| 346 | - | Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 346 | + | Sound68.Looped = true |
| 347 | - | Part20.BrickColor = BrickColor.new("Bright blue")
|
| 347 | + | Sound68.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 348 | - | Part20.CanCollide = false |
| 348 | + | Sound69.Parent = Part1 |
| 349 | - | Part20.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
| 349 | + | Sound69.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 350 | - | Part20.Elasticity = 0 |
| 350 | + | Sound70.Parent = Part1 |
| 351 | - | Part20.Friction = 2 |
| 351 | + | Sound70.SoundId = "rbxasset://sounds/splat.wav" |
| 352 | - | Part20.FrontParamA = -99999 |
| 352 | + | Sound71.Parent = Part1 |
| 353 | - | Part20.FrontParamB = 99999 |
| 353 | + | Sound71.SoundId = "rbxasset://sounds/swoosh.wav" |
| 354 | - | Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 354 | + | Sound72.Parent = Part1 |
| 355 | - | Part20.LeftParamA = -99999 |
| 355 | + | Sound72.SoundId = "rbxasset://sounds/hit.wav" |
| 356 | - | Part20.LeftParamB = 99999 |
| 356 | + | Sound73.Parent = Part1 |
| 357 | - | Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 357 | + | Sound73.SoundId = "rbxasset://sounds/button.wav" |
| 358 | - | Part20.Material = Enum.Material.SmoothPlastic |
| 358 | + | Sound74.Parent = Part1 |
| 359 | - | Part20.RightParamA = -99999 |
| 359 | + | Sound74.Looped = true |
| 360 | - | Part20.RightParamB = 99999 |
| 360 | + | Sound74.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 361 | - | Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 361 | + | Sound75.Parent = Part1 |
| 362 | - | Part20.TopParamA = -99999 |
| 362 | + | Sound75.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 363 | - | Part20.TopParamB = 99999 |
| 363 | + | Sound76.Parent = Part1 |
| 364 | - | Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 364 | + | Sound76.SoundId = "rbxasset://sounds/splat.wav" |
| 365 | - | Part20.brickColor = BrickColor.new("Bright blue")
|
| 365 | + | Sound77.Parent = Part1 |
| 366 | - | Part20.FormFactor = Enum.FormFactor.Symmetric |
| 366 | + | Sound77.SoundId = "rbxasset://sounds/swoosh.wav" |
| 367 | - | Part20.formFactor = Enum.FormFactor.Symmetric |
| 367 | + | Sound78.Parent = Part1 |
| 368 | - | Humanoid21.Name = "ColdBloodedKiller" |
| 368 | + | Sound78.SoundId = "rbxasset://sounds/hit.wav" |
| 369 | - | Humanoid21.Parent = Model1 |
| 369 | + | Sound79.Parent = Part1 |
| 370 | - | Humanoid21.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None |
| 370 | + | Sound79.SoundId = "rbxasset://sounds/button.wav" |
| 371 | - | Humanoid21.Health = 500 |
| 371 | + | Sound80.Parent = Part1 |
| 372 | - | Humanoid21.HealthDisplayDistance = 0 |
| 372 | + | Sound80.Looped = true |
| 373 | - | Humanoid21.JumpPower = 60 |
| 373 | + | Sound80.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 374 | - | Humanoid21.LeftLeg = Part19 |
| 374 | + | Sound81.Parent = Part1 |
| 375 | - | Humanoid21.MaxHealth = 500 |
| 375 | + | Sound81.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 376 | - | Humanoid21.MaxSlopeAngle = 89.900001525879 |
| 376 | + | Sound82.Parent = Part1 |
| 377 | - | Humanoid21.NameDisplayDistance = 0 |
| 377 | + | Sound82.SoundId = "rbxasset://sounds/splat.wav" |
| 378 | - | Humanoid21.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion |
| 378 | + | Sound83.Parent = Part1 |
| 379 | - | Humanoid21.RightLeg = Part20 |
| 379 | + | Sound83.SoundId = "rbxasset://sounds/swoosh.wav" |
| 380 | - | Humanoid21.Torso = Part24 |
| 380 | + | Sound84.Parent = Part1 |
| 381 | - | Humanoid21.maxHealth = 500 |
| 381 | + | Sound84.SoundId = "rbxasset://sounds/hit.wav" |
| 382 | - | Model22.Name = "Status" |
| 382 | + | Sound85.Parent = Part1 |
| 383 | - | Model22.Parent = Humanoid21 |
| 383 | + | Sound85.SoundId = "rbxasset://sounds/button.wav" |
| 384 | - | Model23.Name = "AvalibleSpawns" |
| 384 | + | Sound86.Parent = Part1 |
| 385 | - | Model23.Parent = Model22 |
| 385 | + | Sound86.Looped = true |
| 386 | - | Part24.Name = "HumanoidRootPart" |
| 386 | + | Sound86.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 387 | - | Part24.Parent = Model1 |
| 387 | + | Sound87.Parent = Part1 |
| 388 | - | Part24.CFrame = CFrame.new(158.320038, 3.00000095, -48.3200302, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 388 | + | Sound87.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 389 | - | Part24.Orientation = Vector3.new(0, 90, 0) |
| 389 | + | Sound88.Parent = Part1 |
| 390 | - | Part24.Position = Vector3.new(158.320038, 3.00000095, -48.3200302) |
| 390 | + | Sound88.SoundId = "rbxasset://sounds/splat.wav" |
| 391 | - | Part24.Rotation = Vector3.new(0, 90, 0) |
| 391 | + | Sound89.Parent = Part1 |
| 392 | - | Part24.Color = Color3.new(1, 0.8, 0.6) |
| 392 | + | Sound89.SoundId = "rbxasset://sounds/swoosh.wav" |
| 393 | - | Part24.Transparency = 1 |
| 393 | + | Sound90.Parent = Part1 |
| 394 | - | Part24.Size = Vector3.new(2, 2, 1) |
| 394 | + | Sound90.SoundId = "rbxasset://sounds/hit.wav" |
| 395 | - | Part24.BackParamA = -99999 |
| 395 | + | Sound91.Parent = Part1 |
| 396 | - | Part24.BackParamB = 99999 |
| 396 | + | Sound91.SoundId = "rbxasset://sounds/button.wav" |
| 397 | - | Part24.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 397 | + | Sound92.Parent = Part1 |
| 398 | - | Part24.BottomParamA = -99999 |
| 398 | + | Sound92.Looped = true |
| 399 | - | Part24.BottomParamB = 99999 |
| 399 | + | Sound92.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 400 | - | Part24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 400 | + | Sound93.Parent = Part1 |
| 401 | - | Part24.BrickColor = BrickColor.new("Pastel brown")
|
| 401 | + | Sound93.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 402 | - | Part24.CanCollide = false |
| 402 | + | Sound94.Parent = Part1 |
| 403 | - | Part24.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
| 403 | + | Sound94.SoundId = "rbxasset://sounds/splat.wav" |
| 404 | - | Part24.Elasticity = 0 |
| 404 | + | Sound95.Parent = Part1 |
| 405 | - | Part24.Friction = 0 |
| 405 | + | Sound95.SoundId = "rbxasset://sounds/swoosh.wav" |
| 406 | - | Part24.FrontParamA = -99999 |
| 406 | + | Sound96.Parent = Part1 |
| 407 | - | Part24.FrontParamB = 99999 |
| 407 | + | Sound96.SoundId = "rbxasset://sounds/hit.wav" |
| 408 | - | Part24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 408 | + | Sound97.Parent = Part1 |
| 409 | - | Part24.LeftParamA = -99999 |
| 409 | + | Sound97.SoundId = "rbxasset://sounds/button.wav" |
| 410 | - | Part24.LeftParamB = 99999 |
| 410 | + | Sound98.Parent = Part1 |
| 411 | - | Part24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 411 | + | Sound98.Looped = true |
| 412 | - | Part24.Material = Enum.Material.SmoothPlastic |
| 412 | + | Sound98.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 413 | - | Part24.RightParamA = -99999 |
| 413 | + | Sound99.Parent = Part1 |
| 414 | - | Part24.RightParamB = 99999 |
| 414 | + | Sound99.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 415 | - | Part24.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 415 | + | Sound100.Parent = Part1 |
| 416 | - | Part24.TopParamA = -99999 |
| 416 | + | Sound100.SoundId = "rbxasset://sounds/splat.wav" |
| 417 | - | Part24.TopParamB = 99999 |
| 417 | + | Sound101.Parent = Part1 |
| 418 | - | Part24.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 418 | + | Sound101.SoundId = "rbxasset://sounds/swoosh.wav" |
| 419 | - | Part24.brickColor = BrickColor.new("Pastel brown")
|
| 419 | + | Sound102.Parent = Part1 |
| 420 | - | Part24.FormFactor = Enum.FormFactor.Symmetric |
| 420 | + | Sound102.SoundId = "rbxasset://sounds/hit.wav" |
| 421 | - | Part24.formFactor = Enum.FormFactor.Symmetric |
| 421 | + | Sound103.Parent = Part1 |
| 422 | - | Motor6D25.Name = "RootJoint" |
| 422 | + | Sound103.SoundId = "rbxasset://sounds/button.wav" |
| 423 | - | Motor6D25.Parent = Part24 |
| 423 | + | Sound104.Parent = Part1 |
| 424 | - | Motor6D25.MaxVelocity = 0.10000000149012 |
| 424 | + | Sound104.Looped = true |
| 425 | - | Motor6D25.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
| 425 | + | Sound104.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 426 | - | Motor6D25.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
| 426 | + | Sound105.Parent = Part1 |
| 427 | - | Motor6D25.Part0 = Part24 |
| 427 | + | Sound105.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 428 | - | Motor6D25.Part1 = Part10 |
| 428 | + | Sound106.Parent = Part1 |
| 429 | - | Motor6D25.part1 = Part10 |
| 429 | + | Sound106.SoundId = "rbxasset://sounds/splat.wav" |
| 430 | - | Script26.Name = "AnimateSauce" |
| 430 | + | Sound107.Parent = Part1 |
| 431 | - | Script26.Parent = Model1 |
| 431 | + | Sound107.SoundId = "rbxasset://sounds/swoosh.wav" |
| 432 | - | table.insert(cors,sandbox(Script26,function() |
| 432 | + | Sound108.Parent = Part1 |
| 433 | - | function waitForChild(parent, childName) |
| 433 | + | Sound108.SoundId = "rbxasset://sounds/hit.wav" |
| 434 | - | local child = parent:findFirstChild(childName) |
| 434 | + | Sound109.Parent = Part1 |
| 435 | - | if child then return child end |
| 435 | + | Sound109.SoundId = "rbxasset://sounds/button.wav" |
| 436 | Sound110.Parent = Part1 | |
| 437 | - | child = parent.ChildAdded:wait() |
| 437 | + | Sound110.Looped = true |
| 438 | - | if child.Name==childName then return child end |
| 438 | + | Sound110.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 439 | Sound111.Parent = Part1 | |
| 440 | Sound111.SoundId = "rbxasset://sounds/uuhhh.wav" | |
| 441 | Sound112.Parent = Part1 | |
| 442 | Sound112.SoundId = "rbxasset://sounds/splat.wav" | |
| 443 | Sound113.Parent = Part1 | |
| 444 | Sound113.SoundId = "rbxasset://sounds/swoosh.wav" | |
| 445 | Sound114.Parent = Part1 | |
| 446 | Sound114.SoundId = "rbxasset://sounds/hit.wav" | |
| 447 | Sound115.Parent = Part1 | |
| 448 | - | local Humanoid; |
| 448 | + | Sound115.SoundId = "rbxasset://sounds/button.wav" |
| 449 | - | for _,Child in pairs(Figure:GetChildren())do |
| 449 | + | Sound116.Parent = Part1 |
| 450 | - | if Child and Child.ClassName=="Humanoid"then |
| 450 | + | Sound116.Looped = true |
| 451 | - | Humanoid=Child; |
| 451 | + | Sound116.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 452 | - | end; |
| 452 | + | Sound117.Parent = Part1 |
| 453 | - | end; |
| 453 | + | Sound117.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 454 | Sound118.Parent = Part1 | |
| 455 | - | local currentAnim = "" |
| 455 | + | Sound118.SoundId = "rbxasset://sounds/splat.wav" |
| 456 | - | local currentAnimInstance = nil |
| 456 | + | Sound119.Parent = Part1 |
| 457 | - | local currentAnimTrack = nil |
| 457 | + | Sound119.SoundId = "rbxasset://sounds/swoosh.wav" |
| 458 | - | local currentAnimKeyframeHandler = nil |
| 458 | + | Sound120.Parent = Part1 |
| 459 | - | local currentAnimSpeed = 1.0 |
| 459 | + | Sound120.SoundId = "rbxasset://sounds/hit.wav" |
| 460 | - | local animTable = {}
|
| 460 | + | Sound121.Parent = Part1 |
| 461 | - | local animNames = {
|
| 461 | + | Sound121.SoundId = "rbxasset://sounds/button.wav" |
| 462 | - | idle = {
|
| 462 | + | Sound122.Parent = Part1 |
| 463 | - | { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
|
| 463 | + | Sound122.Looped = true |
| 464 | - | { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
|
| 464 | + | Sound122.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 465 | - | }, |
| 465 | + | Sound123.Parent = Part1 |
| 466 | - | walk = {
|
| 466 | + | Sound123.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 467 | - | { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
|
| 467 | + | Sound124.Parent = Part1 |
| 468 | - | }, |
| 468 | + | Sound124.SoundId = "rbxasset://sounds/splat.wav" |
| 469 | - | run = {
|
| 469 | + | Sound125.Parent = Part1 |
| 470 | - | { id = "http://www.roblox.com/asset/?id=252557606", weight = 20 }
|
| 470 | + | Sound125.SoundId = "rbxasset://sounds/swoosh.wav" |
| 471 | - | }, |
| 471 | + | Sound126.Parent = Part1 |
| 472 | - | jump = {
|
| 472 | + | Sound126.SoundId = "rbxasset://sounds/hit.wav" |
| 473 | - | { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
|
| 473 | + | Sound127.Parent = Part1 |
| 474 | - | }, |
| 474 | + | Sound127.SoundId = "rbxasset://sounds/button.wav" |
| 475 | - | fall = {
|
| 475 | + | Sound128.Parent = Part1 |
| 476 | - | { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
|
| 476 | + | Sound128.Looped = true |
| 477 | - | }, |
| 477 | + | Sound128.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 478 | - | climb = {
|
| 478 | + | Sound129.Parent = Part1 |
| 479 | - | { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
|
| 479 | + | Sound129.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 480 | - | }, |
| 480 | + | Sound130.Parent = Part1 |
| 481 | - | sit = {
|
| 481 | + | Sound130.SoundId = "rbxasset://sounds/splat.wav" |
| 482 | - | { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
|
| 482 | + | Sound131.Parent = Part1 |
| 483 | - | }, |
| 483 | + | Sound131.SoundId = "rbxasset://sounds/swoosh.wav" |
| 484 | - | toolnone = {
|
| 484 | + | Sound132.Parent = Part1 |
| 485 | - | { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
|
| 485 | + | Sound132.SoundId = "rbxasset://sounds/hit.wav" |
| 486 | - | }, |
| 486 | + | Sound133.Parent = Part1 |
| 487 | - | toolslash = {
|
| 487 | + | Sound133.SoundId = "rbxasset://sounds/button.wav" |
| 488 | - | { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
|
| 488 | + | Sound134.Parent = Part1 |
| 489 | - | --{ id = "slash.xml", weight = 10 }
|
| 489 | + | Sound134.Looped = true |
| 490 | - | }, |
| 490 | + | Sound134.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 491 | - | toollunge = {
|
| 491 | + | Sound135.Parent = Part1 |
| 492 | - | { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
|
| 492 | + | Sound135.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 493 | - | }, |
| 493 | + | Sound136.Parent = Part1 |
| 494 | - | wave = {
|
| 494 | + | Sound136.SoundId = "rbxasset://sounds/splat.wav" |
| 495 | - | { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
|
| 495 | + | Sound137.Parent = Part1 |
| 496 | - | }, |
| 496 | + | Sound137.SoundId = "rbxasset://sounds/swoosh.wav" |
| 497 | - | point = {
|
| 497 | + | Sound138.Parent = Part1 |
| 498 | - | { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
|
| 498 | + | Sound138.SoundId = "rbxasset://sounds/hit.wav" |
| 499 | - | }, |
| 499 | + | Sound139.Parent = Part1 |
| 500 | - | dance1 = {
|
| 500 | + | Sound139.SoundId = "rbxasset://sounds/button.wav" |
| 501 | - | { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
|
| 501 | + | Sound140.Parent = Part1 |
| 502 | - | { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
|
| 502 | + | Sound140.Looped = true |
| 503 | - | { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
|
| 503 | + | Sound140.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 504 | - | }, |
| 504 | + | Sound141.Parent = Part1 |
| 505 | - | dance2 = {
|
| 505 | + | Sound141.SoundId = "rbxasset://sounds/uuhhh.wav" |
| 506 | - | { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
|
| 506 | + | Sound142.Parent = Part1 |
| 507 | - | { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
|
| 507 | + | Sound142.SoundId = "rbxasset://sounds/splat.wav" |
| 508 | - | { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
|
| 508 | + | Sound143.Parent = Part1 |
| 509 | - | }, |
| 509 | + | Sound143.SoundId = "rbxasset://sounds/swoosh.wav" |
| 510 | - | dance3 = {
|
| 510 | + | Sound144.Parent = Part1 |
| 511 | - | { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
|
| 511 | + | Sound144.SoundId = "rbxasset://sounds/hit.wav" |
| 512 | - | { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
|
| 512 | + | Sound145.Parent = Part1 |
| 513 | - | { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
|
| 513 | + | Sound145.SoundId = "rbxasset://sounds/button.wav" |
| 514 | - | }, |
| 514 | + | Sound146.Parent = Part1 |
| 515 | - | laugh = {
|
| 515 | + | Sound146.Looped = true |
| 516 | - | { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
|
| 516 | + | Sound146.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
| 517 | - | }, |
| 517 | + | Part147.Name = "Torso" |
| 518 | - | cheer = {
|
| 518 | + | Part147.Parent = Model0 |
| 519 | - | { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
|
| 519 | + | Part147.CFrame = CFrame.new(140, 4.00000906, -142.500015, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 520 | - | }, |
| 520 | + | Part147.Orientation = Vector3.new(0, -90, 0) |
| 521 | - | } |
| 521 | + | Part147.Position = Vector3.new(140, 4.00000906, -142.500015) |
| 522 | - | local dances = {"dance1", "dance2", "dance3"}
|
| 522 | + | Part147.Rotation = Vector3.new(0, -90, 0) |
| 523 | Part147.Color = Color3.new(0.768628, 0.156863, 0.109804) | |
| 524 | - | -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote |
| 524 | + | Part147.Transparency = 1 |
| 525 | - | local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
|
| 525 | + | Part147.Size = Vector3.new(2, 2, 1) |
| 526 | Part147.BrickColor = BrickColor.new("Bright red")
| |
| 527 | - | function configureAnimationSet(name, fileList) |
| 527 | + | Part147.LeftParamA = 0 |
| 528 | - | if (animTable[name] ~= nil) then |
| 528 | + | Part147.LeftParamB = 0 |
| 529 | - | for _, connection in pairs(animTable[name].connections) do |
| 529 | + | Part147.RightParamA = 0 |
| 530 | - | connection:disconnect() |
| 530 | + | Part147.RightParamB = 0 |
| 531 | Part147.brickColor = BrickColor.new("Bright red")
| |
| 532 | Part147.FormFactor = Enum.FormFactor.Symmetric | |
| 533 | - | animTable[name] = {}
|
| 533 | + | Part147.formFactor = Enum.FormFactor.Symmetric |
| 534 | - | animTable[name].count = 0 |
| 534 | + | Motor148.Name = "Left Hip" |
| 535 | - | animTable[name].totalWeight = 0 |
| 535 | + | Motor148.Parent = Part147 |
| 536 | - | animTable[name].connections = {}
|
| 536 | + | Motor148.MaxVelocity = 0.10000000149012 |
| 537 | Motor148.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 538 | - | -- check for config values |
| 538 | + | Motor148.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 539 | - | local config = script:FindFirstChild(name) |
| 539 | + | Motor148.DesiredAngle = 0.60447072982788 |
| 540 | - | if (config ~= nil) then |
| 540 | + | Snap149.Name = "Neck" |
| 541 | - | --print("Loading anims " .. name)
|
| 541 | + | Snap149.Parent = Part147 |
| 542 | - | table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end)) |
| 542 | + | Snap149.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
| 543 | - | table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end)) |
| 543 | + | Snap149.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
| 544 | - | local idx = 1 |
| 544 | + | Motor150.Name = "Right Hip" |
| 545 | - | for _, childPart in pairs(config:GetChildren()) do |
| 545 | + | Motor150.Parent = Part147 |
| 546 | - | if (childPart:IsA("Animation")) then
|
| 546 | + | Motor150.MaxVelocity = 0.10000000149012 |
| 547 | - | table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end)) |
| 547 | + | Motor150.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 548 | - | animTable[name][idx] = {}
|
| 548 | + | Motor150.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 549 | - | animTable[name][idx].anim = childPart |
| 549 | + | Motor150.DesiredAngle = 0.60447072982788 |
| 550 | - | local weightObject = childPart:FindFirstChild("Weight")
|
| 550 | + | Motor151.Name = "Right Shoulder" |
| 551 | - | if (weightObject == nil) then |
| 551 | + | Motor151.Parent = Part147 |
| 552 | - | animTable[name][idx].weight = 1 |
| 552 | + | Motor151.MaxVelocity = 0.15000000596046 |
| 553 | - | else |
| 553 | + | Motor151.C0 = CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 554 | - | animTable[name][idx].weight = weightObject.Value |
| 554 | + | Motor151.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
| 555 | Motor151.DesiredAngle = 0.60447072982788 | |
| 556 | - | animTable[name].count = animTable[name].count + 1 |
| 556 | + | Motor152.Name = "Left Shoulder" |
| 557 | - | animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight |
| 557 | + | Motor152.Parent = Part147 |
| 558 | - | --print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
|
| 558 | + | Motor152.MaxVelocity = 0.15000000596046 |
| 559 | - | idx = idx + 1 |
| 559 | + | Motor152.C0 = CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 560 | Motor152.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 561 | Motor152.DesiredAngle = -0.60447072982788 | |
| 562 | BlockMesh153.Parent = Part147 | |
| 563 | BlockMesh153.Scale = Vector3.new(3, 3, 0.100000001) | |
| 564 | - | -- fallback to defaults |
| 564 | + | Decal154.Parent = Part147 |
| 565 | - | if (animTable[name].count <= 0) then |
| 565 | + | Decal154.Texture = "http://www.roblox.com/asset/?id=589089911" |
| 566 | - | for idx, anim in pairs(fileList) do |
| 566 | + | Decal155.Parent = Part147 |
| 567 | - | animTable[name][idx] = {}
|
| 567 | + | Decal155.Texture = "http://www.roblox.com/asset/?id=589089911" |
| 568 | - | animTable[name][idx].anim = Instance.new("Animation")
|
| 568 | + | Decal155.Face = Enum.NormalId.Back |
| 569 | - | animTable[name][idx].anim.Name = name |
| 569 | + | Part156.Name = "Left Leg" |
| 570 | - | animTable[name][idx].anim.AnimationId = anim.id |
| 570 | + | Part156.Parent = Model0 |
| 571 | - | animTable[name][idx].weight = anim.weight |
| 571 | + | Part156.CFrame = CFrame.new(140, 1.50000906, -143.500015, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 572 | - | animTable[name].count = animTable[name].count + 1 |
| 572 | + | Part156.Orientation = Vector3.new(0, -90, 0) |
| 573 | - | animTable[name].totalWeight = animTable[name].totalWeight + anim.weight |
| 573 | + | Part156.Position = Vector3.new(140, 1.50000906, -143.500015) |
| 574 | - | --print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
|
| 574 | + | Part156.Rotation = Vector3.new(0, -90, 0) |
| 575 | Part156.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
| 576 | Part156.Transparency = 1 | |
| 577 | Part156.Size = Vector3.new(2, 3, 1) | |
| 578 | Part156.BottomSurface = Enum.SurfaceType.Smooth | |
| 579 | - | -- Setup animation objects |
| 579 | + | Part156.BrickColor = BrickColor.new("Brick yellow")
|
| 580 | - | function scriptChildModified(child) |
| 580 | + | Part156.CanCollide = false |
| 581 | - | local fileList = animNames[child.Name] |
| 581 | + | Part156.brickColor = BrickColor.new("Brick yellow")
|
| 582 | - | if (fileList ~= nil) then |
| 582 | + | Part156.FormFactor = Enum.FormFactor.Symmetric |
| 583 | - | configureAnimationSet(child.Name, fileList) |
| 583 | + | Part156.formFactor = Enum.FormFactor.Symmetric |
| 584 | Part157.Name = "Right Leg" | |
| 585 | Part157.Parent = Model0 | |
| 586 | Part157.CFrame = CFrame.new(140, 1.50000906, -141.500015, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 587 | - | script.ChildAdded:connect(scriptChildModified) |
| 587 | + | Part157.Orientation = Vector3.new(0, -90, 0) |
| 588 | - | script.ChildRemoved:connect(scriptChildModified) |
| 588 | + | Part157.Position = Vector3.new(140, 1.50000906, -141.500015) |
| 589 | Part157.Rotation = Vector3.new(0, -90, 0) | |
| 590 | Part157.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
| 591 | - | for name, fileList in pairs(animNames) do |
| 591 | + | Part157.Transparency = 1 |
| 592 | - | configureAnimationSet(name, fileList) |
| 592 | + | Part157.Size = Vector3.new(2, 3, 1) |
| 593 | Part157.BottomSurface = Enum.SurfaceType.Smooth | |
| 594 | Part157.BrickColor = BrickColor.new("Brick yellow")
| |
| 595 | - | -- ANIMATION |
| 595 | + | Part157.CanCollide = false |
| 596 | Part157.brickColor = BrickColor.new("Brick yellow")
| |
| 597 | - | -- declarations |
| 597 | + | Part157.FormFactor = Enum.FormFactor.Symmetric |
| 598 | Part157.formFactor = Enum.FormFactor.Symmetric | |
| 599 | Humanoid158.Name = "Zombie" | |
| 600 | Humanoid158.Parent = Model0 | |
| 601 | - | local jumpAnimTime = 0 |
| 601 | + | Humanoid158.Health = 70 |
| 602 | - | local jumpAnimDuration = 0.3 |
| 602 | + | Humanoid158.LeftLeg = Part156 |
| 603 | Humanoid158.MaxHealth = 70 | |
| 604 | - | local toolTransitionTime = 0.1 |
| 604 | + | Humanoid158.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
| 605 | - | local fallTransitionTime = 0.3 |
| 605 | + | Humanoid158.RightLeg = Part157 |
| 606 | - | local jumpMaxLimbVelocity = 0.75 |
| 606 | + | Humanoid158.Torso = Part147 |
| 607 | Humanoid158.WalkSpeed = 80 | |
| 608 | - | -- functions |
| 608 | + | Humanoid158.maxHealth = 70 |
| 609 | BodyColors159.Parent = Model0 | |
| 610 | - | function stopAllAnimations() |
| 610 | + | BodyColors159.HeadColor = BrickColor.new("Bright yellow")
|
| 611 | - | local oldAnim = currentAnim |
| 611 | + | BodyColors159.HeadColor3 = Color3.new(0.960784, 0.803922, 0.188235) |
| 612 | BodyColors159.LeftArmColor = BrickColor.new("Medium stone grey")
| |
| 613 | - | -- return to idle if finishing an emote |
| 613 | + | BodyColors159.LeftArmColor3 = Color3.new(0.639216, 0.635294, 0.647059) |
| 614 | - | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then |
| 614 | + | BodyColors159.LeftLegColor = BrickColor.new("Brick yellow")
|
| 615 | - | oldAnim = "idle" |
| 615 | + | BodyColors159.LeftLegColor3 = Color3.new(0.843137, 0.772549, 0.603922) |
| 616 | BodyColors159.RightArmColor = BrickColor.new("Medium stone grey")
| |
| 617 | BodyColors159.RightArmColor3 = Color3.new(0.639216, 0.635294, 0.647059) | |
| 618 | - | currentAnim = "" |
| 618 | + | BodyColors159.RightLegColor = BrickColor.new("Brick yellow")
|
| 619 | - | currentAnimInstance = nil |
| 619 | + | BodyColors159.RightLegColor3 = Color3.new(0.843137, 0.772549, 0.603922) |
| 620 | - | if (currentAnimKeyframeHandler ~= nil) then |
| 620 | + | BodyColors159.TorsoColor = BrickColor.new("Bright red")
|
| 621 | - | currentAnimKeyframeHandler:disconnect() |
| 621 | + | BodyColors159.TorsoColor3 = Color3.new(0.768628, 0.156863, 0.109804) |
| 622 | IntValue160.Name = "Mode" | |
| 623 | IntValue160.Parent = Model0 | |
| 624 | - | if (currentAnimTrack ~= nil) then |
| 624 | + | Part161.Name = "Right Arm" |
| 625 | - | currentAnimTrack:Stop() |
| 625 | + | Part161.Parent = Model0 |
| 626 | - | currentAnimTrack:Destroy() |
| 626 | + | Part161.CFrame = CFrame.new(140, 5.00000906, -141.000015, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 627 | - | currentAnimTrack = nil |
| 627 | + | Part161.Orientation = Vector3.new(0, -90, 0) |
| 628 | Part161.Position = Vector3.new(140, 5.00000906, -141.000015) | |
| 629 | - | return oldAnim |
| 629 | + | Part161.Rotation = Vector3.new(0, -90, 0) |
| 630 | Part161.Color = Color3.new(0.992157, 0.917647, 0.552941) | |
| 631 | Part161.Transparency = 1 | |
| 632 | - | function setAnimationSpeed(speed) |
| 632 | + | Part161.Size = Vector3.new(1, 4, 1) |
| 633 | - | if speed ~= currentAnimSpeed then |
| 633 | + | Part161.BrickColor = BrickColor.new("Cool yellow")
|
| 634 | - | currentAnimSpeed = speed |
| 634 | + | Part161.CanCollide = false |
| 635 | - | currentAnimTrack:AdjustSpeed(currentAnimSpeed) |
| 635 | + | Part161.brickColor = BrickColor.new("Cool yellow")
|
| 636 | Part161.FormFactor = Enum.FormFactor.Symmetric | |
| 637 | Part161.formFactor = Enum.FormFactor.Symmetric | |
| 638 | Part162.Name = "Left Arm" | |
| 639 | - | function keyFrameReachedFunc(frameName) |
| 639 | + | Part162.Parent = Model0 |
| 640 | - | if (frameName == "End") then |
| 640 | + | Part162.CFrame = CFrame.new(140, 5.00000906, -144.000015, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 641 | Part162.Orientation = Vector3.new(0, -90, 0) | |
| 642 | - | local repeatAnim = currentAnim |
| 642 | + | Part162.Position = Vector3.new(140, 5.00000906, -144.000015) |
| 643 | - | -- return to idle if finishing an emote |
| 643 | + | Part162.Rotation = Vector3.new(0, -90, 0) |
| 644 | - | if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then |
| 644 | + | Part162.Color = Color3.new(0.992157, 0.917647, 0.552941) |
| 645 | - | repeatAnim = "idle" |
| 645 | + | Part162.Transparency = 1 |
| 646 | Part162.Size = Vector3.new(1, 4, 1) | |
| 647 | Part162.BrickColor = BrickColor.new("Cool yellow")
| |
| 648 | - | local animSpeed = currentAnimSpeed |
| 648 | + | Part162.CanCollide = false |
| 649 | - | playAnimation(repeatAnim, 0.0, Humanoid) |
| 649 | + | Part162.brickColor = BrickColor.new("Cool yellow")
|
| 650 | - | setAnimationSpeed(animSpeed) |
| 650 | + | Part162.FormFactor = Enum.FormFactor.Symmetric |
| 651 | Part162.formFactor = Enum.FormFactor.Symmetric | |
| 652 | Script163.Parent = Model0 | |
| 653 | table.insert(cors,sandbox(Script163,function() | |
| 654 | - | -- Preload animations |
| 654 | + | local larm = script.Parent:FindFirstChild("Left Arm")
|
| 655 | - | function playAnimation(animName, transitionTime, humanoid) |
| 655 | + | local rarm = script.Parent:FindFirstChild("Right Arm")
|
| 656 | ||
| 657 | - | local roll = math.random(1, animTable[animName].totalWeight) |
| 657 | + | function findNearestTorso(pos) |
| 658 | - | local origRoll = roll |
| 658 | + | local list = game.Workspace:children() |
| 659 | - | local idx = 1 |
| 659 | + | local torso = nil |
| 660 | - | while (roll > animTable[animName][idx].weight) do |
| 660 | + | local dist = 1000 |
| 661 | - | roll = roll - animTable[animName][idx].weight |
| 661 | + | local temp = nil |
| 662 | - | idx = idx + 1 |
| 662 | + | local human = nil |
| 663 | local temp2 = nil | |
| 664 | - | --print(animName .. " " .. idx .. " [" .. origRoll .. "]") |
| 664 | + | for x = 1, #list do |
| 665 | - | local anim = animTable[animName][idx].anim |
| 665 | + | temp2 = list[x] |
| 666 | - | -- switch animation |
| 666 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
| 667 | - | if (anim ~= currentAnimInstance) then |
| 667 | + | temp = temp2:findFirstChild("Torso")
|
| 668 | - | if (currentAnimTrack ~= nil) then |
| 668 | + | human = temp2:findFirstChild("Humanoid")
|
| 669 | - | currentAnimTrack:Stop(transitionTime) |
| 669 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
| 670 | - | currentAnimTrack:Destroy() |
| 670 | + | if (temp.Position - pos).magnitude < dist then |
| 671 | torso = temp | |
| 672 | - | currentAnimSpeed = 1.0 |
| 672 | + | dist = (temp.Position - pos).magnitude |
| 673 | - | -- load it to the humanoid; get AnimationTrack |
| 673 | + | end |
| 674 | - | currentAnimTrack = humanoid:LoadAnimation(anim) |
| 674 | + | |
| 675 | - | -- play the animation |
| 675 | + | |
| 676 | - | currentAnimTrack:Play(transitionTime) |
| 676 | + | |
| 677 | - | currentAnim = animName |
| 677 | + | return torso |
| 678 | - | currentAnimInstance = anim |
| 678 | + | |
| 679 | - | -- set up keyframe name triggers |
| 679 | + | |
| 680 | - | if (currentAnimKeyframeHandler ~= nil) then |
| 680 | + | function Hit(hit) |
| 681 | - | currentAnimKeyframeHandler:disconnect() |
| 681 | + | local human = hit.Parent:FindFirstChild("Humanoid")
|
| 682 | if human ~= nil then | |
| 683 | - | currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc) |
| 683 | + | human.Health = human.Health -15 |
| 684 | end | |
| 685 | end | |
| 686 | - | ------------------------------------------------------------------------------------------- |
| 686 | + | |
| 687 | - | ------------------------------------------------------------------------------------------- |
| 687 | + | larm.Touched:connect(Hit) |
| 688 | - | local toolAnimName = "" |
| 688 | + | rarm.Touched:connect(Hit) |
| 689 | - | local toolAnimTrack = nil |
| 689 | + | |
| 690 | - | local toolAnimInstance = nil |
| 690 | + | |
| 691 | - | local currentToolAnimKeyframeHandler = nil |
| 691 | + | wait(0.1) |
| 692 | - | function toolKeyFrameReachedFunc(frameName) |
| 692 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
| 693 | - | if (frameName == "End") then |
| 693 | + | if target ~= nil then |
| 694 | - | --print("Keyframe : ".. frameName)
|
| 694 | + | script.Parent.Zombie:MoveTo(target.Position, target) |
| 695 | - | playToolAnimation(toolAnimName, 0.0, Humanoid) |
| 695 | + | |
| 696 | end | |
| 697 | ||
| 698 | - | function playToolAnimation(animName, transitionTime, humanoid) |
| 698 | + | |
| 699 | - | local roll = math.random(1, animTable[animName].totalWeight) |
| 699 | + | Script164.Name = "Robot" |
| 700 | - | local origRoll = roll |
| 700 | + | Script164.Parent = Model0 |
| 701 | - | local idx = 1 |
| 701 | + | table.insert(cors,sandbox(Script164,function() |
| 702 | - | while (roll > animTable[animName][idx].weight) do |
| 702 | + | model = script.Parent |
| 703 | - | roll = roll - animTable[animName][idx].weight |
| 703 | + | backup = model:Clone() |
| 704 | - | idx = idx + 1 |
| 704 | + | regentime = 5 --5 minutes |
| 705 | ||
| 706 | - | --print(animName .. " * " .. idx .. " [" .. origRoll .. "]") |
| 706 | + | ------------------ |
| 707 | - | local anim = animTable[animName][idx].anim |
| 707 | + | --SPAWNING-- |
| 708 | - | if (toolAnimInstance ~= anim) then |
| 708 | + | ------------------ |
| 709 | - | if (toolAnimTrack ~= nil) then |
| 709 | + | |
| 710 | - | toolAnimTrack:Stop() |
| 710 | + | miked=script.Parent |
| 711 | - | toolAnimTrack:Destroy() |
| 711 | + | |
| 712 | - | transitionTime = 0 |
| 712 | + | itlh=miked.Torso:findFirstChild("Left Hip")
|
| 713 | itlh.Part0=miked.Torso | |
| 714 | - | -- load it to the humanoid; get AnimationTrack |
| 714 | + | itlh.Part1=miked:findFirstChild("Left Leg")
|
| 715 | - | toolAnimTrack = humanoid:LoadAnimation(anim) |
| 715 | + | itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 716 | - | -- play the animation |
| 716 | + | |
| 717 | - | toolAnimTrack:Play(transitionTime) |
| 717 | + | itrh=miked.Torso:findFirstChild("Right Hip")
|
| 718 | - | toolAnimName = animName |
| 718 | + | itrh.Part0=miked.Torso |
| 719 | - | toolAnimInstance = anim |
| 719 | + | itrh.Part1=miked:findFirstChild("Right Leg")
|
| 720 | - | currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc) |
| 720 | + | itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 721 | ||
| 722 | itls=miked.Torso:findFirstChild("Left Shoulder")
| |
| 723 | - | function stopToolAnimations() |
| 723 | + | itls.Part1=miked.Torso |
| 724 | - | local oldAnim = toolAnimName |
| 724 | + | itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
| 725 | - | if (currentToolAnimKeyframeHandler ~= nil) then |
| 725 | + | itls.Part0=miked:findFirstChild("Left Arm")
|
| 726 | - | currentToolAnimKeyframeHandler:disconnect() |
| 726 | + | |
| 727 | itrs=miked.Torso:findFirstChild("Right Shoulder")
| |
| 728 | - | toolAnimName = "" |
| 728 | + | itrs.Part1=miked.Torso |
| 729 | - | toolAnimInstance = nil |
| 729 | + | itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
| 730 | - | if (toolAnimTrack ~= nil) then |
| 730 | + | itrs.Part0=miked:findFirstChild("Right Arm")
|
| 731 | - | toolAnimTrack:Stop() |
| 731 | + | |
| 732 | - | toolAnimTrack:Destroy() |
| 732 | + | miked.Head:makeJoints() |
| 733 | - | toolAnimTrack = nil |
| 733 | + | ------------------ |
| 734 | ------------------ | |
| 735 | - | return oldAnim |
| 735 | + | |
| 736 | ||
| 737 | - | ------------------------------------------------------------------------------------------- |
| 737 | + | |
| 738 | - | ------------------------------------------------------------------------------------------- |
| 738 | + | |
| 739 | local child = parent:findFirstChild(childName) | |
| 740 | - | if speed>0.01 then |
| 740 | + | |
| 741 | - | if Figure and Humanoid and Humanoid.WalkSpeed<17 then |
| 741 | + | |
| 742 | - | playAnimation("walk", 0.1, Humanoid);
|
| 742 | + | |
| 743 | - | elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then |
| 743 | + | |
| 744 | - | playAnimation("run", 0.1, Humanoid);
|
| 744 | + | |
| 745 | - | end; |
| 745 | + | |
| 746 | - | if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then |
| 746 | + | |
| 747 | - | setAnimationSpeed(speed / 14.5) |
| 747 | + | |
| 748 | local Torso = waitForChild(Figure, "Torso") | |
| 749 | - | pose = "Running" |
| 749 | + | |
| 750 | - | else |
| 750 | + | |
| 751 | - | playAnimation("idle", 0.1, Humanoid)
|
| 751 | + | |
| 752 | - | pose = "Standing" |
| 752 | + | |
| 753 | local Neck = waitForChild(Torso, "Neck") | |
| 754 | local Humanoid = waitForChild(Figure, "Zombie") | |
| 755 | local pose = "Standing" | |
| 756 | - | pose = "Dead" |
| 756 | + | |
| 757 | local toolAnim = "None" | |
| 758 | local toolAnimTime = 0 | |
| 759 | - | playAnimation("jump", 0.1, Humanoid)
|
| 759 | + | |
| 760 | - | jumpAnimTime = jumpAnimDuration |
| 760 | + | local isSeated = false |
| 761 | - | pose = "Jumping" |
| 761 | + | |
| 762 | ||
| 763 | - | function onClimbing(speed) |
| 763 | + | |
| 764 | - | playAnimation("climb", 0.1, Humanoid)
|
| 764 | + | if isSeated then return end |
| 765 | - | setAnimationSpeed(speed / 12.0) |
| 765 | + | |
| 766 | - | pose = "Climbing" |
| 766 | + | if speed>0 then |
| 767 | pose = "Running" | |
| 768 | else | |
| 769 | - | pose = "GettingUp" |
| 769 | + | pose = "Standing" |
| 770 | end | |
| 771 | end | |
| 772 | - | if (jumpAnimTime <= 0) then |
| 772 | + | |
| 773 | - | playAnimation("fall", fallTransitionTime, Humanoid)
|
| 773 | + | |
| 774 | pose = "Dead" | |
| 775 | - | pose = "FreeFall" |
| 775 | + | wait(regentime) |
| 776 | wait(1) | |
| 777 | model:remove() | |
| 778 | - | pose = "FallingDown" |
| 778 | + | model = backup:Clone() |
| 779 | wait(3) | |
| 780 | model.Parent = game.Workspace | |
| 781 | - | pose = "Seated" |
| 781 | + | model:MakeJoints() |
| 782 | end | |
| 783 | - | function onPlatformStanding() |
| 783 | + | |
| 784 | - | pose = "PlatformStanding" |
| 784 | + | |
| 785 | isSeated = false | |
| 786 | - | function onSwimming(speed) |
| 786 | + | pose = "Jumping" |
| 787 | - | if speed>0 then |
| 787 | + | |
| 788 | - | pose = "Running" |
| 788 | + | |
| 789 | - | else |
| 789 | + | function onClimbing() |
| 790 | - | pose = "Standing" |
| 790 | + | pose = "Climbing" |
| 791 | end | |
| 792 | ||
| 793 | function onGettingUp() | |
| 794 | pose = "GettingUp" | |
| 795 | - | for _, kid in ipairs(Figure:GetChildren()) do |
| 795 | + | |
| 796 | - | if kid.className == "Tool" then return kid end |
| 796 | + | |
| 797 | function onFreeFall() | |
| 798 | - | return nil |
| 798 | + | pose = "FreeFall" |
| 799 | end | |
| 800 | ||
| 801 | function onDancing() | |
| 802 | - | for _, c in ipairs(tool:GetChildren()) do |
| 802 | + | pose = "Dancing" |
| 803 | - | if c.Name == "toolanim" and c.className == "StringValue" then |
| 803 | + | |
| 804 | - | return c |
| 804 | + | |
| 805 | function onFallingDown() | |
| 806 | pose = "FallingDown" | |
| 807 | - | return nil |
| 807 | + | |
| 808 | ||
| 809 | function onSeated() | |
| 810 | isSeated = true | |
| 811 | pose = "Seated" | |
| 812 | - | if (toolAnim == "None") then |
| 812 | + | |
| 813 | - | playToolAnimation("toolnone", toolTransitionTime, Humanoid)
|
| 813 | + | |
| 814 | - | return |
| 814 | + | |
| 815 | ||
| 816 | function moveJump() | |
| 817 | - | if (toolAnim == "Slash") then |
| 817 | + | RightShoulder.MaxVelocity = 1 |
| 818 | - | playToolAnimation("toolslash", 0, Humanoid)
|
| 818 | + | LeftShoulder.MaxVelocity = 1 |
| 819 | - | return |
| 819 | + | RightShoulder.DesiredAngle = -3.14 |
| 820 | LeftShoulder.DesiredAngle = -3.14 | |
| 821 | RightHip.DesiredAngle = 0 | |
| 822 | - | if (toolAnim == "Lunge") then |
| 822 | + | LeftHip.DesiredAngle = 0 |
| 823 | - | playToolAnimation("toollunge", 0, Humanoid)
|
| 823 | + | |
| 824 | - | return |
| 824 | + | |
| 825 | function moveFreeFall() | |
| 826 | RightShoulder.MaxVelocity = 0.5 | |
| 827 | LeftShoulder.MaxVelocity = 0.5 | |
| 828 | RightShoulder.DesiredAngle = -1 | |
| 829 | - | RightShoulder.MaxVelocity = 0.15 |
| 829 | + | LeftShoulder.DesiredAngle = -1 |
| 830 | - | LeftShoulder.MaxVelocity = 0.15 |
| 830 | + | RightHip.DesiredAngle = 0 |
| 831 | - | RightShoulder:SetDesiredAngle(3.14 /2) |
| 831 | + | LeftHip.DesiredAngle = 0 |
| 832 | - | LeftShoulder:SetDesiredAngle(-3.14 /2) |
| 832 | + | |
| 833 | - | RightHip:SetDesiredAngle(3.14 /2) |
| 833 | + | |
| 834 | - | LeftHip:SetDesiredAngle(-3.14 /2) |
| 834 | + | function moveFloat() |
| 835 | RightShoulder.MaxVelocity = 0.5 | |
| 836 | LeftShoulder.MaxVelocity = 0.5 | |
| 837 | - | local lastTick = 0 |
| 837 | + | RightShoulder.DesiredAngle = -1.57 |
| 838 | LeftShoulder.DesiredAngle = 1.57 | |
| 839 | RightHip.DesiredAngle = 1.57 | |
| 840 | - | local amplitude = 1 |
| 840 | + | LeftHip.DesiredAngle = -1.57 |
| 841 | - | local frequency = 1 |
| 841 | + | |
| 842 | - | local deltaTime = time - lastTick |
| 842 | + | |
| 843 | - | lastTick = time |
| 843 | + | function moveBoogy() |
| 844 | while pose=="Boogy" do | |
| 845 | - | local climbFudge = 0 |
| 845 | + | wait(.5) |
| 846 | - | local setAngles = false |
| 846 | + | RightShoulder.MaxVelocity = 1 |
| 847 | LeftShoulder.MaxVelocity = 1 | |
| 848 | - | if (jumpAnimTime > 0) then |
| 848 | + | RightShoulder.DesiredAngle = -3.14 |
| 849 | - | jumpAnimTime = jumpAnimTime - deltaTime |
| 849 | + | LeftShoulder.DesiredAngle = 0 |
| 850 | - | end |
| 850 | + | RightHip.DesiredAngle = 1.57 |
| 851 | LeftHip.DesiredAngle = 0 | |
| 852 | - | if (pose == "FreeFall" and jumpAnimTime <= 0) then |
| 852 | + | wait(.5) |
| 853 | - | playAnimation("fall", fallTransitionTime, Humanoid)
|
| 853 | + | RightShoulder.MaxVelocity = 1 |
| 854 | - | elseif (pose == "Seated") then |
| 854 | + | LeftShoulder.MaxVelocity = 1 |
| 855 | - | playAnimation("sit", 0.5, Humanoid)
|
| 855 | + | RightShoulder.DesiredAngle = 0 |
| 856 | - | return |
| 856 | + | LeftShoulder.DesiredAngle = -3.14 |
| 857 | - | elseif (pose == "Running") then |
| 857 | + | RightHip.DesiredAngle = 0 |
| 858 | - | if Figure and Humanoid and Humanoid.WalkSpeed<17 then |
| 858 | + | LeftHip.DesiredAngle = 1.57 |
| 859 | - | playAnimation("walk", 0.1, Humanoid);
|
| 859 | + | |
| 860 | - | elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then |
| 860 | + | |
| 861 | - | playAnimation("run", 0.1, Humanoid);
|
| 861 | + | |
| 862 | - | end; |
| 862 | + | function moveZombie() |
| 863 | - | elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then |
| 863 | + | RightShoulder.MaxVelocity = 0.5 |
| 864 | - | stopAllAnimations() |
| 864 | + | LeftShoulder.MaxVelocity = 0.5 |
| 865 | - | amplitude = 0.1 |
| 865 | + | RightShoulder.DesiredAngle = -1.57 |
| 866 | - | frequency = 1 |
| 866 | + | LeftShoulder.DesiredAngle = 1.57 |
| 867 | - | setAngles = true |
| 867 | + | RightHip.DesiredAngle = 0 |
| 868 | LeftHip.DesiredAngle = 0 | |
| 869 | - | if (setAngles) then |
| 869 | + | |
| 870 | - | local desiredAngle = amplitude * math.sin(time * frequency) |
| 870 | + | |
| 871 | - | RightShoulder:SetDesiredAngle(desiredAngle + climbFudge) |
| 871 | + | function movePunch() |
| 872 | - | LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge) |
| 872 | + | script.Parent.Torso.Anchored=true |
| 873 | - | RightHip:SetDesiredAngle(-desiredAngle) |
| 873 | + | RightShoulder.MaxVelocity = 60 |
| 874 | - | LeftHip:SetDesiredAngle(-desiredAngle) |
| 874 | + | LeftShoulder.MaxVelocity = 0.5 |
| 875 | RightShoulder.DesiredAngle = -1.57 | |
| 876 | - | -- Tool Animation handling |
| 876 | + | LeftShoulder.DesiredAngle = 0 |
| 877 | - | local tool = getTool() |
| 877 | + | RightHip.DesiredAngle = 0 |
| 878 | - | if tool and tool:FindFirstChild("Handle") then
|
| 878 | + | LeftHip.DesiredAngle = 0 |
| 879 | - | local animStringValueObject = getToolAnim(tool) |
| 879 | + | wait(1) |
| 880 | - | if animStringValueObject then |
| 880 | + | script.Parent.Torso.Anchored=false |
| 881 | - | toolAnim = animStringValueObject.Value |
| 881 | + | pose="Standing" |
| 882 | - | -- message recieved, delete StringValue |
| 882 | + | |
| 883 | - | animStringValueObject.Parent = nil |
| 883 | + | |
| 884 | - | toolAnimTime = time + .3 |
| 884 | + | |
| 885 | function moveKick() | |
| 886 | - | if time > toolAnimTime then |
| 886 | + | RightShoulder.MaxVelocity = 0.5 |
| 887 | - | toolAnimTime = 0 |
| 887 | + | LeftShoulder.MaxVelocity = 0.5 |
| 888 | - | toolAnim = "None" |
| 888 | + | RightShoulder.DesiredAngle = 0 |
| 889 | LeftShoulder.DesiredAngle = 0 | |
| 890 | - | animateTool() |
| 890 | + | RightHip.MaxVelocity = 40 |
| 891 | - | else |
| 891 | + | RightHip.DesiredAngle = 1.57 |
| 892 | - | stopToolAnimations() |
| 892 | + | LeftHip.DesiredAngle = 0 |
| 893 | - | toolAnim = "None" |
| 893 | + | wait(1) |
| 894 | - | toolAnimInstance = nil |
| 894 | + | pose="Standing" |
| 895 | - | toolAnimTime = 0 |
| 895 | + | |
| 896 | end | |
| 897 | ||
| 898 | function moveFly() | |
| 899 | RightShoulder.MaxVelocity = 0.5 | |
| 900 | LeftShoulder.MaxVelocity = 0.5 | |
| 901 | RightShoulder.DesiredAngle = 0 | |
| 902 | LeftShoulder.DesiredAngle = 0 | |
| 903 | RightHip.MaxVelocity = 40 | |
| 904 | RightHip.DesiredAngle = 1.57 | |
| 905 | LeftHip.DesiredAngle = 0 | |
| 906 | wait(1) | |
| 907 | - | Humanoid.PlatformStanding:connect(onPlatformStanding) |
| 907 | + | pose="Standing" |
| 908 | - | Humanoid.Swimming:connect(onSwimming) |
| 908 | + | |
| 909 | - | local runService = game:GetService("RunService");
|
| 909 | + | |
| 910 | - | playAnimation("idle", 0.1, Humanoid)
|
| 910 | + | |
| 911 | - | pose = "Standing" |
| 911 | + | |
| 912 | - | while Wait(0)do |
| 912 | + | function moveClimb() |
| 913 | - | local _,time=wait(0) |
| 913 | + | RightShoulder.MaxVelocity = 0.5 |
| 914 | - | move(time) |
| 914 | + | LeftShoulder.MaxVelocity = 0.5 |
| 915 | RightShoulder.DesiredAngle = -3.14 | |
| 916 | LeftShoulder.DesiredAngle = 3.14 | |
| 917 | - | StringValue27.Name = "climb" |
| 917 | + | RightHip.DesiredAngle = 0 |
| 918 | - | StringValue27.Parent = Script26 |
| 918 | + | LeftHip.DesiredAngle = 0 |
| 919 | - | Animation28.Name = "ClimbAnim" |
| 919 | + | |
| 920 | - | Animation28.Parent = StringValue27 |
| 920 | + | |
| 921 | - | Animation28.AnimationId = "http://www.roblox.com/asset/?id=180436334" |
| 921 | + | |
| 922 | - | StringValue29.Name = "fall" |
| 922 | + | RightShoulder.MaxVelocity = 0.15 |
| 923 | - | StringValue29.Parent = Script26 |
| 923 | + | LeftShoulder.MaxVelocity = 0.15 |
| 924 | - | Animation30.Name = "FallAnim" |
| 924 | + | RightShoulder.DesiredAngle = -3.14 /2 |
| 925 | - | Animation30.Parent = StringValue29 |
| 925 | + | LeftShoulder.DesiredAngle = -3.14 /2 |
| 926 | - | Animation30.AnimationId = "http://www.roblox.com/asset/?id=180436148" |
| 926 | + | RightHip.DesiredAngle = 3.14 /2 |
| 927 | - | StringValue31.Name = "idle" |
| 927 | + | LeftHip.DesiredAngle = -3.14 /2 |
| 928 | - | StringValue31.Parent = Script26 |
| 928 | + | |
| 929 | - | Animation32.Name = "Animation1" |
| 929 | + | |
| 930 | - | Animation32.Parent = StringValue31 |
| 930 | + | |
| 931 | - | Animation32.AnimationId = "http://www.roblox.com/asset/?id=180435571" |
| 931 | + | |
| 932 | - | NumberValue33.Name = "Weight" |
| 932 | + | kidTable = Figure:children() |
| 933 | - | NumberValue33.Parent = Animation32 |
| 933 | + | if (kidTable ~= nil) then |
| 934 | - | NumberValue33.Value = 9 |
| 934 | + | numKids = #kidTable |
| 935 | - | Animation34.Name = "Animation2" |
| 935 | + | for i=1,numKids do |
| 936 | - | Animation34.Parent = StringValue31 |
| 936 | + | if (kidTable[i].className == "Tool") then return kidTable[i] end |
| 937 | - | Animation34.AnimationId = "http://www.roblox.com/asset/?id=180435792" |
| 937 | + | |
| 938 | - | NumberValue35.Name = "Weight" |
| 938 | + | |
| 939 | - | NumberValue35.Parent = Animation34 |
| 939 | + | |
| 940 | - | NumberValue35.Value = 1 |
| 940 | + | return nil |
| 941 | - | StringValue36.Name = "jump" |
| 941 | + | |
| 942 | - | StringValue36.Parent = Script26 |
| 942 | + | |
| 943 | - | Animation37.Name = "JumpAnim" |
| 943 | + | |
| 944 | - | Animation37.Parent = StringValue36 |
| 944 | + | |
| 945 | - | Animation37.AnimationId = "http://www.roblox.com/asset/?id=125750702" |
| 945 | + | c = tool:children() |
| 946 | - | StringValue38.Name = "run" |
| 946 | + | for i=1,#c do |
| 947 | - | StringValue38.Parent = Script26 |
| 947 | + | if (c[i].Name == "toolanim" and c[i].className == "StringValue") then |
| 948 | - | Animation39.Name = "RunAnim" |
| 948 | + | return c[i] |
| 949 | - | Animation39.Parent = StringValue38 |
| 949 | + | |
| 950 | - | Animation39.AnimationId = "http://www.roblox.com/asset/?id=252557606" |
| 950 | + | |
| 951 | - | StringValue40.Name = "sit" |
| 951 | + | return nil |
| 952 | - | StringValue40.Parent = Script26 |
| 952 | + | |
| 953 | - | Animation41.Name = "SitAnim" |
| 953 | + | |
| 954 | - | Animation41.Parent = StringValue40 |
| 954 | + | |
| 955 | - | Animation41.AnimationId = "http://www.roblox.com/asset/?id=178130996" |
| 955 | + | |
| 956 | - | StringValue42.Name = "toolnone" |
| 956 | + | if (toolAnim == "None") then |
| 957 | - | StringValue42.Parent = Script26 |
| 957 | + | RightShoulder.DesiredAngle = -1.57 |
| 958 | - | Animation43.Name = "ToolNoneAnim" |
| 958 | + | return |
| 959 | - | Animation43.Parent = StringValue42 |
| 959 | + | |
| 960 | - | Animation43.AnimationId = "http://www.roblox.com/asset/?id=182393478" |
| 960 | + | |
| 961 | - | StringValue44.Name = "walk" |
| 961 | + | if (toolAnim == "Slash") then |
| 962 | - | StringValue44.Parent = Script26 |
| 962 | + | RightShoulder.MaxVelocity = 0.5 |
| 963 | - | Animation45.Name = "WalkAnim" |
| 963 | + | RightShoulder.DesiredAngle = 0 |
| 964 | - | Animation45.Parent = StringValue44 |
| 964 | + | return |
| 965 | - | Animation45.AnimationId = "http://www.roblox.com/asset/?id=180426354" |
| 965 | + | |
| 966 | - | Animation46.Name = "Swing" |
| 966 | + | |
| 967 | - | Animation46.Parent = Model1 |
| 967 | + | if (toolAnim == "Lunge") then |
| 968 | - | Animation46.AnimationId = "rbxassetid://191123156" |
| 968 | + | RightShoulder.MaxVelocity = 0.5 |
| 969 | - | BodyColors47.Parent = Model1 |
| 969 | + | LeftShoulder.MaxVelocity = 0.5 |
| 970 | - | BodyColors47.HeadColor = BrickColor.new("Institutional white")
|
| 970 | + | RightHip.MaxVelocity = 0.5 |
| 971 | - | BodyColors47.HeadColor3 = Color3.new(0.972549, 0.972549, 0.972549) |
| 971 | + | LeftHip.MaxVelocity = 0.5 |
| 972 | - | BodyColors47.LeftArmColor = BrickColor.new("Institutional white")
|
| 972 | + | RightShoulder.DesiredAngle = -1.57 |
| 973 | - | BodyColors47.LeftArmColor3 = Color3.new(0.972549, 0.972549, 0.972549) |
| 973 | + | LeftShoulder.DesiredAngle = 1.0 |
| 974 | - | BodyColors47.LeftLegColor = BrickColor.new("Really black")
|
| 974 | + | RightHip.DesiredAngle = 1.57 |
| 975 | - | BodyColors47.LeftLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 975 | + | LeftHip.DesiredAngle = 1.0 |
| 976 | - | BodyColors47.RightArmColor = BrickColor.new("Institutional white")
|
| 976 | + | return |
| 977 | - | BodyColors47.RightArmColor3 = Color3.new(0.972549, 0.972549, 0.972549) |
| 977 | + | |
| 978 | - | BodyColors47.RightLegColor = BrickColor.new("Really black")
|
| 978 | + | |
| 979 | - | BodyColors47.RightLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 979 | + | |
| 980 | - | BodyColors47.TorsoColor = BrickColor.new("Institutional white")
|
| 980 | + | |
| 981 | - | BodyColors47.TorsoColor3 = Color3.new(0.972549, 0.972549, 0.972549) |
| 981 | + | local amplitude |
| 982 | - | Script48.Name = "Respawn" |
| 982 | + | local frequency |
| 983 | - | Script48.Parent = Model1 |
| 983 | + | |
| 984 | - | table.insert(cors,sandbox(Script48,function() |
| 984 | + | if (pose == "Jumping") then |
| 985 | - | --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]-- |
| 985 | + | moveJump() |
| 986 | - | 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. ]]-- |
| 986 | + | return |
| 987 | - | local AdvancedRespawnScript=script; |
| 987 | + | |
| 988 | - | repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model"; |
| 988 | + | |
| 989 | - | local JeffTheKiller=AdvancedRespawnScript.Parent; |
| 989 | + | if (pose == "Zombie") then |
| 990 | - | if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
|
| 990 | + | moveZombie() |
| 991 | - | JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
|
| 991 | + | return |
| 992 | - | end; |
| 992 | + | |
| 993 | - | local GameDerbis=Game:GetService("Debris");
|
| 993 | + | |
| 994 | - | local JeffTheKillerHumanoid; |
| 994 | + | if (pose == "Boogy") then |
| 995 | - | for _,Child in pairs(JeffTheKiller:GetChildren())do |
| 995 | + | moveBoogy() |
| 996 | - | if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then |
| 996 | + | return |
| 997 | - | JeffTheKillerHumanoid=Child; |
| 997 | + | |
| 998 | - | end; |
| 998 | + | |
| 999 | - | end; |
| 999 | + | if (pose == "Float") then |
| 1000 | - | local Respawndant=JeffTheKiller:Clone(); |
| 1000 | + | moveFloat() |
| 1001 | - | if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]-- |
| 1001 | + | return |
| 1002 | - | coroutine.resume(coroutine.create(function() |
| 1002 | + | |
| 1003 | - | if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
|
| 1003 | + | |
| 1004 | - | SpawnModel=Instance.new("Model");
|
| 1004 | + | if (pose == "Punch") then |
| 1005 | - | SpawnModel.Parent=JeffTheKillerHumanoid.Status; |
| 1005 | + | movePunch() |
| 1006 | - | SpawnModel.Name="AvalibleSpawns"; |
| 1006 | + | return |
| 1007 | - | else |
| 1007 | + | |
| 1008 | - | SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
|
| 1008 | + | |
| 1009 | - | end; |
| 1009 | + | if (pose == "Kick") then |
| 1010 | - | function FindSpawn(SearchValue) |
| 1010 | + | moveKick() |
| 1011 | - | local PartsArchivable=SearchValue:GetChildren(); |
| 1011 | + | return |
| 1012 | - | for AreaSearch=1,#PartsArchivable do |
| 1012 | + | |
| 1013 | - | if PartsArchivable[AreaSearch].className=="SpawnLocation"then |
| 1013 | + | |
| 1014 | - | local PositionValue=Instance.new("Vector3Value",SpawnModel);
|
| 1014 | + | if (pose == "Fly") then |
| 1015 | - | PositionValue.Value=PartsArchivable[AreaSearch].Position; |
| 1015 | + | moveFly() |
| 1016 | - | PositionValue.Name=PartsArchivable[AreaSearch].Duration; |
| 1016 | + | return |
| 1017 | - | end; |
| 1017 | + | |
| 1018 | - | FindSpawn(PartsArchivable[AreaSearch]); |
| 1018 | + | |
| 1019 | - | end; |
| 1019 | + | if (pose == "FreeFall") then |
| 1020 | - | end; |
| 1020 | + | moveFreeFall() |
| 1021 | - | FindSpawn(Game:GetService("Workspace"));
|
| 1021 | + | return |
| 1022 | - | local SpawnChilden=SpawnModel:GetChildren(); |
| 1022 | + | |
| 1023 | - | if#SpawnChilden>0 then |
| 1023 | + | |
| 1024 | - | local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)]; |
| 1024 | + | if (pose == "Climbing") then |
| 1025 | - | local RespawningForceField=Instance.new("ForceField");
|
| 1025 | + | moveClimb() |
| 1026 | - | RespawningForceField.Parent=JeffTheKiller; |
| 1026 | + | return |
| 1027 | - | RespawningForceField.Name="SpawnForceField"; |
| 1027 | + | |
| 1028 | - | GameDerbis:AddItem(RespawningForceField,SpawnItself.Name); |
| 1028 | + | |
| 1029 | - | JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0)); |
| 1029 | + | if (pose == "Seated") then |
| 1030 | - | else |
| 1030 | + | moveSit() |
| 1031 | - | if JeffTheKiller:FindFirstChild("SpawnForceField")then
|
| 1031 | + | return |
| 1032 | - | JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
|
| 1032 | + | |
| 1033 | - | end; |
| 1033 | + | |
| 1034 | - | JeffTheKiller:MoveTo(Vector3.new(0,115,0)); |
| 1034 | + | amplitude = 0.1 |
| 1035 | - | end; |
| 1035 | + | frequency = 1 |
| 1036 | - | end)); |
| 1036 | + | |
| 1037 | - | end; |
| 1037 | + | RightShoulder.MaxVelocity = 0.15 |
| 1038 | - | function Respawn() |
| 1038 | + | LeftShoulder.MaxVelocity = 0.15 |
| 1039 | - | Wait(5); |
| 1039 | + | if (pose == "Running") then |
| 1040 | - | Respawndant.Parent=JeffTheKiller.Parent; |
| 1040 | + | amplitude = 1 |
| 1041 | - | Respawndant:makeJoints(); |
| 1041 | + | frequency = 9 |
| 1042 | - | Respawndant:FindFirstChild("Head"):MakeJoints();
|
| 1042 | + | elseif (pose == "Dancing") then |
| 1043 | - | Respawndant:FindFirstChild("Torso"):MakeJoints();
|
| 1043 | + | amplitude = 2 |
| 1044 | - | JeffTheKiller:remove(); |
| 1044 | + | frequency = 16 |
| 1045 | - | end; |
| 1045 | + | |
| 1046 | - | if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then |
| 1046 | + | |
| 1047 | - | JeffTheKillerHumanoid.Died:connect(Respawn); |
| 1047 | + | |
| 1048 | - | end; |
| 1048 | + | desiredAngle = amplitude * math.sin(time*frequency) |
| 1049 | - | --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]-- |
| 1049 | + | if pose~="Dancing" then |
| 1050 | RightShoulder.DesiredAngle = -desiredAngle | |
| 1051 | - | Part49.Name = "Knife" |
| 1051 | + | LeftShoulder.DesiredAngle = desiredAngle |
| 1052 | - | Part49.Parent = Model1 |
| 1052 | + | RightHip.DesiredAngle = -desiredAngle |
| 1053 | - | Part49.CFrame = CFrame.new(157.301758, 2.05568457, -49.6200294, 0, 0.249365434, 0.968409479, 0, 0.968409479, -0.249365434, -1, 0, 0) |
| 1053 | + | LeftHip.DesiredAngle = -desiredAngle |
| 1054 | - | Part49.Orientation = Vector3.new(14.4399996, 90, 0) |
| 1054 | + | else |
| 1055 | - | Part49.Position = Vector3.new(157.301758, 2.05568457, -49.6200294) |
| 1055 | + | RightShoulder.DesiredAngle = desiredAngle |
| 1056 | - | Part49.Rotation = Vector3.new(90, 75.5599976, -90) |
| 1056 | + | LeftShoulder.DesiredAngle = desiredAngle |
| 1057 | - | Part49.Color = Color3.new(1, 0.8, 0.6) |
| 1057 | + | RightHip.DesiredAngle = -desiredAngle |
| 1058 | - | Part49.Transparency = 1 |
| 1058 | + | LeftHip.DesiredAngle = -desiredAngle |
| 1059 | - | Part49.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
| 1059 | + | |
| 1060 | - | Part49.BackParamA = -99999 |
| 1060 | + | |
| 1061 | - | Part49.BackParamB = 99999 |
| 1061 | + | |
| 1062 | - | Part49.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
| 1062 | + | |
| 1063 | - | Part49.BottomParamA = -99999 |
| 1063 | + | local tool = getTool() |
| 1064 | - | Part49.BottomParamB = 99999 |
| 1064 | + | |
| 1065 | - | Part49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
| 1065 | + | if tool ~= nil then |
| 1066 | - | Part49.BrickColor = BrickColor.new("Pastel brown")
|
| 1066 | + | |
| 1067 | - | Part49.CanCollide = false |
| 1067 | + | animStringValueObject = getToolAnim(tool) |
| 1068 | - | Part49.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
| 1068 | + | |
| 1069 | - | Part49.Elasticity = 0 |
| 1069 | + | if animStringValueObject ~= nil then |
| 1070 | - | Part49.Friction = 2 |
| 1070 | + | toolAnim = animStringValueObject.Value |
| 1071 | - | Part49.FrontParamA = -99999 |
| 1071 | + | -- message recieved, delete StringValue |
| 1072 | - | Part49.FrontParamB = 99999 |
| 1072 | + | animStringValueObject.Parent = nil |
| 1073 | - | Part49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
| 1073 | + | toolAnimTime = time + .3 |
| 1074 | - | Part49.LeftParamA = -99999 |
| 1074 | + | |
| 1075 | - | Part49.LeftParamB = 99999 |
| 1075 | + | |
| 1076 | - | Part49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
| 1076 | + | if time > toolAnimTime then |
| 1077 | - | Part49.Material = Enum.Material.Metal |
| 1077 | + | toolAnimTime = 0 |
| 1078 | - | Part49.RightParamA = -99999 |
| 1078 | + | toolAnim = "None" |
| 1079 | - | Part49.RightParamB = 99999 |
| 1079 | + | |
| 1080 | - | Part49.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
| 1080 | + | |
| 1081 | - | Part49.TopParamA = -99999 |
| 1081 | + | animateTool() |
| 1082 | - | Part49.TopParamB = 99999 |
| 1082 | + | |
| 1083 | - | Part49.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
| 1083 | + | |
| 1084 | - | Part49.brickColor = BrickColor.new("Pastel brown")
|
| 1084 | + | else |
| 1085 | - | Part49.FormFactor = Enum.FormFactor.Custom |
| 1085 | + | toolAnim = "None" |
| 1086 | - | Part49.formFactor = Enum.FormFactor.Custom |
| 1086 | + | toolAnimTime = 0 |
| 1087 | - | SpecialMesh50.Name = "KnifeMesh" |
| 1087 | + | |
| 1088 | - | SpecialMesh50.Parent = Part49 |
| 1088 | + | |
| 1089 | - | SpecialMesh50.MeshId = "rbxassetid://165710339" |
| 1089 | + | |
| 1090 | - | SpecialMesh50.Scale = Vector3.new(0.5, 0.5, 0.699999988) |
| 1090 | + | |
| 1091 | - | SpecialMesh50.TextureId = "rbxassetid://381626146" |
| 1091 | + | |
| 1092 | - | SpecialMesh50.MeshType = Enum.MeshType.FileMesh |
| 1092 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1093 | - | Sound51.Name = "Hit1" |
| 1093 | + | |
| 1094 | - | Sound51.Parent = Part49 |
| 1094 | + | function unequip() |
| 1095 | - | Sound51.Pitch = 1.0225422382355 |
| 1095 | + | local items=script.Parent:children() |
| 1096 | - | Sound51.PlaybackSpeed = 1.0225422382355 |
| 1096 | + | for i=1, #items do |
| 1097 | - | Sound51.SoundId = "rbxassetid://278061737" |
| 1097 | + | if items[i].className=="Tool" then items[i]:remove() end |
| 1098 | - | Sound51.Volume = 1 |
| 1098 | + | |
| 1099 | - | Sound52.Name = "Hit2" |
| 1099 | + | |
| 1100 | - | Sound52.Parent = Part49 |
| 1100 | + | |
| 1101 | - | Sound52.Pitch = 1.0092434883118 |
| 1101 | + | function onChatted(msg, recipient) |
| 1102 | - | Sound52.PlaybackSpeed = 1.0092434883118 |
| 1102 | + | msg = string.lower(msg) |
| 1103 | - | Sound52.SoundId = "rbxassetid://260430060" |
| 1103 | + | |
| 1104 | - | Sound52.Volume = 1 |
| 1104 | + | if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, "everyone") then |
| 1105 | - | Sound53.Name = "Hit3" |
| 1105 | + | if string.match(msg, "equip") then |
| 1106 | - | Sound53.Parent = Part49 |
| 1106 | + | if game.Workspace:findFirstChild("Hub") then
|
| 1107 | - | Sound53.Pitch = 1.0101846456528 |
| 1107 | + | if string.match(msg, "rocket") then unequip() |
| 1108 | - | Sound53.PlaybackSpeed = 1.0101846456528 |
| 1108 | + | game.Workspace.Hub.Rocket:clone().Parent=script.Parent |
| 1109 | - | Sound53.SoundId = "rbxassetid://278061737" |
| 1109 | + | elseif string.match(msg, "slingshot") then unequip() |
| 1110 | - | Sound53.Volume = 1 |
| 1110 | + | game.Workspace.Hub.Slingshot:clone().Parent=script.Parent |
| 1111 | - | Sound54.Name = "Swing" |
| 1111 | + | elseif string.match(msg, "sword") then unequip() |
| 1112 | - | Sound54.Parent = Part49 |
| 1112 | + | game.Workspace.Hub.Sword:clone().Parent=script.Parent |
| 1113 | - | Sound54.SoundId = "rbxassetid://148196278" |
| 1113 | + | elseif string.match(msg, "pbg") then unequip() |
| 1114 | - | Sound54.Volume = 1 |
| 1114 | + | game.Workspace.Hub.PBG:clone().Parent=script.Parent |
| 1115 | - | Script55.Name = "JeffTheKillerMain" |
| 1115 | + | elseif string.match(msg, "superball") then unequip() |
| 1116 | - | Script55.Parent = Model1 |
| 1116 | + | game.Workspace.Hub.Superball:clone().Parent=script.Parent |
| 1117 | - | table.insert(cors,sandbox(Script55,function() |
| 1117 | + | elseif string.match(msg, "trowel") then unequip() |
| 1118 | - | --[[ By: Brutez. ]]-- |
| 1118 | + | game.Workspace.Hub.Trowel:clone().Parent=script.Parent |
| 1119 | - | local JeffTheKillerScript=script; |
| 1119 | + | elseif string.match(msg, "bomb") then unequip() |
| 1120 | - | repeat Wait(0)until JeffTheKillerScript and JeffTheKillerScript.Parent and JeffTheKillerScript.Parent.ClassName=="Model"and JeffTheKillerScript.Parent:FindFirstChild("Head")and JeffTheKillerScript.Parent:FindFirstChild("Torso");
|
| 1120 | + | game.Workspace.Hub.Bomb:clone().Parent=script.Parent |
| 1121 | - | local JeffTheKiller=JeffTheKillerScript.Parent; |
| 1121 | + | end |
| 1122 | - | function raycast(Spos,vec,currentdist) |
| 1122 | + | |
| 1123 | - | local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),JeffTheKiller); |
| 1123 | + | |
| 1124 | - | if hit2~=nil and pos2 then |
| 1124 | + | if string.match(msg, "unequip") then unequip() end |
| 1125 | - | if hit2.Name=="Handle" and not hit2.CanCollide or string.sub(hit2.Name,1,6)=="Effect"and not hit2.CanCollide then |
| 1125 | + | if string.match(msg, "run") then onRunning(1) end |
| 1126 | - | local currentdist=currentdist-(pos2-Spos).magnitude; |
| 1126 | + | if string.match(msg, "climb") then onClimbing() end |
| 1127 | - | return raycast(pos2,vec,currentdist); |
| 1127 | + | if string.match(msg, "jump") then onJumping() end |
| 1128 | - | end; |
| 1128 | + | if string.match(msg, "zombie") then pose="Zombie" end |
| 1129 | - | end; |
| 1129 | + | if string.match(msg, "disco") then pose="Boogy" end |
| 1130 | - | return hit2,pos2; |
| 1130 | + | if string.match(msg, "float") then pose="Float" end |
| 1131 | - | end; |
| 1131 | + | if string.match(msg, "punch") then pose="Punch" end |
| 1132 | - | function RayCast(Position,Direction,MaxDistance,IgnoreList) |
| 1132 | + | if string.match(msg, "kick") then pose="Kick" end |
| 1133 | - | return Game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position,Direction.unit*(MaxDistance or 999.999)),IgnoreList);
|
| 1133 | + | if string.match(msg, "fly") then pose="Fly" end |
| 1134 | - | end; |
| 1134 | + | if string.match(msg, "heal") then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end |
| 1135 | - | --[[if JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then]]--
|
| 1135 | + | if string.match(msg, "defend") then defence() end |
| 1136 | - | --[[JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();]]--
|
| 1136 | + | if string.match(msg, "stop") then pose="Standing"; proxkill=false; following=false; stopmoving() end |
| 1137 | - | --[[end;]]-- |
| 1137 | + | if string.match(msg, "go home") then following=false; gohome() end |
| 1138 | - | local JeffTheKillerHumanoid; |
| 1138 | + | if string.match(msg, "follow") then |
| 1139 | - | for _,Child in pairs(JeffTheKiller:GetChildren())do |
| 1139 | + | if string.match(msg, "all") then |
| 1140 | - | if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then |
| 1140 | + | followany() |
| 1141 | - | JeffTheKillerHumanoid=Child; |
| 1141 | + | |
| 1142 | - | end; |
| 1142 | + | local egg=game.Players:children() |
| 1143 | - | end; |
| 1143 | + | for i=1, #egg do |
| 1144 | - | local AttackDebounce=false; |
| 1144 | + | if string.match(msg, string.lower(egg[i].Name)) then |
| 1145 | - | local JeffTheKillerKnife=JeffTheKiller:FindFirstChild("Knife");
|
| 1145 | + | follow(egg[i].Name) |
| 1146 | - | local JeffTheKillerHead=JeffTheKiller:FindFirstChild("Head");
|
| 1146 | + | return |
| 1147 | - | local JeffTheKillerHumanoidRootPart=JeffTheKiller:FindFirstChild("HumanoidRootPart");
|
| 1147 | + | end |
| 1148 | - | local WalkDebounce=false; |
| 1148 | + | end |
| 1149 | - | local Notice=false; |
| 1149 | + | |
| 1150 | - | local JeffLaughDebounce=false; |
| 1150 | + | |
| 1151 | - | local MusicDebounce=false; |
| 1151 | + | if string.match(msg, "kill") then |
| 1152 | - | local NoticeDebounce=false; |
| 1152 | + | if string.match(msg, "all") then |
| 1153 | - | local ChosenMusic; |
| 1153 | + | attackany() |
| 1154 | - | JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
|
| 1154 | + | |
| 1155 | - | local OriginalC0=JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0;
|
| 1155 | + | local egg=game.Players:children() |
| 1156 | - | function FindNearestBae() |
| 1156 | + | for i=1, #egg do |
| 1157 | - | local NoticeDistance=999999999999; |
| 1157 | + | if string.match(msg, string.lower(egg[i].Name)) then |
| 1158 | - | local TargetMain; |
| 1158 | + | attack(egg[i].Name) |
| 1159 | - | for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
|
| 1159 | + | return |
| 1160 | - | 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
|
| 1160 | + | end |
| 1161 | - | local TargetPart=TargetModel:FindFirstChild("Torso");
|
| 1161 | + | end |
| 1162 | - | local FoundHumanoid; |
| 1162 | + | |
| 1163 | - | for _,Child in pairs(TargetModel:GetChildren())do |
| 1163 | + | |
| 1164 | - | if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then |
| 1164 | + | |
| 1165 | - | FoundHumanoid=Child; |
| 1165 | + | |
| 1166 | - | end; |
| 1166 | + | |
| 1167 | - | end; |
| 1167 | + | |
| 1168 | - | if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<NoticeDistance then |
| 1168 | + | if game.Players.NumPlayers>1 then |
| 1169 | - | TargetMain=TargetPart; |
| 1169 | + | x=game.Players:children() |
| 1170 | - | NoticeDistance=(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude; |
| 1170 | + | |
| 1171 | - | local hit,pos=raycast(JeffTheKillerHumanoidRootPart.Position,(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).unit,500) |
| 1171 | + | for i=1, #x do |
| 1172 | - | if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("Torso")and hit.Parent:FindFirstChild("Head")then
|
| 1172 | + | if script.Parent:findFirstChild("Commander")~=nil then
|
| 1173 | - | if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<9 and not AttackDebounce then |
| 1173 | + | if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()>0 then |
| 1174 | - | Spawn(function() |
| 1174 | + | local ch=script.Parent.Commander:children() |
| 1175 | - | AttackDebounce=true; |
| 1175 | + | for i=1, #ch do |
| 1176 | - | local SwingAnimation=JeffTheKillerHumanoid:LoadAnimation(JeffTheKiller:FindFirstChild("Swing"));
|
| 1176 | + | if string.lower(ch[i].Name)==string.lower(x[i].Name) then |
| 1177 | - | local SwingChoice=math.random(1,2); |
| 1177 | + | x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) |
| 1178 | - | local HitChoice=math.random(1,3); |
| 1178 | + | end |
| 1179 | - | SwingAnimation:Play(); |
| 1179 | + | end |
| 1180 | - | SwingAnimation:AdjustSpeed(1.5+(math.random()*0.1)); |
| 1180 | + | elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then |
| 1181 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Swing")then
|
| 1181 | + | x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) |
| 1182 | - | local SwingSound=JeffTheKillerKnife:FindFirstChild("Swing");
|
| 1182 | + | |
| 1183 | - | SwingSound.Pitch=1+(math.random()*0.04); |
| 1183 | + | |
| 1184 | - | SwingSound:Play(); |
| 1184 | + | x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) |
| 1185 | - | end; |
| 1185 | + | |
| 1186 | - | Wait(0.3); |
| 1186 | + | |
| 1187 | - | if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<8 then |
| 1187 | + | |
| 1188 | - | FoundHumanoid:TakeDamage(30); |
| 1188 | + | |
| 1189 | - | if HitChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit1")then
|
| 1189 | + | |
| 1190 | - | local HitSound=JeffTheKillerKnife:FindFirstChild("Hit1");
|
| 1190 | + | function onPlayerEntered(Player) |
| 1191 | - | HitSound.Pitch=1+(math.random()*0.04); |
| 1191 | + | while Player.Name==nil do |
| 1192 | - | HitSound:Play(); |
| 1192 | + | wait(2) |
| 1193 | - | elseif HitChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit2")then
|
| 1193 | + | |
| 1194 | - | local HitSound=JeffTheKillerKnife:FindFirstChild("Hit2");
|
| 1194 | + | if script.Parent:findFirstChild("Commander")~=nil then
|
| 1195 | - | HitSound.Pitch=1+(math.random()*0.04); |
| 1195 | + | if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()>0 then |
| 1196 | - | HitSound:Play(); |
| 1196 | + | local ch=script.Parent.Commander:children() |
| 1197 | - | elseif HitChoice==3 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit3")then
|
| 1197 | + | for i=1, #ch do |
| 1198 | - | local HitSound=JeffTheKillerKnife:FindFirstChild("Hit3");
|
| 1198 | + | if string.lower(ch[i].Name)==string.lower(Player.Name) then |
| 1199 | - | HitSound.Pitch=1+(math.random()*0.04); |
| 1199 | + | Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) |
| 1200 | - | HitSound:Play(); |
| 1200 | + | end |
| 1201 | - | end; |
| 1201 | + | |
| 1202 | - | end; |
| 1202 | + | elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then |
| 1203 | - | Wait(0.1); |
| 1203 | + | Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) |
| 1204 | - | AttackDebounce=false; |
| 1204 | + | |
| 1205 | - | end); |
| 1205 | + | else |
| 1206 | - | end; |
| 1206 | + | Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) |
| 1207 | - | end; |
| 1207 | + | |
| 1208 | - | end; |
| 1208 | + | |
| 1209 | - | end; |
| 1209 | + | |
| 1210 | - | end; |
| 1210 | + | game.Players.ChildAdded:connect(onPlayerEntered) |
| 1211 | - | return TargetMain; |
| 1211 | + | |
| 1212 | - | end; |
| 1212 | + | |
| 1213 | - | while Wait(0)do |
| 1213 | + | |
| 1214 | - | local TargetPoint=JeffTheKillerHumanoid.TargetPoint; |
| 1214 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1215 | - | 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})
|
| 1215 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1216 | - | local Jumpable=false; |
| 1216 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1217 | - | if Blockage then |
| 1217 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1218 | - | Jumpable=true; |
| 1218 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1219 | - | if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then |
| 1219 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1220 | - | local BlockageHumanoid; |
| 1220 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1221 | - | for _,Child in pairs(Blockage.Parent:GetChildren())do |
| 1221 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1222 | - | if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then |
| 1222 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1223 | - | BlockageHumanoid=Child; |
| 1223 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1224 | - | end; |
| 1224 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1225 | - | end; |
| 1225 | + | ----------------------------------------------------------------------------------------------------------------------- |
| 1226 | - | if Blockage and Blockage:IsA("Terrain")then
|
| 1226 | + | dist=20 |
| 1227 | - | local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0))); |
| 1227 | + | |
| 1228 | - | local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z); |
| 1228 | + | function followany() |
| 1229 | - | if CellMaterial==Enum.CellMaterial.Water then |
| 1229 | + | following=true |
| 1230 | - | Jumpable=false; |
| 1230 | + | while following==true do |
| 1231 | - | end; |
| 1231 | + | |
| 1232 | - | 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 |
| 1232 | + | local ch=game.Players:children() |
| 1233 | - | Jumpable=false; |
| 1233 | + | for i=1, #ch do |
| 1234 | - | end; |
| 1234 | + | local l=game.Workspace:findFirstChild(ch[i].Name) |
| 1235 | - | end; |
| 1235 | + | if l~=nil then |
| 1236 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and not JeffTheKillerHumanoid.Sit and Jumpable then |
| 1236 | + | local s=l.Torso |
| 1237 | - | JeffTheKillerHumanoid.Jump=true; |
| 1237 | + | local p=l.Torso.Position |
| 1238 | - | end; |
| 1238 | + | local q=script.Parent.Torso.Position |
| 1239 | - | end; |
| 1239 | + | local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) ) |
| 1240 | - | 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
|
| 1240 | + | if smallest==nil then |
| 1241 | - | Spawn(function() |
| 1241 | + | smallest=d |
| 1242 | - | WalkDebounce=true; |
| 1242 | + | target=s |
| 1243 | - | local FiredRay=Ray.new(JeffTheKillerHumanoidRootPart.Position,Vector3.new(0,-4,0)); |
| 1243 | + | elseif d<smallest then |
| 1244 | - | local RayTarget,endPoint=Game:GetService("Workspace"):FindPartOnRay(FiredRay,JeffTheKiller);
|
| 1244 | + | smallest=d |
| 1245 | - | if RayTarget then |
| 1245 | + | target=s |
| 1246 | - | local JeffTheKillerHeadFootStepClone=JeffTheKillerHead:FindFirstChild("Jeff_Step"):Clone();
|
| 1246 | + | end |
| 1247 | - | JeffTheKillerHeadFootStepClone.Parent=JeffTheKillerHead; |
| 1247 | + | |
| 1248 | - | JeffTheKillerHeadFootStepClone:Play(); |
| 1248 | + | |
| 1249 | - | JeffTheKillerHeadFootStepClone:Destroy(); |
| 1249 | + | |
| 1250 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed<17 then |
| 1250 | + | if smallest==nil then stopmoving() return end |
| 1251 | - | Wait(0.4); |
| 1251 | + | |
| 1252 | - | elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed>17 then |
| 1252 | + | if smallest>6*dist then return end |
| 1253 | - | Wait(0.15); |
| 1253 | + | |
| 1254 | script.Parent.Humanoid:MoveTo(target.Position, target) | |
| 1255 | - | end; |
| 1255 | + | |
| 1256 | - | WalkDebounce=false; |
| 1256 | + | wait(0.5) |
| 1257 | - | end); |
| 1257 | + | for i=1, 6 do |
| 1258 | - | end; |
| 1258 | + | if target.Parent.Humanoid.Health<1 then stopmoving() else wait(0.5) end |
| 1259 | - | local MainTarget=FindNearestBae(); |
| 1259 | + | |
| 1260 | - | local FoundHumanoid; |
| 1260 | + | |
| 1261 | - | if MainTarget then |
| 1261 | + | |
| 1262 | - | for _,Child in pairs(MainTarget.Parent:GetChildren())do |
| 1262 | + | |
| 1263 | - | if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then |
| 1263 | + | |
| 1264 | - | FoundHumanoid=Child; |
| 1264 | + | |
| 1265 | - | end; |
| 1265 | + | function gohome() |
| 1266 | - | end; |
| 1266 | + | script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base) |
| 1267 | - | end; |
| 1267 | + | |
| 1268 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and MainTarget.Parent and FoundHumanoid and FoundHumanoid.Jump then |
| 1268 | + | function stopmoving() |
| 1269 | - | JeffTheKillerHumanoid.Jump=true; |
| 1269 | + | script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso) |
| 1270 | - | end; |
| 1270 | + | |
| 1271 | - | 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 |
| 1271 | + | |
| 1272 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and not JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
|
| 1272 | + | function follow(name) |
| 1273 | - | JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=1;
|
| 1273 | + | following=true |
| 1274 | - | JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Play();
|
| 1274 | + | |
| 1275 | - | end; |
| 1275 | + | local p=game.Workspace:findFirstChild(name) |
| 1276 | - | 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 |
| 1276 | + | if p==nil then return end |
| 1277 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
|
| 1277 | + | while following==true do |
| 1278 | - | if not JeffLaughDebounce then |
| 1278 | + | script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso) |
| 1279 | - | Spawn(function() |
| 1279 | + | wait(0.5) |
| 1280 | - | JeffLaughDebounce=true; |
| 1280 | + | for i=1, 3 do |
| 1281 | - | 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;
|
| 1281 | + | if p.Humanoid.Health<1 then following=false; stopmoving() return end |
| 1282 | - | JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
|
| 1282 | + | wait(0.5) |
| 1283 | - | JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
|
| 1283 | + | |
| 1284 | - | JeffLaughDebounce=false; |
| 1284 | + | |
| 1285 | - | end); |
| 1285 | + | |
| 1286 | - | end; |
| 1286 | + | |
| 1287 | - | end; |
| 1287 | + | function attack(name) |
| 1288 | - | end; |
| 1288 | + | if script.Parent:findFirstChild("Sword")~=nil then
|
| 1289 | - | 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 |
| 1289 | + | following=true |
| 1290 | - | local MusicChoice=math.random(1,2); |
| 1290 | + | local p=game.Workspace:findFirstChild(name) |
| 1291 | - | if MusicChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1")then
|
| 1291 | + | if p==nil then return end |
| 1292 | - | ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1");
|
| 1292 | + | while following==true do |
| 1293 | - | elseif MusicChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2")then
|
| 1293 | + | script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso) |
| 1294 | - | ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2");
|
| 1294 | + | wait(0.5) |
| 1295 | - | end; |
| 1295 | + | for i=1, 3 do |
| 1296 | - | if JeffTheKillerScript and JeffTheKiller and ChosenMusic and not ChosenMusic.IsPlaying then |
| 1296 | + | if p.Humanoid.Health<1 then following=false; stopmoving() return end |
| 1297 | - | ChosenMusic.Volume=0.5; |
| 1297 | + | local l=p.Torso.Position |
| 1298 | - | ChosenMusic:Play(); |
| 1298 | + | local q=script.Parent.Torso.Position |
| 1299 | - | end; |
| 1299 | + | local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) ) |
| 1300 | - | 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 |
| 1300 | + | if d<10 then |
| 1301 | - | if JeffTheKillerScript and JeffTheKiller and ChosenMusic and ChosenMusic.IsPlaying then |
| 1301 | + | script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash() |
| 1302 | - | if not MusicDebounce then |
| 1302 | + | if (q.y-l.y)>3 and (q.y-l.y)<7 then |
| 1303 | - | Spawn(function() |
| 1303 | + | script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso); |
| 1304 | - | MusicDebounce=true; |
| 1304 | + | end |
| 1305 | - | 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; |
| 1305 | + | end |
| 1306 | - | if ChosenMusic then |
| 1306 | + | wait(1) |
| 1307 | - | ChosenMusic.Volume=0; |
| 1307 | + | |
| 1308 | - | ChosenMusic:Stop(); |
| 1308 | + | |
| 1309 | - | end; |
| 1309 | + | |
| 1310 | - | ChosenMusic=nil; |
| 1310 | + | |
| 1311 | - | MusicDebounce=false; |
| 1311 | + | |
| 1312 | - | end); |
| 1312 | + | function attackany() |
| 1313 | - | end; |
| 1313 | + | if script.Parent:findFirstChild("Sword")~=nil then
|
| 1314 | - | end; |
| 1314 | + | |
| 1315 | - | end; |
| 1315 | + | following=true |
| 1316 | - | if not MainTarget and not JeffLaughDebounce then |
| 1316 | + | while following==true do |
| 1317 | - | Spawn(function() |
| 1317 | + | |
| 1318 | - | JeffLaughDebounce=true; |
| 1318 | + | local ch=game.Players:children() |
| 1319 | - | 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;
|
| 1319 | + | for i=1, #ch do |
| 1320 | - | JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
|
| 1320 | + | local l=game.Workspace:findFirstChild(ch[i].Name) |
| 1321 | - | JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
|
| 1321 | + | if l~=nil then |
| 1322 | - | JeffLaughDebounce=false; |
| 1322 | + | local s=l.Torso |
| 1323 | - | end); |
| 1323 | + | local p=l.Torso.Position |
| 1324 | - | end; |
| 1324 | + | local q=script.Parent.Torso.Position |
| 1325 | - | if not MainTarget and not MusicDebounce then |
| 1325 | + | local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) ) |
| 1326 | - | Spawn(function() |
| 1326 | + | if smallest==nil then |
| 1327 | - | MusicDebounce=true; |
| 1327 | + | smallest=d |
| 1328 | - | 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; |
| 1328 | + | target=s |
| 1329 | - | if ChosenMusic then |
| 1329 | + | elseif d<smallest then |
| 1330 | - | ChosenMusic.Volume=0; |
| 1330 | + | smallest=d |
| 1331 | - | ChosenMusic:Stop(); |
| 1331 | + | target=s |
| 1332 | - | end; |
| 1332 | + | end |
| 1333 | - | ChosenMusic=nil; |
| 1333 | + | end |
| 1334 | - | MusicDebounce=false; |
| 1334 | + | |
| 1335 | - | end); |
| 1335 | + | |
| 1336 | - | end; |
| 1336 | + | if smallest==nil then stopmoving() return end |
| 1337 | - | if MainTarget then |
| 1337 | + | |
| 1338 | - | Notice=true; |
| 1338 | + | if smallest>6*dist then return end |
| 1339 | - | if Notice and not NoticeDebounce and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Susto2")then
|
| 1339 | + | |
| 1340 | - | JeffTheKillerHead:FindFirstChild("Jeff_Susto2"):Play();
|
| 1340 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
| 1341 | - | NoticeDebounce=true; |
| 1341 | + | |
| 1342 | if smallest<10 then | |
| 1343 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then |
| 1343 | + | slash() |
| 1344 | - | if MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>5 then |
| 1344 | + | |
| 1345 | - | JeffTheKillerHumanoid.WalkSpeed=30; |
| 1345 | + | if target.Parent==nil then stopmoving() return end |
| 1346 | - | elseif MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<5 then |
| 1346 | + | wait(0.5) |
| 1347 | - | JeffTheKillerHumanoid.WalkSpeed=0.004; |
| 1347 | + | for i=1, 3 do |
| 1348 | - | end; |
| 1348 | + | if target.Parent.Humanoid.Health<1 then |
| 1349 | - | JeffTheKillerHumanoid:MoveTo(MainTarget.Position+(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain"));
|
| 1349 | + | stopmoving() |
| 1350 | - | local NeckRotation=(JeffTheKiller:FindFirstChild("Torso").Position.Y-MainTarget.Parent:FindFirstChild("Head").Position.Y)/10;
|
| 1350 | + | else |
| 1351 | - | if NeckRotation>-1.5 and NeckRotation<1.5 then |
| 1351 | + | local p=target.Position |
| 1352 | - | JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=OriginalC0*CFrame.fromEulerAnglesXYZ(NeckRotation,0,0);
|
| 1352 | + | local q=script.Parent.Torso.Position |
| 1353 | - | end; |
| 1353 | + | local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) ) |
| 1354 | - | if NeckRotation<-1.5 then |
| 1354 | + | if d<10 then |
| 1355 | - | JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,-0.993636549,0.112633869,0,0.112633869,0.993636549);
|
| 1355 | + | script.Parent.Humanoid:MoveTo(target.Position, target); slash() |
| 1356 | - | elseif NeckRotation>1.5 then |
| 1356 | + | if (q.y-p.y)>3 and (q.y-p.y)<7 then |
| 1357 | - | JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0.996671617,0.081521146,0,0.081521146,-0.996671617);
|
| 1357 | + | script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso); |
| 1358 | - | end; |
| 1358 | + | end |
| 1359 | - | else |
| 1359 | + | end |
| 1360 | - | end; |
| 1360 | + | wait(1) |
| 1361 | - | else |
| 1361 | + | end |
| 1362 | - | Notice=false; |
| 1362 | + | |
| 1363 | - | NoticeDebounce=false; |
| 1363 | + | |
| 1364 | - | JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
|
| 1364 | + | |
| 1365 | - | local RandomWalk=math.random(1,150); |
| 1365 | + | |
| 1366 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then |
| 1366 | + | |
| 1367 | - | JeffTheKillerHumanoid.WalkSpeed=12; |
| 1367 | + | |
| 1368 | - | if RandomWalk==1 then |
| 1368 | + | function patrol() |
| 1369 | - | JeffTheKillerHumanoid:MoveTo(Game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),Game:GetService("Workspace"):FindFirstChild("Terrain"));
|
| 1369 | + | if points==nil then |
| 1370 | - | end; |
| 1370 | + | points=0 |
| 1371 | - | end; |
| 1371 | + | if game.Workspace:findFirstChild("pp1")~=nil then
|
| 1372 | - | end; |
| 1372 | + | pp1=game.Workspace:findFirstChild("pp1")
|
| 1373 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid then |
| 1373 | + | local points=points+1 |
| 1374 | - | JeffTheKillerHumanoid.DisplayDistanceType="None"; |
| 1374 | + | if game.Workspace:findFirstChild("pp2")~=nil then
|
| 1375 | - | JeffTheKillerHumanoid.HealthDisplayDistance=0; |
| 1375 | + | pp2=game.Workspace:findFirstChild("pp2")
|
| 1376 | - | JeffTheKillerHumanoid.Name="ColdBloodedKiller"; |
| 1376 | + | local points=points+1 |
| 1377 | - | JeffTheKillerHumanoid.NameDisplayDistance=0; |
| 1377 | + | if game.Workspace:findFirstChild("pp3")~=nil then
|
| 1378 | - | JeffTheKillerHumanoid.NameOcclusion="EnemyOcclusion"; |
| 1378 | + | pp3=game.Workspace:findFirstChild("pp3")
|
| 1379 | - | JeffTheKillerHumanoid.AutoJumpEnabled=true; |
| 1379 | + | local points=points+1 |
| 1380 | - | JeffTheKillerHumanoid.AutoRotate=true; |
| 1380 | + | if game.Workspace:findFirstChild("pp4")~=nil then
|
| 1381 | - | JeffTheKillerHumanoid.MaxHealth=500; |
| 1381 | + | pp4=game.Workspace:findFirstChild("pp4")
|
| 1382 | - | JeffTheKillerHumanoid.JumpPower=60; |
| 1382 | + | local points=points+1 |
| 1383 | - | JeffTheKillerHumanoid.MaxSlopeAngle=89.9; |
| 1383 | + | if game.Workspace:findFirstChild("pp5")~=nil then
|
| 1384 | - | end; |
| 1384 | + | pp5=game.Workspace:findFirstChild("pp5")
|
| 1385 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoJumpEnabled then |
| 1385 | + | local points=points+1 |
| 1386 | - | JeffTheKillerHumanoid.AutoJumpEnabled=true; |
| 1386 | + | if game.Workspace:findFirstChild("pp6")~=nil then
|
| 1387 | - | end; |
| 1387 | + | pp6=game.Workspace:findFirstChild("pp6")
|
| 1388 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoRotate then |
| 1388 | + | local points=points+1 |
| 1389 | - | JeffTheKillerHumanoid.AutoRotate=true; |
| 1389 | + | if game.Workspace:findFirstChild("pp7")~=nil then
|
| 1390 | - | end; |
| 1390 | + | pp7=game.Workspace:findFirstChild("pp7")
|
| 1391 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.PlatformStand then |
| 1391 | + | local points=points+1 |
| 1392 | - | JeffTheKillerHumanoid.PlatformStand=false; |
| 1392 | + | if game.Workspace:findFirstChild("pp8")~=nil then
|
| 1393 | - | end; |
| 1393 | + | pp8=game.Workspace:findFirstChild("pp8")
|
| 1394 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Sit then |
| 1394 | + | local points=points+1 |
| 1395 | - | JeffTheKillerHumanoid.Sit=false; |
| 1395 | + | if game.Workspace:findFirstChild("pp9")~=nil then
|
| 1396 | - | end; |
| 1396 | + | pp9=game.Workspace:findFirstChild("pp9")
|
| 1397 | - | end; |
| 1397 | + | local points=points+1 |
| 1398 | - | --[[ By: Brutez. ]]-- |
| 1398 | + | end |
| 1399 | end | |
| 1400 | - | Camera56.Name = "ThumbnailCamera" |
| 1400 | + | end |
| 1401 | - | Camera56.Parent = Model1 |
| 1401 | + | end |
| 1402 | - | 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) |
| 1402 | + | end |
| 1403 | - | 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) |
| 1403 | + | end |
| 1404 | - | Camera56.FieldOfView = 39.999999303284 |
| 1404 | + | end |
| 1405 | - | Camera56.Focus = CFrame.new(-3.91261864, 7.41225004, 7.0497818, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 1405 | + | |
| 1406 | - | Camera56.focus = CFrame.new(-3.91261864, 7.41225004, 7.0497818, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 1406 | + | |
| 1407 | - | Shirt57.Parent = Model1 |
| 1407 | + | |
| 1408 | - | Shirt57.ShirtTemplate = "rbxassetid://1053681727" |
| 1408 | + | |
| 1409 | - | Pants58.Parent = Model1 |
| 1409 | + | if points<1 then return end |
| 1410 | - | Pants58.PantsTemplate = "rbxassetid://808846597" |
| 1410 | + | patrolling=true |
| 1411 | - | Script59.Name = "Health (TO MAKE HEALTH ABOVE 100)" |
| 1411 | + | local time=2 |
| 1412 | - | Script59.Parent = Model1 |
| 1412 | + | if points==1 then return end |
| 1413 | - | table.insert(cors,sandbox(Script59,function() |
| 1413 | + | if points>1 then |
| 1414 | while patrolling==true do | |
| 1415 | script.Parent.Humanoid:MoveTo(pp1.Position, pp1) | |
| 1416 | wait(time) | |
| 1417 | script.Parent.Humanoid:MoveTo(pp2.Position, pp2) | |
| 1418 | wait(time) | |
| 1419 | if points>2 then | |
| 1420 | script.Parent.Humanoid:MoveTo(pp3.Position, pp3) | |
| 1421 | wait(time) | |
| 1422 | if points>3 then | |
| 1423 | script.Parent.Humanoid:MoveTo(pp4.Position, pp4) | |
| 1424 | - | -- declarations |
| 1424 | + | wait(time) |
| 1425 | if points>4 then | |
| 1426 | script.Parent.Humanoid:MoveTo(pp5.Position, pp5) | |
| 1427 | wait(time) | |
| 1428 | if points>5 then | |
| 1429 | - | Humanoid.Health=500 ------------- Hey dude, this is how to change the max health. Increase the number, make sure to change the humanoid maxhealth too. |
| 1429 | + | script.Parent.Humanoid:MoveTo(pp6.Position, pp6) |
| 1430 | - | -- regeneration |
| 1430 | + | wait(time) |
| 1431 | if points>6 then | |
| 1432 | - | local s = wait(99999999) ------------ Don't change this. |
| 1432 | + | script.Parent.Humanoid:MoveTo(pp7.Position, pp7) |
| 1433 | - | local health = Humanoid.Health |
| 1433 | + | wait(time) |
| 1434 | - | if health > 0 and health < Humanoid.MaxHealth then |
| 1434 | + | if points>7 then |
| 1435 | - | health = health + 0.08 * s * Humanoid.MaxHealth |
| 1435 | + | script.Parent.Humanoid:MoveTo(pp8.Position, pp8) |
| 1436 | - | if health * 1.05 < Humanoid.MaxHealth then |
| 1436 | + | wait(time) |
| 1437 | - | Humanoid.Health = health |
| 1437 | + | if points>8 then |
| 1438 | script.Parent.Humanoid:MoveTo(pp9.Position, pp9) | |
| 1439 | - | Humanoid.Health = Humanoid.MaxHealth |
| 1439 | + | wait(time) |
| 1440 | end | |
| 1441 | end | |
| 1442 | end | |
| 1443 | end | |
| 1444 | end | |
| 1445 | - | Hat60.Parent = Model0 |
| 1445 | + | end |
| 1446 | - | Hat60.AttachmentPoint = CFrame.new(0, -0.200000003, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
| 1446 | + | |
| 1447 | - | Hat60.AttachmentPos = Vector3.new(0, -0.200000003, 0.100000001) |
| 1447 | + | |
| 1448 | - | UnionOperation61.Name = "Handle" |
| 1448 | + | |
| 1449 | - | UnionOperation61.Parent = Hat60 |
| 1449 | + | |
| 1450 | - | UnionOperation61.CFrame = CFrame.new(157.98584, 5.46826077, -48.6411514, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08) |
| 1450 | + | |
| 1451 | - | UnionOperation61.Orientation = Vector3.new(0, 90, 0) |
| 1451 | + | |
| 1452 | - | UnionOperation61.Position = Vector3.new(157.98584, 5.46826077, -48.6411514) |
| 1452 | + | function goto(pos,part) |
| 1453 | - | UnionOperation61.Rotation = Vector3.new(0, 90, 0) |
| 1453 | + | |
| 1454 | - | UnionOperation61.Color = Color3.new(1, 0, 0) |
| 1454 | + | |
| 1455 | - | UnionOperation61.Size = Vector3.new(1.3577584, 0.936562181, 1.6683836) |
| 1455 | + | |
| 1456 | - | UnionOperation61.BrickColor = BrickColor.new("Really red")
|
| 1456 | + | |
| 1457 | - | UnionOperation61.Material = Enum.Material.Sand |
| 1457 | + | |
| 1458 | - | UnionOperation61.brickColor = BrickColor.new("Really red")
|
| 1458 | + | function slash() |
| 1459 | - | UnionOperation61.UsePartColor = true |
| 1459 | + | for i=1, 3 do |
| 1460 | - | Decal62.Parent = UnionOperation61 |
| 1460 | + | wait(.3) |
| 1461 | - | Decal62.Texture = "http://www.roblox.com/asset/?id=287608534" |
| 1461 | + | RightShoulder.MaxVelocity = 2 |
| 1462 | - | Decal63.Parent = UnionOperation61 |
| 1462 | + | LeftShoulder.MaxVelocity = 1 |
| 1463 | - | Decal63.Texture = "http://www.roblox.com/asset/?id=287617286" |
| 1463 | + | RightShoulder.DesiredAngle = -2.14 |
| 1464 | - | Decal63.Face = Enum.NormalId.Right |
| 1464 | + | LeftShoulder.DesiredAngle = 0 |
| 1465 | - | Decal64.Parent = UnionOperation61 |
| 1465 | + | RightHip.DesiredAngle = 0 |
| 1466 | - | Decal64.Texture = "http://www.roblox.com/asset/?id=287617265" |
| 1466 | + | LeftHip.DesiredAngle = 0 |
| 1467 | - | Decal64.Face = Enum.NormalId.Left |
| 1467 | + | wait(.2) |
| 1468 | - | Decal65.Parent = UnionOperation61 |
| 1468 | + | RightShoulder.MaxVelocity = 2 |
| 1469 | - | Decal65.Texture = "http://www.roblox.com/asset/?id=287624931" |
| 1469 | + | LeftShoulder.MaxVelocity = 1 |
| 1470 | - | Decal65.Face = Enum.NormalId.Top |
| 1470 | + | RightShoulder.DesiredAngle = 0 |
| 1471 | - | Decal66.Parent = UnionOperation61 |
| 1471 | + | LeftShoulder.DesiredAngle = 0 |
| 1472 | - | Decal66.Texture = "http://www.roblox.com/asset/?id=287617245" |
| 1472 | + | RightHip.DesiredAngle = 0 |
| 1473 | - | Decal66.Face = Enum.NormalId.Back |
| 1473 | + | LeftHip.DesiredAngle = 0 |
| 1474 | - | Decal67.Parent = UnionOperation61 |
| 1474 | + | |
| 1475 | - | Decal67.Texture = "http://www.roblox.com/asset/?id=287624921" |
| 1475 | + | |
| 1476 | - | Decal67.Face = Enum.NormalId.Bottom |
| 1476 | + | |
| 1477 | function defence() | |
| 1478 | - | v.Parent = script |
| 1478 | + | proxkill=true |
| 1479 | while proxkill==true do | |
| 1480 | local ch=game.Players:children() | |
| 1481 | for i=1, #ch do | |
| 1482 | local p=game.Workspace:findFirstChild(ch[i].Name) | |
| 1483 | if p~=nil then | |
| 1484 | local p=p.Torso.Position | |
| 1485 | local q=script.Parent.Torso.Position | |
| 1486 | local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) ) | |
| 1487 | if d<dist and d>8 then | |
| 1488 | local ex=Instance.new("Explosion")
| |
| 1489 | ex.Position=p | |
| 1490 | ex.Parent=game.Workspace | |
| 1491 | end | |
| 1492 | end | |
| 1493 | end | |
| 1494 | wait(1) | |
| 1495 | end | |
| 1496 | end | |
| 1497 | ||
| 1498 | ||
| 1499 | ||
| 1500 | ||
| 1501 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1502 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1503 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1504 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1505 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1506 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1507 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1508 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1509 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1510 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1511 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1512 | ----------------------------------------------------------------------------------------------------------------------- | |
| 1513 | ||
| 1514 | ||
| 1515 | Humanoid.Died:connect(onDied) | |
| 1516 | Humanoid.Running:connect(onRunning) | |
| 1517 | Humanoid.Jumping:connect(onJumping) | |
| 1518 | Humanoid.Climbing:connect(onClimbing) | |
| 1519 | Humanoid.GettingUp:connect(onGettingUp) | |
| 1520 | Humanoid.FreeFalling:connect(onFreeFall) | |
| 1521 | Humanoid.FallingDown:connect(onFallingDown) | |
| 1522 | Humanoid.Seated:connect(onSeated) | |
| 1523 | ||
| 1524 | ||
| 1525 | --[[ | |
| 1526 | ||
| 1527 | function newSound(id) | |
| 1528 | local sound = Instance.new("Sound")
| |
| 1529 | sound.SoundId = id | |
| 1530 | sound.Parent = script.Parent.Head | |
| 1531 | return sound | |
| 1532 | end | |
| 1533 | ||
| 1534 | ||
| 1535 | local sDied = newSound("rbxasset://sounds/uuhhh.wav")
| |
| 1536 | local sFallingDown = newSound("rbxasset://sounds/splat.wav")
| |
| 1537 | local sFreeFalling = newSound("rbxasset://sounds/swoosh.wav")
| |
| 1538 | local sGettingUp = newSound("rbxasset://sounds/hit.wav")
| |
| 1539 | local sJumping = newSound("rbxasset://sounds/button.wav")
| |
| 1540 | local sRunning = newSound("rbxasset://sounds/bfsl-minifigfoots1.mp3")
| |
| 1541 | sRunning.Looped = true | |
| 1542 | ||
| 1543 | local Figure = script.Parent | |
| 1544 | local Head = waitForChild(Figure, "Head") | |
| 1545 | local Humanoid = waitForChild(Figure, "Humanoid") | |
| 1546 | ||
| 1547 | ||
| 1548 | function onDied() | |
| 1549 | sDied:play() | |
| 1550 | end | |
| 1551 | ||
| 1552 | function onState(state, sound) | |
| 1553 | if state then | |
| 1554 | sound:play() | |
| 1555 | else | |
| 1556 | sound:pause() | |
| 1557 | end | |
| 1558 | end | |
| 1559 | ||
| 1560 | function onRunning(speed) | |
| 1561 | if speed>0 then | |
| 1562 | sRunning:play() | |
| 1563 | else | |
| 1564 | sRunning:pause() | |
| 1565 | end | |
| 1566 | end | |
| 1567 | ||
| 1568 | ||
| 1569 | Humanoid.Died:connect(onDied) | |
| 1570 | Humanoid.Running:connect(onRunning) | |
| 1571 | Humanoid.Jumping:connect(function(state) onState(state, sJumping) end) | |
| 1572 | Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end) | |
| 1573 | Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end) | |
| 1574 | Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end) | |
| 1575 | --]] | |
| 1576 | ||
| 1577 | local nextTime = 0 | |
| 1578 | local runService = game:service("RunService");
| |
| 1579 | ||
| 1580 | while Figure.Parent~=nil do | |
| 1581 | time = runService.Stepped:wait() | |
| 1582 | if time > nextTime then | |
| 1583 | move(time) | |
| 1584 | nextTime = time + 0.1 | |
| 1585 | end | |
| 1586 | end | |
| 1587 | ||
| 1588 | end)) | |
| 1589 | Script165.Name = "Death" | |
| 1590 | Script165.Parent = Model0 | |
| 1591 | table.insert(cors,sandbox(Script165,function() | |
| 1592 | player = script.Parent | |
| 1593 | ||
| 1594 | if player.Zombie.Health == 0 then | |
| 1595 | ||
| 1596 | player.Torso.Anchored = true | |
| 1597 | player.Torso.Front.Script:Remove() | |
| 1598 | wait(0.1) | |
| 1599 | player.Torso.Front.Texture = "http://www.roblox.com/asset/?id=17715389" | |
| 1600 | ||
| 1601 | ||
| 1602 | end | |
| 1603 | end)) | |
| 1604 | Script166.Name = "Health" | |
| 1605 | Script166.Parent = Model0 | |
| 1606 | table.insert(cors,sandbox(Script166,function() | |
| 1607 | script.Parent.Zombie.MaxHealth = 220 | |
| 1608 | wait() | |
| 1609 | script.Parent.Zombie.Health = 220 -- That's how much health it has in the game :P | |
| 1610 | ||
| 1611 | end)) | |
| 1612 | Sound167.Parent = Model0 | |
| 1613 | Sound167.Looped = true | |
| 1614 | Sound167.Playing = true | |
| 1615 | Sound167.SoundId = "rbxassetid://217976249" | |
| 1616 | Sound167.Volume = 0.20000000298023 | |
| 1617 | for i,v in pairs(mas:GetChildren()) do | |
| 1618 | v.Parent = workspace | |
| 1619 | pcall(function() v:MakeJoints() end) | |
| 1620 | end | |
| 1621 | mas:Destroy() | |
| 1622 | for i,v in pairs(cors) do | |
| 1623 | spawn(function() | |
| 1624 | pcall(v) | |
| 1625 | end) | |
| 1626 | end |