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 | - | Part1 = Instance.new("Part") |
20 | + | Model1 = Instance.new("Model") |
21 | - | SpecialMesh2 = Instance.new("SpecialMesh") |
21 | + | Part2 = Instance.new("Part") |
22 | - | Sound3 = Instance.new("Sound") |
22 | + | SpecialMesh3 = Instance.new("SpecialMesh") |
23 | Sound4 = Instance.new("Sound") | |
24 | - | Sound5 = Instance.new("Sound") |
24 | + | Decal5 = Instance.new("Decal") |
25 | - | Weld6 = Instance.new("Weld") |
25 | + | Decal6 = Instance.new("Decal") |
26 | - | Weld7 = Instance.new("Weld") |
26 | + | Decal7 = Instance.new("Decal") |
27 | - | PointLight8 = Instance.new("PointLight") |
27 | + | Decal8 = Instance.new("Decal") |
28 | Decal9 = Instance.new("Decal") | |
29 | Part10 = Instance.new("Part") | |
30 | - | Decal11 = Instance.new("Decal") |
30 | + | Motor6D11 = Instance.new("Motor6D") |
31 | Motor6D12 = Instance.new("Motor6D") | |
32 | Motor6D13 = Instance.new("Motor6D") | |
33 | Motor6D14 = Instance.new("Motor6D") | |
34 | Motor6D15 = Instance.new("Motor6D") | |
35 | - | Motor6D16 = Instance.new("Motor6D") |
35 | + | Part16 = Instance.new("Part") |
36 | Part17 = Instance.new("Part") | |
37 | - | Part18 = Instance.new("Part") |
37 | + | Weld18 = Instance.new("Weld") |
38 | - | Weld19 = Instance.new("Weld") |
38 | + | Part19 = Instance.new("Part") |
39 | Part20 = Instance.new("Part") | |
40 | - | Part21 = Instance.new("Part") |
40 | + | Humanoid21 = Instance.new("Humanoid") |
41 | - | Humanoid22 = Instance.new("Humanoid") |
41 | + | Model22 = Instance.new("Model") |
42 | Model23 = Instance.new("Model") | |
43 | - | Model24 = Instance.new("Model") |
43 | + | Part24 = Instance.new("Part") |
44 | - | Part25 = Instance.new("Part") |
44 | + | Motor6D25 = Instance.new("Motor6D") |
45 | - | Motor6D26 = Instance.new("Motor6D") |
45 | + | Script26 = Instance.new("Script") |
46 | - | Part27 = Instance.new("Part") |
46 | + | StringValue27 = Instance.new("StringValue") |
47 | - | SpecialMesh28 = Instance.new("SpecialMesh") |
47 | + | Animation28 = Instance.new("Animation") |
48 | - | Sound29 = Instance.new("Sound") |
48 | + | StringValue29 = Instance.new("StringValue") |
49 | - | Sound30 = Instance.new("Sound") |
49 | + | Animation30 = Instance.new("Animation") |
50 | - | ParticleEmitter31 = Instance.new("ParticleEmitter") |
50 | + | StringValue31 = Instance.new("StringValue") |
51 | - | Sound32 = Instance.new("Sound") |
51 | + | Animation32 = Instance.new("Animation") |
52 | - | Sound33 = Instance.new("Sound") |
52 | + | NumberValue33 = Instance.new("NumberValue") |
53 | - | ParticleEmitter34 = Instance.new("ParticleEmitter") |
53 | + | Animation34 = Instance.new("Animation") |
54 | - | Script35 = Instance.new("Script") |
54 | + | NumberValue35 = Instance.new("NumberValue") |
55 | - | Script36 = Instance.new("Script") |
55 | + | StringValue36 = Instance.new("StringValue") |
56 | - | StringValue37 = Instance.new("StringValue") |
56 | + | Animation37 = Instance.new("Animation") |
57 | - | Animation38 = Instance.new("Animation") |
57 | + | StringValue38 = Instance.new("StringValue") |
58 | - | StringValue39 = Instance.new("StringValue") |
58 | + | Animation39 = Instance.new("Animation") |
59 | - | Animation40 = Instance.new("Animation") |
59 | + | StringValue40 = Instance.new("StringValue") |
60 | - | StringValue41 = Instance.new("StringValue") |
60 | + | Animation41 = Instance.new("Animation") |
61 | - | Animation42 = Instance.new("Animation") |
61 | + | StringValue42 = Instance.new("StringValue") |
62 | - | NumberValue43 = Instance.new("NumberValue") |
62 | + | Animation43 = Instance.new("Animation") |
63 | - | Animation44 = Instance.new("Animation") |
63 | + | StringValue44 = Instance.new("StringValue") |
64 | - | NumberValue45 = Instance.new("NumberValue") |
64 | + | Animation45 = Instance.new("Animation") |
65 | - | StringValue46 = Instance.new("StringValue") |
65 | + | Animation46 = Instance.new("Animation") |
66 | - | Animation47 = Instance.new("Animation") |
66 | + | BodyColors47 = Instance.new("BodyColors") |
67 | - | StringValue48 = Instance.new("StringValue") |
67 | + | Script48 = Instance.new("Script") |
68 | - | Animation49 = Instance.new("Animation") |
68 | + | Part49 = Instance.new("Part") |
69 | - | StringValue50 = Instance.new("StringValue") |
69 | + | SpecialMesh50 = Instance.new("SpecialMesh") |
70 | - | Animation51 = Instance.new("Animation") |
70 | + | Sound51 = Instance.new("Sound") |
71 | - | StringValue52 = Instance.new("StringValue") |
71 | + | Sound52 = Instance.new("Sound") |
72 | - | Animation53 = Instance.new("Animation") |
72 | + | Sound53 = Instance.new("Sound") |
73 | - | StringValue54 = Instance.new("StringValue") |
73 | + | Sound54 = Instance.new("Sound") |
74 | - | Animation55 = Instance.new("Animation") |
74 | + | Script55 = Instance.new("Script") |
75 | - | Animation56 = Instance.new("Animation") |
75 | + | Camera56 = Instance.new("Camera") |
76 | - | Sound57 = Instance.new("Sound") |
76 | + | Shirt57 = Instance.new("Shirt") |
77 | Pants58 = Instance.new("Pants") | |
78 | - | BodyColors59 = Instance.new("BodyColors") |
78 | + | Script59 = Instance.new("Script") |
79 | - | Part60 = Instance.new("Part") |
79 | + | Hat60 = Instance.new("Hat") |
80 | - | SpecialMesh61 = Instance.new("SpecialMesh") |
80 | + | UnionOperation61 = Instance.new("UnionOperation") |
81 | Decal62 = Instance.new("Decal") | |
82 | - | Script63 = Instance.new("Script") |
82 | + | Decal63 = Instance.new("Decal") |
83 | - | Sound64 = Instance.new("Sound") |
83 | + | Decal64 = Instance.new("Decal") |
84 | - | Part65 = Instance.new("Part") |
84 | + | Decal65 = Instance.new("Decal") |
85 | - | SpecialMesh66 = Instance.new("SpecialMesh") |
85 | + | Decal66 = Instance.new("Decal") |
86 | Decal67 = Instance.new("Decal") | |
87 | - | Script68 = Instance.new("Script") |
87 | + | Model0.Name = "mario fighter" |
88 | - | Shirt69 = Instance.new("Shirt") |
88 | + | |
89 | - | CharacterMesh70 = Instance.new("CharacterMesh") |
89 | + | Model1.Name = "mario" |
90 | - | CharacterMesh71 = Instance.new("CharacterMesh") |
90 | + | Model1.Parent = Model0 |
91 | - | Model0.Name = "Chara." |
91 | + | Model1.PrimaryPart = Part2 |
92 | Part2.Name = "Head" | |
93 | - | Model0.PrimaryPart = Part1 |
93 | + | Part2.Parent = Model1 |
94 | - | Part1.Name = "Head" |
94 | + | Part2.CFrame = CFrame.new(158.320038, 4.50000095, -48.3200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
95 | - | Part1.Parent = Model0 |
95 | + | Part2.Orientation = Vector3.new(0, 90, 0) |
96 | - | Part1.CFrame = CFrame.new(153.429993, 4.50001097, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
96 | + | Part2.Position = Vector3.new(158.320038, 4.50000095, -48.3200302) |
97 | - | Part1.Position = Vector3.new(153.429993, 4.50001097, -46.7100296) |
97 | + | Part2.Rotation = Vector3.new(0, 90, 0) |
98 | - | Part1.Color = Color3.new(0.992157, 0.917647, 0.552941) |
98 | + | Part2.Color = Color3.new(0.992157, 0.917647, 0.552941) |
99 | - | Part1.Size = Vector3.new(2, 1, 1) |
99 | + | Part2.Size = Vector3.new(2, 1, 1) |
100 | - | Part1.BackParamA = -99999 |
100 | + | Part2.BackParamA = -99999 |
101 | - | Part1.BackParamB = 99999 |
101 | + | Part2.BackParamB = 99999 |
102 | - | Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
102 | + | Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
103 | - | Part1.BottomParamA = -99999 |
103 | + | Part2.BottomParamA = -99999 |
104 | - | Part1.BottomParamB = 99999 |
104 | + | Part2.BottomParamB = 99999 |
105 | - | Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
105 | + | Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
106 | - | Part1.BrickColor = BrickColor.new("Cool yellow") |
106 | + | Part2.BrickColor = BrickColor.new("Cool yellow") |
107 | - | Part1.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
107 | + | Part2.CanCollide = false |
108 | - | Part1.Elasticity = 0 |
108 | + | Part2.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
109 | - | Part1.Friction = 0 |
109 | + | Part2.Elasticity = 0 |
110 | - | Part1.FrontParamA = -99999 |
110 | + | Part2.Friction = 0 |
111 | - | Part1.FrontParamB = 99999 |
111 | + | Part2.FrontParamA = -99999 |
112 | - | Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
112 | + | Part2.FrontParamB = 99999 |
113 | - | Part1.LeftParamA = -99999 |
113 | + | Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
114 | - | Part1.LeftParamB = 99999 |
114 | + | Part2.LeftParamA = -99999 |
115 | - | Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
115 | + | Part2.LeftParamB = 99999 |
116 | - | Part1.Locked = true |
116 | + | Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
117 | - | Part1.Material = Enum.Material.SmoothPlastic |
117 | + | Part2.Material = Enum.Material.SmoothPlastic |
118 | - | Part1.RightParamA = -99999 |
118 | + | Part2.RightParamA = -99999 |
119 | - | Part1.RightParamB = 99999 |
119 | + | Part2.RightParamB = 99999 |
120 | - | Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
120 | + | Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
121 | - | Part1.TopParamA = -99999 |
121 | + | Part2.TopParamA = -99999 |
122 | - | Part1.TopParamB = 99999 |
122 | + | Part2.TopParamB = 99999 |
123 | - | Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
123 | + | Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
124 | - | Part1.brickColor = BrickColor.new("Cool yellow") |
124 | + | Part2.brickColor = BrickColor.new("Cool yellow") |
125 | - | Part1.FormFactor = Enum.FormFactor.Symmetric |
125 | + | Part2.FormFactor = Enum.FormFactor.Symmetric |
126 | - | Part1.formFactor = Enum.FormFactor.Symmetric |
126 | + | Part2.formFactor = Enum.FormFactor.Symmetric |
127 | - | SpecialMesh2.Parent = Part1 |
127 | + | SpecialMesh3.Parent = Part2 |
128 | - | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) |
128 | + | SpecialMesh3.Scale = Vector3.new(1.20000005, 1.25, 1.25) |
129 | - | Sound3.Name = "Jeff_Step" |
129 | + | Sound4.Name = "Jeff_Step" |
130 | - | Sound3.Parent = Part1 |
130 | + | Sound4.Parent = Part2 |
131 | - | Sound3.EmitterSize = 0 |
131 | + | Sound4.SoundId = "rbxassetid://379611235" |
132 | - | Sound3.MinDistance = 0 |
132 | + | |
133 | - | Sound3.SoundId = "rbxassetid://379611235" |
133 | + | Decal5.Parent = Part2 |
134 | - | Sound3.Volume = 1 |
134 | + | Decal5.Texture = "http://www.roblox.com/asset/?id=122497643" |
135 | - | Sound4.Name = "Jeff_Laugh" |
135 | + | Decal6.Parent = Part2 |
136 | - | Sound4.Parent = Part1 |
136 | + | Decal6.Texture = "http://www.roblox.com/asset/?id=738949518" |
137 | - | Sound4.Looped = true |
137 | + | Decal7.Parent = Part2 |
138 | - | Sound4.EmitterSize = 0 |
138 | + | Decal7.Texture = "http://www.roblox.com/asset/?id=738949518" |
139 | - | Sound4.MinDistance = 0 |
139 | + | Decal7.Face = Enum.NormalId.Back |
140 | - | Sound4.Pitch = 1.2000000476837 |
140 | + | Decal8.Parent = Part2 |
141 | - | Sound4.PlaybackSpeed = 1.2000000476837 |
141 | + | Decal8.Texture = "http://www.roblox.com/asset/?id=738949518" |
142 | - | Sound4.SoundId = "rbxassetid://385276374" |
142 | + | Decal8.Face = Enum.NormalId.Right |
143 | Decal9.Parent = Part2 | |
144 | - | Sound5.Name = "Jeff_Susto2" |
144 | + | Decal9.Texture = "http://www.roblox.com/asset/?id=738949518" |
145 | - | Sound5.Parent = Part1 |
145 | + | Decal9.Face = Enum.NormalId.Left |
146 | - | Sound5.EmitterSize = 0 |
146 | + | |
147 | - | Sound5.MinDistance = 0 |
147 | + | Part10.Parent = Model1 |
148 | - | Sound5.SoundId = "rbxassetid://320355925" |
148 | + | Part10.CFrame = CFrame.new(158.320038, 3.00000095, -48.3200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
149 | - | Sound5.Volume = 1 |
149 | + | Part10.Orientation = Vector3.new(0, 90, 0) |
150 | - | Weld6.Name = "HeadWeld" |
150 | + | Part10.Position = Vector3.new(158.320038, 3.00000095, -48.3200302) |
151 | - | Weld6.Parent = Part1 |
151 | + | Part10.Rotation = Vector3.new(0, 90, 0) |
152 | - | Weld6.C0 = CFrame.new(-0, -1.70000005, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
152 | + | |
153 | - | Weld6.C1 = CFrame.new(-0, -1.5, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
153 | + | |
154 | - | Weld6.Part0 = Part60 |
154 | + | |
155 | - | Weld6.Part1 = Part1 |
155 | + | |
156 | - | Weld6.part1 = Part1 |
156 | + | |
157 | - | Weld7.Name = "HeadWeld" |
157 | + | |
158 | - | Weld7.Parent = Part1 |
158 | + | |
159 | - | Weld7.C0 = CFrame.new(-0, -1.79999995, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
159 | + | |
160 | - | Weld7.C1 = CFrame.new(-0, -1.5, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
160 | + | |
161 | - | Weld7.Part0 = Part65 |
161 | + | Part10.CanCollide = false |
162 | - | Weld7.Part1 = Part1 |
162 | + | |
163 | - | Weld7.part1 = Part1 |
163 | + | |
164 | - | PointLight8.Parent = Part1 |
164 | + | |
165 | - | PointLight8.Color = Color3.new(1, 0, 0.027451) |
165 | + | |
166 | - | PointLight8.Range = 9 |
166 | + | |
167 | - | PointLight8.Brightness = inf |
167 | + | |
168 | - | Decal9.Parent = Part1 |
168 | + | |
169 | - | Decal9.Texture = "http://www.roblox.com/asset/?id=381193106" |
169 | + | |
170 | Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
171 | - | Part10.Parent = Model0 |
171 | + | |
172 | - | Part10.CFrame = CFrame.new(153.429993, 3.00001097, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
172 | + | |
173 | - | Part10.Position = Vector3.new(153.429993, 3.00001097, -46.7100296) |
173 | + | |
174 | Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
175 | Part10.TopParamA = -99999 | |
176 | Part10.TopParamB = 99999 | |
177 | Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
178 | Part10.brickColor = BrickColor.new("Dark green") | |
179 | Part10.FormFactor = Enum.FormFactor.Symmetric | |
180 | Part10.formFactor = Enum.FormFactor.Symmetric | |
181 | Motor6D11.Name = "Right Shoulder" | |
182 | Motor6D11.Parent = Part10 | |
183 | Motor6D11.MaxVelocity = 0.10000000149012 | |
184 | Motor6D11.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
185 | Motor6D11.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
186 | Motor6D11.Part0 = Part10 | |
187 | Motor6D11.Part1 = Part17 | |
188 | Motor6D11.part1 = Part17 | |
189 | Motor6D12.Name = "Left Shoulder" | |
190 | Motor6D12.Parent = Part10 | |
191 | Motor6D12.MaxVelocity = 0.10000000149012 | |
192 | - | Part10.Locked = true |
192 | + | Motor6D12.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
193 | Motor6D12.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
194 | Motor6D12.Part0 = Part10 | |
195 | Motor6D12.Part1 = Part16 | |
196 | Motor6D12.part1 = Part16 | |
197 | Motor6D13.Name = "Right Hip" | |
198 | Motor6D13.Parent = Part10 | |
199 | Motor6D13.MaxVelocity = 0.10000000149012 | |
200 | Motor6D13.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
201 | Motor6D13.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
202 | Motor6D13.Part0 = Part10 | |
203 | - | Decal11.Name = "roblox" |
203 | + | Motor6D13.Part1 = Part20 |
204 | - | Decal11.Parent = Part10 |
204 | + | Motor6D13.part1 = Part20 |
205 | - | Motor6D12.Name = "Right Shoulder" |
205 | + | Motor6D14.Name = "Left Hip" |
206 | Motor6D14.Parent = Part10 | |
207 | Motor6D14.MaxVelocity = 0.10000000149012 | |
208 | - | Motor6D12.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
208 | + | Motor6D14.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
209 | - | Motor6D12.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
209 | + | Motor6D14.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
210 | Motor6D14.Part0 = Part10 | |
211 | - | Motor6D12.Part1 = Part18 |
211 | + | Motor6D14.Part1 = Part19 |
212 | - | Motor6D12.part1 = Part18 |
212 | + | Motor6D14.part1 = Part19 |
213 | - | Motor6D13.Name = "Left Shoulder" |
213 | + | Motor6D15.Name = "Neck" |
214 | Motor6D15.Parent = Part10 | |
215 | Motor6D15.MaxVelocity = 0.10000000149012 | |
216 | - | Motor6D13.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
216 | + | Motor6D15.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
217 | - | Motor6D13.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
217 | + | Motor6D15.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
218 | Motor6D15.Part0 = Part10 | |
219 | - | Motor6D13.Part1 = Part17 |
219 | + | Motor6D15.Part1 = Part2 |
220 | - | Motor6D13.part1 = Part17 |
220 | + | Motor6D15.part1 = Part2 |
221 | - | Motor6D14.Name = "Right Hip" |
221 | + | Part16.Name = "Left Arm" |
222 | Part16.Parent = Model1 | |
223 | Part16.CFrame = CFrame.new(158.320038, 3.00000095, -46.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
224 | - | Motor6D14.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
224 | + | Part16.Orientation = Vector3.new(0, 90, 0) |
225 | - | Motor6D14.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
225 | + | Part16.Position = Vector3.new(158.320038, 3.00000095, -46.8200302) |
226 | Part16.Rotation = Vector3.new(0, 90, 0) | |
227 | - | Motor6D14.Part1 = Part21 |
227 | + | Part16.Color = Color3.new(0.992157, 0.917647, 0.552941) |
228 | - | Motor6D14.part1 = Part21 |
228 | + | Part16.Size = Vector3.new(1, 2, 1) |
229 | - | Motor6D15.Name = "Left Hip" |
229 | + | Part16.BackParamA = -99999 |
230 | Part16.BackParamB = 99999 | |
231 | Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
232 | - | Motor6D15.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
232 | + | Part16.BottomParamA = -99999 |
233 | - | Motor6D15.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
233 | + | Part16.BottomParamB = 99999 |
234 | Part16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
235 | - | Motor6D15.Part1 = Part20 |
235 | + | Part16.BrickColor = BrickColor.new("Cool yellow") |
236 | - | Motor6D15.part1 = Part20 |
236 | + | Part16.CanCollide = false |
237 | - | Motor6D16.Name = "Neck" |
237 | + | Part16.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
238 | - | Motor6D16.Parent = Part10 |
238 | + | Part16.Elasticity = 0 |
239 | - | Motor6D16.MaxVelocity = 0.10000000149012 |
239 | + | Part16.Friction = 2 |
240 | - | Motor6D16.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
240 | + | Part16.FrontParamA = -99999 |
241 | - | Motor6D16.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
241 | + | Part16.FrontParamB = 99999 |
242 | - | Motor6D16.Part0 = Part10 |
242 | + | Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
243 | - | Motor6D16.Part1 = Part1 |
243 | + | Part16.LeftParamA = -99999 |
244 | - | Motor6D16.part1 = Part1 |
244 | + | Part16.LeftParamB = 99999 |
245 | - | Part17.Name = "Left Arm" |
245 | + | Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
246 | - | Part17.Parent = Model0 |
246 | + | Part16.Material = Enum.Material.SmoothPlastic |
247 | - | Part17.CFrame = CFrame.new(151.929993, 3.00001097, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
247 | + | Part16.RightParamA = -99999 |
248 | - | Part17.Position = Vector3.new(151.929993, 3.00001097, -46.7100296) |
248 | + | Part16.RightParamB = 99999 |
249 | Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
250 | Part16.TopParamA = -99999 | |
251 | Part16.TopParamB = 99999 | |
252 | Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
253 | Part16.brickColor = BrickColor.new("Cool yellow") | |
254 | Part16.FormFactor = Enum.FormFactor.Symmetric | |
255 | Part16.formFactor = Enum.FormFactor.Symmetric | |
256 | Part17.Name = "Right Arm" | |
257 | Part17.Parent = Model1 | |
258 | Part17.CFrame = CFrame.new(158.320038, 3.00000095, -49.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
259 | Part17.Orientation = Vector3.new(0, 90, 0) | |
260 | Part17.Position = Vector3.new(158.320038, 3.00000095, -49.8200302) | |
261 | Part17.Rotation = Vector3.new(0, 90, 0) | |
262 | Part17.Color = Color3.new(0.992157, 0.917647, 0.552941) | |
263 | Part17.Size = Vector3.new(1, 2, 1) | |
264 | Part17.BackParamA = -99999 | |
265 | Part17.BackParamB = 99999 | |
266 | Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
267 | - | Part17.Locked = true |
267 | + | |
268 | Part17.BottomParamB = 99999 | |
269 | Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
270 | Part17.BrickColor = BrickColor.new("Cool yellow") | |
271 | Part17.CanCollide = false | |
272 | Part17.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 | |
273 | Part17.Elasticity = 0 | |
274 | Part17.Friction = 2 | |
275 | Part17.FrontParamA = -99999 | |
276 | Part17.FrontParamB = 99999 | |
277 | Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
278 | - | Part18.Name = "Right Arm" |
278 | + | |
279 | - | Part18.Parent = Model0 |
279 | + | |
280 | - | Part18.CFrame = CFrame.new(154.929993, 3.00001097, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
280 | + | |
281 | - | Part18.Position = Vector3.new(154.929993, 3.00001097, -46.7100296) |
281 | + | |
282 | - | Part18.Color = Color3.new(0.992157, 0.917647, 0.552941) |
282 | + | |
283 | - | Part18.Size = Vector3.new(1, 2, 1) |
283 | + | |
284 | - | Part18.BackParamA = -99999 |
284 | + | |
285 | - | Part18.BackParamB = 99999 |
285 | + | |
286 | - | Part18.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
286 | + | |
287 | - | Part18.BottomParamA = -99999 |
287 | + | |
288 | - | Part18.BottomParamB = 99999 |
288 | + | |
289 | - | Part18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
289 | + | |
290 | - | Part18.BrickColor = BrickColor.new("Cool yellow") |
290 | + | |
291 | - | Part18.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
291 | + | Weld18.Name = "RightGripWeld" |
292 | - | Part18.Elasticity = 0 |
292 | + | Weld18.Parent = Part17 |
293 | - | Part18.Friction = 2 |
293 | + | Weld18.C0 = CFrame.new(-1.29999995, 1.16840947, 0.750634551, 1, 0, 0, 0, 0.968409479, 0.249365434, 0, -0.249365434, 0.968409479) |
294 | - | Part18.FrontParamA = -99999 |
294 | + | Weld18.C1 = CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
295 | - | Part18.FrontParamB = 99999 |
295 | + | Weld18.Part0 = Part49 |
296 | - | Part18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
296 | + | Weld18.Part1 = Part17 |
297 | - | Part18.LeftParamA = -99999 |
297 | + | Weld18.part1 = Part17 |
298 | - | Part18.LeftParamB = 99999 |
298 | + | Part19.Name = "Left Leg" |
299 | - | Part18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
299 | + | Part19.Parent = Model1 |
300 | - | Part18.Locked = true |
300 | + | Part19.CFrame = CFrame.new(158.320038, 1.00000095, -47.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
301 | - | Part18.Material = Enum.Material.SmoothPlastic |
301 | + | Part19.Orientation = Vector3.new(0, 90, 0) |
302 | - | Part18.RightParamA = -99999 |
302 | + | Part19.Position = Vector3.new(158.320038, 1.00000095, -47.8200302) |
303 | - | Part18.RightParamB = 99999 |
303 | + | Part19.Rotation = Vector3.new(0, 90, 0) |
304 | - | Part18.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
304 | + | Part19.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
305 | - | Part18.TopParamA = -99999 |
305 | + | Part19.Size = Vector3.new(1, 2, 1) |
306 | - | Part18.TopParamB = 99999 |
306 | + | Part19.BackParamA = -99999 |
307 | - | Part18.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
307 | + | Part19.BackParamB = 99999 |
308 | - | Part18.brickColor = BrickColor.new("Cool yellow") |
308 | + | Part19.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
309 | - | Part18.FormFactor = Enum.FormFactor.Symmetric |
309 | + | Part19.BottomParamA = -99999 |
310 | - | Part18.formFactor = Enum.FormFactor.Symmetric |
310 | + | Part19.BottomParamB = 99999 |
311 | - | Weld19.Name = "RightGripWeld" |
311 | + | Part19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
312 | - | Weld19.Parent = Part18 |
312 | + | Part19.BrickColor = BrickColor.new("Bright blue") |
313 | - | Weld19.C0 = CFrame.new(-1.29999995, 1.16840947, 0.750634551, 1, 3.41111408e-05, -2.64397204e-05, -2.64397204e-05, 0.96840477, 0.249382511, 3.41111408e-05, -0.249382511, 0.96840477) |
313 | + | Part19.CanCollide = false |
314 | - | Weld19.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
314 | + | Part19.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
315 | - | Weld19.Part0 = Part27 |
315 | + | Part19.Elasticity = 0 |
316 | - | Weld19.Part1 = Part18 |
316 | + | Part19.Friction = 2 |
317 | - | Weld19.part1 = Part18 |
317 | + | Part19.FrontParamA = -99999 |
318 | - | Part20.Name = "Left Leg" |
318 | + | Part19.FrontParamB = 99999 |
319 | - | Part20.Parent = Model0 |
319 | + | Part19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
320 | - | Part20.CFrame = CFrame.new(152.929993, 1.00001097, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
320 | + | Part19.LeftParamA = -99999 |
321 | - | Part20.Position = Vector3.new(152.929993, 1.00001097, -46.7100296) |
321 | + | Part19.LeftParamB = 99999 |
322 | Part19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
323 | Part19.Material = Enum.Material.SmoothPlastic | |
324 | Part19.RightParamA = -99999 | |
325 | Part19.RightParamB = 99999 | |
326 | Part19.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
327 | Part19.TopParamA = -99999 | |
328 | Part19.TopParamB = 99999 | |
329 | Part19.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
330 | Part19.brickColor = BrickColor.new("Bright blue") | |
331 | Part19.FormFactor = Enum.FormFactor.Symmetric | |
332 | Part19.formFactor = Enum.FormFactor.Symmetric | |
333 | Part20.Name = "Right Leg" | |
334 | Part20.Parent = Model1 | |
335 | Part20.CFrame = CFrame.new(158.320038, 1.00000095, -48.8200302, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
336 | Part20.Orientation = Vector3.new(0, 90, 0) | |
337 | Part20.Position = Vector3.new(158.320038, 1.00000095, -48.8200302) | |
338 | Part20.Rotation = Vector3.new(0, 90, 0) | |
339 | Part20.Color = Color3.new(0.0509804, 0.411765, 0.67451) | |
340 | - | Part20.Locked = true |
340 | + | |
341 | Part20.BackParamA = -99999 | |
342 | Part20.BackParamB = 99999 | |
343 | Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
344 | Part20.BottomParamA = -99999 | |
345 | Part20.BottomParamB = 99999 | |
346 | Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
347 | Part20.BrickColor = BrickColor.new("Bright blue") | |
348 | Part20.CanCollide = false | |
349 | Part20.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 | |
350 | Part20.Elasticity = 0 | |
351 | - | Part21.Name = "Right Leg" |
351 | + | |
352 | - | Part21.Parent = Model0 |
352 | + | |
353 | - | Part21.CFrame = CFrame.new(153.929993, 1.00001097, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
353 | + | |
354 | - | Part21.Position = Vector3.new(153.929993, 1.00001097, -46.7100296) |
354 | + | |
355 | - | Part21.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
355 | + | |
356 | - | Part21.Size = Vector3.new(1, 2, 1) |
356 | + | |
357 | - | Part21.BackParamA = -99999 |
357 | + | |
358 | - | Part21.BackParamB = 99999 |
358 | + | |
359 | - | Part21.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
359 | + | |
360 | - | Part21.BottomParamA = -99999 |
360 | + | |
361 | - | Part21.BottomParamB = 99999 |
361 | + | |
362 | - | Part21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
362 | + | |
363 | - | Part21.BrickColor = BrickColor.new("Bright blue") |
363 | + | |
364 | - | Part21.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
364 | + | |
365 | - | Part21.Elasticity = 0 |
365 | + | |
366 | - | Part21.Friction = 2 |
366 | + | |
367 | - | Part21.FrontParamA = -99999 |
367 | + | |
368 | - | Part21.FrontParamB = 99999 |
368 | + | Humanoid21.Name = "ColdBloodedKiller" |
369 | - | Part21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
369 | + | Humanoid21.Parent = Model1 |
370 | - | Part21.LeftParamA = -99999 |
370 | + | Humanoid21.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None |
371 | - | Part21.LeftParamB = 99999 |
371 | + | Humanoid21.Health = 500 |
372 | - | Part21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
372 | + | Humanoid21.HealthDisplayDistance = 0 |
373 | - | Part21.Locked = true |
373 | + | Humanoid21.JumpPower = 60 |
374 | - | Part21.Material = Enum.Material.SmoothPlastic |
374 | + | Humanoid21.LeftLeg = Part19 |
375 | - | Part21.RightParamA = -99999 |
375 | + | Humanoid21.MaxHealth = 500 |
376 | - | Part21.RightParamB = 99999 |
376 | + | Humanoid21.MaxSlopeAngle = 89.900001525879 |
377 | - | Part21.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
377 | + | Humanoid21.NameDisplayDistance = 0 |
378 | - | Part21.TopParamA = -99999 |
378 | + | Humanoid21.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion |
379 | - | Part21.TopParamB = 99999 |
379 | + | Humanoid21.RightLeg = Part20 |
380 | - | Part21.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
380 | + | Humanoid21.Torso = Part24 |
381 | - | Part21.brickColor = BrickColor.new("Bright blue") |
381 | + | Humanoid21.maxHealth = 500 |
382 | - | Part21.FormFactor = Enum.FormFactor.Symmetric |
382 | + | Model22.Name = "Status" |
383 | - | Part21.formFactor = Enum.FormFactor.Symmetric |
383 | + | Model22.Parent = Humanoid21 |
384 | - | Humanoid22.Name = "ColdBloodedKiller" |
384 | + | Model23.Name = "AvalibleSpawns" |
385 | - | Humanoid22.Parent = Model0 |
385 | + | Model23.Parent = Model22 |
386 | - | Humanoid22.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None |
386 | + | Part24.Name = "HumanoidRootPart" |
387 | - | Humanoid22.Health = 500 |
387 | + | Part24.Parent = Model1 |
388 | - | Humanoid22.HealthDisplayDistance = 0 |
388 | + | Part24.CFrame = CFrame.new(158.320038, 3.00000095, -48.3200302, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
389 | - | Humanoid22.JumpPower = 60 |
389 | + | Part24.Orientation = Vector3.new(0, 90, 0) |
390 | - | Humanoid22.LeftLeg = Part20 |
390 | + | Part24.Position = Vector3.new(158.320038, 3.00000095, -48.3200302) |
391 | - | Humanoid22.MaxHealth = 500 |
391 | + | Part24.Rotation = Vector3.new(0, 90, 0) |
392 | - | Humanoid22.MaxSlopeAngle = 89.900001525879 |
392 | + | Part24.Color = Color3.new(1, 0.8, 0.6) |
393 | - | Humanoid22.NameDisplayDistance = 0 |
393 | + | Part24.Transparency = 1 |
394 | - | Humanoid22.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion |
394 | + | Part24.Size = Vector3.new(2, 2, 1) |
395 | - | Humanoid22.RightLeg = Part21 |
395 | + | Part24.BackParamA = -99999 |
396 | - | Humanoid22.Torso = Part25 |
396 | + | Part24.BackParamB = 99999 |
397 | - | Humanoid22.maxHealth = 500 |
397 | + | Part24.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
398 | - | Model23.Name = "Status" |
398 | + | Part24.BottomParamA = -99999 |
399 | - | Model23.Parent = Humanoid22 |
399 | + | Part24.BottomParamB = 99999 |
400 | - | Model24.Name = "AvalibleSpawns" |
400 | + | Part24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
401 | - | Model24.Parent = Model23 |
401 | + | Part24.BrickColor = BrickColor.new("Pastel brown") |
402 | - | Part25.Name = "HumanoidRootPart" |
402 | + | Part24.CanCollide = false |
403 | - | Part25.Parent = Model0 |
403 | + | Part24.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
404 | - | Part25.CFrame = CFrame.new(153.429993, 3.00001097, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
404 | + | Part24.Elasticity = 0 |
405 | - | Part25.Position = Vector3.new(153.429993, 3.00001097, -46.7100296) |
405 | + | Part24.Friction = 0 |
406 | - | Part25.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
406 | + | Part24.FrontParamA = -99999 |
407 | - | Part25.Transparency = 1 |
407 | + | Part24.FrontParamB = 99999 |
408 | - | Part25.Size = Vector3.new(2, 2, 1) |
408 | + | Part24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
409 | - | Part25.BackParamA = -99999 |
409 | + | Part24.LeftParamA = -99999 |
410 | - | Part25.BackParamB = 99999 |
410 | + | Part24.LeftParamB = 99999 |
411 | - | Part25.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
411 | + | Part24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
412 | - | Part25.BottomParamA = -99999 |
412 | + | Part24.Material = Enum.Material.SmoothPlastic |
413 | - | Part25.BottomParamB = 99999 |
413 | + | Part24.RightParamA = -99999 |
414 | - | Part25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
414 | + | Part24.RightParamB = 99999 |
415 | - | Part25.BrickColor = BrickColor.new("Bright blue") |
415 | + | Part24.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
416 | - | Part25.CanCollide = false |
416 | + | Part24.TopParamA = -99999 |
417 | - | Part25.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
417 | + | Part24.TopParamB = 99999 |
418 | - | Part25.Elasticity = 0 |
418 | + | Part24.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
419 | - | Part25.Friction = 0 |
419 | + | Part24.brickColor = BrickColor.new("Pastel brown") |
420 | - | Part25.FrontParamA = -99999 |
420 | + | Part24.FormFactor = Enum.FormFactor.Symmetric |
421 | - | Part25.FrontParamB = 99999 |
421 | + | Part24.formFactor = Enum.FormFactor.Symmetric |
422 | - | Part25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
422 | + | Motor6D25.Name = "RootJoint" |
423 | - | Part25.LeftParamA = -99999 |
423 | + | Motor6D25.Parent = Part24 |
424 | - | Part25.LeftParamB = 99999 |
424 | + | Motor6D25.MaxVelocity = 0.10000000149012 |
425 | - | Part25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
425 | + | Motor6D25.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
426 | - | Part25.Locked = true |
426 | + | Motor6D25.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
427 | - | Part25.Material = Enum.Material.SmoothPlastic |
427 | + | Motor6D25.Part0 = Part24 |
428 | - | Part25.RightParamA = -99999 |
428 | + | Motor6D25.Part1 = Part10 |
429 | - | Part25.RightParamB = 99999 |
429 | + | Motor6D25.part1 = Part10 |
430 | - | Part25.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
430 | + | Script26.Name = "AnimateSauce" |
431 | - | Part25.TopParamA = -99999 |
431 | + | Script26.Parent = Model1 |
432 | - | Part25.TopParamB = 99999 |
432 | + | table.insert(cors,sandbox(Script26,function() |
433 | - | Part25.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
433 | + | |
434 | - | Part25.brickColor = BrickColor.new("Bright blue") |
434 | + | |
435 | - | Part25.FormFactor = Enum.FormFactor.Symmetric |
435 | + | |
436 | - | Part25.formFactor = Enum.FormFactor.Symmetric |
436 | + | |
437 | - | Motor6D26.Name = "RootJoint" |
437 | + | |
438 | - | Motor6D26.Parent = Part25 |
438 | + | |
439 | - | Motor6D26.MaxVelocity = 0.10000000149012 |
439 | + | |
440 | - | Motor6D26.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
440 | + | |
441 | - | Motor6D26.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
441 | + | |
442 | - | Motor6D26.Part0 = Part25 |
442 | + | |
443 | - | Motor6D26.Part1 = Part10 |
443 | + | |
444 | - | Motor6D26.part1 = Part10 |
444 | + | |
445 | - | Part27.Name = "Knife" |
445 | + | |
446 | - | Part27.Parent = Model0 |
446 | + | |
447 | - | Part27.CFrame = CFrame.new(154.729996, 2.05575705, -47.728363, 1, -2.64397204e-05, 3.41111408e-05, 3.41111408e-05, 0.96840477, -0.249382511, -2.64397204e-05, 0.249382511, 0.96840477) |
447 | + | |
448 | - | Part27.Orientation = Vector3.new(14.4399996, 0, 0) |
448 | + | |
449 | - | Part27.Position = Vector3.new(154.729996, 2.05575705, -47.728363) |
449 | + | |
450 | - | Part27.Rotation = Vector3.new(14.4399996, 0, 0) |
450 | + | |
451 | - | Part27.Color = Color3.new(0.803922, 0.803922, 0.803922) |
451 | + | |
452 | - | Part27.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
452 | + | |
453 | - | Part27.BackParamA = -99999 |
453 | + | |
454 | - | Part27.BackParamB = 99999 |
454 | + | |
455 | - | Part27.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
455 | + | |
456 | - | Part27.BottomParamA = -99999 |
456 | + | |
457 | - | Part27.BottomParamB = 99999 |
457 | + | |
458 | - | Part27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
458 | + | |
459 | - | Part27.BrickColor = BrickColor.new("Mid gray") |
459 | + | |
460 | - | Part27.CanCollide = false |
460 | + | |
461 | - | Part27.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
461 | + | |
462 | - | Part27.Elasticity = 0 |
462 | + | |
463 | - | Part27.Friction = 2 |
463 | + | |
464 | - | Part27.FrontParamA = -99999 |
464 | + | |
465 | - | Part27.FrontParamB = 99999 |
465 | + | |
466 | - | Part27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
466 | + | |
467 | - | Part27.LeftParamA = -99999 |
467 | + | |
468 | - | Part27.LeftParamB = 99999 |
468 | + | |
469 | - | Part27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
469 | + | |
470 | - | Part27.Locked = true |
470 | + | |
471 | - | Part27.Material = Enum.Material.Metal |
471 | + | |
472 | - | Part27.RightParamA = -99999 |
472 | + | |
473 | - | Part27.RightParamB = 99999 |
473 | + | |
474 | - | Part27.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
474 | + | |
475 | - | Part27.TopParamA = -99999 |
475 | + | |
476 | - | Part27.TopParamB = 99999 |
476 | + | |
477 | - | Part27.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
477 | + | |
478 | - | Part27.brickColor = BrickColor.new("Mid gray") |
478 | + | |
479 | - | Part27.FormFactor = Enum.FormFactor.Custom |
479 | + | |
480 | - | Part27.formFactor = Enum.FormFactor.Custom |
480 | + | |
481 | - | SpecialMesh28.Name = "KnifeMesh" |
481 | + | |
482 | - | SpecialMesh28.Parent = Part27 |
482 | + | |
483 | - | SpecialMesh28.MeshId = "rbxassetid://165710339" |
483 | + | |
484 | - | SpecialMesh28.Scale = Vector3.new(0.5, 0.5, 0.699999988) |
484 | + | |
485 | - | SpecialMesh28.TextureId = "http://www.roblox.com/asset/?id=338106795" |
485 | + | |
486 | - | SpecialMesh28.MeshType = Enum.MeshType.FileMesh |
486 | + | |
487 | - | Sound29.Name = "Hit1" |
487 | + | |
488 | - | Sound29.Parent = Part27 |
488 | + | |
489 | - | Sound29.EmitterSize = 0 |
489 | + | |
490 | - | Sound29.MinDistance = 0 |
490 | + | |
491 | - | Sound29.SoundId = "http://www.roblox.com/Asset?ID=186311262" |
491 | + | |
492 | - | Sound29.Volume = 1 |
492 | + | |
493 | - | Sound30.Name = "Swing" |
493 | + | |
494 | - | Sound30.Parent = Part27 |
494 | + | |
495 | - | Sound30.EmitterSize = 0 |
495 | + | |
496 | - | Sound30.MinDistance = 0 |
496 | + | |
497 | - | Sound30.Pitch = 1.1000000238419 |
497 | + | |
498 | - | Sound30.PlaybackSpeed = 1.1000000238419 |
498 | + | |
499 | - | Sound30.SoundId = "http://www.roblox.com/Asset?ID=357417055" |
499 | + | |
500 | - | Sound30.Volume = 1 |
500 | + | |
501 | - | ParticleEmitter31.Name = "Hit Particles" |
501 | + | |
502 | - | ParticleEmitter31.Parent = Part27 |
502 | + | |
503 | - | ParticleEmitter31.Speed = NumberRange.new(9, 9) |
503 | + | |
504 | - | ParticleEmitter31.Color = ColorSequence.new(Color3.new(1, 0, 0.0352941),Color3.new(1, 0, 0.0352941)) |
504 | + | |
505 | - | ParticleEmitter31.LightEmission = 1 |
505 | + | |
506 | - | ParticleEmitter31.Texture = "http://www.roblox.com/asset/?id=141116476" |
506 | + | |
507 | - | ParticleEmitter31.EmissionDirection = Enum.NormalId.Front |
507 | + | |
508 | - | ParticleEmitter31.Lifetime = NumberRange.new(0.20000000298023, 0.20000000298023) |
508 | + | |
509 | - | ParticleEmitter31.Rate = inf |
509 | + | |
510 | - | Sound32.Name = "Hit3" |
510 | + | |
511 | - | Sound32.Parent = Part27 |
511 | + | |
512 | - | Sound32.EmitterSize = 0 |
512 | + | |
513 | - | Sound32.MinDistance = 0 |
513 | + | |
514 | - | Sound32.SoundId = "http://www.roblox.com/Asset?ID=186311262" |
514 | + | |
515 | - | Sound32.Volume = 1 |
515 | + | |
516 | - | Sound33.Name = "Hit2" |
516 | + | |
517 | - | Sound33.Parent = Part27 |
517 | + | |
518 | - | Sound33.EmitterSize = 0 |
518 | + | |
519 | - | Sound33.MinDistance = 0 |
519 | + | |
520 | - | Sound33.SoundId = "http://www.roblox.com/Asset?ID=186311262" |
520 | + | |
521 | - | Sound33.Volume = 1 |
521 | + | |
522 | - | ParticleEmitter34.Name = "Light Particles" |
522 | + | |
523 | - | ParticleEmitter34.Parent = Part27 |
523 | + | |
524 | - | ParticleEmitter34.LightEmission = 1 |
524 | + | |
525 | - | ParticleEmitter34.Texture = "http://www.roblox.com/asset/?id=162595515" |
525 | + | |
526 | - | ParticleEmitter34.Size = NumberSequence.new(0.20000000298023,0.20000000298023) |
526 | + | |
527 | - | ParticleEmitter34.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093) |
527 | + | |
528 | - | ParticleEmitter34.Rate = 9999 |
528 | + | |
529 | - | ParticleEmitter34.RotSpeed = NumberRange.new(99999, 99999) |
529 | + | |
530 | - | ParticleEmitter34.SpreadAngle = Vector2.new(99, 99) |
530 | + | |
531 | - | ParticleEmitter34.VelocitySpread = 99 |
531 | + | |
532 | - | Script35.Name = "Health" |
532 | + | |
533 | - | Script35.Parent = Model0 |
533 | + | |
534 | - | table.insert(cors,sandbox(Script35,function() |
534 | + | |
535 | - | --Responsible for regening a player's humanoid's health |
535 | + | |
536 | animTable[name].connections = {} | |
537 | ||
538 | -- check for config values | |
539 | - | local Head = Figure:WaitForChild("Head") |
539 | + | |
540 | if (config ~= nil) then | |
541 | --print("Loading anims " .. name) | |
542 | table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end)) | |
543 | table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end)) | |
544 | local idx = 1 | |
545 | for _, childPart in pairs(config:GetChildren()) do | |
546 | - | local regening = false |
546 | + | |
547 | table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end)) | |
548 | animTable[name][idx] = {} | |
549 | - | function regenHealth() |
549 | + | |
550 | - | if regening then return end |
550 | + | |
551 | - | regening = true |
551 | + | |
552 | - | |
552 | + | |
553 | - | while Humanoid.Health < Humanoid.MaxHealth do |
553 | + | |
554 | - | local s = wait(1) |
554 | + | |
555 | - | local health = Humanoid.Health |
555 | + | |
556 | - | if health~=0 and health < Humanoid.MaxHealth then |
556 | + | |
557 | - | local newHealthDelta = 0.01 * s * Humanoid.MaxHealth |
557 | + | |
558 | - | health = health + newHealthDelta |
558 | + | |
559 | - | Humanoid.Health = math.min(health,Humanoid.MaxHealth) |
559 | + | |
560 | end | |
561 | end | |
562 | - | |
562 | + | |
563 | - | if Humanoid.Health > Humanoid.MaxHealth then |
563 | + | |
564 | - | Humanoid.Health = Humanoid.MaxHealth |
564 | + | |
565 | if (animTable[name].count <= 0) then | |
566 | - | |
566 | + | |
567 | - | regening = false |
567 | + | |
568 | animTable[name][idx].anim = Instance.new("Animation") | |
569 | animTable[name][idx].anim.Name = name | |
570 | - | Humanoid.HealthChanged:connect(regenHealth) |
570 | + | |
571 | - | |
571 | + | |
572 | animTable[name].count = animTable[name].count + 1 | |
573 | - | Script36.Name = "AnimateSauce" |
573 | + | |
574 | - | Script36.Parent = Model0 |
574 | + | |
575 | - | table.insert(cors,sandbox(Script36,function() |
575 | + | |
576 | end | |
577 | end | |
578 | ||
579 | -- Setup animation objects | |
580 | function scriptChildModified(child) | |
581 | local fileList = animNames[child.Name] | |
582 | if (fileList ~= nil) then | |
583 | configureAnimationSet(child.Name, fileList) | |
584 | end | |
585 | end | |
586 | ||
587 | script.ChildAdded:connect(scriptChildModified) | |
588 | script.ChildRemoved:connect(scriptChildModified) | |
589 | ||
590 | ||
591 | for name, fileList in pairs(animNames) do | |
592 | configureAnimationSet(name, fileList) | |
593 | end | |
594 | ||
595 | -- ANIMATION | |
596 | ||
597 | -- declarations | |
598 | local toolAnim = "None" | |
599 | local toolAnimTime = 0 | |
600 | ||
601 | local jumpAnimTime = 0 | |
602 | local jumpAnimDuration = 0.3 | |
603 | ||
604 | local toolTransitionTime = 0.1 | |
605 | local fallTransitionTime = 0.3 | |
606 | local jumpMaxLimbVelocity = 0.75 | |
607 | ||
608 | -- functions | |
609 | ||
610 | function stopAllAnimations() | |
611 | local oldAnim = currentAnim | |
612 | ||
613 | -- return to idle if finishing an emote | |
614 | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then | |
615 | oldAnim = "idle" | |
616 | end | |
617 | ||
618 | currentAnim = "" | |
619 | currentAnimInstance = nil | |
620 | if (currentAnimKeyframeHandler ~= nil) then | |
621 | currentAnimKeyframeHandler:disconnect() | |
622 | end | |
623 | ||
624 | if (currentAnimTrack ~= nil) then | |
625 | currentAnimTrack:Stop() | |
626 | currentAnimTrack:Destroy() | |
627 | currentAnimTrack = nil | |
628 | end | |
629 | return oldAnim | |
630 | end | |
631 | ||
632 | function setAnimationSpeed(speed) | |
633 | if speed ~= currentAnimSpeed then | |
634 | currentAnimSpeed = speed | |
635 | currentAnimTrack:AdjustSpeed(currentAnimSpeed) | |
636 | end | |
637 | end | |
638 | ||
639 | function keyFrameReachedFunc(frameName) | |
640 | if (frameName == "End") then | |
641 | ||
642 | local repeatAnim = currentAnim | |
643 | -- return to idle if finishing an emote | |
644 | if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then | |
645 | repeatAnim = "idle" | |
646 | end | |
647 | ||
648 | local animSpeed = currentAnimSpeed | |
649 | playAnimation(repeatAnim, 0.0, Humanoid) | |
650 | setAnimationSpeed(animSpeed) | |
651 | end | |
652 | end | |
653 | ||
654 | -- Preload animations | |
655 | function playAnimation(animName, transitionTime, humanoid) | |
656 | ||
657 | local roll = math.random(1, animTable[animName].totalWeight) | |
658 | local origRoll = roll | |
659 | local idx = 1 | |
660 | while (roll > animTable[animName][idx].weight) do | |
661 | roll = roll - animTable[animName][idx].weight | |
662 | idx = idx + 1 | |
663 | end | |
664 | --print(animName .. " " .. idx .. " [" .. origRoll .. "]") | |
665 | local anim = animTable[animName][idx].anim | |
666 | -- switch animation | |
667 | if (anim ~= currentAnimInstance) then | |
668 | if (currentAnimTrack ~= nil) then | |
669 | currentAnimTrack:Stop(transitionTime) | |
670 | currentAnimTrack:Destroy() | |
671 | end | |
672 | currentAnimSpeed = 1.0 | |
673 | -- load it to the humanoid; get AnimationTrack | |
674 | currentAnimTrack = humanoid:LoadAnimation(anim) | |
675 | -- play the animation | |
676 | currentAnimTrack:Play(transitionTime) | |
677 | currentAnim = animName | |
678 | currentAnimInstance = anim | |
679 | -- set up keyframe name triggers | |
680 | if (currentAnimKeyframeHandler ~= nil) then | |
681 | currentAnimKeyframeHandler:disconnect() | |
682 | end | |
683 | currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc) | |
684 | end | |
685 | end | |
686 | ------------------------------------------------------------------------------------------- | |
687 | ------------------------------------------------------------------------------------------- | |
688 | local toolAnimName = "" | |
689 | local toolAnimTrack = nil | |
690 | local toolAnimInstance = nil | |
691 | local currentToolAnimKeyframeHandler = nil | |
692 | function toolKeyFrameReachedFunc(frameName) | |
693 | if (frameName == "End") then | |
694 | --print("Keyframe : ".. frameName) | |
695 | playToolAnimation(toolAnimName, 0.0, Humanoid) | |
696 | end | |
697 | end | |
698 | function playToolAnimation(animName, transitionTime, humanoid) | |
699 | local roll = math.random(1, animTable[animName].totalWeight) | |
700 | local origRoll = roll | |
701 | local idx = 1 | |
702 | while (roll > animTable[animName][idx].weight) do | |
703 | roll = roll - animTable[animName][idx].weight | |
704 | idx = idx + 1 | |
705 | end | |
706 | --print(animName .. " * " .. idx .. " [" .. origRoll .. "]") | |
707 | local anim = animTable[animName][idx].anim | |
708 | if (toolAnimInstance ~= anim) then | |
709 | if (toolAnimTrack ~= nil) then | |
710 | toolAnimTrack:Stop() | |
711 | toolAnimTrack:Destroy() | |
712 | transitionTime = 0 | |
713 | end | |
714 | -- load it to the humanoid; get AnimationTrack | |
715 | toolAnimTrack = humanoid:LoadAnimation(anim) | |
716 | -- play the animation | |
717 | toolAnimTrack:Play(transitionTime) | |
718 | toolAnimName = animName | |
719 | toolAnimInstance = anim | |
720 | currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc) | |
721 | end | |
722 | end | |
723 | function stopToolAnimations() | |
724 | local oldAnim = toolAnimName | |
725 | if (currentToolAnimKeyframeHandler ~= nil) then | |
726 | currentToolAnimKeyframeHandler:disconnect() | |
727 | end | |
728 | toolAnimName = "" | |
729 | toolAnimInstance = nil | |
730 | if (toolAnimTrack ~= nil) then | |
731 | toolAnimTrack:Stop() | |
732 | toolAnimTrack:Destroy() | |
733 | toolAnimTrack = nil | |
734 | end | |
735 | return oldAnim | |
736 | end | |
737 | ------------------------------------------------------------------------------------------- | |
738 | ------------------------------------------------------------------------------------------- | |
739 | function onRunning(speed) | |
740 | if speed>0.01 then | |
741 | if Figure and Humanoid and Humanoid.WalkSpeed<17 then | |
742 | playAnimation("walk", 0.1, Humanoid); | |
743 | elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then | |
744 | playAnimation("run", 0.1, Humanoid); | |
745 | end; | |
746 | if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then | |
747 | setAnimationSpeed(speed / 14.5) | |
748 | end | |
749 | pose = "Running" | |
750 | else | |
751 | playAnimation("idle", 0.1, Humanoid) | |
752 | pose = "Standing" | |
753 | end | |
754 | end | |
755 | function onDied() | |
756 | pose = "Dead" | |
757 | end | |
758 | function onJumping() | |
759 | playAnimation("jump", 0.1, Humanoid) | |
760 | jumpAnimTime = jumpAnimDuration | |
761 | pose = "Jumping" | |
762 | end | |
763 | function onClimbing(speed) | |
764 | playAnimation("climb", 0.1, Humanoid) | |
765 | setAnimationSpeed(speed / 12.0) | |
766 | pose = "Climbing" | |
767 | end | |
768 | function onGettingUp() | |
769 | pose = "GettingUp" | |
770 | end | |
771 | function onFreeFall() | |
772 | if (jumpAnimTime <= 0) then | |
773 | playAnimation("fall", fallTransitionTime, Humanoid) | |
774 | end | |
775 | pose = "FreeFall" | |
776 | end | |
777 | function onFallingDown() | |
778 | pose = "FallingDown" | |
779 | end | |
780 | function onSeated() | |
781 | pose = "Seated" | |
782 | end | |
783 | function onPlatformStanding() | |
784 | pose = "PlatformStanding" | |
785 | end | |
786 | function onSwimming(speed) | |
787 | if speed>0 then | |
788 | pose = "Running" | |
789 | else | |
790 | pose = "Standing" | |
791 | end | |
792 | end | |
793 | ||
794 | function getTool() | |
795 | for _, kid in ipairs(Figure:GetChildren()) do | |
796 | if kid.className == "Tool" then return kid end | |
797 | end | |
798 | return nil | |
799 | end | |
800 | ||
801 | function getToolAnim(tool) | |
802 | for _, c in ipairs(tool:GetChildren()) do | |
803 | if c.Name == "toolanim" and c.className == "StringValue" then | |
804 | return c | |
805 | end | |
806 | end | |
807 | return nil | |
808 | end | |
809 | ||
810 | function animateTool() | |
811 | ||
812 | if (toolAnim == "None") then | |
813 | playToolAnimation("toolnone", toolTransitionTime, Humanoid) | |
814 | return | |
815 | end | |
816 | ||
817 | if (toolAnim == "Slash") then | |
818 | playToolAnimation("toolslash", 0, Humanoid) | |
819 | return | |
820 | end | |
821 | ||
822 | if (toolAnim == "Lunge") then | |
823 | playToolAnimation("toollunge", 0, Humanoid) | |
824 | return | |
825 | end | |
826 | end | |
827 | ||
828 | function moveSit() | |
829 | RightShoulder.MaxVelocity = 0.15 | |
830 | LeftShoulder.MaxVelocity = 0.15 | |
831 | RightShoulder:SetDesiredAngle(3.14 /2) | |
832 | LeftShoulder:SetDesiredAngle(-3.14 /2) | |
833 | RightHip:SetDesiredAngle(3.14 /2) | |
834 | LeftHip:SetDesiredAngle(-3.14 /2) | |
835 | end | |
836 | ||
837 | local lastTick = 0 | |
838 | ||
839 | function move(time) | |
840 | local amplitude = 1 | |
841 | local frequency = 1 | |
842 | local deltaTime = time - lastTick | |
843 | lastTick = time | |
844 | ||
845 | local climbFudge = 0 | |
846 | local setAngles = false | |
847 | ||
848 | if (jumpAnimTime > 0) then | |
849 | jumpAnimTime = jumpAnimTime - deltaTime | |
850 | end | |
851 | ||
852 | if (pose == "FreeFall" and jumpAnimTime <= 0) then | |
853 | playAnimation("fall", fallTransitionTime, Humanoid) | |
854 | elseif (pose == "Seated") then | |
855 | playAnimation("sit", 0.5, Humanoid) | |
856 | return | |
857 | elseif (pose == "Running") then | |
858 | if Figure and Humanoid and Humanoid.WalkSpeed<17 then | |
859 | playAnimation("walk", 0.1, Humanoid); | |
860 | elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then | |
861 | playAnimation("run", 0.1, Humanoid); | |
862 | end; | |
863 | elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then | |
864 | stopAllAnimations() | |
865 | amplitude = 0.1 | |
866 | frequency = 1 | |
867 | setAngles = true | |
868 | end | |
869 | if (setAngles) then | |
870 | local desiredAngle = amplitude * math.sin(time * frequency) | |
871 | RightShoulder:SetDesiredAngle(desiredAngle + climbFudge) | |
872 | LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge) | |
873 | RightHip:SetDesiredAngle(-desiredAngle) | |
874 | LeftHip:SetDesiredAngle(-desiredAngle) | |
875 | end | |
876 | -- Tool Animation handling | |
877 | local tool = getTool() | |
878 | if tool and tool:FindFirstChild("Handle") then | |
879 | local animStringValueObject = getToolAnim(tool) | |
880 | if animStringValueObject then | |
881 | toolAnim = animStringValueObject.Value | |
882 | -- message recieved, delete StringValue | |
883 | animStringValueObject.Parent = nil | |
884 | toolAnimTime = time + .3 | |
885 | end | |
886 | if time > toolAnimTime then | |
887 | toolAnimTime = 0 | |
888 | toolAnim = "None" | |
889 | end | |
890 | animateTool() | |
891 | else | |
892 | stopToolAnimations() | |
893 | toolAnim = "None" | |
894 | toolAnimInstance = nil | |
895 | toolAnimTime = 0 | |
896 | end | |
897 | end | |
898 | -- connect events | |
899 | Humanoid.Died:connect(onDied) | |
900 | Humanoid.Running:connect(onRunning) | |
901 | Humanoid.Jumping:connect(onJumping) | |
902 | Humanoid.Climbing:connect(onClimbing) | |
903 | Humanoid.GettingUp:connect(onGettingUp) | |
904 | Humanoid.FreeFalling:connect(onFreeFall) | |
905 | Humanoid.FallingDown:connect(onFallingDown) | |
906 | Humanoid.Seated:connect(onSeated) | |
907 | Humanoid.PlatformStanding:connect(onPlatformStanding) | |
908 | Humanoid.Swimming:connect(onSwimming) | |
909 | local runService = game:GetService("RunService"); | |
910 | playAnimation("idle", 0.1, Humanoid) | |
911 | pose = "Standing" | |
912 | while Wait(0)do | |
913 | local _,time=wait(0) | |
914 | move(time) | |
915 | end | |
916 | end)) | |
917 | StringValue27.Name = "climb" | |
918 | StringValue27.Parent = Script26 | |
919 | Animation28.Name = "ClimbAnim" | |
920 | Animation28.Parent = StringValue27 | |
921 | Animation28.AnimationId = "http://www.roblox.com/asset/?id=180436334" | |
922 | StringValue29.Name = "fall" | |
923 | StringValue29.Parent = Script26 | |
924 | Animation30.Name = "FallAnim" | |
925 | Animation30.Parent = StringValue29 | |
926 | Animation30.AnimationId = "http://www.roblox.com/asset/?id=180436148" | |
927 | StringValue31.Name = "idle" | |
928 | StringValue31.Parent = Script26 | |
929 | Animation32.Name = "Animation1" | |
930 | Animation32.Parent = StringValue31 | |
931 | Animation32.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
932 | NumberValue33.Name = "Weight" | |
933 | NumberValue33.Parent = Animation32 | |
934 | NumberValue33.Value = 9 | |
935 | Animation34.Name = "Animation2" | |
936 | Animation34.Parent = StringValue31 | |
937 | Animation34.AnimationId = "http://www.roblox.com/asset/?id=180435792" | |
938 | NumberValue35.Name = "Weight" | |
939 | NumberValue35.Parent = Animation34 | |
940 | NumberValue35.Value = 1 | |
941 | StringValue36.Name = "jump" | |
942 | StringValue36.Parent = Script26 | |
943 | Animation37.Name = "JumpAnim" | |
944 | Animation37.Parent = StringValue36 | |
945 | Animation37.AnimationId = "http://www.roblox.com/asset/?id=125750702" | |
946 | StringValue38.Name = "run" | |
947 | StringValue38.Parent = Script26 | |
948 | Animation39.Name = "RunAnim" | |
949 | Animation39.Parent = StringValue38 | |
950 | Animation39.AnimationId = "http://www.roblox.com/asset/?id=252557606" | |
951 | StringValue40.Name = "sit" | |
952 | StringValue40.Parent = Script26 | |
953 | Animation41.Name = "SitAnim" | |
954 | Animation41.Parent = StringValue40 | |
955 | Animation41.AnimationId = "http://www.roblox.com/asset/?id=178130996" | |
956 | StringValue42.Name = "toolnone" | |
957 | StringValue42.Parent = Script26 | |
958 | Animation43.Name = "ToolNoneAnim" | |
959 | Animation43.Parent = StringValue42 | |
960 | Animation43.AnimationId = "http://www.roblox.com/asset/?id=182393478" | |
961 | StringValue44.Name = "walk" | |
962 | StringValue44.Parent = Script26 | |
963 | Animation45.Name = "WalkAnim" | |
964 | Animation45.Parent = StringValue44 | |
965 | Animation45.AnimationId = "http://www.roblox.com/asset/?id=180426354" | |
966 | Animation46.Name = "Swing" | |
967 | Animation46.Parent = Model1 | |
968 | Animation46.AnimationId = "rbxassetid://191123156" | |
969 | BodyColors47.Parent = Model1 | |
970 | BodyColors47.HeadColor = BrickColor.new("Institutional white") | |
971 | BodyColors47.HeadColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
972 | BodyColors47.LeftArmColor = BrickColor.new("Institutional white") | |
973 | BodyColors47.LeftArmColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
974 | BodyColors47.LeftLegColor = BrickColor.new("Really black") | |
975 | BodyColors47.LeftLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
976 | BodyColors47.RightArmColor = BrickColor.new("Institutional white") | |
977 | BodyColors47.RightArmColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
978 | BodyColors47.RightLegColor = BrickColor.new("Really black") | |
979 | BodyColors47.RightLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
980 | BodyColors47.TorsoColor = BrickColor.new("Institutional white") | |
981 | BodyColors47.TorsoColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
982 | Script48.Name = "Respawn" | |
983 | Script48.Parent = Model1 | |
984 | table.insert(cors,sandbox(Script48,function() | |
985 | --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]-- | |
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. ]]-- | |
987 | local AdvancedRespawnScript=script; | |
988 | repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model"; | |
989 | local JeffTheKiller=AdvancedRespawnScript.Parent; | |
990 | if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then | |
991 | JeffTheKiller:FindFirstChild("Thumbnail"):Destroy(); | |
992 | end; | |
993 | local GameDerbis=Game:GetService("Debris"); | |
994 | local JeffTheKillerHumanoid; | |
995 | for _,Child in pairs(JeffTheKiller:GetChildren())do | |
996 | if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then | |
997 | JeffTheKillerHumanoid=Child; | |
998 | end; | |
999 | end; | |
1000 | local Respawndant=JeffTheKiller:Clone(); | |
1001 | if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]-- | |
1002 | coroutine.resume(coroutine.create(function() | |
1003 | if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then | |
1004 | SpawnModel=Instance.new("Model"); | |
1005 | SpawnModel.Parent=JeffTheKillerHumanoid.Status; | |
1006 | SpawnModel.Name="AvalibleSpawns"; | |
1007 | else | |
1008 | SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns"); | |
1009 | end; | |
1010 | function FindSpawn(SearchValue) | |
1011 | local PartsArchivable=SearchValue:GetChildren(); | |
1012 | for AreaSearch=1,#PartsArchivable do | |
1013 | if PartsArchivable[AreaSearch].className=="SpawnLocation"then | |
1014 | local PositionValue=Instance.new("Vector3Value",SpawnModel); | |
1015 | PositionValue.Value=PartsArchivable[AreaSearch].Position; | |
1016 | PositionValue.Name=PartsArchivable[AreaSearch].Duration; | |
1017 | end; | |
1018 | FindSpawn(PartsArchivable[AreaSearch]); | |
1019 | end; | |
1020 | end; | |
1021 | FindSpawn(Game:GetService("Workspace")); | |
1022 | local SpawnChilden=SpawnModel:GetChildren(); | |
1023 | if#SpawnChilden>0 then | |
1024 | local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)]; | |
1025 | local RespawningForceField=Instance.new("ForceField"); | |
1026 | RespawningForceField.Parent=JeffTheKiller; | |
1027 | RespawningForceField.Name="SpawnForceField"; | |
1028 | GameDerbis:AddItem(RespawningForceField,SpawnItself.Name); | |
1029 | JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0)); | |
1030 | else | |
1031 | if JeffTheKiller:FindFirstChild("SpawnForceField")then | |
1032 | JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy(); | |
1033 | end; | |
1034 | JeffTheKiller:MoveTo(Vector3.new(0,115,0)); | |
1035 | end; | |
1036 | end)); | |
1037 | end; | |
1038 | function Respawn() | |
1039 | Wait(5); | |
1040 | Respawndant.Parent=JeffTheKiller.Parent; | |
1041 | Respawndant:makeJoints(); | |
1042 | Respawndant:FindFirstChild("Head"):MakeJoints(); | |
1043 | Respawndant:FindFirstChild("Torso"):MakeJoints(); | |
1044 | JeffTheKiller:remove(); | |
1045 | end; | |
1046 | if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then | |
1047 | JeffTheKillerHumanoid.Died:connect(Respawn); | |
1048 | end; | |
1049 | --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]-- | |
1050 | end)) | |
1051 | Part49.Name = "Knife" | |
1052 | Part49.Parent = Model1 | |
1053 | Part49.CFrame = CFrame.new(157.301758, 2.05568457, -49.6200294, 0, 0.249365434, 0.968409479, 0, 0.968409479, -0.249365434, -1, 0, 0) | |
1054 | Part49.Orientation = Vector3.new(14.4399996, 90, 0) | |
1055 | Part49.Position = Vector3.new(157.301758, 2.05568457, -49.6200294) | |
1056 | Part49.Rotation = Vector3.new(90, 75.5599976, -90) | |
1057 | Part49.Color = Color3.new(1, 0.8, 0.6) | |
1058 | Part49.Transparency = 1 | |
1059 | Part49.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
1060 | - | StringValue37.Name = "climb" |
1060 | + | Part49.BackParamA = -99999 |
1061 | - | StringValue37.Parent = Script36 |
1061 | + | Part49.BackParamB = 99999 |
1062 | - | Animation38.Name = "ClimbAnim" |
1062 | + | Part49.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1063 | - | Animation38.Parent = StringValue37 |
1063 | + | Part49.BottomParamA = -99999 |
1064 | - | Animation38.AnimationId = "http://www.roblox.com/asset/?id=180436334" |
1064 | + | Part49.BottomParamB = 99999 |
1065 | - | StringValue39.Name = "fall" |
1065 | + | Part49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1066 | - | StringValue39.Parent = Script36 |
1066 | + | Part49.BrickColor = BrickColor.new("Pastel brown") |
1067 | - | Animation40.Name = "FallAnim" |
1067 | + | Part49.CanCollide = false |
1068 | - | Animation40.Parent = StringValue39 |
1068 | + | Part49.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1 |
1069 | - | Animation40.AnimationId = "http://www.roblox.com/asset/?id=180436148" |
1069 | + | Part49.Elasticity = 0 |
1070 | - | StringValue41.Name = "idle" |
1070 | + | Part49.Friction = 2 |
1071 | - | StringValue41.Parent = Script36 |
1071 | + | Part49.FrontParamA = -99999 |
1072 | - | Animation42.Name = "Animation1" |
1072 | + | Part49.FrontParamB = 99999 |
1073 | - | Animation42.Parent = StringValue41 |
1073 | + | Part49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1074 | - | Animation42.AnimationId = "http://www.roblox.com/asset/?id=180435571" |
1074 | + | Part49.LeftParamA = -99999 |
1075 | - | NumberValue43.Name = "Weight" |
1075 | + | Part49.LeftParamB = 99999 |
1076 | - | NumberValue43.Parent = Animation42 |
1076 | + | Part49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1077 | - | NumberValue43.Value = 9 |
1077 | + | Part49.Material = Enum.Material.Metal |
1078 | - | Animation44.Name = "Animation2" |
1078 | + | Part49.RightParamA = -99999 |
1079 | - | Animation44.Parent = StringValue41 |
1079 | + | Part49.RightParamB = 99999 |
1080 | - | Animation44.AnimationId = "http://www.roblox.com/asset/?id=180435792" |
1080 | + | Part49.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1081 | - | NumberValue45.Name = "Weight" |
1081 | + | Part49.TopParamA = -99999 |
1082 | - | NumberValue45.Parent = Animation44 |
1082 | + | Part49.TopParamB = 99999 |
1083 | - | NumberValue45.Value = 1 |
1083 | + | Part49.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1084 | - | StringValue46.Name = "jump" |
1084 | + | Part49.brickColor = BrickColor.new("Pastel brown") |
1085 | - | StringValue46.Parent = Script36 |
1085 | + | Part49.FormFactor = Enum.FormFactor.Custom |
1086 | - | Animation47.Name = "JumpAnim" |
1086 | + | Part49.formFactor = Enum.FormFactor.Custom |
1087 | - | Animation47.Parent = StringValue46 |
1087 | + | SpecialMesh50.Name = "KnifeMesh" |
1088 | - | Animation47.AnimationId = "http://www.roblox.com/asset/?id=125750702" |
1088 | + | SpecialMesh50.Parent = Part49 |
1089 | - | StringValue48.Name = "run" |
1089 | + | SpecialMesh50.MeshId = "rbxassetid://165710339" |
1090 | - | StringValue48.Parent = Script36 |
1090 | + | SpecialMesh50.Scale = Vector3.new(0.5, 0.5, 0.699999988) |
1091 | - | Animation49.Name = "RunAnim" |
1091 | + | SpecialMesh50.TextureId = "rbxassetid://381626146" |
1092 | - | Animation49.Parent = StringValue48 |
1092 | + | SpecialMesh50.MeshType = Enum.MeshType.FileMesh |
1093 | - | Animation49.AnimationId = "http://www.roblox.com/asset/?id=252557606" |
1093 | + | Sound51.Name = "Hit1" |
1094 | - | StringValue50.Name = "sit" |
1094 | + | Sound51.Parent = Part49 |
1095 | - | StringValue50.Parent = Script36 |
1095 | + | Sound51.Pitch = 1.0225422382355 |
1096 | - | Animation51.Name = "SitAnim" |
1096 | + | Sound51.PlaybackSpeed = 1.0225422382355 |
1097 | - | Animation51.Parent = StringValue50 |
1097 | + | Sound51.SoundId = "rbxassetid://278061737" |
1098 | - | Animation51.AnimationId = "http://www.roblox.com/asset/?id=178130996" |
1098 | + | Sound51.Volume = 1 |
1099 | - | StringValue52.Name = "toolnone" |
1099 | + | Sound52.Name = "Hit2" |
1100 | - | StringValue52.Parent = Script36 |
1100 | + | Sound52.Parent = Part49 |
1101 | - | Animation53.Name = "ToolNoneAnim" |
1101 | + | Sound52.Pitch = 1.0092434883118 |
1102 | - | Animation53.Parent = StringValue52 |
1102 | + | Sound52.PlaybackSpeed = 1.0092434883118 |
1103 | - | Animation53.AnimationId = "http://www.roblox.com/asset/?id=182393478" |
1103 | + | Sound52.SoundId = "rbxassetid://260430060" |
1104 | - | StringValue54.Name = "walk" |
1104 | + | Sound52.Volume = 1 |
1105 | - | StringValue54.Parent = Script36 |
1105 | + | Sound53.Name = "Hit3" |
1106 | - | Animation55.Name = "WalkAnim" |
1106 | + | Sound53.Parent = Part49 |
1107 | - | Animation55.Parent = StringValue54 |
1107 | + | Sound53.Pitch = 1.0101846456528 |
1108 | - | Animation55.AnimationId = "http://www.roblox.com/asset/?id=180426354" |
1108 | + | Sound53.PlaybackSpeed = 1.0101846456528 |
1109 | - | Animation56.Name = "Swing" |
1109 | + | Sound53.SoundId = "rbxassetid://278061737" |
1110 | - | Animation56.Parent = Model0 |
1110 | + | Sound53.Volume = 1 |
1111 | - | Animation56.AnimationId = "rbxassetid://54584713" |
1111 | + | Sound54.Name = "Swing" |
1112 | - | Sound57.Name = "Jeff_Scene_Sound1" |
1112 | + | Sound54.Parent = Part49 |
1113 | - | Sound57.Parent = Model0 |
1113 | + | Sound54.SoundId = "rbxassetid://148196278" |
1114 | - | Sound57.Looped = true |
1114 | + | Sound54.Volume = 1 |
1115 | - | Sound57.EmitterSize = 0 |
1115 | + | Script55.Name = "JeffTheKillerMain" |
1116 | - | Sound57.MinDistance = 0 |
1116 | + | Script55.Parent = Model1 |
1117 | - | Sound57.SoundId = "rbxassetid://304426684" |
1117 | + | table.insert(cors,sandbox(Script55,function() |
1118 | - | Pants58.Name = "Pants" |
1118 | + | |
1119 | - | Pants58.Parent = Model0 |
1119 | + | |
1120 | - | Pants58.PantsTemplate = "http://www.roblox.com/asset/?id=344084364" |
1120 | + | |
1121 | - | BodyColors59.Parent = Model0 |
1121 | + | |
1122 | - | BodyColors59.HeadColor = BrickColor.new("Institutional white") |
1122 | + | |
1123 | - | BodyColors59.HeadColor3 = Color3.new(0.972549, 0.972549, 0.972549) |
1123 | + | |
1124 | - | BodyColors59.LeftArmColor = BrickColor.new("Institutional white") |
1124 | + | |
1125 | - | BodyColors59.LeftArmColor3 = Color3.new(0.972549, 0.972549, 0.972549) |
1125 | + | |
1126 | - | BodyColors59.LeftLegColor = BrickColor.new("Really black") |
1126 | + | |
1127 | - | BodyColors59.LeftLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1127 | + | |
1128 | - | BodyColors59.RightArmColor = BrickColor.new("Institutional white") |
1128 | + | |
1129 | - | BodyColors59.RightArmColor3 = Color3.new(0.972549, 0.972549, 0.972549) |
1129 | + | |
1130 | - | BodyColors59.RightLegColor = BrickColor.new("Really black") |
1130 | + | |
1131 | - | BodyColors59.RightLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1131 | + | |
1132 | - | BodyColors59.TorsoColor = BrickColor.new("Institutional white") |
1132 | + | |
1133 | - | BodyColors59.TorsoColor3 = Color3.new(0.972549, 0.972549, 0.972549) |
1133 | + | |
1134 | - | Part60.Name = "DarkHairBottom" |
1134 | + | |
1135 | - | Part60.Parent = Model0 |
1135 | + | |
1136 | - | Part60.CFrame = CFrame.new(153.429993, 4.70001125, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1136 | + | |
1137 | - | Part60.Position = Vector3.new(153.429993, 4.70001125, -46.7100296) |
1137 | + | |
1138 | - | Part60.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1138 | + | |
1139 | - | Part60.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
1139 | + | |
1140 | - | Part60.BackParamA = -99999 |
1140 | + | |
1141 | - | Part60.BackParamB = 99999 |
1141 | + | |
1142 | - | Part60.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1142 | + | |
1143 | - | Part60.BottomParamA = -99999 |
1143 | + | |
1144 | - | Part60.BottomParamB = 99999 |
1144 | + | |
1145 | - | Part60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1145 | + | |
1146 | - | Part60.BrickColor = BrickColor.new("Really black") |
1146 | + | |
1147 | - | Part60.CanCollide = false |
1147 | + | |
1148 | - | Part60.FrontParamA = -99999 |
1148 | + | |
1149 | - | Part60.FrontParamB = 99999 |
1149 | + | |
1150 | - | Part60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1150 | + | |
1151 | - | Part60.LeftParamA = -99999 |
1151 | + | |
1152 | - | Part60.LeftParamB = 99999 |
1152 | + | |
1153 | - | Part60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1153 | + | |
1154 | - | Part60.Locked = true |
1154 | + | JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0); |
1155 | - | Part60.Material = Enum.Material.SmoothPlastic |
1155 | + | local OriginalC0=JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0; |
1156 | - | Part60.RightParamA = -99999 |
1156 | + | |
1157 | - | Part60.RightParamB = 99999 |
1157 | + | local NoticeDistance=999999999999; |
1158 | - | Part60.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1158 | + | |
1159 | - | Part60.TopParamA = -99999 |
1159 | + | |
1160 | - | Part60.TopParamB = 99999 |
1160 | + | |
1161 | - | Part60.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1161 | + | |
1162 | - | Part60.brickColor = BrickColor.new("Really black") |
1162 | + | |
1163 | - | Part60.FormFactor = Enum.FormFactor.Custom |
1163 | + | |
1164 | - | Part60.formFactor = Enum.FormFactor.Custom |
1164 | + | |
1165 | - | SpecialMesh61.Parent = Part60 |
1165 | + | |
1166 | - | SpecialMesh61.MeshId = "http://roblox.com/asset/?id=82348216" |
1166 | + | |
1167 | - | SpecialMesh61.Scale = Vector3.new(1, 1.75, 0.800000012) |
1167 | + | |
1168 | - | SpecialMesh61.VertexColor = Vector3.new(0, 0, 0) |
1168 | + | |
1169 | - | SpecialMesh61.TextureId = "http://www.roblox.com/asset/?id=75975464" |
1169 | + | |
1170 | - | SpecialMesh61.MeshType = Enum.MeshType.FileMesh |
1170 | + | |
1171 | - | Decal62.Parent = Part60 |
1171 | + | |
1172 | - | Decal62.Texture = "http://www.roblox.com/asset/?id=101992031" |
1172 | + | |
1173 | - | Decal62.Face = Enum.NormalId.Top |
1173 | + | |
1174 | - | Script63.Name = "Respawn" |
1174 | + | |
1175 | - | Script63.Parent = Model0 |
1175 | + | |
1176 | - | table.insert(cors,sandbox(Script63,function() |
1176 | + | |
1177 | local SwingChoice=math.random(1,2); | |
1178 | local HitChoice=math.random(1,3); | |
1179 | SwingAnimation:Play(); | |
1180 | SwingAnimation:AdjustSpeed(1.5+(math.random()*0.1)); | |
1181 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Swing")then | |
1182 | local SwingSound=JeffTheKillerKnife:FindFirstChild("Swing"); | |
1183 | SwingSound.Pitch=1+(math.random()*0.04); | |
1184 | SwingSound:Play(); | |
1185 | end; | |
1186 | Wait(0.3); | |
1187 | if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<8 then | |
1188 | FoundHumanoid:TakeDamage(30); | |
1189 | if HitChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit1")then | |
1190 | local HitSound=JeffTheKillerKnife:FindFirstChild("Hit1"); | |
1191 | HitSound.Pitch=1+(math.random()*0.04); | |
1192 | HitSound:Play(); | |
1193 | elseif HitChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit2")then | |
1194 | local HitSound=JeffTheKillerKnife:FindFirstChild("Hit2"); | |
1195 | HitSound.Pitch=1+(math.random()*0.04); | |
1196 | HitSound:Play(); | |
1197 | elseif HitChoice==3 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit3")then | |
1198 | local HitSound=JeffTheKillerKnife:FindFirstChild("Hit3"); | |
1199 | HitSound.Pitch=1+(math.random()*0.04); | |
1200 | HitSound:Play(); | |
1201 | end; | |
1202 | end; | |
1203 | Wait(0.1); | |
1204 | AttackDebounce=false; | |
1205 | end); | |
1206 | end; | |
1207 | end; | |
1208 | end; | |
1209 | end; | |
1210 | end; | |
1211 | return TargetMain; | |
1212 | end; | |
1213 | while Wait(0)do | |
1214 | local TargetPoint=JeffTheKillerHumanoid.TargetPoint; | |
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}) | |
1216 | local Jumpable=false; | |
1217 | if Blockage then | |
1218 | Jumpable=true; | |
1219 | if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then | |
1220 | local BlockageHumanoid; | |
1221 | for _,Child in pairs(Blockage.Parent:GetChildren())do | |
1222 | if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then | |
1223 | BlockageHumanoid=Child; | |
1224 | end; | |
1225 | end; | |
1226 | if Blockage and Blockage:IsA("Terrain")then | |
1227 | local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0))); | |
1228 | local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z); | |
1229 | if CellMaterial==Enum.CellMaterial.Water then | |
1230 | Jumpable=false; | |
1231 | end; | |
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 | |
1233 | Jumpable=false; | |
1234 | end; | |
1235 | end; | |
1236 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and not JeffTheKillerHumanoid.Sit and Jumpable then | |
1237 | JeffTheKillerHumanoid.Jump=true; | |
1238 | end; | |
1239 | end; | |
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 | |
1241 | Spawn(function() | |
1242 | WalkDebounce=true; | |
1243 | - | Sound64.Name = "Jeff_Scene_Sound2" |
1243 | + | |
1244 | - | Sound64.Parent = Model0 |
1244 | + | |
1245 | - | Sound64.Looped = true |
1245 | + | |
1246 | - | Sound64.EmitterSize = 0 |
1246 | + | |
1247 | - | Sound64.MinDistance = 0 |
1247 | + | |
1248 | - | Sound64.SoundId = "rbxassetid://380103076" |
1248 | + | |
1249 | - | Part65.Name = "DarkHairTop" |
1249 | + | |
1250 | - | Part65.Parent = Model0 |
1250 | + | |
1251 | - | Part65.CFrame = CFrame.new(153.429993, 4.80001068, -46.7100296, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1251 | + | Wait(0.4); |
1252 | - | Part65.Position = Vector3.new(153.429993, 4.80001068, -46.7100296) |
1252 | + | |
1253 | - | Part65.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
1253 | + | Wait(0.15); |
1254 | - | Part65.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
1254 | + | |
1255 | - | Part65.BackParamA = -99999 |
1255 | + | |
1256 | - | Part65.BackParamB = 99999 |
1256 | + | |
1257 | - | Part65.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1257 | + | |
1258 | - | Part65.BottomParamA = -99999 |
1258 | + | |
1259 | - | Part65.BottomParamB = 99999 |
1259 | + | |
1260 | - | Part65.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1260 | + | |
1261 | - | Part65.BrickColor = BrickColor.new("Really black") |
1261 | + | |
1262 | - | Part65.CanCollide = false |
1262 | + | |
1263 | - | Part65.FrontParamA = -99999 |
1263 | + | |
1264 | - | Part65.FrontParamB = 99999 |
1264 | + | |
1265 | - | Part65.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1265 | + | |
1266 | - | Part65.LeftParamA = -99999 |
1266 | + | |
1267 | - | Part65.LeftParamB = 99999 |
1267 | + | |
1268 | - | Part65.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1268 | + | |
1269 | - | Part65.Locked = true |
1269 | + | |
1270 | - | Part65.Material = Enum.Material.SmoothPlastic |
1270 | + | |
1271 | - | Part65.RightParamA = -99999 |
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 |
1272 | - | Part65.RightParamB = 99999 |
1272 | + | |
1273 | - | Part65.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1273 | + | |
1274 | - | Part65.TopParamA = -99999 |
1274 | + | |
1275 | - | Part65.TopParamB = 99999 |
1275 | + | |
1276 | - | Part65.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
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 |
1277 | - | Part65.brickColor = BrickColor.new("Really black") |
1277 | + | |
1278 | - | Part65.FormFactor = Enum.FormFactor.Custom |
1278 | + | |
1279 | - | Part65.formFactor = Enum.FormFactor.Custom |
1279 | + | |
1280 | - | SpecialMesh66.Parent = Part65 |
1280 | + | |
1281 | - | SpecialMesh66.MeshId = "http://www.roblox.com/asset/?id=13332444" |
1281 | + | |
1282 | - | SpecialMesh66.Scale = Vector3.new(1.04999995, 1, 1.04999995) |
1282 | + | |
1283 | - | SpecialMesh66.VertexColor = Vector3.new(0, 0, 0) |
1283 | + | |
1284 | - | SpecialMesh66.TextureId = "http://www.roblox.com/asset/?id=75975464" |
1284 | + | |
1285 | - | SpecialMesh66.MeshType = Enum.MeshType.FileMesh |
1285 | + | |
1286 | - | Decal67.Parent = Part65 |
1286 | + | |
1287 | - | Decal67.Texture = "http://www.roblox.com/asset/?id=101992031" |
1287 | + | |
1288 | - | Decal67.Face = Enum.NormalId.Top |
1288 | + | |
1289 | - | Script68.Name = "JeffTheKillerMain" |
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 |
1290 | - | Script68.Parent = Model0 |
1290 | + | |
1291 | - | table.insert(cors,sandbox(Script68,function() |
1291 | + | |
1292 | ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1"); | |
1293 | elseif MusicChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2")then | |
1294 | ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2"); | |
1295 | end; | |
1296 | if JeffTheKillerScript and JeffTheKiller and ChosenMusic and not ChosenMusic.IsPlaying then | |
1297 | ChosenMusic.Volume=0.5; | |
1298 | ChosenMusic:Play(); | |
1299 | end; | |
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 | |
1301 | if JeffTheKillerScript and JeffTheKiller and ChosenMusic and ChosenMusic.IsPlaying then | |
1302 | if not MusicDebounce then | |
1303 | Spawn(function() | |
1304 | MusicDebounce=true; | |
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; | |
1306 | if ChosenMusic then | |
1307 | ChosenMusic.Volume=0; | |
1308 | ChosenMusic:Stop(); | |
1309 | end; | |
1310 | ChosenMusic=nil; | |
1311 | MusicDebounce=false; | |
1312 | end); | |
1313 | end; | |
1314 | end; | |
1315 | end; | |
1316 | if not MainTarget and not JeffLaughDebounce then | |
1317 | Spawn(function() | |
1318 | JeffLaughDebounce=true; | |
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; | |
1320 | JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0; | |
1321 | JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop(); | |
1322 | JeffLaughDebounce=false; | |
1323 | end); | |
1324 | end; | |
1325 | if not MainTarget and not MusicDebounce then | |
1326 | Spawn(function() | |
1327 | MusicDebounce=true; | |
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; | |
1329 | - | local NoticeDistance=100; |
1329 | + | |
1330 | ChosenMusic.Volume=0; | |
1331 | ChosenMusic:Stop(); | |
1332 | end; | |
1333 | ChosenMusic=nil; | |
1334 | MusicDebounce=false; | |
1335 | end); | |
1336 | end; | |
1337 | if MainTarget then | |
1338 | Notice=true; | |
1339 | if Notice and not NoticeDebounce and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Susto2")then | |
1340 | JeffTheKillerHead:FindFirstChild("Jeff_Susto2"):Play(); | |
1341 | NoticeDebounce=true; | |
1342 | end | |
1343 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then | |
1344 | if MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>5 then | |
1345 | JeffTheKillerHumanoid.WalkSpeed=30; | |
1346 | elseif MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<5 then | |
1347 | JeffTheKillerHumanoid.WalkSpeed=0.004; | |
1348 | end; | |
1349 | JeffTheKillerHumanoid:MoveTo(MainTarget.Position+(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain")); | |
1350 | local NeckRotation=(JeffTheKiller:FindFirstChild("Torso").Position.Y-MainTarget.Parent:FindFirstChild("Head").Position.Y)/10; | |
1351 | if NeckRotation>-1.5 and NeckRotation<1.5 then | |
1352 | JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=OriginalC0*CFrame.fromEulerAnglesXYZ(NeckRotation,0,0); | |
1353 | end; | |
1354 | if NeckRotation<-1.5 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); | |
1356 | elseif NeckRotation>1.5 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); | |
1358 | end; | |
1359 | else | |
1360 | end; | |
1361 | else | |
1362 | Notice=false; | |
1363 | NoticeDebounce=false; | |
1364 | JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0); | |
1365 | local RandomWalk=math.random(1,150); | |
1366 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then | |
1367 | JeffTheKillerHumanoid.WalkSpeed=12; | |
1368 | if RandomWalk==1 then | |
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")); | |
1370 | end; | |
1371 | end; | |
1372 | end; | |
1373 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid then | |
1374 | JeffTheKillerHumanoid.DisplayDistanceType="None"; | |
1375 | JeffTheKillerHumanoid.HealthDisplayDistance=0; | |
1376 | JeffTheKillerHumanoid.Name="ColdBloodedKiller"; | |
1377 | JeffTheKillerHumanoid.NameDisplayDistance=0; | |
1378 | JeffTheKillerHumanoid.NameOcclusion="EnemyOcclusion"; | |
1379 | JeffTheKillerHumanoid.AutoJumpEnabled=true; | |
1380 | JeffTheKillerHumanoid.AutoRotate=true; | |
1381 | JeffTheKillerHumanoid.MaxHealth=500; | |
1382 | JeffTheKillerHumanoid.JumpPower=60; | |
1383 | JeffTheKillerHumanoid.MaxSlopeAngle=89.9; | |
1384 | end; | |
1385 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoJumpEnabled then | |
1386 | JeffTheKillerHumanoid.AutoJumpEnabled=true; | |
1387 | end; | |
1388 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoRotate then | |
1389 | JeffTheKillerHumanoid.AutoRotate=true; | |
1390 | end; | |
1391 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.PlatformStand then | |
1392 | JeffTheKillerHumanoid.PlatformStand=false; | |
1393 | end; | |
1394 | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Sit then | |
1395 | JeffTheKillerHumanoid.Sit=false; | |
1396 | end; | |
1397 | end; | |
1398 | --[[ By: Brutez. ]]-- | |
1399 | end)) | |
1400 | Camera56.Name = "ThumbnailCamera" | |
1401 | Camera56.Parent = Model1 | |
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) | |
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) | |
1404 | Camera56.FieldOfView = 39.999999303284 | |
1405 | Camera56.Focus = CFrame.new(-3.91261864, 7.41225004, 7.0497818, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1406 | Camera56.focus = CFrame.new(-3.91261864, 7.41225004, 7.0497818, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1407 | Shirt57.Parent = Model1 | |
1408 | Shirt57.ShirtTemplate = "rbxassetid://1053681727" | |
1409 | Pants58.Parent = Model1 | |
1410 | Pants58.PantsTemplate = "rbxassetid://808846597" | |
1411 | Script59.Name = "Health (TO MAKE HEALTH ABOVE 100)" | |
1412 | Script59.Parent = Model1 | |
1413 | table.insert(cors,sandbox(Script59,function() | |
1414 | function waitForChild(parent, childName) | |
1415 | while true do | |
1416 | local child = parent:findFirstChild(childName) | |
1417 | if child then | |
1418 | return child | |
1419 | end | |
1420 | parent.ChildAdded:wait() | |
1421 | end | |
1422 | end | |
1423 | - | Wait(0.5); |
1423 | + | |
1424 | -- declarations | |
1425 | - | Wait(0.2); |
1425 | + | |
1426 | local Figure = script.Parent | |
1427 | local Head = waitForChild(Figure, "Head") | |
1428 | local Humanoid = waitForChild(Figure, "Humanoid") | |
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. | |
1430 | -- regeneration | |
1431 | while true do | |
1432 | local s = wait(99999999) ------------ Don't change this. | |
1433 | local health = Humanoid.Health | |
1434 | if health > 0 and health < Humanoid.MaxHealth then | |
1435 | health = health + 0.08 * s * Humanoid.MaxHealth | |
1436 | if health * 1.05 < Humanoid.MaxHealth then | |
1437 | Humanoid.Health = health | |
1438 | else | |
1439 | Humanoid.Health = Humanoid.MaxHealth | |
1440 | end | |
1441 | end | |
1442 | end | |
1443 | - | if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<25 then |
1443 | + | |
1444 | end)) | |
1445 | Hat60.Parent = Model0 | |
1446 | Hat60.AttachmentPoint = CFrame.new(0, -0.200000003, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1447 | Hat60.AttachmentPos = Vector3.new(0, -0.200000003, 0.100000001) | |
1448 | - | elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>25 then |
1448 | + | UnionOperation61.Name = "Handle" |
1449 | UnionOperation61.Parent = Hat60 | |
1450 | UnionOperation61.CFrame = CFrame.new(157.98584, 5.46826077, -48.6411514, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08) | |
1451 | UnionOperation61.Orientation = Vector3.new(0, 90, 0) | |
1452 | UnionOperation61.Position = Vector3.new(157.98584, 5.46826077, -48.6411514) | |
1453 | UnionOperation61.Rotation = Vector3.new(0, 90, 0) | |
1454 | UnionOperation61.Color = Color3.new(1, 0, 0) | |
1455 | UnionOperation61.Size = Vector3.new(1.3577584, 0.936562181, 1.6683836) | |
1456 | UnionOperation61.BrickColor = BrickColor.new("Really red") | |
1457 | UnionOperation61.Material = Enum.Material.Sand | |
1458 | UnionOperation61.brickColor = BrickColor.new("Really red") | |
1459 | UnionOperation61.UsePartColor = true | |
1460 | Decal62.Parent = UnionOperation61 | |
1461 | - | if not ChosenMusic and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<50 then |
1461 | + | Decal62.Texture = "http://www.roblox.com/asset/?id=287608534" |
1462 | Decal63.Parent = UnionOperation61 | |
1463 | Decal63.Texture = "http://www.roblox.com/asset/?id=287617286" | |
1464 | Decal63.Face = Enum.NormalId.Right | |
1465 | Decal64.Parent = UnionOperation61 | |
1466 | Decal64.Texture = "http://www.roblox.com/asset/?id=287617265" | |
1467 | Decal64.Face = Enum.NormalId.Left | |
1468 | Decal65.Parent = UnionOperation61 | |
1469 | Decal65.Texture = "http://www.roblox.com/asset/?id=287624931" | |
1470 | Decal65.Face = Enum.NormalId.Top | |
1471 | Decal66.Parent = UnionOperation61 | |
1472 | - | elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>50 then |
1472 | + | Decal66.Texture = "http://www.roblox.com/asset/?id=287617245" |
1473 | Decal66.Face = Enum.NormalId.Back | |
1474 | Decal67.Parent = UnionOperation61 | |
1475 | Decal67.Texture = "http://www.roblox.com/asset/?id=287624921" | |
1476 | Decal67.Face = Enum.NormalId.Bottom | |
1477 | for i,v in pairs(mas:GetChildren()) do | |
1478 | v.Parent = script | |
1479 | pcall(function() v:MakeJoints() end) | |
1480 | end | |
1481 | mas:Destroy() | |
1482 | for i,v in pairs(cors) do | |
1483 | spawn(function() | |
1484 | pcall(v) | |
1485 | end) | |
1486 | end |