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 | - | Fire2 = Instance.new("Fire") |
21 | + | Model2 = Instance.new("Model") |
22 | - | Script3 = Instance.new("Script") |
22 | + | Part3 = Instance.new("Part") |
23 | - | Part4 = Instance.new("Part") |
23 | + | SpecialMesh4 = Instance.new("SpecialMesh") |
24 | - | Fire5 = Instance.new("Fire") |
24 | + | Decal5 = Instance.new("Decal") |
25 | - | Script6 = Instance.new("Script") |
25 | + | Part6 = Instance.new("Part") |
26 | Part7 = Instance.new("Part") | |
27 | - | Fire8 = Instance.new("Fire") |
27 | + | Part8 = Instance.new("Part") |
28 | - | Script9 = Instance.new("Script") |
28 | + | Humanoid9 = Instance.new("Humanoid") |
29 | Part10 = Instance.new("Part") | |
30 | - | Part11 = Instance.new("Part") |
30 | + | Script11 = Instance.new("Script") |
31 | - | Fire12 = Instance.new("Fire") |
31 | + | Part12 = Instance.new("Part") |
32 | Script13 = Instance.new("Script") | |
33 | - | Part14 = Instance.new("Part") |
33 | + | ObjectValue14 = Instance.new("ObjectValue") |
34 | - | Fire15 = Instance.new("Fire") |
34 | + | IntValue15 = Instance.new("IntValue") |
35 | Script16 = Instance.new("Script") | |
36 | - | Part17 = Instance.new("Part") |
36 | + | Script17 = Instance.new("Script") |
37 | - | Fire18 = Instance.new("Fire") |
37 | + | Script18 = Instance.new("Script") |
38 | - | Script19 = Instance.new("Script") |
38 | + | Part19 = Instance.new("Part") |
39 | - | Part20 = Instance.new("Part") |
39 | + | Decal20 = Instance.new("Decal") |
40 | - | Fire21 = Instance.new("Fire") |
40 | + | Model21 = Instance.new("Model") |
41 | - | Script22 = Instance.new("Script") |
41 | + | Model22 = Instance.new("Model") |
42 | Part23 = Instance.new("Part") | |
43 | - | Fire24 = Instance.new("Fire") |
43 | + | SpecialMesh24 = Instance.new("SpecialMesh") |
44 | - | Script25 = Instance.new("Script") |
44 | + | Decal25 = Instance.new("Decal") |
45 | Part26 = Instance.new("Part") | |
46 | - | Fire27 = Instance.new("Fire") |
46 | + | Part27 = Instance.new("Part") |
47 | - | Script28 = Instance.new("Script") |
47 | + | Part28 = Instance.new("Part") |
48 | - | Part29 = Instance.new("Part") |
48 | + | Humanoid29 = Instance.new("Humanoid") |
49 | - | Fire30 = Instance.new("Fire") |
49 | + | Part30 = Instance.new("Part") |
50 | Script31 = Instance.new("Script") | |
51 | - | TrussPart32 = Instance.new("TrussPart") |
51 | + | Part32 = Instance.new("Part") |
52 | - | Fire33 = Instance.new("Fire") |
52 | + | Script33 = Instance.new("Script") |
53 | - | Script34 = Instance.new("Script") |
53 | + | ObjectValue34 = Instance.new("ObjectValue") |
54 | - | TrussPart35 = Instance.new("TrussPart") |
54 | + | IntValue35 = Instance.new("IntValue") |
55 | - | Fire36 = Instance.new("Fire") |
55 | + | Script36 = Instance.new("Script") |
56 | Script37 = Instance.new("Script") | |
57 | - | Part38 = Instance.new("Part") |
57 | + | Script38 = Instance.new("Script") |
58 | - | Fire39 = Instance.new("Fire") |
58 | + | Part39 = Instance.new("Part") |
59 | - | Script40 = Instance.new("Script") |
59 | + | Decal40 = Instance.new("Decal") |
60 | - | Part41 = Instance.new("Part") |
60 | + | Model41 = Instance.new("Model") |
61 | - | Fire42 = Instance.new("Fire") |
61 | + | Model42 = Instance.new("Model") |
62 | - | Script43 = Instance.new("Script") |
62 | + | Part43 = Instance.new("Part") |
63 | - | Part44 = Instance.new("Part") |
63 | + | SpecialMesh44 = Instance.new("SpecialMesh") |
64 | - | Fire45 = Instance.new("Fire") |
64 | + | Decal45 = Instance.new("Decal") |
65 | - | Script46 = Instance.new("Script") |
65 | + | Part46 = Instance.new("Part") |
66 | Part47 = Instance.new("Part") | |
67 | - | Fire48 = Instance.new("Fire") |
67 | + | Part48 = Instance.new("Part") |
68 | - | Script49 = Instance.new("Script") |
68 | + | Humanoid49 = Instance.new("Humanoid") |
69 | Part50 = Instance.new("Part") | |
70 | - | Fire51 = Instance.new("Fire") |
70 | + | Script51 = Instance.new("Script") |
71 | - | Script52 = Instance.new("Script") |
71 | + | Part52 = Instance.new("Part") |
72 | - | Part53 = Instance.new("Part") |
72 | + | Script53 = Instance.new("Script") |
73 | - | Fire54 = Instance.new("Fire") |
73 | + | ObjectValue54 = Instance.new("ObjectValue") |
74 | - | Script55 = Instance.new("Script") |
74 | + | IntValue55 = Instance.new("IntValue") |
75 | - | Part56 = Instance.new("Part") |
75 | + | Script56 = Instance.new("Script") |
76 | - | Fire57 = Instance.new("Fire") |
76 | + | Script57 = Instance.new("Script") |
77 | Script58 = Instance.new("Script") | |
78 | Part59 = Instance.new("Part") | |
79 | - | Fire60 = Instance.new("Fire") |
79 | + | Decal60 = Instance.new("Decal") |
80 | - | Script61 = Instance.new("Script") |
80 | + | Model61 = Instance.new("Model") |
81 | - | Part62 = Instance.new("Part") |
81 | + | Model62 = Instance.new("Model") |
82 | - | Fire63 = Instance.new("Fire") |
82 | + | Part63 = Instance.new("Part") |
83 | - | Script64 = Instance.new("Script") |
83 | + | SpecialMesh64 = Instance.new("SpecialMesh") |
84 | - | Part65 = Instance.new("Part") |
84 | + | Decal65 = Instance.new("Decal") |
85 | - | Fire66 = Instance.new("Fire") |
85 | + | Part66 = Instance.new("Part") |
86 | - | Script67 = Instance.new("Script") |
86 | + | Part67 = Instance.new("Part") |
87 | Part68 = Instance.new("Part") | |
88 | - | Fire69 = Instance.new("Fire") |
88 | + | Humanoid69 = Instance.new("Humanoid") |
89 | - | Script70 = Instance.new("Script") |
89 | + | Part70 = Instance.new("Part") |
90 | - | Part71 = Instance.new("Part") |
90 | + | Script71 = Instance.new("Script") |
91 | - | Fire72 = Instance.new("Fire") |
91 | + | Part72 = Instance.new("Part") |
92 | Script73 = Instance.new("Script") | |
93 | - | Part74 = Instance.new("Part") |
93 | + | ObjectValue74 = Instance.new("ObjectValue") |
94 | - | Fire75 = Instance.new("Fire") |
94 | + | IntValue75 = Instance.new("IntValue") |
95 | Script76 = Instance.new("Script") | |
96 | - | Part77 = Instance.new("Part") |
96 | + | Script77 = Instance.new("Script") |
97 | - | Fire78 = Instance.new("Fire") |
97 | + | Script78 = Instance.new("Script") |
98 | - | Script79 = Instance.new("Script") |
98 | + | Part79 = Instance.new("Part") |
99 | - | Part80 = Instance.new("Part") |
99 | + | Decal80 = Instance.new("Decal") |
100 | - | Fire81 = Instance.new("Fire") |
100 | + | Model81 = Instance.new("Model") |
101 | - | Script82 = Instance.new("Script") |
101 | + | Model82 = Instance.new("Model") |
102 | Part83 = Instance.new("Part") | |
103 | - | Fire84 = Instance.new("Fire") |
103 | + | SpecialMesh84 = Instance.new("SpecialMesh") |
104 | - | Script85 = Instance.new("Script") |
104 | + | Decal85 = Instance.new("Decal") |
105 | Part86 = Instance.new("Part") | |
106 | - | Fire87 = Instance.new("Fire") |
106 | + | Part87 = Instance.new("Part") |
107 | - | Script88 = Instance.new("Script") |
107 | + | Part88 = Instance.new("Part") |
108 | - | Model89 = Instance.new("Model") |
108 | + | Humanoid89 = Instance.new("Humanoid") |
109 | Part90 = Instance.new("Part") | |
110 | - | Fire91 = Instance.new("Fire") |
110 | + | Script91 = Instance.new("Script") |
111 | - | Script92 = Instance.new("Script") |
111 | + | Part92 = Instance.new("Part") |
112 | - | Part93 = Instance.new("Part") |
112 | + | Script93 = Instance.new("Script") |
113 | - | Fire94 = Instance.new("Fire") |
113 | + | ObjectValue94 = Instance.new("ObjectValue") |
114 | - | Script95 = Instance.new("Script") |
114 | + | IntValue95 = Instance.new("IntValue") |
115 | - | Part96 = Instance.new("Part") |
115 | + | Script96 = Instance.new("Script") |
116 | - | Tool97 = Instance.new("Tool") |
116 | + | Script97 = Instance.new("Script") |
117 | - | Part98 = Instance.new("Part") |
117 | + | Script98 = Instance.new("Script") |
118 | - | Sound99 = Instance.new("Sound") |
118 | + | Part99 = Instance.new("Part") |
119 | - | Sound100 = Instance.new("Sound") |
119 | + | Decal100 = Instance.new("Decal") |
120 | - | SpecialMesh101 = Instance.new("SpecialMesh") |
120 | + | Model101 = Instance.new("Model") |
121 | - | Weld102 = Instance.new("Weld") |
121 | + | Model102 = Instance.new("Model") |
122 | Part103 = Instance.new("Part") | |
123 | - | Sound104 = Instance.new("Sound") |
123 | + | SpecialMesh104 = Instance.new("SpecialMesh") |
124 | - | Sound105 = Instance.new("Sound") |
124 | + | Decal105 = Instance.new("Decal") |
125 | - | SpecialMesh106 = Instance.new("SpecialMesh") |
125 | + | Part106 = Instance.new("Part") |
126 | - | Script107 = Instance.new("Script") |
126 | + | Part107 = Instance.new("Part") |
127 | - | Script108 = Instance.new("Script") |
127 | + | Part108 = Instance.new("Part") |
128 | - | LocalScript109 = Instance.new("LocalScript") |
128 | + | Humanoid109 = Instance.new("Humanoid") |
129 | - | Script110 = Instance.new("Script") |
129 | + | Part110 = Instance.new("Part") |
130 | Script111 = Instance.new("Script") | |
131 | - | Script112 = Instance.new("Script") |
131 | + | Part112 = Instance.new("Part") |
132 | Script113 = Instance.new("Script") | |
133 | - | Fire114 = Instance.new("Fire") |
133 | + | ObjectValue114 = Instance.new("ObjectValue") |
134 | - | Script115 = Instance.new("Script") |
134 | + | IntValue115 = Instance.new("IntValue") |
135 | - | Part116 = Instance.new("Part") |
135 | + | Script116 = Instance.new("Script") |
136 | - | Part117 = Instance.new("Part") |
136 | + | Script117 = Instance.new("Script") |
137 | Script118 = Instance.new("Script") | |
138 | Part119 = Instance.new("Part") | |
139 | - | Fire120 = Instance.new("Fire") |
139 | + | Decal120 = Instance.new("Decal") |
140 | - | Script121 = Instance.new("Script") |
140 | + | Model121 = Instance.new("Model") |
141 | - | Script122 = Instance.new("Script") |
141 | + | Model122 = Instance.new("Model") |
142 | - | RotateP123 = Instance.new("RotateP") |
142 | + | Part123 = Instance.new("Part") |
143 | - | RotateP124 = Instance.new("RotateP") |
143 | + | SpecialMesh124 = Instance.new("SpecialMesh") |
144 | - | RotateP125 = Instance.new("RotateP") |
144 | + | Decal125 = Instance.new("Decal") |
145 | - | RotateP126 = Instance.new("RotateP") |
145 | + | Part126 = Instance.new("Part") |
146 | - | RotateP127 = Instance.new("RotateP") |
146 | + | Part127 = Instance.new("Part") |
147 | Part128 = Instance.new("Part") | |
148 | - | Fire129 = Instance.new("Fire") |
148 | + | Humanoid129 = Instance.new("Humanoid") |
149 | - | Script130 = Instance.new("Script") |
149 | + | Part130 = Instance.new("Part") |
150 | - | Part131 = Instance.new("Part") |
150 | + | Script131 = Instance.new("Script") |
151 | - | Fire132 = Instance.new("Fire") |
151 | + | Part132 = Instance.new("Part") |
152 | Script133 = Instance.new("Script") | |
153 | - | Decal134 = Instance.new("Decal") |
153 | + | ObjectValue134 = Instance.new("ObjectValue") |
154 | - | Model135 = Instance.new("Model") |
154 | + | IntValue135 = Instance.new("IntValue") |
155 | - | Part136 = Instance.new("Part") |
155 | + | Script136 = Instance.new("Script") |
156 | - | Fire137 = Instance.new("Fire") |
156 | + | Script137 = Instance.new("Script") |
157 | Script138 = Instance.new("Script") | |
158 | Part139 = Instance.new("Part") | |
159 | - | Tool140 = Instance.new("Tool") |
159 | + | Decal140 = Instance.new("Decal") |
160 | - | Part141 = Instance.new("Part") |
160 | + | Model141 = Instance.new("Model") |
161 | - | Weld142 = Instance.new("Weld") |
161 | + | Model142 = Instance.new("Model") |
162 | - | Weld143 = Instance.new("Weld") |
162 | + | Part143 = Instance.new("Part") |
163 | - | Weld144 = Instance.new("Weld") |
163 | + | SpecialMesh144 = Instance.new("SpecialMesh") |
164 | - | Weld145 = Instance.new("Weld") |
164 | + | Decal145 = Instance.new("Decal") |
165 | - | Weld146 = Instance.new("Weld") |
165 | + | Part146 = Instance.new("Part") |
166 | - | Weld147 = Instance.new("Weld") |
166 | + | Part147 = Instance.new("Part") |
167 | - | Weld148 = Instance.new("Weld") |
167 | + | Part148 = Instance.new("Part") |
168 | - | Sound149 = Instance.new("Sound") |
168 | + | Humanoid149 = Instance.new("Humanoid") |
169 | - | Weld150 = Instance.new("Weld") |
169 | + | Part150 = Instance.new("Part") |
170 | - | Weld151 = Instance.new("Weld") |
170 | + | Script151 = Instance.new("Script") |
171 | - | Weld152 = Instance.new("Weld") |
171 | + | Part152 = Instance.new("Part") |
172 | - | Weld153 = Instance.new("Weld") |
172 | + | Script153 = Instance.new("Script") |
173 | - | Weld154 = Instance.new("Weld") |
173 | + | ObjectValue154 = Instance.new("ObjectValue") |
174 | - | Weld155 = Instance.new("Weld") |
174 | + | IntValue155 = Instance.new("IntValue") |
175 | - | Weld156 = Instance.new("Weld") |
175 | + | Script156 = Instance.new("Script") |
176 | - | Weld157 = Instance.new("Weld") |
176 | + | Script157 = Instance.new("Script") |
177 | - | Weld158 = Instance.new("Weld") |
177 | + | Script158 = Instance.new("Script") |
178 | - | Weld159 = Instance.new("Weld") |
178 | + | Part159 = Instance.new("Part") |
179 | - | Weld160 = Instance.new("Weld") |
179 | + | Decal160 = Instance.new("Decal") |
180 | - | Weld161 = Instance.new("Weld") |
180 | + | Model161 = Instance.new("Model") |
181 | - | Weld162 = Instance.new("Weld") |
181 | + | Model162 = Instance.new("Model") |
182 | - | Weld163 = Instance.new("Weld") |
182 | + | Part163 = Instance.new("Part") |
183 | - | Weld164 = Instance.new("Weld") |
183 | + | SpecialMesh164 = Instance.new("SpecialMesh") |
184 | - | Weld165 = Instance.new("Weld") |
184 | + | Decal165 = Instance.new("Decal") |
185 | - | Weld166 = Instance.new("Weld") |
185 | + | Part166 = Instance.new("Part") |
186 | - | Weld167 = Instance.new("Weld") |
186 | + | Part167 = Instance.new("Part") |
187 | - | Weld168 = Instance.new("Weld") |
187 | + | Part168 = Instance.new("Part") |
188 | - | Weld169 = Instance.new("Weld") |
188 | + | Humanoid169 = Instance.new("Humanoid") |
189 | - | Weld170 = Instance.new("Weld") |
189 | + | Part170 = Instance.new("Part") |
190 | - | Weld171 = Instance.new("Weld") |
190 | + | Script171 = Instance.new("Script") |
191 | - | Weld172 = Instance.new("Weld") |
191 | + | Part172 = Instance.new("Part") |
192 | - | Weld173 = Instance.new("Weld") |
192 | + | Script173 = Instance.new("Script") |
193 | - | Weld174 = Instance.new("Weld") |
193 | + | ObjectValue174 = Instance.new("ObjectValue") |
194 | - | Weld175 = Instance.new("Weld") |
194 | + | IntValue175 = Instance.new("IntValue") |
195 | - | Weld176 = Instance.new("Weld") |
195 | + | Script176 = Instance.new("Script") |
196 | - | Weld177 = Instance.new("Weld") |
196 | + | Script177 = Instance.new("Script") |
197 | - | Weld178 = Instance.new("Weld") |
197 | + | Script178 = Instance.new("Script") |
198 | - | Weld179 = Instance.new("Weld") |
198 | + | Part179 = Instance.new("Part") |
199 | - | Weld180 = Instance.new("Weld") |
199 | + | Decal180 = Instance.new("Decal") |
200 | - | Weld181 = Instance.new("Weld") |
200 | + | Model181 = Instance.new("Model") |
201 | - | Weld182 = Instance.new("Weld") |
201 | + | Model182 = Instance.new("Model") |
202 | - | Weld183 = Instance.new("Weld") |
202 | + | Part183 = Instance.new("Part") |
203 | - | Weld184 = Instance.new("Weld") |
203 | + | SpecialMesh184 = Instance.new("SpecialMesh") |
204 | - | Weld185 = Instance.new("Weld") |
204 | + | Decal185 = Instance.new("Decal") |
205 | - | Weld186 = Instance.new("Weld") |
205 | + | Part186 = Instance.new("Part") |
206 | - | Weld187 = Instance.new("Weld") |
206 | + | Part187 = Instance.new("Part") |
207 | - | Weld188 = Instance.new("Weld") |
207 | + | Part188 = Instance.new("Part") |
208 | - | Weld189 = Instance.new("Weld") |
208 | + | Humanoid189 = Instance.new("Humanoid") |
209 | - | Weld190 = Instance.new("Weld") |
209 | + | Part190 = Instance.new("Part") |
210 | - | Weld191 = Instance.new("Weld") |
210 | + | Script191 = Instance.new("Script") |
211 | - | Weld192 = Instance.new("Weld") |
211 | + | Part192 = Instance.new("Part") |
212 | - | Weld193 = Instance.new("Weld") |
212 | + | Script193 = Instance.new("Script") |
213 | - | Weld194 = Instance.new("Weld") |
213 | + | ObjectValue194 = Instance.new("ObjectValue") |
214 | - | Weld195 = Instance.new("Weld") |
214 | + | IntValue195 = Instance.new("IntValue") |
215 | - | Weld196 = Instance.new("Weld") |
215 | + | Script196 = Instance.new("Script") |
216 | - | Weld197 = Instance.new("Weld") |
216 | + | Script197 = Instance.new("Script") |
217 | - | Weld198 = Instance.new("Weld") |
217 | + | Script198 = Instance.new("Script") |
218 | - | Weld199 = Instance.new("Weld") |
218 | + | Part199 = Instance.new("Part") |
219 | - | Weld200 = Instance.new("Weld") |
219 | + | Decal200 = Instance.new("Decal") |
220 | - | Weld201 = Instance.new("Weld") |
220 | + | Model201 = Instance.new("Model") |
221 | - | Weld202 = Instance.new("Weld") |
221 | + | Model202 = Instance.new("Model") |
222 | - | Weld203 = Instance.new("Weld") |
222 | + | Model203 = Instance.new("Model") |
223 | - | Weld204 = Instance.new("Weld") |
223 | + | Part204 = Instance.new("Part") |
224 | - | Weld205 = Instance.new("Weld") |
224 | + | SpecialMesh205 = Instance.new("SpecialMesh") |
225 | - | Weld206 = Instance.new("Weld") |
225 | + | Decal206 = Instance.new("Decal") |
226 | - | Weld207 = Instance.new("Weld") |
226 | + | Part207 = Instance.new("Part") |
227 | - | Weld208 = Instance.new("Weld") |
227 | + | Part208 = Instance.new("Part") |
228 | - | Weld209 = Instance.new("Weld") |
228 | + | Part209 = Instance.new("Part") |
229 | - | Weld210 = Instance.new("Weld") |
229 | + | Humanoid210 = Instance.new("Humanoid") |
230 | - | Sound211 = Instance.new("Sound") |
230 | + | Part211 = Instance.new("Part") |
231 | - | Weld212 = Instance.new("Weld") |
231 | + | Script212 = Instance.new("Script") |
232 | - | Weld213 = Instance.new("Weld") |
232 | + | Part213 = Instance.new("Part") |
233 | - | Weld214 = Instance.new("Weld") |
233 | + | Script214 = Instance.new("Script") |
234 | - | Weld215 = Instance.new("Weld") |
234 | + | ObjectValue215 = Instance.new("ObjectValue") |
235 | - | Weld216 = Instance.new("Weld") |
235 | + | IntValue216 = Instance.new("IntValue") |
236 | - | Weld217 = Instance.new("Weld") |
236 | + | Script217 = Instance.new("Script") |
237 | - | Weld218 = Instance.new("Weld") |
237 | + | Script218 = Instance.new("Script") |
238 | - | Weld219 = Instance.new("Weld") |
238 | + | Script219 = Instance.new("Script") |
239 | - | Weld220 = Instance.new("Weld") |
239 | + | Part220 = Instance.new("Part") |
240 | - | Weld221 = Instance.new("Weld") |
240 | + | Decal221 = Instance.new("Decal") |
241 | - | Weld222 = Instance.new("Weld") |
241 | + | Model222 = Instance.new("Model") |
242 | - | Weld223 = Instance.new("Weld") |
242 | + | Model223 = Instance.new("Model") |
243 | - | Weld224 = Instance.new("Weld") |
243 | + | Part224 = Instance.new("Part") |
244 | - | Weld225 = Instance.new("Weld") |
244 | + | SpecialMesh225 = Instance.new("SpecialMesh") |
245 | - | Weld226 = Instance.new("Weld") |
245 | + | Decal226 = Instance.new("Decal") |
246 | - | Weld227 = Instance.new("Weld") |
246 | + | Part227 = Instance.new("Part") |
247 | - | Weld228 = Instance.new("Weld") |
247 | + | Part228 = Instance.new("Part") |
248 | - | Weld229 = Instance.new("Weld") |
248 | + | Part229 = Instance.new("Part") |
249 | - | Weld230 = Instance.new("Weld") |
249 | + | Humanoid230 = Instance.new("Humanoid") |
250 | - | Weld231 = Instance.new("Weld") |
250 | + | Part231 = Instance.new("Part") |
251 | - | Weld232 = Instance.new("Weld") |
251 | + | Script232 = Instance.new("Script") |
252 | - | Weld233 = Instance.new("Weld") |
252 | + | Part233 = Instance.new("Part") |
253 | - | Weld234 = Instance.new("Weld") |
253 | + | Script234 = Instance.new("Script") |
254 | - | SpecialMesh235 = Instance.new("SpecialMesh") |
254 | + | ObjectValue235 = Instance.new("ObjectValue") |
255 | - | Weld236 = Instance.new("Weld") |
255 | + | IntValue236 = Instance.new("IntValue") |
256 | - | Weld237 = Instance.new("Weld") |
256 | + | Script237 = Instance.new("Script") |
257 | - | Weld238 = Instance.new("Weld") |
257 | + | Script238 = Instance.new("Script") |
258 | - | Weld239 = Instance.new("Weld") |
258 | + | Script239 = Instance.new("Script") |
259 | - | Weld240 = Instance.new("Weld") |
259 | + | Part240 = Instance.new("Part") |
260 | - | Fire241 = Instance.new("Fire") |
260 | + | Decal241 = Instance.new("Decal") |
261 | - | Script242 = Instance.new("Script") |
261 | + | Model242 = Instance.new("Model") |
262 | - | Weld243 = Instance.new("Weld") |
262 | + | Model243 = Instance.new("Model") |
263 | - | Weld244 = Instance.new("Weld") |
263 | + | Part244 = Instance.new("Part") |
264 | - | Weld245 = Instance.new("Weld") |
264 | + | SpecialMesh245 = Instance.new("SpecialMesh") |
265 | - | RotateP246 = Instance.new("RotateP") |
265 | + | Decal246 = Instance.new("Decal") |
266 | - | SpecialMesh247 = Instance.new("SpecialMesh") |
266 | + | Part247 = Instance.new("Part") |
267 | - | Script248 = Instance.new("Script") |
267 | + | Part248 = Instance.new("Part") |
268 | - | LocalScript249 = Instance.new("LocalScript") |
268 | + | Part249 = Instance.new("Part") |
269 | - | LocalScript250 = Instance.new("LocalScript") |
269 | + | Humanoid250 = Instance.new("Humanoid") |
270 | Part251 = Instance.new("Part") | |
271 | - | Sound252 = Instance.new("Sound") |
271 | + | Script252 = Instance.new("Script") |
272 | - | BodyGyro253 = Instance.new("BodyGyro") |
272 | + | Part253 = Instance.new("Part") |
273 | - | Sound254 = Instance.new("Sound") |
273 | + | Script254 = Instance.new("Script") |
274 | - | SpecialMesh255 = Instance.new("SpecialMesh") |
274 | + | ObjectValue255 = Instance.new("ObjectValue") |
275 | - | Script256 = Instance.new("Script") |
275 | + | IntValue256 = Instance.new("IntValue") |
276 | - | Fire257 = Instance.new("Fire") |
276 | + | Script257 = Instance.new("Script") |
277 | Script258 = Instance.new("Script") | |
278 | - | Part259 = Instance.new("Part") |
278 | + | Script259 = Instance.new("Script") |
279 | - | Fire260 = Instance.new("Fire") |
279 | + | Part260 = Instance.new("Part") |
280 | - | Script261 = Instance.new("Script") |
280 | + | Decal261 = Instance.new("Decal") |
281 | - | Part262 = Instance.new("Part") |
281 | + | Model262 = Instance.new("Model") |
282 | - | Fire263 = Instance.new("Fire") |
282 | + | Model263 = Instance.new("Model") |
283 | - | Script264 = Instance.new("Script") |
283 | + | Part264 = Instance.new("Part") |
284 | - | Part265 = Instance.new("Part") |
284 | + | SpecialMesh265 = Instance.new("SpecialMesh") |
285 | - | Part266 = Instance.new("Part") |
285 | + | Decal266 = Instance.new("Decal") |
286 | - | Script267 = Instance.new("Script") |
286 | + | Part267 = Instance.new("Part") |
287 | - | RotateP268 = Instance.new("RotateP") |
287 | + | Part268 = Instance.new("Part") |
288 | - | RotateP269 = Instance.new("RotateP") |
288 | + | Part269 = Instance.new("Part") |
289 | - | RotateP270 = Instance.new("RotateP") |
289 | + | Humanoid270 = Instance.new("Humanoid") |
290 | - | RotateP271 = Instance.new("RotateP") |
290 | + | Part271 = Instance.new("Part") |
291 | - | RotateP272 = Instance.new("RotateP") |
291 | + | Script272 = Instance.new("Script") |
292 | - | Model273 = Instance.new("Model") |
292 | + | Part273 = Instance.new("Part") |
293 | - | Part274 = Instance.new("Part") |
293 | + | Script274 = Instance.new("Script") |
294 | - | Fire275 = Instance.new("Fire") |
294 | + | ObjectValue275 = Instance.new("ObjectValue") |
295 | - | Script276 = Instance.new("Script") |
295 | + | IntValue276 = Instance.new("IntValue") |
296 | - | Part277 = Instance.new("Part") |
296 | + | Script277 = Instance.new("Script") |
297 | - | Fire278 = Instance.new("Fire") |
297 | + | Script278 = Instance.new("Script") |
298 | Script279 = Instance.new("Script") | |
299 | Part280 = Instance.new("Part") | |
300 | - | Tool281 = Instance.new("Tool") |
300 | + | Decal281 = Instance.new("Decal") |
301 | - | SpecialMesh282 = Instance.new("SpecialMesh") |
301 | + | Model282 = Instance.new("Model") |
302 | - | Script283 = Instance.new("Script") |
302 | + | Model283 = Instance.new("Model") |
303 | - | Script284 = Instance.new("Script") |
303 | + | Part284 = Instance.new("Part") |
304 | - | Script285 = Instance.new("Script") |
304 | + | SpecialMesh285 = Instance.new("SpecialMesh") |
305 | - | LocalScript286 = Instance.new("LocalScript") |
305 | + | Decal286 = Instance.new("Decal") |
306 | - | IntValue287 = Instance.new("IntValue") |
306 | + | Part287 = Instance.new("Part") |
307 | - | IntValue288 = Instance.new("IntValue") |
307 | + | Part288 = Instance.new("Part") |
308 | - | Script289 = Instance.new("Script") |
308 | + | Part289 = Instance.new("Part") |
309 | - | LocalScript290 = Instance.new("LocalScript") |
309 | + | Humanoid290 = Instance.new("Humanoid") |
310 | Part291 = Instance.new("Part") | |
311 | - | Sound292 = Instance.new("Sound") |
311 | + | Script292 = Instance.new("Script") |
312 | - | SpecialMesh293 = Instance.new("SpecialMesh") |
312 | + | Part293 = Instance.new("Part") |
313 | Script294 = Instance.new("Script") | |
314 | - | Script295 = Instance.new("Script") |
314 | + | ObjectValue295 = Instance.new("ObjectValue") |
315 | - | Script296 = Instance.new("Script") |
315 | + | IntValue296 = Instance.new("IntValue") |
316 | - | LocalScript297 = Instance.new("LocalScript") |
316 | + | Script297 = Instance.new("Script") |
317 | - | LocalScript298 = Instance.new("LocalScript") |
317 | + | Script298 = Instance.new("Script") |
318 | Script299 = Instance.new("Script") | |
319 | - | LocalScript300 = Instance.new("LocalScript") |
319 | + | Part300 = Instance.new("Part") |
320 | - | IntValue301 = Instance.new("IntValue") |
320 | + | Decal301 = Instance.new("Decal") |
321 | - | IntValue302 = Instance.new("IntValue") |
321 | + | Model302 = Instance.new("Model") |
322 | - | Script303 = Instance.new("Script") |
322 | + | Model303 = Instance.new("Model") |
323 | - | Vector3Value304 = Instance.new("Vector3Value") |
323 | + | Part304 = Instance.new("Part") |
324 | - | LocalScript305 = Instance.new("LocalScript") |
324 | + | SpecialMesh305 = Instance.new("SpecialMesh") |
325 | - | LocalScript306 = Instance.new("LocalScript") |
325 | + | Decal306 = Instance.new("Decal") |
326 | - | Vector3Value307 = Instance.new("Vector3Value") |
326 | + | Part307 = Instance.new("Part") |
327 | - | IntValue308 = Instance.new("IntValue") |
327 | + | Part308 = Instance.new("Part") |
328 | - | Script309 = Instance.new("Script") |
328 | + | Part309 = Instance.new("Part") |
329 | - | Script310 = Instance.new("Script") |
329 | + | Humanoid310 = Instance.new("Humanoid") |
330 | - | Fire311 = Instance.new("Fire") |
330 | + | Part311 = Instance.new("Part") |
331 | Script312 = Instance.new("Script") | |
332 | Part313 = Instance.new("Part") | |
333 | - | Part314 = Instance.new("Part") |
333 | + | Script314 = Instance.new("Script") |
334 | - | Fire315 = Instance.new("Fire") |
334 | + | ObjectValue315 = Instance.new("ObjectValue") |
335 | - | Script316 = Instance.new("Script") |
335 | + | IntValue316 = Instance.new("IntValue") |
336 | - | Part317 = Instance.new("Part") |
336 | + | Script317 = Instance.new("Script") |
337 | Script318 = Instance.new("Script") | |
338 | Script319 = Instance.new("Script") | |
339 | - | Script320 = Instance.new("Script") |
339 | + | Part320 = Instance.new("Part") |
340 | - | RotateP321 = Instance.new("RotateP") |
340 | + | Decal321 = Instance.new("Decal") |
341 | - | RotateP322 = Instance.new("RotateP") |
341 | + | Model322 = Instance.new("Model") |
342 | - | RotateP323 = Instance.new("RotateP") |
342 | + | Model323 = Instance.new("Model") |
343 | - | RotateP324 = Instance.new("RotateP") |
343 | + | Part324 = Instance.new("Part") |
344 | - | RotateP325 = Instance.new("RotateP") |
344 | + | SpecialMesh325 = Instance.new("SpecialMesh") |
345 | - | Part326 = Instance.new("Part") |
345 | + | Decal326 = Instance.new("Decal") |
346 | - | Fire327 = Instance.new("Fire") |
346 | + | Part327 = Instance.new("Part") |
347 | - | Script328 = Instance.new("Script") |
347 | + | Part328 = Instance.new("Part") |
348 | Part329 = Instance.new("Part") | |
349 | - | Fire330 = Instance.new("Fire") |
349 | + | Humanoid330 = Instance.new("Humanoid") |
350 | - | Script331 = Instance.new("Script") |
350 | + | Part331 = Instance.new("Part") |
351 | - | Model332 = Instance.new("Model") |
351 | + | Script332 = Instance.new("Script") |
352 | Part333 = Instance.new("Part") | |
353 | - | GuiMain334 = Instance.new("GuiMain") |
353 | + | Script334 = Instance.new("Script") |
354 | - | Frame335 = Instance.new("Frame") |
354 | + | ObjectValue335 = Instance.new("ObjectValue") |
355 | - | TextButton336 = Instance.new("TextButton") |
355 | + | IntValue336 = Instance.new("IntValue") |
356 | Script337 = Instance.new("Script") | |
357 | Script338 = Instance.new("Script") | |
358 | - | TextButton339 = Instance.new("TextButton") |
358 | + | Script339 = Instance.new("Script") |
359 | - | Script340 = Instance.new("Script") |
359 | + | Part340 = Instance.new("Part") |
360 | - | TextButton341 = Instance.new("TextButton") |
360 | + | Decal341 = Instance.new("Decal") |
361 | - | Script342 = Instance.new("Script") |
361 | + | Model342 = Instance.new("Model") |
362 | - | BodyVelocity343 = Instance.new("BodyVelocity") |
362 | + | Model343 = Instance.new("Model") |
363 | - | TextButton344 = Instance.new("TextButton") |
363 | + | Part344 = Instance.new("Part") |
364 | - | Script345 = Instance.new("Script") |
364 | + | SpecialMesh345 = Instance.new("SpecialMesh") |
365 | - | TextButton346 = Instance.new("TextButton") |
365 | + | Decal346 = Instance.new("Decal") |
366 | - | Script347 = Instance.new("Script") |
366 | + | Part347 = Instance.new("Part") |
367 | - | BodyVelocity348 = Instance.new("BodyVelocity") |
367 | + | Part348 = Instance.new("Part") |
368 | - | BodyForce349 = Instance.new("BodyForce") |
368 | + | Part349 = Instance.new("Part") |
369 | - | Script350 = Instance.new("Script") |
369 | + | Humanoid350 = Instance.new("Humanoid") |
370 | - | Script351 = Instance.new("Script") |
370 | + | Part351 = Instance.new("Part") |
371 | - | Fire352 = Instance.new("Fire") |
371 | + | Script352 = Instance.new("Script") |
372 | - | Script353 = Instance.new("Script") |
372 | + | Part353 = Instance.new("Part") |
373 | - | Model354 = Instance.new("Model") |
373 | + | Script354 = Instance.new("Script") |
374 | - | Part355 = Instance.new("Part") |
374 | + | ObjectValue355 = Instance.new("ObjectValue") |
375 | - | SpecialMesh356 = Instance.new("SpecialMesh") |
375 | + | IntValue356 = Instance.new("IntValue") |
376 | - | BodyForce357 = Instance.new("BodyForce") |
376 | + | Script357 = Instance.new("Script") |
377 | - | Fire358 = Instance.new("Fire") |
377 | + | Script358 = Instance.new("Script") |
378 | Script359 = Instance.new("Script") | |
379 | Part360 = Instance.new("Part") | |
380 | - | BlockMesh361 = Instance.new("BlockMesh") |
380 | + | Decal361 = Instance.new("Decal") |
381 | - | BodyForce362 = Instance.new("BodyForce") |
381 | + | Model362 = Instance.new("Model") |
382 | - | Fire363 = Instance.new("Fire") |
382 | + | Model363 = Instance.new("Model") |
383 | - | Script364 = Instance.new("Script") |
383 | + | Part364 = Instance.new("Part") |
384 | - | Part365 = Instance.new("Part") |
384 | + | SpecialMesh365 = Instance.new("SpecialMesh") |
385 | - | SpecialMesh366 = Instance.new("SpecialMesh") |
385 | + | Decal366 = Instance.new("Decal") |
386 | - | BodyForce367 = Instance.new("BodyForce") |
386 | + | Part367 = Instance.new("Part") |
387 | - | Fire368 = Instance.new("Fire") |
387 | + | Part368 = Instance.new("Part") |
388 | - | Script369 = Instance.new("Script") |
388 | + | Part369 = Instance.new("Part") |
389 | - | Part370 = Instance.new("Part") |
389 | + | Humanoid370 = Instance.new("Humanoid") |
390 | - | SpecialMesh371 = Instance.new("SpecialMesh") |
390 | + | Part371 = Instance.new("Part") |
391 | - | BodyForce372 = Instance.new("BodyForce") |
391 | + | Script372 = Instance.new("Script") |
392 | - | Fire373 = Instance.new("Fire") |
392 | + | Part373 = Instance.new("Part") |
393 | Script374 = Instance.new("Script") | |
394 | - | Part375 = Instance.new("Part") |
394 | + | ObjectValue375 = Instance.new("ObjectValue") |
395 | - | SpecialMesh376 = Instance.new("SpecialMesh") |
395 | + | IntValue376 = Instance.new("IntValue") |
396 | - | BodyForce377 = Instance.new("BodyForce") |
396 | + | Script377 = Instance.new("Script") |
397 | - | Fire378 = Instance.new("Fire") |
397 | + | Script378 = Instance.new("Script") |
398 | Script379 = Instance.new("Script") | |
399 | Part380 = Instance.new("Part") | |
400 | - | SpecialMesh381 = Instance.new("SpecialMesh") |
400 | + | Decal381 = Instance.new("Decal") |
401 | - | BodyForce382 = Instance.new("BodyForce") |
401 | + | Model382 = Instance.new("Model") |
402 | - | Fire383 = Instance.new("Fire") |
402 | + | Model383 = Instance.new("Model") |
403 | - | Script384 = Instance.new("Script") |
403 | + | Part384 = Instance.new("Part") |
404 | - | Part385 = Instance.new("Part") |
404 | + | SpecialMesh385 = Instance.new("SpecialMesh") |
405 | - | BlockMesh386 = Instance.new("BlockMesh") |
405 | + | Decal386 = Instance.new("Decal") |
406 | - | BodyForce387 = Instance.new("BodyForce") |
406 | + | Part387 = Instance.new("Part") |
407 | - | Fire388 = Instance.new("Fire") |
407 | + | Part388 = Instance.new("Part") |
408 | - | Script389 = Instance.new("Script") |
408 | + | Part389 = Instance.new("Part") |
409 | - | Part390 = Instance.new("Part") |
409 | + | Humanoid390 = Instance.new("Humanoid") |
410 | - | SpecialMesh391 = Instance.new("SpecialMesh") |
410 | + | Part391 = Instance.new("Part") |
411 | - | BodyForce392 = Instance.new("BodyForce") |
411 | + | Script392 = Instance.new("Script") |
412 | - | Fire393 = Instance.new("Fire") |
412 | + | Part393 = Instance.new("Part") |
413 | Script394 = Instance.new("Script") | |
414 | - | Part395 = Instance.new("Part") |
414 | + | ObjectValue395 = Instance.new("ObjectValue") |
415 | - | SpecialMesh396 = Instance.new("SpecialMesh") |
415 | + | IntValue396 = Instance.new("IntValue") |
416 | - | BodyForce397 = Instance.new("BodyForce") |
416 | + | Script397 = Instance.new("Script") |
417 | - | Fire398 = Instance.new("Fire") |
417 | + | Script398 = Instance.new("Script") |
418 | Script399 = Instance.new("Script") | |
419 | Part400 = Instance.new("Part") | |
420 | - | SpecialMesh401 = Instance.new("SpecialMesh") |
420 | + | Decal401 = Instance.new("Decal") |
421 | - | BodyForce402 = Instance.new("BodyForce") |
421 | + | |
422 | - | Fire403 = Instance.new("Fire") |
422 | + | Model1.Parent = Model0 |
423 | - | Script404 = Instance.new("Script") |
423 | + | Model2.Name = "Zombie" |
424 | - | Part405 = Instance.new("Part") |
424 | + | Model2.Parent = Model1 |
425 | - | BodyForce406 = Instance.new("BodyForce") |
425 | + | Model2.PrimaryPart = Part3 |
426 | - | Fire407 = Instance.new("Fire") |
426 | + | Part3.Name = "Head" |
427 | - | Script408 = Instance.new("Script") |
427 | + | Part3.Parent = Model2 |
428 | - | Script409 = Instance.new("Script") |
428 | + | Part3.CFrame = CFrame.new(201.591461, 6.09995508, 229.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
429 | - | RotateP410 = Instance.new("RotateP") |
429 | + | Part3.Orientation = Vector3.new(0, 90, 0) |
430 | - | RotateP411 = Instance.new("RotateP") |
430 | + | Part3.Position = Vector3.new(201.591461, 6.09995508, 229.48645) |
431 | - | RotateP412 = Instance.new("RotateP") |
431 | + | Part3.Rotation = Vector3.new(0, 90, 0) |
432 | - | RotateP413 = Instance.new("RotateP") |
432 | + | Part3.Color = Color3.new(0.631373, 0.768628, 0.54902) |
433 | - | RotateP414 = Instance.new("RotateP") |
433 | + | Part3.Size = Vector3.new(2, 1, 1) |
434 | - | RotateP415 = Instance.new("RotateP") |
434 | + | Part3.BrickColor = BrickColor.new("Medium green") |
435 | - | RotateP416 = Instance.new("RotateP") |
435 | + | Part3.TopSurface = Enum.SurfaceType.Smooth |
436 | - | RotateP417 = Instance.new("RotateP") |
436 | + | Part3.brickColor = BrickColor.new("Medium green") |
437 | - | RotateP418 = Instance.new("RotateP") |
437 | + | Part3.FormFactor = Enum.FormFactor.Symmetric |
438 | - | RotateP419 = Instance.new("RotateP") |
438 | + | Part3.formFactor = Enum.FormFactor.Symmetric |
439 | - | RotateP420 = Instance.new("RotateP") |
439 | + | SpecialMesh4.Parent = Part3 |
440 | - | RotateP421 = Instance.new("RotateP") |
440 | + | SpecialMesh4.Scale = Vector3.new(1.25, 1.25, 1.25) |
441 | - | RotateP422 = Instance.new("RotateP") |
441 | + | Decal5.Name = "face" |
442 | - | RotateP423 = Instance.new("RotateP") |
442 | + | Decal5.Parent = Part3 |
443 | - | RotateP424 = Instance.new("RotateP") |
443 | + | Part6.Name = "Torso" |
444 | - | RotateP425 = Instance.new("RotateP") |
444 | + | Part6.Parent = Model2 |
445 | - | RotateP426 = Instance.new("RotateP") |
445 | + | Part6.CFrame = CFrame.new(201.591461, 4.59995508, 229.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
446 | - | RotateP427 = Instance.new("RotateP") |
446 | + | Part6.Orientation = Vector3.new(0, 90, 0) |
447 | - | RotateP428 = Instance.new("RotateP") |
447 | + | Part6.Position = Vector3.new(201.591461, 4.59995508, 229.48645) |
448 | - | RotateP429 = Instance.new("RotateP") |
448 | + | Part6.Rotation = Vector3.new(0, 90, 0) |
449 | - | RotateP430 = Instance.new("RotateP") |
449 | + | Part6.Color = Color3.new(0.411765, 0.25098, 0.156863) |
450 | - | RotateP431 = Instance.new("RotateP") |
450 | + | Part6.Size = Vector3.new(2, 2, 1) |
451 | - | RotateP432 = Instance.new("RotateP") |
451 | + | Part6.BrickColor = BrickColor.new("Reddish brown") |
452 | - | RotateP433 = Instance.new("RotateP") |
452 | + | Part6.LeftParamA = 0 |
453 | - | RotateP434 = Instance.new("RotateP") |
453 | + | Part6.LeftParamB = 0 |
454 | - | RotateP435 = Instance.new("RotateP") |
454 | + | Part6.LeftSurface = Enum.SurfaceType.Weld |
455 | - | RotateP436 = Instance.new("RotateP") |
455 | + | Part6.RightParamA = 0 |
456 | - | RotateV437 = Instance.new("RotateV") |
456 | + | Part6.RightParamB = 0 |
457 | - | VelocityMotor438 = Instance.new("VelocityMotor") |
457 | + | Part6.RightSurface = Enum.SurfaceType.Weld |
458 | - | RotateP439 = Instance.new("RotateP") |
458 | + | Part6.brickColor = BrickColor.new("Reddish brown") |
459 | - | RotateP440 = Instance.new("RotateP") |
459 | + | Part6.FormFactor = Enum.FormFactor.Symmetric |
460 | - | Part441 = Instance.new("Part") |
460 | + | Part6.formFactor = Enum.FormFactor.Symmetric |
461 | - | Script442 = Instance.new("Script") |
461 | + | Part7.Name = "Left Leg" |
462 | - | Decal443 = Instance.new("Decal") |
462 | + | Part7.Parent = Model2 |
463 | - | Decal444 = Instance.new("Decal") |
463 | + | Part7.CFrame = CFrame.new(201.591461, 2.59995508, 229.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
464 | - | Fire445 = Instance.new("Fire") |
464 | + | Part7.Orientation = Vector3.new(0, 90, 0) |
465 | - | Script446 = Instance.new("Script") |
465 | + | Part7.Position = Vector3.new(201.591461, 2.59995508, 229.98645) |
466 | - | Decal447 = Instance.new("Decal") |
466 | + | Part7.Rotation = Vector3.new(0, 90, 0) |
467 | - | Decal448 = Instance.new("Decal") |
467 | + | Part7.Color = Color3.new(0.411765, 0.25098, 0.156863) |
468 | - | Part449 = Instance.new("Part") |
468 | + | Part7.Size = Vector3.new(1, 2, 1) |
469 | - | Fire450 = Instance.new("Fire") |
469 | + | |
470 | - | Script451 = Instance.new("Script") |
470 | + | Part7.BrickColor = BrickColor.new("Reddish brown") |
471 | - | Part452 = Instance.new("Part") |
471 | + | Part7.CanCollide = false |
472 | - | Fire453 = Instance.new("Fire") |
472 | + | Part7.brickColor = BrickColor.new("Reddish brown") |
473 | - | Script454 = Instance.new("Script") |
473 | + | Part7.FormFactor = Enum.FormFactor.Symmetric |
474 | - | Part455 = Instance.new("Part") |
474 | + | Part7.formFactor = Enum.FormFactor.Symmetric |
475 | - | Fire456 = Instance.new("Fire") |
475 | + | Part8.Name = "Right Leg" |
476 | - | Script457 = Instance.new("Script") |
476 | + | Part8.Parent = Model2 |
477 | - | Part458 = Instance.new("Part") |
477 | + | Part8.CFrame = CFrame.new(201.591461, 2.59995508, 228.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
478 | - | Fire459 = Instance.new("Fire") |
478 | + | Part8.Orientation = Vector3.new(0, 90, 0) |
479 | - | Script460 = Instance.new("Script") |
479 | + | Part8.Position = Vector3.new(201.591461, 2.59995508, 228.98645) |
480 | - | Part461 = Instance.new("Part") |
480 | + | Part8.Rotation = Vector3.new(0, 90, 0) |
481 | - | Fire462 = Instance.new("Fire") |
481 | + | Part8.Color = Color3.new(0.411765, 0.25098, 0.156863) |
482 | - | Script463 = Instance.new("Script") |
482 | + | Part8.Size = Vector3.new(1, 2, 1) |
483 | - | Part464 = Instance.new("Part") |
483 | + | Part8.BottomSurface = Enum.SurfaceType.Smooth |
484 | - | Fire465 = Instance.new("Fire") |
484 | + | Part8.BrickColor = BrickColor.new("Reddish brown") |
485 | - | Script466 = Instance.new("Script") |
485 | + | Part8.CanCollide = false |
486 | - | Part467 = Instance.new("Part") |
486 | + | Part8.brickColor = BrickColor.new("Reddish brown") |
487 | - | Fire468 = Instance.new("Fire") |
487 | + | Part8.FormFactor = Enum.FormFactor.Symmetric |
488 | - | Script469 = Instance.new("Script") |
488 | + | Part8.formFactor = Enum.FormFactor.Symmetric |
489 | - | Part470 = Instance.new("Part") |
489 | + | Humanoid9.Parent = Model2 |
490 | - | Fire471 = Instance.new("Fire") |
490 | + | Humanoid9.LeftLeg = Part7 |
491 | - | Script472 = Instance.new("Script") |
491 | + | Humanoid9.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
492 | - | Part473 = Instance.new("Part") |
492 | + | Humanoid9.RightLeg = Part8 |
493 | - | Fire474 = Instance.new("Fire") |
493 | + | Humanoid9.Torso = Part6 |
494 | - | Script475 = Instance.new("Script") |
494 | + | Part10.Name = "zarm" |
495 | - | WedgePart476 = Instance.new("WedgePart") |
495 | + | Part10.Parent = Model2 |
496 | - | Fire477 = Instance.new("Fire") |
496 | + | Part10.CFrame = CFrame.new(201.091461, 5.09995508, 230.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
497 | - | Script478 = Instance.new("Script") |
497 | + | Part10.Orientation = Vector3.new(0, 180, 0) |
498 | - | Model479 = Instance.new("Model") |
498 | + | Part10.Position = Vector3.new(201.091461, 5.09995508, 230.98645) |
499 | - | Model480 = Instance.new("Model") |
499 | + | Part10.Rotation = Vector3.new(-180, 0, -180) |
500 | - | Part481 = Instance.new("Part") |
500 | + | Part10.Color = Color3.new(0.631373, 0.768628, 0.54902) |
501 | - | SpecialMesh482 = Instance.new("SpecialMesh") |
501 | + | Part10.Size = Vector3.new(2, 1, 1) |
502 | - | Part483 = Instance.new("Part") |
502 | + | Part10.BottomSurface = Enum.SurfaceType.Smooth |
503 | - | Part484 = Instance.new("Part") |
503 | + | Part10.BrickColor = BrickColor.new("Medium green") |
504 | - | SpecialMesh485 = Instance.new("SpecialMesh") |
504 | + | |
505 | - | Seat486 = Instance.new("Seat") |
505 | + | Part10.brickColor = BrickColor.new("Medium green") |
506 | - | Part487 = Instance.new("Part") |
506 | + | Part10.FormFactor = Enum.FormFactor.Symmetric |
507 | - | Part488 = Instance.new("Part") |
507 | + | Part10.formFactor = Enum.FormFactor.Symmetric |
508 | - | SpecialMesh489 = Instance.new("SpecialMesh") |
508 | + | Script11.Parent = Part10 |
509 | - | Part490 = Instance.new("Part") |
509 | + | table.insert(cors,sandbox(Script11,function() |
510 | - | Part491 = Instance.new("Part") |
510 | + | wait(1) |
511 | - | Part492 = Instance.new("Part") |
511 | + | owner=script.Parent.Parent.Name |
512 | - | Part493 = Instance.new("Part") |
512 | + | |
513 | - | Part494 = Instance.new("Part") |
513 | + | function onTouched(part) |
514 | - | SpecialMesh495 = Instance.new("SpecialMesh") |
514 | + | if part.Parent ~= nil then |
515 | - | Part496 = Instance.new("Part") |
515 | + | local h = part.Parent:findFirstChild("Humanoid") |
516 | - | Part497 = Instance.new("Part") |
516 | + | if h~=nil then |
517 | - | Part498 = Instance.new("Part") |
517 | + | if cantouch~=0 then |
518 | - | Part499 = Instance.new("Part") |
518 | + | if h.Parent.Name~=owner then |
519 | - | Part500 = Instance.new("Part") |
519 | + | |
520 | - | Part501 = Instance.new("Part") |
520 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
521 | - | Part502 = Instance.new("Part") |
521 | + | |
522 | - | VehicleSeat503 = Instance.new("VehicleSeat") |
522 | + | cantouch=0 |
523 | - | Part504 = Instance.new("Part") |
523 | + | |
524 | - | Seat505 = Instance.new("Seat") |
524 | + | local larm=h.Parent:findFirstChild("Left Arm") |
525 | - | Part506 = Instance.new("Part") |
525 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
526 | - | Part507 = Instance.new("Part") |
526 | + | |
527 | - | SpecialMesh508 = Instance.new("SpecialMesh") |
527 | + | if larm~=nil then |
528 | - | Part509 = Instance.new("Part") |
528 | + | larm:remove() |
529 | - | Part510 = Instance.new("Part") |
529 | + | end |
530 | - | Part511 = Instance.new("Part") |
530 | + | if rarm~=nil then |
531 | - | SpecialMesh512 = Instance.new("SpecialMesh") |
531 | + | rarm:remove() |
532 | - | Part513 = Instance.new("Part") |
532 | + | end |
533 | - | SpecialMesh514 = Instance.new("SpecialMesh") |
533 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
534 | - | Part515 = Instance.new("Part") |
534 | + | if zee~=nil then |
535 | - | Part516 = Instance.new("Part") |
535 | + | local zlarm=zee:clone() |
536 | - | SpecialMesh517 = Instance.new("SpecialMesh") |
536 | + | local zrarm=zee:clone() |
537 | - | Part518 = Instance.new("Part") |
537 | + | if zlarm~=nil then |
538 | - | Part519 = Instance.new("Part") |
538 | + | |
539 | - | SpecialMesh520 = Instance.new("SpecialMesh") |
539 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
540 | - | Part521 = Instance.new("Part") |
540 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
541 | - | SpecialMesh522 = Instance.new("SpecialMesh") |
541 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
542 | - | Part523 = Instance.new("Part") |
542 | + | zlarm.Parent=h.Parent |
543 | - | SpecialMesh524 = Instance.new("SpecialMesh") |
543 | + | zrarm.Parent=h.Parent |
544 | - | Part525 = Instance.new("Part") |
544 | + | zlarm:makeJoints() |
545 | - | Part526 = Instance.new("Part") |
545 | + | zrarm:makeJoints() |
546 | - | SpecialMesh527 = Instance.new("SpecialMesh") |
546 | + | zlarm.Anchored=false |
547 | - | Part528 = Instance.new("Part") |
547 | + | zrarm.Anchored=false |
548 | - | Part529 = Instance.new("Part") |
548 | + | wait(0.1) |
549 | - | Part530 = Instance.new("Part") |
549 | + | h.Parent.Head.Color=zee.Color |
550 | - | Part531 = Instance.new("Part") |
550 | + | else print("no zee"); return end |
551 | - | SpecialMesh532 = Instance.new("SpecialMesh") |
551 | + | end |
552 | - | Part533 = Instance.new("Part") |
552 | + | wait(1) |
553 | - | Part534 = Instance.new("Part") |
553 | + | cantouch=1 |
554 | - | SpecialMesh535 = Instance.new("SpecialMesh") |
554 | + | end |
555 | - | Part536 = Instance.new("Part") |
555 | + | end |
556 | - | Part537 = Instance.new("Part") |
556 | + | |
557 | - | Part538 = Instance.new("Part") |
557 | + | |
558 | - | SpecialMesh539 = Instance.new("SpecialMesh") |
558 | + | |
559 | - | Part540 = Instance.new("Part") |
559 | + | |
560 | - | Script541 = Instance.new("Script") |
560 | + | |
561 | - | Part542 = Instance.new("Part") |
561 | + | |
562 | - | Fire543 = Instance.new("Fire") |
562 | + | Part12.Name = "zarm" |
563 | - | Script544 = Instance.new("Script") |
563 | + | Part12.Parent = Model2 |
564 | Part12.CFrame = CFrame.new(201.091461, 5.09995508, 227.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) | |
565 | - | Part1.Parent = Model0 |
565 | + | Part12.Orientation = Vector3.new(0, 180, 0) |
566 | - | Part1.CFrame = CFrame.new(156.003906, 49.7681274, 220, 0.99999994, -1.67099552e-05, -5.96046448e-08, 1.67099552e-05, 1, 4.25150893e-06, 5.96046448e-08, -4.25150893e-06, 0.99999994) |
566 | + | Part12.Position = Vector3.new(201.091461, 5.09995508, 227.98645) |
567 | - | Part1.Position = Vector3.new(156.003906, 49.7681274, 220) |
567 | + | Part12.Rotation = Vector3.new(-180, 0, -180) |
568 | - | Part1.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
568 | + | Part12.Color = Color3.new(0.631373, 0.768628, 0.54902) |
569 | - | Part1.Size = Vector3.new(2, 3.60000014, 2) |
569 | + | Part12.Size = Vector3.new(2, 1, 1) |
570 | - | Part1.Anchored = true |
570 | + | Part12.BottomSurface = Enum.SurfaceType.Smooth |
571 | - | Part1.BrickColor = BrickColor.new("Bright blue") |
571 | + | Part12.BrickColor = BrickColor.new("Medium green") |
572 | - | Part1.TopSurface = Enum.SurfaceType.Smooth |
572 | + | Part12.TopSurface = Enum.SurfaceType.Smooth |
573 | - | Part1.brickColor = BrickColor.new("Bright blue") |
573 | + | Part12.brickColor = BrickColor.new("Medium green") |
574 | - | Fire2.Parent = Part1 |
574 | + | Part12.FormFactor = Enum.FormFactor.Symmetric |
575 | - | Fire2.Color = Color3.new(1, 0.745098, 0) |
575 | + | Part12.formFactor = Enum.FormFactor.Symmetric |
576 | - | Fire2.Enabled = false |
576 | + | Script13.Parent = Part12 |
577 | - | Fire2.Size = 30 |
577 | + | |
578 | - | Fire2.Heat = 25 |
578 | + | wait(1) |
579 | - | Fire2.SecondaryColor = Color3.new(1, 0, 0) |
579 | + | owner=script.Parent.Parent.Name |
580 | - | Fire2.size = 30 |
580 | + | |
581 | - | Script3.Parent = Fire2 |
581 | + | function onTouched(part) |
582 | - | table.insert(cors,sandbox(Script3,function() |
582 | + | if part.Parent ~= nil then |
583 | - | function Spread(part) |
583 | + | local h = part.Parent:findFirstChild("Humanoid") |
584 | - | check = part:findFirstChild("Fire") |
584 | + | if h~=nil then |
585 | - | if check == nil then |
585 | + | if cantouch~=0 then |
586 | - | script.Parent:Clone().Parent = part |
586 | + | if h.Parent.Name~=owner then |
587 | - | |
587 | + | |
588 | - | elseif check ~= nil then |
588 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
589 | - | check.Size = check.Size + 1 |
589 | + | |
590 | - | check.Heat = check.Heat +1 |
590 | + | cantouch=0 |
591 | ||
592 | local larm=h.Parent:findFirstChild("Left Arm") | |
593 | local rarm=h.Parent:findFirstChild("Right Arm") | |
594 | ||
595 | - | script.Parent.Parent.Touched:connect(Spread) |
595 | + | if larm~=nil then |
596 | larm:remove() | |
597 | end | |
598 | if rarm~=nil then | |
599 | - | Part4.Parent = Model0 |
599 | + | rarm:remove() |
600 | - | Part4.CFrame = CFrame.new(155.977539, 44.9747086, 229.98999, 0.00304764719, -1.39223388e-07, -0.999995351, 1.11518602e-05, 1, -1.05236936e-07, 0.999995351, -1.11514873e-05, 0.00304764719) |
600 | + | end |
601 | - | Part4.Orientation = Vector3.new(0, -89.8299942, 0) |
601 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
602 | - | Part4.Position = Vector3.new(155.977539, 44.9747086, 229.98999) |
602 | + | if zee~=nil then |
603 | - | Part4.Rotation = Vector3.new(0, -89.8299942, 0) |
603 | + | local zlarm=zee:clone() |
604 | - | Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
604 | + | local zrarm=zee:clone() |
605 | - | Part4.Velocity = Vector3.new(-0.00118601369, -0.00318280514, -0.00262815855) |
605 | + | if zlarm~=nil then |
606 | - | Part4.Size = Vector3.new(18, 6, 2) |
606 | + | |
607 | - | Part4.Anchored = true |
607 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
608 | - | Part4.BottomSurface = Enum.SurfaceType.Smooth |
608 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
609 | - | Part4.BrickColor = BrickColor.new("Bright blue") |
609 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
610 | - | Part4.RotVelocity = Vector3.new(-0.000249337929, -0.00091800926, 8.6167267e-05) |
610 | + | zlarm.Parent=h.Parent |
611 | - | Part4.TopSurface = Enum.SurfaceType.Smooth |
611 | + | zrarm.Parent=h.Parent |
612 | - | Part4.brickColor = BrickColor.new("Bright blue") |
612 | + | zlarm:makeJoints() |
613 | - | Fire5.Parent = Part4 |
613 | + | zrarm:makeJoints() |
614 | - | Fire5.Color = Color3.new(1, 0.745098, 0) |
614 | + | zlarm.Anchored=false |
615 | - | Fire5.Enabled = false |
615 | + | zrarm.Anchored=false |
616 | - | Fire5.Size = 30 |
616 | + | wait(0.1) |
617 | - | Fire5.Heat = 25 |
617 | + | h.Parent.Head.Color=zee.Color |
618 | - | Fire5.SecondaryColor = Color3.new(1, 0, 0) |
618 | + | else print("no zee"); return end |
619 | - | Fire5.size = 30 |
619 | + | end |
620 | - | Script6.Parent = Fire5 |
620 | + | wait(1) |
621 | - | table.insert(cors,sandbox(Script6,function() |
621 | + | cantouch=1 |
622 | - | function Spread(part) |
622 | + | end |
623 | - | check = part:findFirstChild("Fire") |
623 | + | end |
624 | - | if check == nil then |
624 | + | |
625 | - | script.Parent:Clone().Parent = part |
625 | + | |
626 | - | |
626 | + | |
627 | - | elseif check ~= nil then |
627 | + | |
628 | - | check.Size = check.Size + 1 |
628 | + | |
629 | - | check.Heat = check.Heat +1 |
629 | + | |
630 | ObjectValue14.Name = "IsNZ" | |
631 | ObjectValue14.Parent = Model2 | |
632 | IntValue15.Name = "Mode" | |
633 | IntValue15.Parent = Model2 | |
634 | - | script.Parent.Parent.Touched:connect(Spread) |
634 | + | Script16.Parent = Model2 |
635 | table.insert(cors,sandbox(Script16,function() | |
636 | local larm = script.Parent:FindFirstChild("Left Arm") | |
637 | local rarm = script.Parent:FindFirstChild("Right Arm") | |
638 | - | Part7.Parent = Model0 |
638 | + | |
639 | - | Part7.CFrame = CFrame.new(165.00293, 52.204422, 230, -7.23991188e-20, 0, -1, 8.15896525e-19, 1, 0, 1, -8.15896525e-19, -7.23991059e-20) |
639 | + | function findNearestTorso(pos) |
640 | - | Part7.Orientation = Vector3.new(0, -90, 0) |
640 | + | local list = game.Workspace:children() |
641 | - | Part7.Position = Vector3.new(165.00293, 52.204422, 230) |
641 | + | local torso = nil |
642 | - | Part7.Rotation = Vector3.new(0, -90, 0) |
642 | + | local dist = 1000 |
643 | - | Part7.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
643 | + | local temp = nil |
644 | - | Part7.Size = Vector3.new(22, 1.20000005, 20) |
644 | + | local human = nil |
645 | - | Part7.Anchored = true |
645 | + | local temp2 = nil |
646 | for x = 1, #list do | |
647 | - | Part7.BrickColor = BrickColor.new("Bright blue") |
647 | + | temp2 = list[x] |
648 | - | Part7.TopSurface = Enum.SurfaceType.Smooth |
648 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
649 | - | Part7.brickColor = BrickColor.new("Bright blue") |
649 | + | temp = temp2:findFirstChild("Right Arm") |
650 | - | Fire8.Parent = Part7 |
650 | + | human = temp2:findFirstChild("Humanoid") |
651 | - | Fire8.Color = Color3.new(1, 0.745098, 0) |
651 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
652 | - | Fire8.Enabled = false |
652 | + | if (temp.Position - pos).magnitude < dist then |
653 | - | Fire8.Size = 30 |
653 | + | torso = temp |
654 | - | Fire8.Heat = 25 |
654 | + | dist = (temp.Position - pos).magnitude |
655 | - | Fire8.SecondaryColor = Color3.new(1, 0, 0) |
655 | + | end |
656 | - | Fire8.size = 30 |
656 | + | |
657 | - | Script9.Parent = Fire8 |
657 | + | |
658 | - | table.insert(cors,sandbox(Script9,function() |
658 | + | |
659 | - | function Spread(part) |
659 | + | return torso |
660 | - | check = part:findFirstChild("Fire") |
660 | + | |
661 | - | if check == nil then |
661 | + | |
662 | - | script.Parent:Clone().Parent = part |
662 | + | |
663 | - | |
663 | + | |
664 | - | elseif check ~= nil then |
664 | + | |
665 | - | check.Size = check.Size + 1 |
665 | + | |
666 | - | check.Heat = check.Heat +1 |
666 | + | wait(math.random(1,5)) |
667 | local target = findNearestTorso(script.Parent.Torso.Position) | |
668 | if target ~= nil then | |
669 | script.Parent.Humanoid:MoveTo(target.Position, target) | |
670 | end | |
671 | - | script.Parent.Parent.Touched:connect(Spread) |
671 | + | |
672 | end | |
673 | ||
674 | end)) | |
675 | - | Part10.Parent = Model0 |
675 | + | Script17.Name = "Health" |
676 | - | Part10.CFrame = CFrame.new(156, 49.8000374, 240, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
676 | + | Script17.Parent = Model2 |
677 | - | Part10.Orientation = Vector3.new(0, -90, 0) |
677 | + | table.insert(cors,sandbox(Script17,function() |
678 | - | Part10.Position = Vector3.new(156, 49.8000374, 240) |
678 | + | function waitForChild(parent, childName) |
679 | - | Part10.Rotation = Vector3.new(0, -90, 0) |
679 | + | while true do |
680 | - | Part10.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
680 | + | local child = parent:findFirstChild(childName) |
681 | - | Part10.Size = Vector3.new(2, 3.60000014, 2) |
681 | + | if child then |
682 | - | Part10.Anchored = true |
682 | + | |
683 | - | Part10.BrickColor = BrickColor.new("Bright blue") |
683 | + | |
684 | parent.ChildAdded:wait() | |
685 | - | Part10.brickColor = BrickColor.new("Bright blue") |
685 | + | |
686 | - | Part11.Parent = Model0 |
686 | + | |
687 | - | Part11.CFrame = CFrame.new(163.001953, 44.9742966, 235.5, -1.05759079e-23, -1.51235096e-18, -1, 8.15896525e-19, 1, -1.51235096e-18, 1, -8.15896525e-19, -1.05759079e-23) |
687 | + | |
688 | - | Part11.Orientation = Vector3.new(0, -90, 0) |
688 | + | -- declarations |
689 | - | Part11.Position = Vector3.new(163.001953, 44.9742966, 235.5) |
689 | + | |
690 | - | Part11.Rotation = Vector3.new(0, -90, 0) |
690 | + | local Figure = script.Parent |
691 | - | Part11.Color = Color3.new(0.388235, 0.372549, 0.384314) |
691 | + | local Head = waitForChild(Figure, "Head") |
692 | - | Part11.Size = Vector3.new(7, 1.20000005, 12) |
692 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
693 | - | Part11.Anchored = true |
693 | + | Humanoid.Health=500 |
694 | - | Part11.BottomSurface = Enum.SurfaceType.Smooth |
694 | + | -- regeneration |
695 | - | Part11.BrickColor = BrickColor.new("Dark stone grey") |
695 | + | |
696 | - | Part11.TopSurface = Enum.SurfaceType.Smooth |
696 | + | local s = wait(4) |
697 | - | Part11.brickColor = BrickColor.new("Dark stone grey") |
697 | + | local health = Humanoid.Health |
698 | - | Fire12.Parent = Part11 |
698 | + | if health > 0 and health < Humanoid.MaxHealth then |
699 | - | Fire12.Color = Color3.new(1, 0.745098, 0) |
699 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
700 | - | Fire12.Enabled = false |
700 | + | if health * 1.05 < Humanoid.MaxHealth then |
701 | - | Fire12.Size = 30 |
701 | + | Humanoid.Health = health |
702 | - | Fire12.Heat = 25 |
702 | + | else |
703 | - | Fire12.SecondaryColor = Color3.new(1, 0, 0) |
703 | + | Humanoid.Health = Humanoid.MaxHealth |
704 | - | Fire12.size = 30 |
704 | + | |
705 | - | Script13.Parent = Fire12 |
705 | + | |
706 | end | |
707 | - | function Spread(part) |
707 | + | |
708 | - | check = part:findFirstChild("Fire") |
708 | + | |
709 | - | if check == nil then |
709 | + | Script18.Name = "Respawn" |
710 | - | script.Parent:Clone().Parent = part |
710 | + | Script18.Parent = Model2 |
711 | - | |
711 | + | table.insert(cors,sandbox(Script18,function() |
712 | - | elseif check ~= nil then |
712 | + | name="Humanoid" |
713 | - | check.Size = check.Size + 1 |
713 | + | |
714 | - | check.Heat = check.Heat +1 |
714 | + | robo=script.Parent:clone() |
715 | ||
716 | while true do | |
717 | wait(1) | |
718 | if script.Parent.Humanoid.Health<1 then | |
719 | - | script.Parent.Parent.Touched:connect(Spread) |
719 | + | robot=robo:clone() |
720 | robot.Parent=script.Parent.Parent | |
721 | robot:makeJoints() | |
722 | script.Parent:remove() | |
723 | - | Part14.Parent = Model0 |
723 | + | |
724 | - | Part14.CFrame = CFrame.new(174, 49.8000374, 230, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
724 | + | |
725 | - | Part14.Orientation = Vector3.new(0, -90, 0) |
725 | + | |
726 | - | Part14.Position = Vector3.new(174, 49.8000374, 230) |
726 | + | |
727 | - | Part14.Rotation = Vector3.new(0, -90, 0) |
727 | + | |
728 | - | Part14.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
728 | + | |
729 | - | Part14.Size = Vector3.new(22, 3.60000014, 2) |
729 | + | |
730 | - | Part14.Anchored = true |
730 | + | Part19.Name = "Spawn Location" |
731 | - | Part14.BrickColor = BrickColor.new("Bright blue") |
731 | + | Part19.Parent = Model1 |
732 | - | Part14.TopSurface = Enum.SurfaceType.Smooth |
732 | + | Part19.CFrame = CFrame.new(201.113556, 0.603015006, 229.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
733 | - | Part14.brickColor = BrickColor.new("Bright blue") |
733 | + | Part19.Orientation = Vector3.new(0, 180, 0) |
734 | - | Fire15.Parent = Part14 |
734 | + | Part19.Position = Vector3.new(201.113556, 0.603015006, 229.491455) |
735 | - | Fire15.Color = Color3.new(1, 0.745098, 0) |
735 | + | Part19.Rotation = Vector3.new(-180, 0, -180) |
736 | - | Fire15.Enabled = false |
736 | + | Part19.Color = Color3.new(0.631373, 0.768628, 0.54902) |
737 | - | Fire15.Size = 30 |
737 | + | Part19.Size = Vector3.new(6, 1.20000005, 6) |
738 | - | Fire15.Heat = 25 |
738 | + | Part19.BottomSurface = Enum.SurfaceType.Weld |
739 | - | Fire15.SecondaryColor = Color3.new(1, 0, 0) |
739 | + | Part19.BrickColor = BrickColor.new("Medium green") |
740 | - | Fire15.size = 30 |
740 | + | Part19.TopSurface = Enum.SurfaceType.Smooth |
741 | - | Script16.Parent = Fire15 |
741 | + | Part19.brickColor = BrickColor.new("Medium green") |
742 | Decal20.Parent = Part19 | |
743 | - | function Spread(part) |
743 | + | Decal20.Texture = "http://www.roblox.com/asset/?id=34541722" |
744 | - | check = part:findFirstChild("Fire") |
744 | + | Decal20.Face = Enum.NormalId.Top |
745 | - | if check == nil then |
745 | + | Model21.Parent = Model0 |
746 | - | script.Parent:Clone().Parent = part |
746 | + | Model22.Name = "Zombie" |
747 | - | |
747 | + | Model22.Parent = Model21 |
748 | - | elseif check ~= nil then |
748 | + | Model22.PrimaryPart = Part23 |
749 | - | check.Size = check.Size + 1 |
749 | + | Part23.Name = "Head" |
750 | - | check.Heat = check.Heat +1 |
750 | + | Part23.Parent = Model22 |
751 | Part23.CFrame = CFrame.new(201.591461, 6.09995508, 223.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
752 | Part23.Orientation = Vector3.new(0, 90, 0) | |
753 | Part23.Position = Vector3.new(201.591461, 6.09995508, 223.48645) | |
754 | Part23.Rotation = Vector3.new(0, 90, 0) | |
755 | - | script.Parent.Parent.Touched:connect(Spread) |
755 | + | Part23.Color = Color3.new(0.631373, 0.768628, 0.54902) |
756 | Part23.Size = Vector3.new(2, 1, 1) | |
757 | Part23.BrickColor = BrickColor.new("Medium green") | |
758 | Part23.TopSurface = Enum.SurfaceType.Smooth | |
759 | - | Part17.Parent = Model0 |
759 | + | Part23.brickColor = BrickColor.new("Medium green") |
760 | - | Part17.CFrame = CFrame.new(165.001953, 44.9844437, 226.5, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
760 | + | Part23.FormFactor = Enum.FormFactor.Symmetric |
761 | - | Part17.Orientation = Vector3.new(0, -90, 0) |
761 | + | Part23.formFactor = Enum.FormFactor.Symmetric |
762 | - | Part17.Position = Vector3.new(165.001953, 44.9844437, 226.5) |
762 | + | SpecialMesh24.Parent = Part23 |
763 | - | Part17.Rotation = Vector3.new(0, -90, 0) |
763 | + | SpecialMesh24.Scale = Vector3.new(1.25, 1.25, 1.25) |
764 | - | Part17.Color = Color3.new(0.388235, 0.372549, 0.384314) |
764 | + | Decal25.Name = "face" |
765 | - | Part17.Size = Vector3.new(11, 1.20000005, 16) |
765 | + | Decal25.Parent = Part23 |
766 | - | Part17.Anchored = true |
766 | + | Part26.Name = "Torso" |
767 | - | Part17.BottomSurface = Enum.SurfaceType.Smooth |
767 | + | Part26.Parent = Model22 |
768 | - | Part17.BrickColor = BrickColor.new("Dark stone grey") |
768 | + | Part26.CFrame = CFrame.new(201.591461, 4.59995508, 223.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
769 | - | Part17.TopSurface = Enum.SurfaceType.Smooth |
769 | + | Part26.Orientation = Vector3.new(0, 90, 0) |
770 | - | Part17.brickColor = BrickColor.new("Dark stone grey") |
770 | + | Part26.Position = Vector3.new(201.591461, 4.59995508, 223.48645) |
771 | - | Fire18.Parent = Part17 |
771 | + | Part26.Rotation = Vector3.new(0, 90, 0) |
772 | - | Fire18.Color = Color3.new(1, 0.745098, 0) |
772 | + | Part26.Color = Color3.new(0.411765, 0.25098, 0.156863) |
773 | - | Fire18.Enabled = false |
773 | + | Part26.Size = Vector3.new(2, 2, 1) |
774 | - | Fire18.Size = 30 |
774 | + | Part26.BrickColor = BrickColor.new("Reddish brown") |
775 | - | Fire18.Heat = 25 |
775 | + | Part26.LeftParamA = 0 |
776 | - | Fire18.SecondaryColor = Color3.new(1, 0, 0) |
776 | + | Part26.LeftParamB = 0 |
777 | - | Fire18.size = 30 |
777 | + | Part26.LeftSurface = Enum.SurfaceType.Weld |
778 | - | Script19.Parent = Fire18 |
778 | + | Part26.RightParamA = 0 |
779 | - | table.insert(cors,sandbox(Script19,function() |
779 | + | Part26.RightParamB = 0 |
780 | - | function Spread(part) |
780 | + | Part26.RightSurface = Enum.SurfaceType.Weld |
781 | - | check = part:findFirstChild("Fire") |
781 | + | Part26.brickColor = BrickColor.new("Reddish brown") |
782 | - | if check == nil then |
782 | + | Part26.FormFactor = Enum.FormFactor.Symmetric |
783 | - | script.Parent:Clone().Parent = part |
783 | + | Part26.formFactor = Enum.FormFactor.Symmetric |
784 | - | |
784 | + | Part27.Name = "Left Leg" |
785 | - | elseif check ~= nil then |
785 | + | Part27.Parent = Model22 |
786 | - | check.Size = check.Size + 1 |
786 | + | Part27.CFrame = CFrame.new(201.591461, 2.59995508, 223.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
787 | - | check.Heat = check.Heat +1 |
787 | + | Part27.Orientation = Vector3.new(0, 90, 0) |
788 | Part27.Position = Vector3.new(201.591461, 2.59995508, 223.98645) | |
789 | Part27.Rotation = Vector3.new(0, 90, 0) | |
790 | Part27.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
791 | Part27.Size = Vector3.new(1, 2, 1) | |
792 | - | script.Parent.Parent.Touched:connect(Spread) |
792 | + | Part27.BottomSurface = Enum.SurfaceType.Smooth |
793 | Part27.BrickColor = BrickColor.new("Reddish brown") | |
794 | Part27.CanCollide = false | |
795 | Part27.brickColor = BrickColor.new("Reddish brown") | |
796 | - | Part20.Parent = Model0 |
796 | + | Part27.FormFactor = Enum.FormFactor.Symmetric |
797 | - | Part20.CFrame = CFrame.new(165.000977, 37.1942711, 240, 1, -8.4724903e-05, -6.61611557e-06, 8.4724903e-05, 1, -1.43857687e-06, 6.61611557e-06, 1.43800935e-06, 1) |
797 | + | Part27.formFactor = Enum.FormFactor.Symmetric |
798 | - | Part20.Position = Vector3.new(165.000977, 37.1942711, 240) |
798 | + | Part28.Name = "Right Leg" |
799 | - | Part20.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
799 | + | Part28.Parent = Model22 |
800 | - | Part20.Size = Vector3.new(20, 21.6000004, 2) |
800 | + | Part28.CFrame = CFrame.new(201.591461, 2.59995508, 222.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
801 | - | Part20.Anchored = true |
801 | + | Part28.Orientation = Vector3.new(0, 90, 0) |
802 | - | Part20.BrickColor = BrickColor.new("Bright blue") |
802 | + | Part28.Position = Vector3.new(201.591461, 2.59995508, 222.98645) |
803 | - | Part20.TopSurface = Enum.SurfaceType.Smooth |
803 | + | Part28.Rotation = Vector3.new(0, 90, 0) |
804 | - | Part20.brickColor = BrickColor.new("Bright blue") |
804 | + | Part28.Color = Color3.new(0.411765, 0.25098, 0.156863) |
805 | - | Fire21.Parent = Part20 |
805 | + | Part28.Size = Vector3.new(1, 2, 1) |
806 | - | Fire21.Color = Color3.new(1, 0.745098, 0) |
806 | + | Part28.BottomSurface = Enum.SurfaceType.Smooth |
807 | - | Fire21.Enabled = false |
807 | + | Part28.BrickColor = BrickColor.new("Reddish brown") |
808 | - | Fire21.Size = 30 |
808 | + | Part28.CanCollide = false |
809 | - | Fire21.Heat = 25 |
809 | + | Part28.brickColor = BrickColor.new("Reddish brown") |
810 | - | Fire21.SecondaryColor = Color3.new(1, 0, 0) |
810 | + | Part28.FormFactor = Enum.FormFactor.Symmetric |
811 | - | Fire21.size = 30 |
811 | + | Part28.formFactor = Enum.FormFactor.Symmetric |
812 | - | Script22.Parent = Fire21 |
812 | + | Humanoid29.Parent = Model22 |
813 | - | table.insert(cors,sandbox(Script22,function() |
813 | + | Humanoid29.LeftLeg = Part27 |
814 | - | function Spread(part) |
814 | + | Humanoid29.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
815 | - | check = part:findFirstChild("Fire") |
815 | + | Humanoid29.RightLeg = Part28 |
816 | - | if check == nil then |
816 | + | Humanoid29.Torso = Part26 |
817 | - | script.Parent:Clone().Parent = part |
817 | + | Part30.Name = "zarm" |
818 | - | |
818 | + | Part30.Parent = Model22 |
819 | - | elseif check ~= nil then |
819 | + | Part30.CFrame = CFrame.new(201.091461, 5.09995508, 224.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
820 | - | check.Size = check.Size + 1 |
820 | + | Part30.Orientation = Vector3.new(0, 180, 0) |
821 | - | check.Heat = check.Heat +1 |
821 | + | Part30.Position = Vector3.new(201.091461, 5.09995508, 224.98645) |
822 | Part30.Rotation = Vector3.new(-180, 0, -180) | |
823 | Part30.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
824 | Part30.Size = Vector3.new(2, 1, 1) | |
825 | Part30.BottomSurface = Enum.SurfaceType.Smooth | |
826 | - | script.Parent.Parent.Touched:connect(Spread) |
826 | + | Part30.BrickColor = BrickColor.new("Medium green") |
827 | Part30.TopSurface = Enum.SurfaceType.Smooth | |
828 | Part30.brickColor = BrickColor.new("Medium green") | |
829 | Part30.FormFactor = Enum.FormFactor.Symmetric | |
830 | - | Part23.Parent = Model0 |
830 | + | Part30.formFactor = Enum.FormFactor.Symmetric |
831 | - | Part23.CFrame = CFrame.new(165.003906, 41.3754539, 219.999878, 0.999999881, -5.35607251e-06, 1.3589859e-05, 5.35602521e-06, 1, 3.40421866e-06, -1.3589859e-05, -3.40414499e-06, 0.999999881) |
831 | + | Script31.Parent = Part30 |
832 | - | Part23.Position = Vector3.new(165.003906, 41.3754539, 219.999878) |
832 | + | |
833 | - | Part23.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
833 | + | wait(1) |
834 | - | Part23.Velocity = Vector3.new(-0.00133590505, 0.009737093, 0.00232312502) |
834 | + | owner=script.Parent.Parent.Name |
835 | - | Part23.Size = Vector3.new(20, 13.2000008, 2) |
835 | + | |
836 | - | Part23.Anchored = true |
836 | + | function onTouched(part) |
837 | - | Part23.BottomSurface = Enum.SurfaceType.Smooth |
837 | + | if part.Parent ~= nil then |
838 | - | Part23.BrickColor = BrickColor.new("Bright blue") |
838 | + | local h = part.Parent:findFirstChild("Humanoid") |
839 | - | Part23.RotVelocity = Vector3.new(0.00438775821, -7.22440276e-08, 0.000837209402) |
839 | + | if h~=nil then |
840 | if cantouch~=0 then | |
841 | - | Part23.brickColor = BrickColor.new("Bright blue") |
841 | + | if h.Parent.Name~=owner then |
842 | - | Fire24.Parent = Part23 |
842 | + | |
843 | - | Fire24.Color = Color3.new(1, 0.745098, 0) |
843 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
844 | - | Fire24.Enabled = false |
844 | + | |
845 | - | Fire24.Size = 30 |
845 | + | cantouch=0 |
846 | - | Fire24.Heat = 25 |
846 | + | |
847 | - | Fire24.SecondaryColor = Color3.new(1, 0, 0) |
847 | + | local larm=h.Parent:findFirstChild("Left Arm") |
848 | - | Fire24.size = 30 |
848 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
849 | - | Script25.Parent = Fire24 |
849 | + | |
850 | - | table.insert(cors,sandbox(Script25,function() |
850 | + | if larm~=nil then |
851 | - | function Spread(part) |
851 | + | larm:remove() |
852 | - | check = part:findFirstChild("Fire") |
852 | + | end |
853 | - | if check == nil then |
853 | + | if rarm~=nil then |
854 | - | script.Parent:Clone().Parent = part |
854 | + | rarm:remove() |
855 | - | |
855 | + | end |
856 | - | elseif check ~= nil then |
856 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
857 | - | check.Size = check.Size + 1 |
857 | + | if zee~=nil then |
858 | - | check.Heat = check.Heat +1 |
858 | + | local zlarm=zee:clone() |
859 | local zrarm=zee:clone() | |
860 | if zlarm~=nil then | |
861 | ||
862 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
863 | - | script.Parent.Parent.Touched:connect(Spread) |
863 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
864 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
865 | zlarm.Parent=h.Parent | |
866 | zrarm.Parent=h.Parent | |
867 | - | Part26.Parent = Model0 |
867 | + | zlarm:makeJoints() |
868 | - | Part26.CFrame = CFrame.new(163.001953, 35.3743477, 235.499878, -3.51946767e-07, -3.93328219e-06, -1, 4.05099172e-06, 1, -3.93328401e-06, 1, -4.05099354e-06, -3.51930851e-07) |
868 | + | zrarm:makeJoints() |
869 | - | Part26.Orientation = Vector3.new(0, -90, 0) |
869 | + | zlarm.Anchored=false |
870 | - | Part26.Position = Vector3.new(163.001953, 35.3743477, 235.499878) |
870 | + | zrarm.Anchored=false |
871 | - | Part26.Rotation = Vector3.new(0, -90, 0) |
871 | + | wait(0.1) |
872 | - | Part26.Color = Color3.new(0.388235, 0.372549, 0.384314) |
872 | + | h.Parent.Head.Color=zee.Color |
873 | - | Part26.Size = Vector3.new(7, 1.20000005, 12) |
873 | + | else print("no zee"); return end |
874 | - | Part26.Anchored = true |
874 | + | end |
875 | - | Part26.BottomSurface = Enum.SurfaceType.Smooth |
875 | + | wait(1) |
876 | - | Part26.BrickColor = BrickColor.new("Dark stone grey") |
876 | + | cantouch=1 |
877 | - | Part26.TopSurface = Enum.SurfaceType.Smooth |
877 | + | end |
878 | - | Part26.brickColor = BrickColor.new("Dark stone grey") |
878 | + | end |
879 | - | Fire27.Parent = Part26 |
879 | + | |
880 | - | Fire27.Color = Color3.new(1, 0.745098, 0) |
880 | + | |
881 | - | Fire27.Enabled = false |
881 | + | |
882 | - | Fire27.Size = 30 |
882 | + | |
883 | - | Fire27.Heat = 25 |
883 | + | |
884 | - | Fire27.SecondaryColor = Color3.new(1, 0, 0) |
884 | + | |
885 | - | Fire27.size = 30 |
885 | + | Part32.Name = "zarm" |
886 | - | Script28.Parent = Fire27 |
886 | + | Part32.Parent = Model22 |
887 | - | table.insert(cors,sandbox(Script28,function() |
887 | + | Part32.CFrame = CFrame.new(201.091461, 5.09995508, 221.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
888 | - | function Spread(part) |
888 | + | Part32.Orientation = Vector3.new(0, 180, 0) |
889 | - | check = part:findFirstChild("Fire") |
889 | + | Part32.Position = Vector3.new(201.091461, 5.09995508, 221.98645) |
890 | - | if check == nil then |
890 | + | Part32.Rotation = Vector3.new(-180, 0, -180) |
891 | - | script.Parent:Clone().Parent = part |
891 | + | Part32.Color = Color3.new(0.631373, 0.768628, 0.54902) |
892 | - | |
892 | + | Part32.Size = Vector3.new(2, 1, 1) |
893 | - | elseif check ~= nil then |
893 | + | Part32.BottomSurface = Enum.SurfaceType.Smooth |
894 | - | check.Size = check.Size + 1 |
894 | + | Part32.BrickColor = BrickColor.new("Medium green") |
895 | - | check.Heat = check.Heat +1 |
895 | + | Part32.TopSurface = Enum.SurfaceType.Smooth |
896 | Part32.brickColor = BrickColor.new("Medium green") | |
897 | Part32.FormFactor = Enum.FormFactor.Symmetric | |
898 | Part32.formFactor = Enum.FormFactor.Symmetric | |
899 | Script33.Parent = Part32 | |
900 | - | script.Parent.Parent.Touched:connect(Spread) |
900 | + | table.insert(cors,sandbox(Script33,function() |
901 | wait(1) | |
902 | owner=script.Parent.Parent.Name | |
903 | ||
904 | - | Part29.Parent = Model0 |
904 | + | function onTouched(part) |
905 | - | Part29.CFrame = CFrame.new(155.96875, 32.3865547, 229.990112, 0.00413897727, 5.98413408e-07, -0.999991417, 1.1924586e-05, 1, 6.47774527e-07, 0.999991417, -1.19271654e-05, 0.00413897727) |
905 | + | if part.Parent ~= nil then |
906 | - | Part29.Orientation = Vector3.new(0, -89.7599945, 0) |
906 | + | local h = part.Parent:findFirstChild("Humanoid") |
907 | - | Part29.Position = Vector3.new(155.96875, 32.3865547, 229.990112) |
907 | + | if h~=nil then |
908 | - | Part29.Rotation = Vector3.new(-0.00999999978, -89.7599945, -0.00999999978) |
908 | + | if cantouch~=0 then |
909 | - | Part29.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
909 | + | if h.Parent.Name~=owner then |
910 | - | Part29.Velocity = Vector3.new(0.000474236498, 0.0086496938, -0.00330197508) |
910 | + | |
911 | - | Part29.Size = Vector3.new(18, 12, 2) |
911 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
912 | - | Part29.Anchored = true |
912 | + | |
913 | - | Part29.BrickColor = BrickColor.new("Bright blue") |
913 | + | cantouch=0 |
914 | - | Part29.RotVelocity = Vector3.new(-3.58416801e-05, -0.000146768041, 1.32331843e-05) |
914 | + | |
915 | - | Part29.TopSurface = Enum.SurfaceType.Smooth |
915 | + | local larm=h.Parent:findFirstChild("Left Arm") |
916 | - | Part29.brickColor = BrickColor.new("Bright blue") |
916 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
917 | - | Fire30.Parent = Part29 |
917 | + | |
918 | - | Fire30.Color = Color3.new(1, 0.745098, 0) |
918 | + | if larm~=nil then |
919 | - | Fire30.Enabled = false |
919 | + | larm:remove() |
920 | - | Fire30.Size = 30 |
920 | + | end |
921 | - | Fire30.Heat = 25 |
921 | + | if rarm~=nil then |
922 | - | Fire30.SecondaryColor = Color3.new(1, 0, 0) |
922 | + | rarm:remove() |
923 | - | Fire30.size = 30 |
923 | + | end |
924 | - | Script31.Parent = Fire30 |
924 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
925 | if zee~=nil then | |
926 | - | function Spread(part) |
926 | + | local zlarm=zee:clone() |
927 | - | check = part:findFirstChild("Fire") |
927 | + | local zrarm=zee:clone() |
928 | - | if check == nil then |
928 | + | if zlarm~=nil then |
929 | - | script.Parent:Clone().Parent = part |
929 | + | |
930 | - | |
930 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
931 | - | elseif check ~= nil then |
931 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
932 | - | check.Size = check.Size + 1 |
932 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
933 | - | check.Heat = check.Heat +1 |
933 | + | zlarm.Parent=h.Parent |
934 | zrarm.Parent=h.Parent | |
935 | zlarm:makeJoints() | |
936 | zrarm:makeJoints() | |
937 | zlarm.Anchored=false | |
938 | - | script.Parent.Parent.Touched:connect(Spread) |
938 | + | zrarm.Anchored=false |
939 | wait(0.1) | |
940 | h.Parent.Head.Color=zee.Color | |
941 | else print("no zee"); return end | |
942 | - | TrussPart32.Parent = Model0 |
942 | + | end |
943 | - | TrussPart32.CFrame = CFrame.new(172.001953, 36.4048958, 233, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
943 | + | wait(1) |
944 | - | TrussPart32.Position = Vector3.new(172.001953, 36.4048958, 233) |
944 | + | cantouch=1 |
945 | - | TrussPart32.Color = Color3.new(0.972549, 0.972549, 0.972549) |
945 | + | end |
946 | - | TrussPart32.Size = Vector3.new(2, 20, 2) |
946 | + | end |
947 | - | TrussPart32.Anchored = true |
947 | + | |
948 | - | TrussPart32.BrickColor = BrickColor.new("Institutional white") |
948 | + | |
949 | - | TrussPart32.Reflectance = 0.80000001192093 |
949 | + | |
950 | - | TrussPart32.brickColor = BrickColor.new("Institutional white") |
950 | + | |
951 | - | Fire33.Parent = TrussPart32 |
951 | + | |
952 | - | Fire33.Color = Color3.new(1, 0.745098, 0) |
952 | + | |
953 | - | Fire33.Enabled = false |
953 | + | ObjectValue34.Name = "IsNZ" |
954 | - | Fire33.Size = 30 |
954 | + | ObjectValue34.Parent = Model22 |
955 | - | Fire33.Heat = 25 |
955 | + | IntValue35.Name = "Mode" |
956 | - | Fire33.SecondaryColor = Color3.new(1, 0, 0) |
956 | + | IntValue35.Parent = Model22 |
957 | - | Fire33.size = 30 |
957 | + | Script36.Parent = Model22 |
958 | - | Script34.Parent = Fire33 |
958 | + | table.insert(cors,sandbox(Script36,function() |
959 | - | table.insert(cors,sandbox(Script34,function() |
959 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
960 | - | function Spread(part) |
960 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
961 | - | check = part:findFirstChild("Fire") |
961 | + | |
962 | - | if check == nil then |
962 | + | function findNearestTorso(pos) |
963 | - | script.Parent:Clone().Parent = part |
963 | + | local list = game.Workspace:children() |
964 | - | |
964 | + | local torso = nil |
965 | - | elseif check ~= nil then |
965 | + | local dist = 1000 |
966 | - | check.Size = check.Size + 1 |
966 | + | local temp = nil |
967 | - | check.Heat = check.Heat +1 |
967 | + | local human = nil |
968 | local temp2 = nil | |
969 | for x = 1, #list do | |
970 | temp2 = list[x] | |
971 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
972 | - | script.Parent.Parent.Touched:connect(Spread) |
972 | + | temp = temp2:findFirstChild("Right Arm") |
973 | human = temp2:findFirstChild("Humanoid") | |
974 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
975 | if (temp.Position - pos).magnitude < dist then | |
976 | - | TrussPart35.Parent = Model0 |
976 | + | torso = temp |
977 | - | TrussPart35.CFrame = CFrame.new(170.003418, 36.3945923, 232.999634, 1, -8.51601362e-05, -6.71629323e-06, 8.51601362e-05, 0.99999994, -1.43999137e-06, 6.63666196e-06, 1.43800639e-06, 1) |
977 | + | dist = (temp.Position - pos).magnitude |
978 | - | TrussPart35.Position = Vector3.new(170.003418, 36.3945923, 232.999634) |
978 | + | end |
979 | - | TrussPart35.Color = Color3.new(0.972549, 0.972549, 0.972549) |
979 | + | |
980 | - | TrussPart35.Size = Vector3.new(2, 20, 2) |
980 | + | |
981 | - | TrussPart35.Anchored = true |
981 | + | |
982 | - | TrussPart35.BrickColor = BrickColor.new("Institutional white") |
982 | + | return torso |
983 | - | TrussPart35.Reflectance = 0.80000001192093 |
983 | + | |
984 | - | TrussPart35.brickColor = BrickColor.new("Institutional white") |
984 | + | |
985 | - | Fire36.Parent = TrussPart35 |
985 | + | |
986 | - | Fire36.Color = Color3.new(1, 0.745098, 0) |
986 | + | |
987 | - | Fire36.Enabled = false |
987 | + | |
988 | - | Fire36.Size = 30 |
988 | + | |
989 | - | Fire36.Heat = 25 |
989 | + | wait(math.random(1,5)) |
990 | - | Fire36.SecondaryColor = Color3.new(1, 0, 0) |
990 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
991 | - | Fire36.size = 30 |
991 | + | if target ~= nil then |
992 | - | Script37.Parent = Fire36 |
992 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
993 | end | |
994 | - | function Spread(part) |
994 | + | |
995 | - | check = part:findFirstChild("Fire") |
995 | + | |
996 | - | if check == nil then |
996 | + | |
997 | - | script.Parent:Clone().Parent = part |
997 | + | |
998 | - | |
998 | + | Script37.Name = "Health" |
999 | - | elseif check ~= nil then |
999 | + | Script37.Parent = Model22 |
1000 | - | check.Size = check.Size + 1 |
1000 | + | |
1001 | - | check.Heat = check.Heat +1 |
1001 | + | function waitForChild(parent, childName) |
1002 | while true do | |
1003 | local child = parent:findFirstChild(childName) | |
1004 | if child then | |
1005 | return child | |
1006 | - | script.Parent.Parent.Touched:connect(Spread) |
1006 | + | |
1007 | parent.ChildAdded:wait() | |
1008 | end | |
1009 | end | |
1010 | - | Part38.Parent = Model0 |
1010 | + | |
1011 | - | Part38.CFrame = CFrame.new(174.002441, 37.204895, 230.000122, -0.000107914209, -3.41983127e-06, -0.999999881, -6.44382681e-09, 1, -3.41983082e-06, 0.999999881, 6.0746288e-09, -0.000107914209) |
1011 | + | -- declarations |
1012 | - | Part38.Orientation = Vector3.new(0, -90.0099945, 0) |
1012 | + | |
1013 | - | Part38.Position = Vector3.new(174.002441, 37.204895, 230.000122) |
1013 | + | local Figure = script.Parent |
1014 | - | Part38.Rotation = Vector3.new(178.179993, -89.9700012, 178.179993) |
1014 | + | local Head = waitForChild(Figure, "Head") |
1015 | - | Part38.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
1015 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
1016 | - | Part38.Size = Vector3.new(18, 21.6000004, 2) |
1016 | + | Humanoid.Health=500 |
1017 | - | Part38.Anchored = true |
1017 | + | -- regeneration |
1018 | - | Part38.BrickColor = BrickColor.new("Bright blue") |
1018 | + | |
1019 | - | Part38.TopSurface = Enum.SurfaceType.Smooth |
1019 | + | local s = wait(4) |
1020 | - | Part38.brickColor = BrickColor.new("Bright blue") |
1020 | + | local health = Humanoid.Health |
1021 | - | Fire39.Parent = Part38 |
1021 | + | if health > 0 and health < Humanoid.MaxHealth then |
1022 | - | Fire39.Color = Color3.new(1, 0.745098, 0) |
1022 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
1023 | - | Fire39.Enabled = false |
1023 | + | if health * 1.05 < Humanoid.MaxHealth then |
1024 | - | Fire39.Size = 30 |
1024 | + | Humanoid.Health = health |
1025 | - | Fire39.Heat = 25 |
1025 | + | else |
1026 | - | Fire39.SecondaryColor = Color3.new(1, 0, 0) |
1026 | + | Humanoid.Health = Humanoid.MaxHealth |
1027 | - | Fire39.size = 30 |
1027 | + | |
1028 | - | Script40.Parent = Fire39 |
1028 | + | |
1029 | - | table.insert(cors,sandbox(Script40,function() |
1029 | + | |
1030 | - | function Spread(part) |
1030 | + | |
1031 | - | check = part:findFirstChild("Fire") |
1031 | + | |
1032 | - | if check == nil then |
1032 | + | Script38.Name = "Respawn" |
1033 | - | script.Parent:Clone().Parent = part |
1033 | + | Script38.Parent = Model22 |
1034 | - | |
1034 | + | table.insert(cors,sandbox(Script38,function() |
1035 | - | elseif check ~= nil then |
1035 | + | name="Humanoid" |
1036 | - | check.Size = check.Size + 1 |
1036 | + | |
1037 | - | check.Heat = check.Heat +1 |
1037 | + | robo=script.Parent:clone() |
1038 | ||
1039 | while true do | |
1040 | wait(1) | |
1041 | if script.Parent.Humanoid.Health<1 then | |
1042 | - | script.Parent.Parent.Touched:connect(Spread) |
1042 | + | robot=robo:clone() |
1043 | robot.Parent=script.Parent.Parent | |
1044 | robot:makeJoints() | |
1045 | script.Parent:remove() | |
1046 | - | Part41.Parent = Model0 |
1046 | + | |
1047 | - | Part41.CFrame = CFrame.new(165.001953, 35.3844299, 226.5, -1.53540332e-05, -4.21100685e-06, -1, 3.70577231e-06, 1, -4.21106415e-06, 1, -3.70583689e-06, -1.53540186e-05) |
1047 | + | |
1048 | - | Part41.Orientation = Vector3.new(0, -90, 0) |
1048 | + | |
1049 | - | Part41.Position = Vector3.new(165.001953, 35.3844299, 226.5) |
1049 | + | |
1050 | - | Part41.Rotation = Vector3.new(0, -90, 0) |
1050 | + | |
1051 | - | Part41.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1051 | + | |
1052 | - | Part41.Size = Vector3.new(11, 1.20000005, 16) |
1052 | + | |
1053 | - | Part41.Anchored = true |
1053 | + | Part39.Name = "Spawn Location" |
1054 | - | Part41.BottomSurface = Enum.SurfaceType.Smooth |
1054 | + | Part39.Parent = Model21 |
1055 | - | Part41.BrickColor = BrickColor.new("Dark stone grey") |
1055 | + | Part39.CFrame = CFrame.new(201.091461, 0.600009978, 223.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
1056 | - | Part41.TopSurface = Enum.SurfaceType.Smooth |
1056 | + | Part39.Orientation = Vector3.new(0, 180, 0) |
1057 | - | Part41.brickColor = BrickColor.new("Dark stone grey") |
1057 | + | Part39.Position = Vector3.new(201.091461, 0.600009978, 223.48645) |
1058 | - | Fire42.Parent = Part41 |
1058 | + | Part39.Rotation = Vector3.new(-180, 0, -180) |
1059 | - | Fire42.Color = Color3.new(1, 0.745098, 0) |
1059 | + | Part39.Color = Color3.new(0.631373, 0.768628, 0.54902) |
1060 | - | Fire42.Enabled = false |
1060 | + | Part39.Size = Vector3.new(6, 1.20000005, 6) |
1061 | - | Fire42.Size = 30 |
1061 | + | Part39.BottomSurface = Enum.SurfaceType.Weld |
1062 | - | Fire42.Heat = 25 |
1062 | + | Part39.BrickColor = BrickColor.new("Medium green") |
1063 | - | Fire42.SecondaryColor = Color3.new(1, 0, 0) |
1063 | + | Part39.TopSurface = Enum.SurfaceType.Smooth |
1064 | - | Fire42.size = 30 |
1064 | + | Part39.brickColor = BrickColor.new("Medium green") |
1065 | - | Script43.Parent = Fire42 |
1065 | + | Decal40.Parent = Part39 |
1066 | - | table.insert(cors,sandbox(Script43,function() |
1066 | + | Decal40.Texture = "http://www.roblox.com/asset/?id=34541722" |
1067 | - | function Spread(part) |
1067 | + | Decal40.Face = Enum.NormalId.Top |
1068 | - | check = part:findFirstChild("Fire") |
1068 | + | Model41.Parent = Model0 |
1069 | - | if check == nil then |
1069 | + | Model42.Name = "Zombie" |
1070 | - | script.Parent:Clone().Parent = part |
1070 | + | Model42.Parent = Model41 |
1071 | - | |
1071 | + | Model42.PrimaryPart = Part43 |
1072 | - | elseif check ~= nil then |
1072 | + | Part43.Name = "Head" |
1073 | - | check.Size = check.Size + 1 |
1073 | + | Part43.Parent = Model42 |
1074 | - | check.Heat = check.Heat +1 |
1074 | + | Part43.CFrame = CFrame.new(201.591461, 6.09995508, 247.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
1075 | Part43.Orientation = Vector3.new(0, 90, 0) | |
1076 | Part43.Position = Vector3.new(201.591461, 6.09995508, 247.48645) | |
1077 | Part43.Rotation = Vector3.new(0, 90, 0) | |
1078 | Part43.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
1079 | - | script.Parent.Parent.Touched:connect(Spread) |
1079 | + | Part43.Size = Vector3.new(2, 1, 1) |
1080 | Part43.BrickColor = BrickColor.new("Medium green") | |
1081 | Part43.TopSurface = Enum.SurfaceType.Smooth | |
1082 | Part43.brickColor = BrickColor.new("Medium green") | |
1083 | - | Part44.Parent = Model0 |
1083 | + | Part43.FormFactor = Enum.FormFactor.Symmetric |
1084 | - | Part44.CFrame = CFrame.new(158.503906, 30.590416, 219.999878, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1084 | + | Part43.formFactor = Enum.FormFactor.Symmetric |
1085 | - | Part44.Position = Vector3.new(158.503906, 30.590416, 219.999878) |
1085 | + | SpecialMesh44.Parent = Part43 |
1086 | - | Part44.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
1086 | + | SpecialMesh44.Scale = Vector3.new(1.25, 1.25, 1.25) |
1087 | - | Part44.Size = Vector3.new(7, 8.40000057, 2) |
1087 | + | Decal45.Name = "face" |
1088 | - | Part44.Anchored = true |
1088 | + | Decal45.Parent = Part43 |
1089 | - | Part44.BrickColor = BrickColor.new("Bright blue") |
1089 | + | Part46.Name = "Torso" |
1090 | - | Part44.brickColor = BrickColor.new("Bright blue") |
1090 | + | Part46.Parent = Model42 |
1091 | - | Fire45.Parent = Part44 |
1091 | + | Part46.CFrame = CFrame.new(201.591461, 4.59995508, 247.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
1092 | - | Fire45.Color = Color3.new(1, 0.745098, 0) |
1092 | + | Part46.Orientation = Vector3.new(0, 90, 0) |
1093 | - | Fire45.Enabled = false |
1093 | + | Part46.Position = Vector3.new(201.591461, 4.59995508, 247.48645) |
1094 | - | Fire45.Size = 30 |
1094 | + | Part46.Rotation = Vector3.new(0, 90, 0) |
1095 | - | Fire45.Heat = 25 |
1095 | + | Part46.Color = Color3.new(0.411765, 0.25098, 0.156863) |
1096 | - | Fire45.SecondaryColor = Color3.new(1, 0, 0) |
1096 | + | Part46.Size = Vector3.new(2, 2, 1) |
1097 | - | Fire45.size = 30 |
1097 | + | Part46.BrickColor = BrickColor.new("Reddish brown") |
1098 | - | Script46.Parent = Fire45 |
1098 | + | Part46.LeftParamA = 0 |
1099 | - | table.insert(cors,sandbox(Script46,function() |
1099 | + | Part46.LeftParamB = 0 |
1100 | - | function Spread(part) |
1100 | + | Part46.LeftSurface = Enum.SurfaceType.Weld |
1101 | - | check = part:findFirstChild("Fire") |
1101 | + | Part46.RightParamA = 0 |
1102 | - | if check == nil then |
1102 | + | Part46.RightParamB = 0 |
1103 | - | script.Parent:Clone().Parent = part |
1103 | + | Part46.RightSurface = Enum.SurfaceType.Weld |
1104 | - | |
1104 | + | Part46.brickColor = BrickColor.new("Reddish brown") |
1105 | - | elseif check ~= nil then |
1105 | + | Part46.FormFactor = Enum.FormFactor.Symmetric |
1106 | - | check.Size = check.Size + 1 |
1106 | + | Part46.formFactor = Enum.FormFactor.Symmetric |
1107 | - | check.Heat = check.Heat +1 |
1107 | + | Part47.Name = "Left Leg" |
1108 | Part47.Parent = Model42 | |
1109 | Part47.CFrame = CFrame.new(201.591461, 2.59995508, 247.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
1110 | Part47.Orientation = Vector3.new(0, 90, 0) | |
1111 | Part47.Position = Vector3.new(201.591461, 2.59995508, 247.98645) | |
1112 | - | script.Parent.Parent.Touched:connect(Spread) |
1112 | + | Part47.Rotation = Vector3.new(0, 90, 0) |
1113 | Part47.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
1114 | Part47.Size = Vector3.new(1, 2, 1) | |
1115 | Part47.BottomSurface = Enum.SurfaceType.Smooth | |
1116 | - | Part47.Parent = Model0 |
1116 | + | Part47.BrickColor = BrickColor.new("Reddish brown") |
1117 | - | Part47.CFrame = CFrame.new(166.00415, 25.1995621, 235.499146, -0.000107973632, -3.41931718e-06, -1, 4.76531568e-06, 1, -3.41983196e-06, 1, -4.76568493e-06, -0.000107973618) |
1117 | + | Part47.CanCollide = false |
1118 | - | Part47.Orientation = Vector3.new(0, -90.0099945, 0) |
1118 | + | Part47.brickColor = BrickColor.new("Reddish brown") |
1119 | - | Part47.Position = Vector3.new(166.00415, 25.1995621, 235.499146) |
1119 | + | Part47.FormFactor = Enum.FormFactor.Symmetric |
1120 | - | Part47.Rotation = Vector3.new(0, -90, 0) |
1120 | + | Part47.formFactor = Enum.FormFactor.Symmetric |
1121 | - | Part47.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1121 | + | Part48.Name = "Right Leg" |
1122 | - | Part47.Size = Vector3.new(7, 2.4000001, 18) |
1122 | + | Part48.Parent = Model42 |
1123 | - | Part47.Anchored = true |
1123 | + | Part48.CFrame = CFrame.new(201.591461, 2.59995508, 246.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
1124 | Part48.Orientation = Vector3.new(0, 90, 0) | |
1125 | - | Part47.BrickColor = BrickColor.new("Dark stone grey") |
1125 | + | Part48.Position = Vector3.new(201.591461, 2.59995508, 246.98645) |
1126 | - | Part47.TopSurface = Enum.SurfaceType.Smooth |
1126 | + | Part48.Rotation = Vector3.new(0, 90, 0) |
1127 | - | Part47.brickColor = BrickColor.new("Dark stone grey") |
1127 | + | Part48.Color = Color3.new(0.411765, 0.25098, 0.156863) |
1128 | - | Fire48.Parent = Part47 |
1128 | + | Part48.Size = Vector3.new(1, 2, 1) |
1129 | - | Fire48.Color = Color3.new(1, 0.745098, 0) |
1129 | + | Part48.BottomSurface = Enum.SurfaceType.Smooth |
1130 | - | Fire48.Enabled = false |
1130 | + | Part48.BrickColor = BrickColor.new("Reddish brown") |
1131 | - | Fire48.Size = 30 |
1131 | + | Part48.CanCollide = false |
1132 | - | Fire48.Heat = 25 |
1132 | + | Part48.brickColor = BrickColor.new("Reddish brown") |
1133 | - | Fire48.SecondaryColor = Color3.new(1, 0, 0) |
1133 | + | Part48.FormFactor = Enum.FormFactor.Symmetric |
1134 | - | Fire48.size = 30 |
1134 | + | Part48.formFactor = Enum.FormFactor.Symmetric |
1135 | - | Script49.Parent = Fire48 |
1135 | + | Humanoid49.Parent = Model42 |
1136 | - | table.insert(cors,sandbox(Script49,function() |
1136 | + | Humanoid49.LeftLeg = Part47 |
1137 | - | function Spread(part) |
1137 | + | Humanoid49.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
1138 | - | check = part:findFirstChild("Fire") |
1138 | + | Humanoid49.RightLeg = Part48 |
1139 | - | if check == nil then |
1139 | + | Humanoid49.Torso = Part46 |
1140 | - | script.Parent:Clone().Parent = part |
1140 | + | Part50.Name = "zarm" |
1141 | - | |
1141 | + | Part50.Parent = Model42 |
1142 | - | elseif check ~= nil then |
1142 | + | Part50.CFrame = CFrame.new(201.091461, 5.09995508, 248.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
1143 | - | check.Size = check.Size + 1 |
1143 | + | Part50.Orientation = Vector3.new(0, 180, 0) |
1144 | - | check.Heat = check.Heat +1 |
1144 | + | Part50.Position = Vector3.new(201.091461, 5.09995508, 248.98645) |
1145 | Part50.Rotation = Vector3.new(-180, 0, -180) | |
1146 | Part50.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
1147 | Part50.Size = Vector3.new(2, 1, 1) | |
1148 | Part50.BottomSurface = Enum.SurfaceType.Smooth | |
1149 | - | script.Parent.Parent.Touched:connect(Spread) |
1149 | + | Part50.BrickColor = BrickColor.new("Medium green") |
1150 | Part50.TopSurface = Enum.SurfaceType.Smooth | |
1151 | Part50.brickColor = BrickColor.new("Medium green") | |
1152 | Part50.FormFactor = Enum.FormFactor.Symmetric | |
1153 | - | Part50.Parent = Model0 |
1153 | + | Part50.formFactor = Enum.FormFactor.Symmetric |
1154 | - | Part50.CFrame = CFrame.new(171.503906, 30.5805054, 219.999878, 0.999999881, -3.74829028e-06, 1.68085098e-05, 3.74824549e-06, 1, 2.6473283e-06, -1.68085098e-05, -2.64726486e-06, 0.999999881) |
1154 | + | Script51.Parent = Part50 |
1155 | - | Part50.Position = Vector3.new(171.503906, 30.5805054, 219.999878) |
1155 | + | table.insert(cors,sandbox(Script51,function() |
1156 | - | Part50.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
1156 | + | wait(1) |
1157 | - | Part50.Size = Vector3.new(7, 8.40000057, 2) |
1157 | + | owner=script.Parent.Parent.Name |
1158 | - | Part50.Anchored = true |
1158 | + | |
1159 | - | Part50.BrickColor = BrickColor.new("Bright blue") |
1159 | + | function onTouched(part) |
1160 | - | Part50.brickColor = BrickColor.new("Bright blue") |
1160 | + | if part.Parent ~= nil then |
1161 | - | Fire51.Parent = Part50 |
1161 | + | local h = part.Parent:findFirstChild("Humanoid") |
1162 | - | Fire51.Color = Color3.new(1, 0.745098, 0) |
1162 | + | if h~=nil then |
1163 | - | Fire51.Enabled = false |
1163 | + | if cantouch~=0 then |
1164 | - | Fire51.Size = 30 |
1164 | + | if h.Parent.Name~=owner then |
1165 | - | Fire51.Heat = 25 |
1165 | + | |
1166 | - | Fire51.SecondaryColor = Color3.new(1, 0, 0) |
1166 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
1167 | - | Fire51.size = 30 |
1167 | + | |
1168 | - | Script52.Parent = Fire51 |
1168 | + | cantouch=0 |
1169 | - | table.insert(cors,sandbox(Script52,function() |
1169 | + | |
1170 | - | function Spread(part) |
1170 | + | local larm=h.Parent:findFirstChild("Left Arm") |
1171 | - | check = part:findFirstChild("Fire") |
1171 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
1172 | - | if check == nil then |
1172 | + | |
1173 | - | script.Parent:Clone().Parent = part |
1173 | + | if larm~=nil then |
1174 | - | |
1174 | + | larm:remove() |
1175 | - | elseif check ~= nil then |
1175 | + | end |
1176 | - | check.Size = check.Size + 1 |
1176 | + | if rarm~=nil then |
1177 | - | check.Heat = check.Heat +1 |
1177 | + | rarm:remove() |
1178 | end | |
1179 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
1180 | if zee~=nil then | |
1181 | local zlarm=zee:clone() | |
1182 | - | script.Parent.Parent.Touched:connect(Spread) |
1182 | + | local zrarm=zee:clone() |
1183 | if zlarm~=nil then | |
1184 | ||
1185 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1186 | - | Part53.Parent = Model0 |
1186 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
1187 | - | Part53.CFrame = CFrame.new(156, 23.4000168, 209.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
1187 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
1188 | - | Part53.Orientation = Vector3.new(0, -90, 0) |
1188 | + | zlarm.Parent=h.Parent |
1189 | - | Part53.Position = Vector3.new(156, 23.4000168, 209.5) |
1189 | + | zrarm.Parent=h.Parent |
1190 | - | Part53.Rotation = Vector3.new(0, -90, 0) |
1190 | + | zlarm:makeJoints() |
1191 | - | Part53.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
1191 | + | zrarm:makeJoints() |
1192 | - | Part53.Size = Vector3.new(59, 6, 2) |
1192 | + | zlarm.Anchored=false |
1193 | - | Part53.Anchored = true |
1193 | + | zrarm.Anchored=false |
1194 | - | Part53.BottomSurface = Enum.SurfaceType.Smooth |
1194 | + | wait(0.1) |
1195 | - | Part53.BrickColor = BrickColor.new("Bright blue") |
1195 | + | h.Parent.Head.Color=zee.Color |
1196 | - | Part53.TopSurface = Enum.SurfaceType.Smooth |
1196 | + | else print("no zee"); return end |
1197 | - | Part53.brickColor = BrickColor.new("Bright blue") |
1197 | + | end |
1198 | - | Fire54.Parent = Part53 |
1198 | + | wait(1) |
1199 | - | Fire54.Color = Color3.new(1, 0.72549, 0) |
1199 | + | cantouch=1 |
1200 | - | Fire54.Enabled = false |
1200 | + | end |
1201 | - | Fire54.Size = 30 |
1201 | + | end |
1202 | - | Fire54.Heat = 25 |
1202 | + | |
1203 | - | Fire54.SecondaryColor = Color3.new(1, 0, 0) |
1203 | + | |
1204 | - | Fire54.size = 30 |
1204 | + | |
1205 | - | Script55.Name = "Spread" |
1205 | + | |
1206 | - | Script55.Parent = Fire54 |
1206 | + | |
1207 | - | table.insert(cors,sandbox(Script55,function() |
1207 | + | |
1208 | - | function Spread(part) |
1208 | + | Part52.Name = "zarm" |
1209 | - | check = part:findFirstChild("Fire") |
1209 | + | Part52.Parent = Model42 |
1210 | - | if check == nil then |
1210 | + | Part52.CFrame = CFrame.new(201.091461, 5.09995508, 245.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
1211 | - | script.Parent:Clone().Parent = part |
1211 | + | Part52.Orientation = Vector3.new(0, 180, 0) |
1212 | - | |
1212 | + | Part52.Position = Vector3.new(201.091461, 5.09995508, 245.98645) |
1213 | - | elseif check ~= nil then |
1213 | + | Part52.Rotation = Vector3.new(-180, 0, -180) |
1214 | - | check.Size = check.Size + 1 |
1214 | + | Part52.Color = Color3.new(0.631373, 0.768628, 0.54902) |
1215 | - | check.Heat = check.Heat +1 |
1215 | + | Part52.Size = Vector3.new(2, 1, 1) |
1216 | Part52.BottomSurface = Enum.SurfaceType.Smooth | |
1217 | Part52.BrickColor = BrickColor.new("Medium green") | |
1218 | Part52.TopSurface = Enum.SurfaceType.Smooth | |
1219 | Part52.brickColor = BrickColor.new("Medium green") | |
1220 | - | script.Parent.Parent.Touched:connect(Spread) |
1220 | + | Part52.FormFactor = Enum.FormFactor.Symmetric |
1221 | Part52.formFactor = Enum.FormFactor.Symmetric | |
1222 | Script53.Parent = Part52 | |
1223 | - | Part56.Parent = Model0 |
1223 | + | table.insert(cors,sandbox(Script53,function() |
1224 | - | Part56.CFrame = CFrame.new(175.503906, 25.1905346, 205.999878, -1.64166579e-07, -5.11109374e-06, -1, 3.66922905e-06, 1, -5.11109465e-06, 1, -3.66922995e-06, -1.64147821e-07) |
1224 | + | wait(1) |
1225 | - | Part56.Orientation = Vector3.new(0, -90, 0) |
1225 | + | owner=script.Parent.Parent.Name |
1226 | - | Part56.Position = Vector3.new(175.503906, 25.1905346, 205.999878) |
1226 | + | |
1227 | - | Part56.Rotation = Vector3.new(0, -90, 0) |
1227 | + | function onTouched(part) |
1228 | - | Part56.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1228 | + | if part.Parent ~= nil then |
1229 | - | Part56.Size = Vector3.new(52, 2.4000001, 37) |
1229 | + | local h = part.Parent:findFirstChild("Humanoid") |
1230 | - | Part56.Anchored = true |
1230 | + | if h~=nil then |
1231 | - | Part56.BottomSurface = Enum.SurfaceType.Smooth |
1231 | + | if cantouch~=0 then |
1232 | - | Part56.BrickColor = BrickColor.new("Dark stone grey") |
1232 | + | if h.Parent.Name~=owner then |
1233 | - | Part56.TopSurface = Enum.SurfaceType.Smooth |
1233 | + | |
1234 | - | Part56.brickColor = BrickColor.new("Dark stone grey") |
1234 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
1235 | - | Fire57.Parent = Part56 |
1235 | + | |
1236 | - | Fire57.Color = Color3.new(1, 0.745098, 0) |
1236 | + | cantouch=0 |
1237 | - | Fire57.Enabled = false |
1237 | + | |
1238 | - | Fire57.Size = 30 |
1238 | + | local larm=h.Parent:findFirstChild("Left Arm") |
1239 | - | Fire57.Heat = 25 |
1239 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
1240 | - | Fire57.SecondaryColor = Color3.new(1, 0, 0) |
1240 | + | |
1241 | - | Fire57.size = 30 |
1241 | + | if larm~=nil then |
1242 | - | Script58.Parent = Fire57 |
1242 | + | larm:remove() |
1243 | end | |
1244 | - | function Spread(part) |
1244 | + | if rarm~=nil then |
1245 | - | check = part:findFirstChild("Fire") |
1245 | + | rarm:remove() |
1246 | - | if check == nil then |
1246 | + | end |
1247 | - | script.Parent:Clone().Parent = part |
1247 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
1248 | - | |
1248 | + | if zee~=nil then |
1249 | - | elseif check ~= nil then |
1249 | + | local zlarm=zee:clone() |
1250 | - | check.Size = check.Size + 1 |
1250 | + | local zrarm=zee:clone() |
1251 | - | check.Heat = check.Heat +1 |
1251 | + | if zlarm~=nil then |
1252 | ||
1253 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1254 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
1255 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
1256 | - | script.Parent.Parent.Touched:connect(Spread) |
1256 | + | zlarm.Parent=h.Parent |
1257 | zrarm.Parent=h.Parent | |
1258 | zlarm:makeJoints() | |
1259 | zrarm:makeJoints() | |
1260 | - | Part59.Parent = Model0 |
1260 | + | zlarm.Anchored=false |
1261 | - | Part59.CFrame = CFrame.new(166.5, 13.1999941, 235.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
1261 | + | zrarm.Anchored=false |
1262 | - | Part59.Orientation = Vector3.new(0, -90, 0) |
1262 | + | wait(0.1) |
1263 | - | Part59.Position = Vector3.new(166.5, 13.1999941, 235.5) |
1263 | + | h.Parent.Head.Color=zee.Color |
1264 | - | Part59.Rotation = Vector3.new(0, -90, 0) |
1264 | + | else print("no zee"); return end |
1265 | - | Part59.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1265 | + | end |
1266 | - | Part59.Size = Vector3.new(7, 2.4000001, 19) |
1266 | + | wait(1) |
1267 | - | Part59.Anchored = true |
1267 | + | cantouch=1 |
1268 | - | Part59.BottomSurface = Enum.SurfaceType.Smooth |
1268 | + | end |
1269 | - | Part59.BrickColor = BrickColor.new("Dark stone grey") |
1269 | + | end |
1270 | end | |
1271 | - | Part59.brickColor = BrickColor.new("Dark stone grey") |
1271 | + | |
1272 | - | Fire60.Parent = Part59 |
1272 | + | |
1273 | - | Fire60.Color = Color3.new(1, 0.745098, 0) |
1273 | + | |
1274 | - | Fire60.Enabled = false |
1274 | + | |
1275 | - | Fire60.Size = 30 |
1275 | + | |
1276 | - | Fire60.Heat = 25 |
1276 | + | ObjectValue54.Name = "IsNZ" |
1277 | - | Fire60.SecondaryColor = Color3.new(1, 0, 0) |
1277 | + | ObjectValue54.Parent = Model42 |
1278 | - | Fire60.size = 30 |
1278 | + | IntValue55.Name = "Mode" |
1279 | - | Script61.Parent = Fire60 |
1279 | + | IntValue55.Parent = Model42 |
1280 | - | table.insert(cors,sandbox(Script61,function() |
1280 | + | Script56.Parent = Model42 |
1281 | - | function Spread(part) |
1281 | + | table.insert(cors,sandbox(Script56,function() |
1282 | - | check = part:findFirstChild("Fire") |
1282 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
1283 | - | if check == nil then |
1283 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
1284 | - | script.Parent:Clone().Parent = part |
1284 | + | |
1285 | - | |
1285 | + | function findNearestTorso(pos) |
1286 | - | elseif check ~= nil then |
1286 | + | local list = game.Workspace:children() |
1287 | - | check.Size = check.Size + 1 |
1287 | + | local torso = nil |
1288 | - | check.Heat = check.Heat +1 |
1288 | + | local dist = 1000 |
1289 | local temp = nil | |
1290 | local human = nil | |
1291 | local temp2 = nil | |
1292 | for x = 1, #list do | |
1293 | - | script.Parent.Parent.Touched:connect(Spread) |
1293 | + | temp2 = list[x] |
1294 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
1295 | temp = temp2:findFirstChild("Right Arm") | |
1296 | human = temp2:findFirstChild("Humanoid") | |
1297 | - | Part62.Parent = Model0 |
1297 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
1298 | - | Part62.CFrame = CFrame.new(177.5, 15.5999861, 235.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
1298 | + | if (temp.Position - pos).magnitude < dist then |
1299 | - | Part62.Orientation = Vector3.new(0, -90, 0) |
1299 | + | torso = temp |
1300 | - | Part62.Position = Vector3.new(177.5, 15.5999861, 235.5) |
1300 | + | dist = (temp.Position - pos).magnitude |
1301 | - | Part62.Rotation = Vector3.new(0, -90, 0) |
1301 | + | end |
1302 | - | Part62.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1302 | + | |
1303 | - | Part62.Velocity = Vector3.new(-1.92531509e-19, -0.0124181155, -1.07341464e-19) |
1303 | + | |
1304 | - | Part62.Size = Vector3.new(7, 2.4000001, 3) |
1304 | + | |
1305 | - | Part62.Anchored = true |
1305 | + | return torso |
1306 | - | Part62.BottomSurface = Enum.SurfaceType.Smooth |
1306 | + | |
1307 | - | Part62.BrickColor = BrickColor.new("Dark stone grey") |
1307 | + | |
1308 | - | Part62.RotVelocity = Vector3.new(1.00410485e-20, 6.26219062e-21, 1.04267748e-20) |
1308 | + | |
1309 | - | Part62.TopSurface = Enum.SurfaceType.Smooth |
1309 | + | |
1310 | - | Part62.brickColor = BrickColor.new("Dark stone grey") |
1310 | + | |
1311 | - | Fire63.Parent = Part62 |
1311 | + | |
1312 | - | Fire63.Color = Color3.new(1, 0.72549, 0) |
1312 | + | wait(math.random(1,5)) |
1313 | - | Fire63.Enabled = false |
1313 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
1314 | - | Fire63.Size = 30 |
1314 | + | if target ~= nil then |
1315 | - | Fire63.Heat = 25 |
1315 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
1316 | - | Fire63.SecondaryColor = Color3.new(1, 0, 0) |
1316 | + | |
1317 | - | Fire63.size = 30 |
1317 | + | |
1318 | - | Script64.Name = "Spread" |
1318 | + | |
1319 | - | Script64.Parent = Fire63 |
1319 | + | |
1320 | - | table.insert(cors,sandbox(Script64,function() |
1320 | + | |
1321 | - | function Spread(part) |
1321 | + | Script57.Name = "Health" |
1322 | - | check = part:findFirstChild("Fire") |
1322 | + | Script57.Parent = Model42 |
1323 | - | if check == nil then |
1323 | + | table.insert(cors,sandbox(Script57,function() |
1324 | - | script.Parent:Clone().Parent = part |
1324 | + | function waitForChild(parent, childName) |
1325 | - | |
1325 | + | while true do |
1326 | - | elseif check ~= nil then |
1326 | + | local child = parent:findFirstChild(childName) |
1327 | - | check.Size = check.Size + 1 |
1327 | + | if child then |
1328 | - | check.Heat = check.Heat +1 |
1328 | + | |
1329 | end | |
1330 | parent.ChildAdded:wait() | |
1331 | end | |
1332 | end | |
1333 | - | script.Parent.Parent.Touched:connect(Spread) |
1333 | + | |
1334 | -- declarations | |
1335 | ||
1336 | - | Part65.Parent = Model0 |
1336 | + | local Figure = script.Parent |
1337 | - | Part65.CFrame = CFrame.new(174.501465, 13.2100639, 240, 1, 2.44249065e-15, -2.98023224e-08, -1.77635684e-15, 1, -1.77635684e-15, 2.98023224e-08, 8.8817842e-16, 1) |
1337 | + | local Head = waitForChild(Figure, "Head") |
1338 | - | Part65.Position = Vector3.new(174.501465, 13.2100639, 240) |
1338 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
1339 | - | Part65.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
1339 | + | Humanoid.Health=500 |
1340 | - | Part65.Size = Vector3.new(39, 26.4000015, 2) |
1340 | + | -- regeneration |
1341 | - | Part65.Anchored = true |
1341 | + | |
1342 | - | Part65.BrickColor = BrickColor.new("Bright blue") |
1342 | + | local s = wait(4) |
1343 | - | Part65.TopSurface = Enum.SurfaceType.Smooth |
1343 | + | local health = Humanoid.Health |
1344 | - | Part65.brickColor = BrickColor.new("Bright blue") |
1344 | + | if health > 0 and health < Humanoid.MaxHealth then |
1345 | - | Fire66.Parent = Part65 |
1345 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
1346 | - | Fire66.Color = Color3.new(1, 0.745098, 0) |
1346 | + | if health * 1.05 < Humanoid.MaxHealth then |
1347 | - | Fire66.Enabled = false |
1347 | + | Humanoid.Health = health |
1348 | - | Fire66.Size = 30 |
1348 | + | else |
1349 | - | Fire66.Heat = 25 |
1349 | + | Humanoid.Health = Humanoid.MaxHealth |
1350 | - | Fire66.SecondaryColor = Color3.new(1, 0, 0) |
1350 | + | |
1351 | - | Fire66.size = 30 |
1351 | + | |
1352 | - | Script67.Parent = Fire66 |
1352 | + | |
1353 | - | table.insert(cors,sandbox(Script67,function() |
1353 | + | |
1354 | - | function Spread(part) |
1354 | + | |
1355 | - | check = part:findFirstChild("Fire") |
1355 | + | Script58.Name = "Respawn" |
1356 | - | if check == nil then |
1356 | + | Script58.Parent = Model42 |
1357 | - | script.Parent:Clone().Parent = part |
1357 | + | |
1358 | - | |
1358 | + | name="Humanoid" |
1359 | - | elseif check ~= nil then |
1359 | + | |
1360 | - | check.Size = check.Size + 1 |
1360 | + | robo=script.Parent:clone() |
1361 | - | check.Heat = check.Heat +1 |
1361 | + | |
1362 | while true do | |
1363 | wait(1) | |
1364 | if script.Parent.Humanoid.Health<1 then | |
1365 | robot=robo:clone() | |
1366 | - | script.Parent.Parent.Touched:connect(Spread) |
1366 | + | robot.Parent=script.Parent.Parent |
1367 | robot:makeJoints() | |
1368 | script.Parent:remove() | |
1369 | end | |
1370 | - | Part68.Parent = Model0 |
1370 | + | |
1371 | - | Part68.CFrame = CFrame.new(183.5, 20.4000034, 235.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
1371 | + | |
1372 | - | Part68.Orientation = Vector3.new(0, -90, 0) |
1372 | + | |
1373 | - | Part68.Position = Vector3.new(183.5, 20.4000034, 235.5) |
1373 | + | |
1374 | - | Part68.Rotation = Vector3.new(0, -90, 0) |
1374 | + | |
1375 | - | Part68.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1375 | + | |
1376 | - | Part68.Size = Vector3.new(7, 2.4000001, 3) |
1376 | + | Part59.Name = "Spawn Location" |
1377 | - | Part68.Anchored = true |
1377 | + | Part59.Parent = Model41 |
1378 | Part59.CFrame = CFrame.new(201.113556, 0.603015006, 247.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) | |
1379 | - | Part68.BrickColor = BrickColor.new("Dark stone grey") |
1379 | + | Part59.Orientation = Vector3.new(0, 180, 0) |
1380 | - | Part68.TopSurface = Enum.SurfaceType.Smooth |
1380 | + | Part59.Position = Vector3.new(201.113556, 0.603015006, 247.491455) |
1381 | - | Part68.brickColor = BrickColor.new("Dark stone grey") |
1381 | + | Part59.Rotation = Vector3.new(-180, 0, -180) |
1382 | - | Fire69.Parent = Part68 |
1382 | + | Part59.Color = Color3.new(0.631373, 0.768628, 0.54902) |
1383 | - | Fire69.Color = Color3.new(1, 0.745098, 0) |
1383 | + | Part59.Size = Vector3.new(6, 1.20000005, 6) |
1384 | - | Fire69.Enabled = false |
1384 | + | Part59.BottomSurface = Enum.SurfaceType.Weld |
1385 | - | Fire69.Size = 30 |
1385 | + | Part59.BrickColor = BrickColor.new("Medium green") |
1386 | - | Fire69.Heat = 25 |
1386 | + | |
1387 | - | Fire69.SecondaryColor = Color3.new(1, 0, 0) |
1387 | + | Part59.brickColor = BrickColor.new("Medium green") |
1388 | - | Fire69.size = 30 |
1388 | + | Decal60.Parent = Part59 |
1389 | - | Script70.Parent = Fire69 |
1389 | + | Decal60.Texture = "http://www.roblox.com/asset/?id=34541722" |
1390 | - | table.insert(cors,sandbox(Script70,function() |
1390 | + | Decal60.Face = Enum.NormalId.Top |
1391 | - | function Spread(part) |
1391 | + | Model61.Parent = Model0 |
1392 | - | check = part:findFirstChild("Fire") |
1392 | + | Model62.Name = "Zombie" |
1393 | - | if check == nil then |
1393 | + | Model62.Parent = Model61 |
1394 | - | script.Parent:Clone().Parent = part |
1394 | + | Model62.PrimaryPart = Part63 |
1395 | - | |
1395 | + | Part63.Name = "Head" |
1396 | - | elseif check ~= nil then |
1396 | + | Part63.Parent = Model62 |
1397 | - | check.Size = check.Size + 1 |
1397 | + | Part63.CFrame = CFrame.new(201.608551, 6.09995508, 235.513428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
1398 | - | check.Heat = check.Heat +1 |
1398 | + | Part63.Orientation = Vector3.new(0, 90, 0) |
1399 | Part63.Position = Vector3.new(201.608551, 6.09995508, 235.513428) | |
1400 | Part63.Rotation = Vector3.new(0, 90, 0) | |
1401 | Part63.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
1402 | Part63.Size = Vector3.new(2, 1, 1) | |
1403 | - | script.Parent.Parent.Touched:connect(Spread) |
1403 | + | Part63.BrickColor = BrickColor.new("Medium green") |
1404 | Part63.TopSurface = Enum.SurfaceType.Smooth | |
1405 | Part63.brickColor = BrickColor.new("Medium green") | |
1406 | Part63.FormFactor = Enum.FormFactor.Symmetric | |
1407 | - | Part71.Parent = Model0 |
1407 | + | Part63.formFactor = Enum.FormFactor.Symmetric |
1408 | - | Part71.CFrame = CFrame.new(180.5, 18.0000076, 235.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
1408 | + | SpecialMesh64.Parent = Part63 |
1409 | - | Part71.Orientation = Vector3.new(0, -90, 0) |
1409 | + | SpecialMesh64.Scale = Vector3.new(1.25, 1.25, 1.25) |
1410 | - | Part71.Position = Vector3.new(180.5, 18.0000076, 235.5) |
1410 | + | Decal65.Name = "face" |
1411 | - | Part71.Rotation = Vector3.new(0, -90, 0) |
1411 | + | Decal65.Parent = Part63 |
1412 | - | Part71.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1412 | + | Part66.Name = "Torso" |
1413 | - | Part71.Size = Vector3.new(7, 2.4000001, 3) |
1413 | + | Part66.Parent = Model62 |
1414 | - | Part71.Anchored = true |
1414 | + | Part66.CFrame = CFrame.new(201.608551, 4.59995508, 235.513428, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
1415 | - | Part71.BottomSurface = Enum.SurfaceType.Smooth |
1415 | + | Part66.Orientation = Vector3.new(0, 90, 0) |
1416 | - | Part71.BrickColor = BrickColor.new("Dark stone grey") |
1416 | + | Part66.Position = Vector3.new(201.608551, 4.59995508, 235.513428) |
1417 | - | Part71.TopSurface = Enum.SurfaceType.Smooth |
1417 | + | Part66.Rotation = Vector3.new(0, 90, 0) |
1418 | - | Part71.brickColor = BrickColor.new("Dark stone grey") |
1418 | + | Part66.Color = Color3.new(0.411765, 0.25098, 0.156863) |
1419 | - | Fire72.Parent = Part71 |
1419 | + | Part66.Size = Vector3.new(2, 2, 1) |
1420 | - | Fire72.Color = Color3.new(1, 0.745098, 0) |
1420 | + | Part66.BrickColor = BrickColor.new("Reddish brown") |
1421 | - | Fire72.Enabled = false |
1421 | + | Part66.LeftParamA = 0 |
1422 | - | Fire72.Size = 30 |
1422 | + | Part66.LeftParamB = 0 |
1423 | - | Fire72.Heat = 25 |
1423 | + | Part66.LeftSurface = Enum.SurfaceType.Weld |
1424 | - | Fire72.SecondaryColor = Color3.new(1, 0, 0) |
1424 | + | Part66.RightParamA = 0 |
1425 | - | Fire72.size = 30 |
1425 | + | Part66.RightParamB = 0 |
1426 | - | Script73.Parent = Fire72 |
1426 | + | Part66.RightSurface = Enum.SurfaceType.Weld |
1427 | Part66.brickColor = BrickColor.new("Reddish brown") | |
1428 | - | function Spread(part) |
1428 | + | Part66.FormFactor = Enum.FormFactor.Symmetric |
1429 | - | check = part:findFirstChild("Fire") |
1429 | + | Part66.formFactor = Enum.FormFactor.Symmetric |
1430 | - | if check == nil then |
1430 | + | Part67.Name = "Left Leg" |
1431 | - | script.Parent:Clone().Parent = part |
1431 | + | Part67.Parent = Model62 |
1432 | - | |
1432 | + | Part67.CFrame = CFrame.new(201.608551, 2.59995508, 236.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
1433 | - | elseif check ~= nil then |
1433 | + | Part67.Orientation = Vector3.new(0, 90, 0) |
1434 | - | check.Size = check.Size + 1 |
1434 | + | Part67.Position = Vector3.new(201.608551, 2.59995508, 236.013428) |
1435 | - | check.Heat = check.Heat +1 |
1435 | + | Part67.Rotation = Vector3.new(0, 90, 0) |
1436 | Part67.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
1437 | Part67.Size = Vector3.new(1, 2, 1) | |
1438 | Part67.BottomSurface = Enum.SurfaceType.Smooth | |
1439 | Part67.BrickColor = BrickColor.new("Reddish brown") | |
1440 | - | script.Parent.Parent.Touched:connect(Spread) |
1440 | + | Part67.CanCollide = false |
1441 | Part67.brickColor = BrickColor.new("Reddish brown") | |
1442 | Part67.FormFactor = Enum.FormFactor.Symmetric | |
1443 | Part67.formFactor = Enum.FormFactor.Symmetric | |
1444 | - | Part74.Parent = Model0 |
1444 | + | Part68.Name = "Right Leg" |
1445 | - | Part74.CFrame = CFrame.new(156, 12.5999861, 209.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
1445 | + | Part68.Parent = Model62 |
1446 | - | Part74.Orientation = Vector3.new(0, -90, 0) |
1446 | + | Part68.CFrame = CFrame.new(201.608551, 2.59995508, 235.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
1447 | - | Part74.Position = Vector3.new(156, 12.5999861, 209.5) |
1447 | + | Part68.Orientation = Vector3.new(0, 90, 0) |
1448 | - | Part74.Rotation = Vector3.new(0, -90, 0) |
1448 | + | Part68.Position = Vector3.new(201.608551, 2.59995508, 235.013428) |
1449 | - | Part74.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
1449 | + | Part68.Rotation = Vector3.new(0, 90, 0) |
1450 | - | Part74.Size = Vector3.new(59, 8.40000057, 2) |
1450 | + | Part68.Color = Color3.new(0.411765, 0.25098, 0.156863) |
1451 | - | Part74.Anchored = true |
1451 | + | Part68.Size = Vector3.new(1, 2, 1) |
1452 | - | Part74.BottomSurface = Enum.SurfaceType.Smooth |
1452 | + | |
1453 | - | Part74.BrickColor = BrickColor.new("Bright blue") |
1453 | + | Part68.BrickColor = BrickColor.new("Reddish brown") |
1454 | - | Part74.TopSurface = Enum.SurfaceType.Smooth |
1454 | + | Part68.CanCollide = false |
1455 | - | Part74.brickColor = BrickColor.new("Bright blue") |
1455 | + | Part68.brickColor = BrickColor.new("Reddish brown") |
1456 | - | Fire75.Parent = Part74 |
1456 | + | Part68.FormFactor = Enum.FormFactor.Symmetric |
1457 | - | Fire75.Color = Color3.new(1, 0.745098, 0) |
1457 | + | Part68.formFactor = Enum.FormFactor.Symmetric |
1458 | - | Fire75.Enabled = false |
1458 | + | Humanoid69.Parent = Model62 |
1459 | - | Fire75.Size = 30 |
1459 | + | Humanoid69.LeftLeg = Part67 |
1460 | - | Fire75.Heat = 25 |
1460 | + | Humanoid69.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
1461 | - | Fire75.SecondaryColor = Color3.new(1, 0, 0) |
1461 | + | Humanoid69.RightLeg = Part68 |
1462 | - | Fire75.size = 30 |
1462 | + | Humanoid69.Torso = Part66 |
1463 | - | Script76.Parent = Fire75 |
1463 | + | Part70.Name = "zarm" |
1464 | Part70.Parent = Model62 | |
1465 | - | function Spread(part) |
1465 | + | Part70.CFrame = CFrame.new(201.108551, 5.09995508, 237.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
1466 | - | check = part:findFirstChild("Fire") |
1466 | + | Part70.Orientation = Vector3.new(0, 180, 0) |
1467 | - | if check == nil then |
1467 | + | Part70.Position = Vector3.new(201.108551, 5.09995508, 237.013428) |
1468 | - | script.Parent:Clone().Parent = part |
1468 | + | Part70.Rotation = Vector3.new(-180, 0, -180) |
1469 | - | |
1469 | + | Part70.Color = Color3.new(0.631373, 0.768628, 0.54902) |
1470 | - | elseif check ~= nil then |
1470 | + | Part70.Size = Vector3.new(2, 1, 1) |
1471 | - | check.Size = check.Size + 1 |
1471 | + | Part70.BottomSurface = Enum.SurfaceType.Smooth |
1472 | - | check.Heat = check.Heat +1 |
1472 | + | Part70.BrickColor = BrickColor.new("Medium green") |
1473 | Part70.TopSurface = Enum.SurfaceType.Smooth | |
1474 | Part70.brickColor = BrickColor.new("Medium green") | |
1475 | Part70.FormFactor = Enum.FormFactor.Symmetric | |
1476 | Part70.formFactor = Enum.FormFactor.Symmetric | |
1477 | - | script.Parent.Parent.Touched:connect(Spread) |
1477 | + | Script71.Parent = Part70 |
1478 | table.insert(cors,sandbox(Script71,function() | |
1479 | wait(1) | |
1480 | owner=script.Parent.Parent.Name | |
1481 | - | Part77.Parent = Model0 |
1481 | + | |
1482 | - | Part77.CFrame = CFrame.new(186.5, 22.8000126, 235.5, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
1482 | + | function onTouched(part) |
1483 | - | Part77.Orientation = Vector3.new(0, -90, 0) |
1483 | + | if part.Parent ~= nil then |
1484 | - | Part77.Position = Vector3.new(186.5, 22.8000126, 235.5) |
1484 | + | local h = part.Parent:findFirstChild("Humanoid") |
1485 | - | Part77.Rotation = Vector3.new(0, -90, 0) |
1485 | + | if h~=nil then |
1486 | - | Part77.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1486 | + | if cantouch~=0 then |
1487 | - | Part77.Size = Vector3.new(7, 2.4000001, 3) |
1487 | + | if h.Parent.Name~=owner then |
1488 | - | Part77.Anchored = true |
1488 | + | |
1489 | - | Part77.BottomSurface = Enum.SurfaceType.Smooth |
1489 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
1490 | - | Part77.BrickColor = BrickColor.new("Dark stone grey") |
1490 | + | |
1491 | - | Part77.TopSurface = Enum.SurfaceType.Smooth |
1491 | + | cantouch=0 |
1492 | - | Part77.brickColor = BrickColor.new("Dark stone grey") |
1492 | + | |
1493 | - | Fire78.Parent = Part77 |
1493 | + | local larm=h.Parent:findFirstChild("Left Arm") |
1494 | - | Fire78.Color = Color3.new(1, 0.72549, 0) |
1494 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
1495 | - | Fire78.Enabled = false |
1495 | + | |
1496 | - | Fire78.Size = 30 |
1496 | + | if larm~=nil then |
1497 | - | Fire78.Heat = 25 |
1497 | + | larm:remove() |
1498 | - | Fire78.SecondaryColor = Color3.new(1, 0, 0) |
1498 | + | end |
1499 | - | Fire78.size = 30 |
1499 | + | if rarm~=nil then |
1500 | - | Script79.Name = "Spread" |
1500 | + | rarm:remove() |
1501 | - | Script79.Parent = Fire78 |
1501 | + | end |
1502 | - | table.insert(cors,sandbox(Script79,function() |
1502 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
1503 | - | function Spread(part) |
1503 | + | if zee~=nil then |
1504 | - | check = part:findFirstChild("Fire") |
1504 | + | local zlarm=zee:clone() |
1505 | - | if check == nil then |
1505 | + | local zrarm=zee:clone() |
1506 | - | script.Parent:Clone().Parent = part |
1506 | + | if zlarm~=nil then |
1507 | - | |
1507 | + | |
1508 | - | elseif check ~= nil then |
1508 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
1509 | - | check.Size = check.Size + 1 |
1509 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
1510 | - | check.Heat = check.Heat +1 |
1510 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
1511 | zlarm.Parent=h.Parent | |
1512 | zrarm.Parent=h.Parent | |
1513 | zlarm:makeJoints() | |
1514 | zrarm:makeJoints() | |
1515 | - | script.Parent.Parent.Touched:connect(Spread) |
1515 | + | zlarm.Anchored=false |
1516 | zrarm.Anchored=false | |
1517 | wait(0.1) | |
1518 | - | Part80.Parent = Model0 |
1518 | + | h.Parent.Head.Color=zee.Color |
1519 | - | Part80.CFrame = CFrame.new(191.001465, 25.2004204, 235.500488, -7.85068914e-06, 4.41171096e-06, -1, 0.000187844664, 1, 4.41023576e-06, 1, -0.000187844635, -7.8515186e-06) |
1519 | + | else print("no zee"); return end |
1520 | - | Part80.Orientation = Vector3.new(0, -90, 0.00999999978) |
1520 | + | end |
1521 | - | Part80.Position = Vector3.new(191.001465, 25.2004204, 235.500488) |
1521 | + | wait(1) |
1522 | - | Part80.Rotation = Vector3.new(-0.00999999978, -90, 0) |
1522 | + | cantouch=1 |
1523 | - | Part80.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1523 | + | end |
1524 | - | Part80.Size = Vector3.new(7, 2.4000001, 6) |
1524 | + | end |
1525 | - | Part80.Anchored = true |
1525 | + | |
1526 | - | Part80.BottomSurface = Enum.SurfaceType.Smooth |
1526 | + | |
1527 | - | Part80.BrickColor = BrickColor.new("Dark stone grey") |
1527 | + | |
1528 | - | Part80.TopSurface = Enum.SurfaceType.Smooth |
1528 | + | |
1529 | - | Part80.brickColor = BrickColor.new("Dark stone grey") |
1529 | + | |
1530 | - | Fire81.Parent = Part80 |
1530 | + | |
1531 | - | Fire81.Color = Color3.new(1, 0.72549, 0) |
1531 | + | Part72.Name = "zarm" |
1532 | - | Fire81.Enabled = false |
1532 | + | Part72.Parent = Model62 |
1533 | - | Fire81.Size = 30 |
1533 | + | Part72.CFrame = CFrame.new(201.108551, 5.09995508, 234.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
1534 | - | Fire81.Heat = 25 |
1534 | + | Part72.Orientation = Vector3.new(0, 180, 0) |
1535 | - | Fire81.SecondaryColor = Color3.new(1, 0, 0) |
1535 | + | Part72.Position = Vector3.new(201.108551, 5.09995508, 234.013428) |
1536 | - | Fire81.size = 30 |
1536 | + | Part72.Rotation = Vector3.new(-180, 0, -180) |
1537 | - | Script82.Name = "Spread" |
1537 | + | Part72.Color = Color3.new(0.631373, 0.768628, 0.54902) |
1538 | - | Script82.Parent = Fire81 |
1538 | + | Part72.Size = Vector3.new(2, 1, 1) |
1539 | - | table.insert(cors,sandbox(Script82,function() |
1539 | + | Part72.BottomSurface = Enum.SurfaceType.Smooth |
1540 | - | function Spread(part) |
1540 | + | Part72.BrickColor = BrickColor.new("Medium green") |
1541 | - | check = part:findFirstChild("Fire") |
1541 | + | Part72.TopSurface = Enum.SurfaceType.Smooth |
1542 | - | if check == nil then |
1542 | + | Part72.brickColor = BrickColor.new("Medium green") |
1543 | - | script.Parent:Clone().Parent = part |
1543 | + | Part72.FormFactor = Enum.FormFactor.Symmetric |
1544 | - | |
1544 | + | Part72.formFactor = Enum.FormFactor.Symmetric |
1545 | - | elseif check ~= nil then |
1545 | + | Script73.Parent = Part72 |
1546 | - | check.Size = check.Size + 1 |
1546 | + | |
1547 | - | check.Heat = check.Heat +1 |
1547 | + | wait(1) |
1548 | owner=script.Parent.Parent.Name | |
1549 | ||
1550 | function onTouched(part) | |
1551 | if part.Parent ~= nil then | |
1552 | - | script.Parent.Parent.Touched:connect(Spread) |
1552 | + | local h = part.Parent:findFirstChild("Humanoid") |
1553 | if h~=nil then | |
1554 | if cantouch~=0 then | |
1555 | - | Part83.Parent = Model0 |
1555 | + | if h.Parent.Name~=owner then |
1556 | - | Part83.CFrame = CFrame.new(165.502441, 19.1899071, 193.060425, 0.000475763896, 4.12712916e-06, -0.999999881, 3.15124936e-07, 1, 4.12727923e-06, 0.999999881, -3.17088535e-07, 0.000475763896) |
1556 | + | |
1557 | - | Part83.Orientation = Vector3.new(0, -89.9700012, 0) |
1557 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
1558 | - | Part83.Position = Vector3.new(165.502441, 19.1899071, 193.060425) |
1558 | + | |
1559 | - | Part83.Rotation = Vector3.new(-0.5, -89.9700012, -0.5) |
1559 | + | cantouch=0 |
1560 | - | Part83.Color = Color3.new(0.427451, 0.431373, 0.423529) |
1560 | + | |
1561 | - | Part83.Velocity = Vector3.new(-0.00659679342, 0.00151016423, -0.000855490041) |
1561 | + | local larm=h.Parent:findFirstChild("Left Arm") |
1562 | - | Part83.Size = Vector3.new(26, 9.60000038, 1) |
1562 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
1563 | - | Part83.Anchored = true |
1563 | + | |
1564 | - | Part83.BottomSurface = Enum.SurfaceType.Smooth |
1564 | + | if larm~=nil then |
1565 | - | Part83.BrickColor = BrickColor.new("Dark grey") |
1565 | + | larm:remove() |
1566 | - | Part83.RotVelocity = Vector3.new(-0.000106919171, -2.58907403e-05, -0.00185190828) |
1566 | + | end |
1567 | if rarm~=nil then | |
1568 | - | Part83.brickColor = BrickColor.new("Dark grey") |
1568 | + | rarm:remove() |
1569 | - | Fire84.Parent = Part83 |
1569 | + | end |
1570 | - | Fire84.Color = Color3.new(1, 0.745098, 0) |
1570 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
1571 | - | Fire84.Enabled = false |
1571 | + | if zee~=nil then |
1572 | - | Fire84.Size = 30 |
1572 | + | local zlarm=zee:clone() |
1573 | - | Fire84.Heat = 25 |
1573 | + | local zrarm=zee:clone() |
1574 | - | Fire84.SecondaryColor = Color3.new(1, 0, 0) |
1574 | + | if zlarm~=nil then |
1575 | - | Fire84.size = 30 |
1575 | + | |
1576 | - | Script85.Parent = Fire84 |
1576 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
1577 | - | table.insert(cors,sandbox(Script85,function() |
1577 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
1578 | - | function Spread(part) |
1578 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
1579 | - | check = part:findFirstChild("Fire") |
1579 | + | zlarm.Parent=h.Parent |
1580 | - | if check == nil then |
1580 | + | zrarm.Parent=h.Parent |
1581 | - | script.Parent:Clone().Parent = part |
1581 | + | zlarm:makeJoints() |
1582 | - | |
1582 | + | zrarm:makeJoints() |
1583 | - | elseif check ~= nil then |
1583 | + | zlarm.Anchored=false |
1584 | - | check.Size = check.Size + 1 |
1584 | + | zrarm.Anchored=false |
1585 | - | check.Heat = check.Heat +1 |
1585 | + | wait(0.1) |
1586 | h.Parent.Head.Color=zee.Color | |
1587 | else print("no zee"); return end | |
1588 | end | |
1589 | wait(1) | |
1590 | - | script.Parent.Parent.Touched:connect(Spread) |
1590 | + | cantouch=1 |
1591 | end | |
1592 | end | |
1593 | end | |
1594 | - | Part86.Parent = Model0 |
1594 | + | |
1595 | - | Part86.CFrame = CFrame.new(173.001465, 19.1897831, 205.5, 1.6440855e-06, 5.25038422e-06, -1, 4.52900395e-06, 1, 5.2503915e-06, 1, -4.52901213e-06, 1.64406163e-06) |
1595 | + | |
1596 | - | Part86.Orientation = Vector3.new(0, -90, 0) |
1596 | + | |
1597 | - | Part86.Position = Vector3.new(173.001465, 19.1897831, 205.5) |
1597 | + | |
1598 | - | Part86.Rotation = Vector3.new(0, -90, 0) |
1598 | + | |
1599 | - | Part86.Color = Color3.new(0.427451, 0.431373, 0.423529) |
1599 | + | ObjectValue74.Name = "IsNZ" |
1600 | - | Part86.Size = Vector3.new(1, 9.60000038, 14) |
1600 | + | ObjectValue74.Parent = Model62 |
1601 | - | Part86.Anchored = true |
1601 | + | IntValue75.Name = "Mode" |
1602 | - | Part86.BottomSurface = Enum.SurfaceType.Smooth |
1602 | + | IntValue75.Parent = Model62 |
1603 | - | Part86.BrickColor = BrickColor.new("Dark grey") |
1603 | + | Script76.Parent = Model62 |
1604 | - | Part86.TopSurface = Enum.SurfaceType.Smooth |
1604 | + | |
1605 | - | Part86.brickColor = BrickColor.new("Dark grey") |
1605 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
1606 | - | Fire87.Parent = Part86 |
1606 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
1607 | - | Fire87.Color = Color3.new(1, 0.72549, 0) |
1607 | + | |
1608 | - | Fire87.Enabled = false |
1608 | + | function findNearestTorso(pos) |
1609 | - | Fire87.Size = 30 |
1609 | + | local list = game.Workspace:children() |
1610 | - | Fire87.Heat = 25 |
1610 | + | local torso = nil |
1611 | - | Fire87.SecondaryColor = Color3.new(1, 0, 0) |
1611 | + | local dist = 1000 |
1612 | - | Fire87.size = 30 |
1612 | + | local temp = nil |
1613 | - | Script88.Name = "Spread" |
1613 | + | local human = nil |
1614 | - | Script88.Parent = Fire87 |
1614 | + | local temp2 = nil |
1615 | - | table.insert(cors,sandbox(Script88,function() |
1615 | + | for x = 1, #list do |
1616 | - | function Spread(part) |
1616 | + | temp2 = list[x] |
1617 | - | check = part:findFirstChild("Fire") |
1617 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
1618 | - | if check == nil then |
1618 | + | temp = temp2:findFirstChild("Right Arm") |
1619 | - | script.Parent:Clone().Parent = part |
1619 | + | human = temp2:findFirstChild("Humanoid") |
1620 | - | |
1620 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
1621 | - | elseif check ~= nil then |
1621 | + | if (temp.Position - pos).magnitude < dist then |
1622 | - | check.Size = check.Size + 1 |
1622 | + | torso = temp |
1623 | - | check.Heat = check.Heat +1 |
1623 | + | dist = (temp.Position - pos).magnitude |
1624 | end | |
1625 | end | |
1626 | end | |
1627 | end | |
1628 | - | script.Parent.Parent.Touched:connect(Spread) |
1628 | + | return torso |
1629 | end | |
1630 | ||
1631 | - | Model89.Name = "Dual Vulcan Cannons Giver" |
1631 | + | |
1632 | - | Model89.Parent = Model0 |
1632 | + | |
1633 | - | Part90.Name = "Smooth Block Model" |
1633 | + | |
1634 | - | Part90.Parent = Model89 |
1634 | + | |
1635 | - | Part90.CFrame = CFrame.new(169.399658, 17.5177383, 184.312256, -0.999997556, 0.000129476728, -1.04847277e-05, 0.000129477135, 1, -4.31583539e-05, 1.0479147e-05, -4.31595981e-05, -0.999997556) |
1635 | + | wait(math.random(1,5)) |
1636 | - | Part90.Orientation = Vector3.new(0, -180, 0.00999999978) |
1636 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
1637 | - | Part90.Position = Vector3.new(169.399658, 17.5177383, 184.312256) |
1637 | + | if target ~= nil then |
1638 | - | Part90.Rotation = Vector3.new(180, 0, -179.98999) |
1638 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
1639 | - | Part90.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1639 | + | |
1640 | - | Part90.Transparency = 0.30000001192093 |
1640 | + | |
1641 | - | Part90.Size = Vector3.new(4, 6, 1) |
1641 | + | |
1642 | - | Part90.Anchored = true |
1642 | + | |
1643 | - | Part90.BrickColor = BrickColor.new("Black") |
1643 | + | |
1644 | - | Part90.brickColor = BrickColor.new("Black") |
1644 | + | Script77.Name = "Health" |
1645 | - | Fire91.Parent = Part90 |
1645 | + | Script77.Parent = Model62 |
1646 | - | Fire91.Color = Color3.new(1, 0.745098, 0) |
1646 | + | table.insert(cors,sandbox(Script77,function() |
1647 | - | Fire91.Enabled = false |
1647 | + | function waitForChild(parent, childName) |
1648 | - | Fire91.Size = 30 |
1648 | + | while true do |
1649 | - | Fire91.Heat = 25 |
1649 | + | local child = parent:findFirstChild(childName) |
1650 | - | Fire91.SecondaryColor = Color3.new(1, 0, 0) |
1650 | + | if child then |
1651 | - | Fire91.size = 30 |
1651 | + | |
1652 | - | Script92.Parent = Fire91 |
1652 | + | |
1653 | - | table.insert(cors,sandbox(Script92,function() |
1653 | + | parent.ChildAdded:wait() |
1654 | - | function Spread(part) |
1654 | + | |
1655 | - | check = part:findFirstChild("Fire") |
1655 | + | |
1656 | - | if check == nil then |
1656 | + | |
1657 | - | script.Parent:Clone().Parent = part |
1657 | + | -- declarations |
1658 | - | |
1658 | + | |
1659 | - | elseif check ~= nil then |
1659 | + | local Figure = script.Parent |
1660 | - | check.Size = check.Size + 1 |
1660 | + | local Head = waitForChild(Figure, "Head") |
1661 | - | check.Heat = check.Heat +1 |
1661 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
1662 | Humanoid.Health=500 | |
1663 | -- regeneration | |
1664 | while true do | |
1665 | local s = wait(4) | |
1666 | - | script.Parent.Parent.Touched:connect(Spread) |
1666 | + | local health = Humanoid.Health |
1667 | if health > 0 and health < Humanoid.MaxHealth then | |
1668 | health = health + 0.08 * s * Humanoid.MaxHealth | |
1669 | if health * 1.05 < Humanoid.MaxHealth then | |
1670 | - | Part93.Name = "Smooth Block Model" |
1670 | + | Humanoid.Health = health |
1671 | - | Part93.Parent = Model89 |
1671 | + | else |
1672 | - | Part93.CFrame = CFrame.new(166.899658, 17.5176258, 183.312256, 2.32314012e-09, 0.000152589986, -0.999997258, 3.05180438e-05, 1, 0.000152589986, 0.999997258, -3.05179528e-05, -2.32542519e-09) |
1672 | + | Humanoid.Health = Humanoid.MaxHealth |
1673 | - | Part93.Orientation = Vector3.new(-0.00999999978, -90, 0) |
1673 | + | |
1674 | - | Part93.Position = Vector3.new(166.899658, 17.5176258, 183.312256) |
1674 | + | |
1675 | - | Part93.Rotation = Vector3.new(-90, -89.8699951, -90) |
1675 | + | |
1676 | - | Part93.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1676 | + | |
1677 | - | Part93.Transparency = 0.30000001192093 |
1677 | + | |
1678 | - | Part93.Size = Vector3.new(3, 6, 1) |
1678 | + | Script78.Name = "Respawn" |
1679 | - | Part93.Anchored = true |
1679 | + | Script78.Parent = Model62 |
1680 | - | Part93.BrickColor = BrickColor.new("Black") |
1680 | + | table.insert(cors,sandbox(Script78,function() |
1681 | - | Part93.brickColor = BrickColor.new("Black") |
1681 | + | name="Humanoid" |
1682 | - | Fire94.Parent = Part93 |
1682 | + | |
1683 | - | Fire94.Color = Color3.new(1, 0.745098, 0) |
1683 | + | robo=script.Parent:clone() |
1684 | - | Fire94.Enabled = false |
1684 | + | |
1685 | - | Fire94.Size = 30 |
1685 | + | |
1686 | - | Fire94.Heat = 25 |
1686 | + | wait(1) |
1687 | - | Fire94.SecondaryColor = Color3.new(1, 0, 0) |
1687 | + | if script.Parent.Humanoid.Health<1 then |
1688 | - | Fire94.size = 30 |
1688 | + | robot=robo:clone() |
1689 | - | Script95.Parent = Fire94 |
1689 | + | robot.Parent=script.Parent.Parent |
1690 | - | table.insert(cors,sandbox(Script95,function() |
1690 | + | robot:makeJoints() |
1691 | - | function Spread(part) |
1691 | + | script.Parent:remove() |
1692 | - | check = part:findFirstChild("Fire") |
1692 | + | |
1693 | - | if check == nil then |
1693 | + | |
1694 | - | script.Parent:Clone().Parent = part |
1694 | + | |
1695 | - | |
1695 | + | |
1696 | - | elseif check ~= nil then |
1696 | + | |
1697 | - | check.Size = check.Size + 1 |
1697 | + | |
1698 | - | check.Heat = check.Heat +1 |
1698 | + | |
1699 | Part79.Name = "Spawn Location" | |
1700 | Part79.Parent = Model61 | |
1701 | Part79.CFrame = CFrame.new(201.113556, 0.603015006, 235.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) | |
1702 | Part79.Orientation = Vector3.new(0, 180, 0) | |
1703 | - | script.Parent.Parent.Touched:connect(Spread) |
1703 | + | Part79.Position = Vector3.new(201.113556, 0.603015006, 235.491455) |
1704 | Part79.Rotation = Vector3.new(-180, 0, -180) | |
1705 | Part79.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
1706 | Part79.Size = Vector3.new(6, 1.20000005, 6) | |
1707 | - | Part96.Name = "PUT THE WEAPON IN THIS BRICK" |
1707 | + | Part79.BottomSurface = Enum.SurfaceType.Weld |
1708 | - | Part96.Parent = Model89 |
1708 | + | Part79.BrickColor = BrickColor.new("Medium green") |
1709 | - | Part96.CFrame = CFrame.new(169.401611, 17.2224159, 185.3125, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
1709 | + | Part79.TopSurface = Enum.SurfaceType.Smooth |
1710 | - | Part96.Orientation = Vector3.new(0, 90, 0) |
1710 | + | Part79.brickColor = BrickColor.new("Medium green") |
1711 | - | Part96.Position = Vector3.new(169.401611, 17.2224159, 185.3125) |
1711 | + | Decal80.Parent = Part79 |
1712 | - | Part96.Rotation = Vector3.new(0, 90, 0) |
1712 | + | Decal80.Texture = "http://www.roblox.com/asset/?id=34541722" |
1713 | - | Part96.Size = Vector3.new(1, 1.20000005, 6) |
1713 | + | Decal80.Face = Enum.NormalId.Top |
1714 | - | Part96.Anchored = true |
1714 | + | Model81.Parent = Model0 |
1715 | - | Part96.TopSurface = Enum.SurfaceType.Smooth |
1715 | + | Model82.Name = "Zombie" |
1716 | - | Tool97.Name = "Dual Vulcans" |
1716 | + | Model82.Parent = Model81 |
1717 | - | Tool97.Parent = Part96 |
1717 | + | Model82.PrimaryPart = Part83 |
1718 | - | Tool97.Grip = CFrame.new(0, -0.200000003, -0.5, 1, 0, 0, 0, 1, -6.00000021e-05, -0, 6.00000021e-05, 1) |
1718 | + | Part83.Name = "Head" |
1719 | - | Tool97.GripForward = Vector3.new(-0, 6.00000021e-05, -1) |
1719 | + | Part83.Parent = Model82 |
1720 | - | Tool97.GripPos = Vector3.new(0, -0.200000003, -0.5) |
1720 | + | Part83.CFrame = CFrame.new(201.608551, 6.09995508, 241.513428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
1721 | - | Tool97.GripUp = Vector3.new(0, 1, 6.00000021e-05) |
1721 | + | Part83.Orientation = Vector3.new(0, 90, 0) |
1722 | - | Part98.Name = "Handle" |
1722 | + | Part83.Position = Vector3.new(201.608551, 6.09995508, 241.513428) |
1723 | - | Part98.Parent = Tool97 |
1723 | + | Part83.Rotation = Vector3.new(0, 90, 0) |
1724 | - | Part98.CFrame = CFrame.new(167.899414, 15.3908224, 183.312271, -0.999999881, -8.89003277e-05, -5.36441803e-07, 4.47034836e-07, 7.15255737e-06, -0.999999881, 8.89897346e-05, -0.999999881, -7.03334808e-06) |
1724 | + | Part83.Color = Color3.new(0.631373, 0.768628, 0.54902) |
1725 | - | Part98.Orientation = Vector3.new(89.9700012, -175.639999, 3.57999992) |
1725 | + | Part83.Size = Vector3.new(2, 1, 1) |
1726 | - | Part98.Position = Vector3.new(167.899414, 15.3908224, 183.312271) |
1726 | + | Part83.BrickColor = BrickColor.new("Medium green") |
1727 | - | Part98.Rotation = Vector3.new(90, 0, 179.98999) |
1727 | + | |
1728 | - | Part98.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1728 | + | Part83.brickColor = BrickColor.new("Medium green") |
1729 | - | Part98.Velocity = Vector3.new(0.000719598203, -0.0167503767, 0.00054014381) |
1729 | + | Part83.FormFactor = Enum.FormFactor.Symmetric |
1730 | - | Part98.Size = Vector3.new(1, 1, 2) |
1730 | + | Part83.formFactor = Enum.FormFactor.Symmetric |
1731 | - | Part98.BottomSurface = Enum.SurfaceType.Smooth |
1731 | + | SpecialMesh84.Parent = Part83 |
1732 | - | Part98.BrickColor = BrickColor.new("Black") |
1732 | + | SpecialMesh84.Scale = Vector3.new(1.25, 1.25, 1.25) |
1733 | - | Part98.RotVelocity = Vector3.new(-0.00224588625, -0.000215496417, 0.00184506946) |
1733 | + | Decal85.Name = "face" |
1734 | - | Part98.TopSurface = Enum.SurfaceType.Smooth |
1734 | + | Decal85.Parent = Part83 |
1735 | - | Part98.brickColor = BrickColor.new("Black") |
1735 | + | Part86.Name = "Torso" |
1736 | - | Part98.FormFactor = Enum.FormFactor.Symmetric |
1736 | + | Part86.Parent = Model82 |
1737 | - | Part98.formFactor = Enum.FormFactor.Symmetric |
1737 | + | Part86.CFrame = CFrame.new(201.608551, 4.59995508, 241.513428, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
1738 | - | Sound99.Name = "Fire" |
1738 | + | Part86.Orientation = Vector3.new(0, 90, 0) |
1739 | - | Sound99.Parent = Part98 |
1739 | + | Part86.Position = Vector3.new(201.608551, 4.59995508, 241.513428) |
1740 | - | Sound99.SoundId = "http://www.roblox.com/asset/?id=2692806" |
1740 | + | Part86.Rotation = Vector3.new(0, 90, 0) |
1741 | - | Sound99.Volume = 1 |
1741 | + | Part86.Color = Color3.new(0.411765, 0.25098, 0.156863) |
1742 | - | Sound100.Name = "Reload" |
1742 | + | Part86.Size = Vector3.new(2, 2, 1) |
1743 | - | Sound100.Parent = Part98 |
1743 | + | Part86.BrickColor = BrickColor.new("Reddish brown") |
1744 | - | Sound100.SoundId = "http://www.roblox.com/asset/?id=2692801" |
1744 | + | Part86.LeftParamA = 0 |
1745 | - | SpecialMesh101.Parent = Part98 |
1745 | + | Part86.LeftParamB = 0 |
1746 | - | SpecialMesh101.MeshId = "http://www.roblox.com/asset/?id=2806162" |
1746 | + | Part86.LeftSurface = Enum.SurfaceType.Weld |
1747 | - | SpecialMesh101.MeshType = Enum.MeshType.FileMesh |
1747 | + | Part86.RightParamA = 0 |
1748 | - | Weld102.Parent = Part98 |
1748 | + | Part86.RightParamB = 0 |
1749 | - | Weld102.C1 = CFrame.new(3, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
1749 | + | Part86.RightSurface = Enum.SurfaceType.Weld |
1750 | - | Weld102.Part0 = Part98 |
1750 | + | Part86.brickColor = BrickColor.new("Reddish brown") |
1751 | - | Weld102.Part1 = Part103 |
1751 | + | Part86.FormFactor = Enum.FormFactor.Symmetric |
1752 | - | Weld102.part1 = Part103 |
1752 | + | Part86.formFactor = Enum.FormFactor.Symmetric |
1753 | - | Part103.Name = "Handle2" |
1753 | + | Part87.Name = "Left Leg" |
1754 | - | Part103.Parent = Tool97 |
1754 | + | Part87.Parent = Model82 |
1755 | - | Part103.CFrame = CFrame.new(170.899414, 15.3908215, 183.312012, -0.999999881, -8.89003277e-05, -5.36441803e-07, 4.47034836e-07, 7.15255737e-06, -0.999999881, 8.89897346e-05, -0.999999881, -7.03334808e-06) |
1755 | + | Part87.CFrame = CFrame.new(201.608551, 2.59995508, 242.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
1756 | - | Part103.Orientation = Vector3.new(89.9700012, -175.639999, 3.57999992) |
1756 | + | Part87.Orientation = Vector3.new(0, 90, 0) |
1757 | - | Part103.Position = Vector3.new(170.899414, 15.3908215, 183.312012) |
1757 | + | Part87.Position = Vector3.new(201.608551, 2.59995508, 242.013428) |
1758 | - | Part103.Rotation = Vector3.new(90, 0, 179.98999) |
1758 | + | Part87.Rotation = Vector3.new(0, 90, 0) |
1759 | - | Part103.Color = Color3.new(0.105882, 0.164706, 0.207843) |
1759 | + | Part87.Color = Color3.new(0.411765, 0.25098, 0.156863) |
1760 | - | Part103.Velocity = Vector3.new(0.000719655887, -0.0112157511, 0.00118663523) |
1760 | + | Part87.Size = Vector3.new(1, 2, 1) |
1761 | - | Part103.Size = Vector3.new(1, 1, 2) |
1761 | + | Part87.BottomSurface = Enum.SurfaceType.Smooth |
1762 | - | Part103.BottomSurface = Enum.SurfaceType.Smooth |
1762 | + | Part87.BrickColor = BrickColor.new("Reddish brown") |
1763 | - | Part103.BrickColor = BrickColor.new("Black") |
1763 | + | Part87.CanCollide = false |
1764 | - | Part103.RotVelocity = Vector3.new(-0.00224588625, -0.000215496417, 0.00184506946) |
1764 | + | Part87.brickColor = BrickColor.new("Reddish brown") |
1765 | Part87.FormFactor = Enum.FormFactor.Symmetric | |
1766 | - | Part103.brickColor = BrickColor.new("Black") |
1766 | + | Part87.formFactor = Enum.FormFactor.Symmetric |
1767 | Part88.Name = "Right Leg" | |
1768 | Part88.Parent = Model82 | |
1769 | - | Sound104.Name = "Fire" |
1769 | + | Part88.CFrame = CFrame.new(201.608551, 2.59995508, 241.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
1770 | - | Sound104.Parent = Part103 |
1770 | + | Part88.Orientation = Vector3.new(0, 90, 0) |
1771 | - | Sound104.SoundId = "http://www.roblox.com/asset/?id=2692806" |
1771 | + | Part88.Position = Vector3.new(201.608551, 2.59995508, 241.013428) |
1772 | - | Sound104.Volume = 1 |
1772 | + | Part88.Rotation = Vector3.new(0, 90, 0) |
1773 | - | Sound105.Name = "Reload" |
1773 | + | Part88.Color = Color3.new(0.411765, 0.25098, 0.156863) |
1774 | - | Sound105.Parent = Part103 |
1774 | + | Part88.Size = Vector3.new(1, 2, 1) |
1775 | - | Sound105.SoundId = "http://www.roblox.com/asset/?id=2692801" |
1775 | + | Part88.BottomSurface = Enum.SurfaceType.Smooth |
1776 | - | SpecialMesh106.Parent = Part103 |
1776 | + | Part88.BrickColor = BrickColor.new("Reddish brown") |
1777 | - | SpecialMesh106.MeshId = "http://www.roblox.com/asset/?id=2806162" |
1777 | + | Part88.CanCollide = false |
1778 | - | SpecialMesh106.MeshType = Enum.MeshType.FileMesh |
1778 | + | Part88.brickColor = BrickColor.new("Reddish brown") |
1779 | - | Script107.Name = "WeldScript" |
1779 | + | Part88.FormFactor = Enum.FormFactor.Symmetric |
1780 | - | Script107.Parent = Tool97 |
1780 | + | Part88.formFactor = Enum.FormFactor.Symmetric |
1781 | - | table.insert(cors,sandbox(Script107,function() |
1781 | + | Humanoid89.Parent = Model82 |
1782 | - | local w1 = Instance.new("Weld") |
1782 | + | Humanoid89.LeftLeg = Part87 |
1783 | Humanoid89.NameOcclusion = Enum.NameOcclusion.NoOcclusion | |
1784 | Humanoid89.RightLeg = Part88 | |
1785 | Humanoid89.Torso = Part86 | |
1786 | Part90.Name = "zarm" | |
1787 | Part90.Parent = Model82 | |
1788 | - | w1.Parent = script.Parent.Handle |
1788 | + | Part90.CFrame = CFrame.new(201.108551, 5.09995508, 243.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
1789 | Part90.Orientation = Vector3.new(0, 180, 0) | |
1790 | Part90.Position = Vector3.new(201.108551, 5.09995508, 243.013428) | |
1791 | - | w1.Part0 = w1.Parent |
1791 | + | Part90.Rotation = Vector3.new(-180, 0, -180) |
1792 | Part90.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
1793 | Part90.Size = Vector3.new(2, 1, 1) | |
1794 | - | w1.Part1 = script.Parent.Handle2 |
1794 | + | Part90.BottomSurface = Enum.SurfaceType.Smooth |
1795 | Part90.BrickColor = BrickColor.new("Medium green") | |
1796 | Part90.TopSurface = Enum.SurfaceType.Smooth | |
1797 | - | w1.C1 = CFrame.new(3, 0, 0) |
1797 | + | Part90.brickColor = BrickColor.new("Medium green") |
1798 | Part90.FormFactor = Enum.FormFactor.Symmetric | |
1799 | - | Script108.Name = "armmove" |
1799 | + | Part90.formFactor = Enum.FormFactor.Symmetric |
1800 | - | Script108.Parent = Tool97 |
1800 | + | Script91.Parent = Part90 |
1801 | - | table.insert(cors,sandbox(Script108,function() |
1801 | + | table.insert(cors,sandbox(Script91,function() |
1802 | - | --Stickmasterluke |
1802 | + | wait(1) |
1803 | owner=script.Parent.Parent.Name | |
1804 | - | --just put this script under the tool and when weilded the left arm will go up aswell. |
1804 | + | |
1805 | - | tool=script.Parent |
1805 | + | function onTouched(part) |
1806 | if part.Parent ~= nil then | |
1807 | - | if tool.Parent.Parent.Name=="Workspace" then |
1807 | + | local h = part.Parent:findFirstChild("Humanoid") |
1808 | - | local la=tool.Parent:FindFirstChild("Left Arm") |
1808 | + | if h~=nil then |
1809 | - | local ra=tool.Parent:FindFirstChild("Left Arm") |
1809 | + | if cantouch~=0 then |
1810 | - | local ts=tool.Parent:FindFirstChild("Torso") |
1810 | + | if h.Parent.Name~=owner then |
1811 | - | if la~=nil and ts~=nil and ra~=nil then |
1811 | + | |
1812 | - | local ls=ts:FindFirstChild("Left Shoulder") |
1812 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
1813 | - | local rs=ts:FindFirstChild("Right Shoulder") |
1813 | + | |
1814 | - | if ls~=nil and rs~=nil then |
1814 | + | cantouch=0 |
1815 | - | ls.CurrentAngle=rs.CurrentAngle*-1 |
1815 | + | |
1816 | - | ls.MaxVelocity=0 |
1816 | + | local larm=h.Parent:findFirstChild("Left Arm") |
1817 | local rarm=h.Parent:findFirstChild("Right Arm") | |
1818 | ||
1819 | if larm~=nil then | |
1820 | - | wait(.02) --If arm looks glitchy, then make this number smaller. And avoid setting to 0(game will crash). |
1820 | + | larm:remove() |
1821 | - | end |
1821 | + | end |
1822 | if rarm~=nil then | |
1823 | - | LocalScript109.Name = "Local Gui" |
1823 | + | rarm:remove() |
1824 | - | LocalScript109.Parent = Tool97 |
1824 | + | end |
1825 | - | table.insert(cors,sandbox(LocalScript109,function() |
1825 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
1826 | - | local Tool = script.Parent; |
1826 | + | if zee~=nil then |
1827 | local zlarm=zee:clone() | |
1828 | - | enabled = true |
1828 | + | local zrarm=zee:clone() |
1829 | - | function onButton1Down(mouse) |
1829 | + | if zlarm~=nil then |
1830 | - | if not enabled then |
1830 | + | |
1831 | - | return |
1831 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
1832 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
1833 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
1834 | - | enabled = true |
1834 | + | zlarm.Parent=h.Parent |
1835 | - | mouse.Icon = "rbxasset://textures\\GunCursor.png" |
1835 | + | zrarm.Parent=h.Parent |
1836 | zlarm:makeJoints() | |
1837 | - | --wait(.5) |
1837 | + | zrarm:makeJoints() |
1838 | - | --mouse.Icon = "rbxasset://textures\\GunCursor.png" |
1838 | + | zlarm.Anchored=false |
1839 | - | --enabled = true |
1839 | + | zrarm.Anchored=false |
1840 | - | --mouse.Button1Up:connect(function() onButton1Up(mouse) end) |
1840 | + | wait(0.1) |
1841 | h.Parent.Head.Color=zee.Color | |
1842 | else print("no zee"); return end | |
1843 | end | |
1844 | wait(1) | |
1845 | - | function onButton1Up(mouse) |
1845 | + | cantouch=1 |
1846 | - | enabled = false |
1846 | + | end |
1847 | - | Tool.Enabled = false |
1847 | + | end |
1848 | - | mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" |
1848 | + | |
1849 | - | wait(2.2) |
1849 | + | |
1850 | - | mouse.Icon = "rbxasset://textures\\GunCursor.png" |
1850 | + | |
1851 | - | enabled = true |
1851 | + | |
1852 | - | Tool.Enabled = true |
1852 | + | |
1853 | end)) | |
1854 | Part92.Name = "zarm" | |
1855 | - | function onEquippedLocal(mouse) |
1855 | + | Part92.Parent = Model82 |
1856 | Part92.CFrame = CFrame.new(201.108551, 5.09995508, 240.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) | |
1857 | - | if mouse == nil then |
1857 | + | Part92.Orientation = Vector3.new(0, 180, 0) |
1858 | - | print("Mouse not found") |
1858 | + | Part92.Position = Vector3.new(201.108551, 5.09995508, 240.013428) |
1859 | - | return |
1859 | + | Part92.Rotation = Vector3.new(-180, 0, -180) |
1860 | Part92.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
1861 | Part92.Size = Vector3.new(2, 1, 1) | |
1862 | - | mouse.Icon = "rbxasset://textures\\GunCursor.png" |
1862 | + | Part92.BottomSurface = Enum.SurfaceType.Smooth |
1863 | - | mouse.Button1Down:connect(function() onButton1Down(mouse) end) |
1863 | + | Part92.BrickColor = BrickColor.new("Medium green") |
1864 | - | mouse.Button1Up:connect(function() onButton1Up(mouse)end) |
1864 | + | Part92.TopSurface = Enum.SurfaceType.Smooth |
1865 | Part92.brickColor = BrickColor.new("Medium green") | |
1866 | Part92.FormFactor = Enum.FormFactor.Symmetric | |
1867 | Part92.formFactor = Enum.FormFactor.Symmetric | |
1868 | - | Tool.Equipped:connect(onEquippedLocal) |
1868 | + | Script93.Parent = Part92 |
1869 | table.insert(cors,sandbox(Script93,function() | |
1870 | wait(1) | |
1871 | - | Script110.Name = "BrickCleanup" |
1871 | + | owner=script.Parent.Parent.Name |
1872 | - | Script110.Parent = Tool97 |
1872 | + | |
1873 | - | Script110.Disabled = true |
1873 | + | function onTouched(part) |
1874 | - | Script110.LinkedSource = "http://www.roblox.com/asset/?id=1014539" |
1874 | + | if part.Parent ~= nil then |
1875 | - | Script111.Name = "PaintballShooter" |
1875 | + | local h = part.Parent:findFirstChild("Humanoid") |
1876 | - | Script111.Parent = Tool97 |
1876 | + | if h~=nil then |
1877 | if cantouch~=0 then | |
1878 | - | Tool = script.Parent |
1878 | + | if h.Parent.Name~=owner then |
1879 | ||
1880 | - | colors = {226,24,} |
1880 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
1881 | ||
1882 | - | function fire(v) |
1882 | + | cantouch=0 |
1883 | ||
1884 | - | Tool.Handle.Fire:play() |
1884 | + | local larm=h.Parent:findFirstChild("Left Arm") |
1885 | - | |
1885 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
1886 | ||
1887 | - | local vCharacter = Tool.Parent |
1887 | + | if larm~=nil then |
1888 | - | local vPlayer = game.Players:playerFromCharacter(vCharacter) |
1888 | + | larm:remove() |
1889 | end | |
1890 | - | local missile = Instance.new("Part") |
1890 | + | if rarm~=nil then |
1891 | rarm:remove() | |
1892 | - | |
1892 | + | end |
1893 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
1894 | - | local spawnPos = vCharacter.PrimaryPart.Position |
1894 | + | if zee~=nil then |
1895 | - | |
1895 | + | local zlarm=zee:clone() |
1896 | local zrarm=zee:clone() | |
1897 | if zlarm~=nil then | |
1898 | - | spawnPos = spawnPos + (v * 8) |
1898 | + | |
1899 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1900 | - | missile.Position = spawnPos |
1900 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
1901 | - | missile.Size = Vector3.new(1,1,1) |
1901 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
1902 | - | missile.Velocity = v * 1000 |
1902 | + | zlarm.Parent=h.Parent |
1903 | - | missile.BrickColor = BrickColor.new(colors[math.random(1, #colors)]) |
1903 | + | zrarm.Parent=h.Parent |
1904 | - | missile.Shape = 1 |
1904 | + | zlarm:makeJoints() |
1905 | - | missile.BottomSurface = 0 |
1905 | + | zrarm:makeJoints() |
1906 | - | missile.TopSurface = 0 |
1906 | + | zlarm.Anchored=false |
1907 | - | missile.Name = "Paintball" |
1907 | + | zrarm.Anchored=false |
1908 | - | missile.Elasticity = 0 |
1908 | + | wait(0.1) |
1909 | - | missile.Reflectance = 0 |
1909 | + | h.Parent.Head.Color=zee.Color |
1910 | - | missile.Friction = 1 |
1910 | + | else print("no zee"); return end |
1911 | end | |
1912 | - | local force = Instance.new("BodyForce") |
1912 | + | wait(1) |
1913 | - | force.force = Vector3.new(0,220,0) |
1913 | + | cantouch=1 |
1914 | - | force.Parent = missile |
1914 | + | end |
1915 | - | |
1915 | + | end |
1916 | - | Tool.BrickCleanup:clone().Parent = missile |
1916 | + | |
1917 | end | |
1918 | - | local new_script = script.Parent.Paintball:clone() |
1918 | + | |
1919 | - | new_script.Disabled = false |
1919 | + | |
1920 | - | new_script.Parent = missile |
1920 | + | |
1921 | end)) | |
1922 | - | local creator_tag = Instance.new("ObjectValue") |
1922 | + | ObjectValue94.Name = "IsNZ" |
1923 | - | creator_tag.Value = vPlayer |
1923 | + | ObjectValue94.Parent = Model82 |
1924 | - | creator_tag.Name = "creator" |
1924 | + | IntValue95.Name = "Mode" |
1925 | - | creator_tag.Parent = missile |
1925 | + | IntValue95.Parent = Model82 |
1926 | - | |
1926 | + | Script96.Parent = Model82 |
1927 | table.insert(cors,sandbox(Script96,function() | |
1928 | local larm = script.Parent:FindFirstChild("Left Arm") | |
1929 | - | missile.Parent = game.Workspace |
1929 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
1930 | - | --wait(0.05) |
1930 | + | |
1931 | - | --fire( |
1931 | + | function findNearestTorso(pos) |
1932 | - | |
1932 | + | local list = game.Workspace:children() |
1933 | local torso = nil | |
1934 | local dist = 1000 | |
1935 | local temp = nil | |
1936 | local human = nil | |
1937 | - | function check(en) |
1937 | + | local temp2 = nil |
1938 | - | ---------------------------------------Function start here. |
1938 | + | for x = 1, #list do |
1939 | - | if (Tool.Enabled == false) then |
1939 | + | temp2 = list[x] |
1940 | - | return false |
1940 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
1941 | - | end--end for if! |
1941 | + | temp = temp2:findFirstChild("Right Arm") |
1942 | - | ------------------------------- |
1942 | + | human = temp2:findFirstChild("Humanoid") |
1943 | - | if (Tool.Enabled == true) then |
1943 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
1944 | - | return true |
1944 | + | if (temp.Position - pos).magnitude < dist then |
1945 | torso = temp | |
1946 | - | ---------------------------------------Function end here. |
1946 | + | dist = (temp.Position - pos).magnitude |
1947 | end | |
1948 | end | |
1949 | end | |
1950 | - | Tool.Enabled = true |
1950 | + | |
1951 | - | function onActivated() |
1951 | + | return torso |
1952 | end | |
1953 | - | if not Tool.Enabled then |
1953 | + | |
1954 | - | return |
1954 | + | |
1955 | ||
1956 | ||
1957 | - | --Tool.Enabled = false |
1957 | + | |
1958 | wait(math.random(1,5)) | |
1959 | - | local character = Tool.Parent; |
1959 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
1960 | - | local humanoid = character.Humanoid |
1960 | + | if target ~= nil then |
1961 | - | if humanoid == nil then |
1961 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
1962 | - | print("Humanoid not found") |
1962 | + | |
1963 | - | return |
1963 | + | |
1964 | end | |
1965 | ||
1966 | - | local targetPos = humanoid.TargetPoint |
1966 | + | |
1967 | - | local lookAt = (targetPos - character.Head.Position).unit |
1967 | + | Script97.Name = "Health" |
1968 | - | |
1968 | + | Script97.Parent = Model82 |
1969 | - | if (check()) then |
1969 | + | table.insert(cors,sandbox(Script97,function() |
1970 | - | fire(lookAt) |
1970 | + | function waitForChild(parent, childName) |
1971 | - | wait(0) |
1971 | + | while true do |
1972 | - | onActivated() |
1972 | + | local child = parent:findFirstChild(childName) |
1973 | if child then | |
1974 | - | return |
1974 | + | |
1975 | end | |
1976 | - | --Tool.Enabled = true |
1976 | + | parent.ChildAdded:wait() |
1977 | end | |
1978 | end | |
1979 | ||
1980 | - | script.Parent.Activated:connect(onActivated) |
1980 | + | -- declarations |
1981 | ||
1982 | local Figure = script.Parent | |
1983 | - | Script112.Name = "Paintball" |
1983 | + | local Head = waitForChild(Figure, "Head") |
1984 | - | Script112.Parent = Tool97 |
1984 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
1985 | - | table.insert(cors,sandbox(Script112,function() |
1985 | + | Humanoid.Health=500 |
1986 | - | ball = script.Parent |
1986 | + | -- regeneration |
1987 | - | damage = 60 |
1987 | + | |
1988 | local s = wait(4) | |
1989 | local health = Humanoid.Health | |
1990 | if health > 0 and health < Humanoid.MaxHealth then | |
1991 | - | function onTouched(hit) |
1991 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
1992 | - | local humanoid = hit.Parent:findFirstChild("Humanoid") |
1992 | + | if health * 1.05 < Humanoid.MaxHealth then |
1993 | - | -- make a splat |
1993 | + | Humanoid.Health = health |
1994 | - | --for i=1,3 do |
1994 | + | else |
1995 | - | -- local s = Instance.new("Part") |
1995 | + | Humanoid.Health = Humanoid.MaxHealth |
1996 | - | -- s.Shape = 1 -- block |
1996 | + | |
1997 | - | -- s.formFactor = 2 -- plate |
1997 | + | |
1998 | - | -- s.Size = Vector3.new(1,.4,1) |
1998 | + | |
1999 | - | -- s.BrickColor = ball.BrickColor |
1999 | + | |
2000 | - | -- local v = Vector3.new(math.random(-1,1), math.random(0,1), math.random(-1,1)) |
2000 | + | |
2001 | - | -- s.Velocity = 15 * v--15 |
2001 | + | Script98.Name = "Respawn" |
2002 | - | -- s.CFrame = CFrame.new(ball.Position + v, v) |
2002 | + | Script98.Parent = Model82 |
2003 | - | --- ball.BrickCleanup:clone().Parent = s |
2003 | + | table.insert(cors,sandbox(Script98,function() |
2004 | - | -- s.BrickCleanup.Disabled = false |
2004 | + | name="Humanoid" |
2005 | - | -- s.Parent = game.Workspace |
2005 | + | |
2006 | - | -- |
2006 | + | robo=script.Parent:clone() |
2007 | - | --end |
2007 | + | |
2008 | - | |
2008 | + | |
2009 | wait(1) | |
2010 | - | if humanoid ~= nil then |
2010 | + | if script.Parent.Humanoid.Health<1 then |
2011 | - | tagHumanoid(humanoid) |
2011 | + | robot=robo:clone() |
2012 | - | humanoid.Health = humanoid.Health - damage |
2012 | + | robot.Parent=script.Parent.Parent |
2013 | - | wait(2) |
2013 | + | robot:makeJoints() |
2014 | - | untagHumanoid(humanoid) |
2014 | + | script.Parent:remove() |
2015 | end | |
2016 | end | |
2017 | - | connection:disconnect() |
2017 | + | |
2018 | - | ball.Parent = nil |
2018 | + | |
2019 | ||
2020 | ||
2021 | - | function tagHumanoid(humanoid) |
2021 | + | |
2022 | - | -- todo: make tag expire |
2022 | + | Part99.Name = "Spawn Location" |
2023 | - | local tag = ball:findFirstChild("creator") |
2023 | + | Part99.Parent = Model81 |
2024 | - | if tag ~= nil then |
2024 | + | Part99.CFrame = CFrame.new(201.113586, 0.603015006, 241.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
2025 | - | local new_tag = tag:clone() |
2025 | + | Part99.Orientation = Vector3.new(0, 180, 0) |
2026 | - | new_tag.Parent = humanoid |
2026 | + | Part99.Position = Vector3.new(201.113586, 0.603015006, 241.491455) |
2027 | Part99.Rotation = Vector3.new(-180, 0, -180) | |
2028 | Part99.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
2029 | Part99.Size = Vector3.new(6, 1.20000005, 6) | |
2030 | Part99.BottomSurface = Enum.SurfaceType.Weld | |
2031 | - | function untagHumanoid(humanoid) |
2031 | + | Part99.BrickColor = BrickColor.new("Medium green") |
2032 | - | if humanoid ~= nil then |
2032 | + | Part99.TopSurface = Enum.SurfaceType.Smooth |
2033 | - | local tag = humanoid:findFirstChild("creator") |
2033 | + | Part99.brickColor = BrickColor.new("Medium green") |
2034 | - | if tag ~= nil then |
2034 | + | Decal100.Parent = Part99 |
2035 | - | tag.Parent = nil |
2035 | + | Decal100.Texture = "http://www.roblox.com/asset/?id=34541722" |
2036 | Decal100.Face = Enum.NormalId.Top | |
2037 | Model101.Parent = Model0 | |
2038 | Model102.Name = "Zombie" | |
2039 | Model102.Parent = Model101 | |
2040 | - | connection = ball.Touched:connect(onTouched) |
2040 | + | Model102.PrimaryPart = Part103 |
2041 | Part103.Name = "Head" | |
2042 | - | wait(8) |
2042 | + | Part103.Parent = Model102 |
2043 | - | ball.Parent = nil |
2043 | + | Part103.CFrame = CFrame.new(195.586472, 6.09696293, 223.508453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
2044 | Part103.Orientation = Vector3.new(0, 90, 0) | |
2045 | Part103.Position = Vector3.new(195.586472, 6.09696293, 223.508453) | |
2046 | - | Script113.Name = "PUT THIS IN THE WEAPON" |
2046 | + | Part103.Rotation = Vector3.new(0, 90, 0) |
2047 | - | Script113.Parent = Tool97 |
2047 | + | Part103.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2048 | Part103.Size = Vector3.new(2, 1, 1) | |
2049 | - | local debounce = false |
2049 | + | Part103.BrickColor = BrickColor.new("Medium green") |
2050 | Part103.TopSurface = Enum.SurfaceType.Smooth | |
2051 | - | function getPlayer(humanoid) |
2051 | + | Part103.brickColor = BrickColor.new("Medium green") |
2052 | - | local players = game.Players:children() |
2052 | + | |
2053 | - | for i = 1, #players do |
2053 | + | |
2054 | - | if players[i].Character.Humanoid == humanoid then return players[i] end |
2054 | + | SpecialMesh104.Parent = Part103 |
2055 | - | end |
2055 | + | SpecialMesh104.Scale = Vector3.new(1.25, 1.25, 1.25) |
2056 | - | return nil |
2056 | + | Decal105.Name = "face" |
2057 | - | end |
2057 | + | Decal105.Parent = Part103 |
2058 | Part106.Name = "Torso" | |
2059 | - | function onTouch(part) |
2059 | + | Part106.Parent = Model102 |
2060 | Part106.CFrame = CFrame.new(195.586472, 4.59696293, 223.508453, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) | |
2061 | - | local human = part.Parent:findFirstChild("Humanoid") |
2061 | + | Part106.Orientation = Vector3.new(0, 90, 0) |
2062 | - | if (human ~= nil) and debounce == false then |
2062 | + | Part106.Position = Vector3.new(195.586472, 4.59696293, 223.508453) |
2063 | Part106.Rotation = Vector3.new(0, 90, 0) | |
2064 | - | debounce = true |
2064 | + | Part106.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2065 | Part106.Size = Vector3.new(2, 2, 1) | |
2066 | - | local player = getPlayer(human) |
2066 | + | Part106.BrickColor = BrickColor.new("Reddish brown") |
2067 | Part106.LeftParamA = 0 | |
2068 | - | if (player == nil) then return end |
2068 | + | Part106.LeftParamB = 0 |
2069 | Part106.LeftSurface = Enum.SurfaceType.Weld | |
2070 | - | script.Parent:clone().Parent = player.Backpack |
2070 | + | Part106.RightParamA = 0 |
2071 | Part106.RightParamB = 0 | |
2072 | - | wait(2) |
2072 | + | Part106.RightSurface = Enum.SurfaceType.Weld |
2073 | - | debounce = false |
2073 | + | Part106.brickColor = BrickColor.new("Reddish brown") |
2074 | Part106.FormFactor = Enum.FormFactor.Symmetric | |
2075 | Part106.formFactor = Enum.FormFactor.Symmetric | |
2076 | Part107.Name = "Left Leg" | |
2077 | Part107.Parent = Model102 | |
2078 | - | script.Parent.Parent.Touched:connect(onTouch) |
2078 | + | Part107.CFrame = CFrame.new(195.586472, 2.59695911, 224.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
2079 | Part107.Orientation = Vector3.new(0, 90, 0) | |
2080 | Part107.Position = Vector3.new(195.586472, 2.59695911, 224.008453) | |
2081 | - | Fire114.Parent = Part96 |
2081 | + | Part107.Rotation = Vector3.new(0, 90, 0) |
2082 | - | Fire114.Color = Color3.new(1, 0.745098, 0) |
2082 | + | Part107.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2083 | - | Fire114.Enabled = false |
2083 | + | Part107.Size = Vector3.new(1, 2, 1) |
2084 | - | Fire114.Size = 30 |
2084 | + | Part107.BottomSurface = Enum.SurfaceType.Smooth |
2085 | - | Fire114.Heat = 25 |
2085 | + | Part107.BrickColor = BrickColor.new("Reddish brown") |
2086 | - | Fire114.SecondaryColor = Color3.new(1, 0, 0) |
2086 | + | Part107.CanCollide = false |
2087 | - | Fire114.size = 30 |
2087 | + | Part107.brickColor = BrickColor.new("Reddish brown") |
2088 | - | Script115.Parent = Fire114 |
2088 | + | Part107.FormFactor = Enum.FormFactor.Symmetric |
2089 | - | table.insert(cors,sandbox(Script115,function() |
2089 | + | Part107.formFactor = Enum.FormFactor.Symmetric |
2090 | - | function Spread(part) |
2090 | + | Part108.Name = "Right Leg" |
2091 | - | check = part:findFirstChild("Fire") |
2091 | + | Part108.Parent = Model102 |
2092 | - | if check == nil then |
2092 | + | Part108.CFrame = CFrame.new(195.586472, 2.59695911, 223.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
2093 | - | script.Parent:Clone().Parent = part |
2093 | + | Part108.Orientation = Vector3.new(0, 90, 0) |
2094 | - | |
2094 | + | Part108.Position = Vector3.new(195.586472, 2.59695911, 223.008453) |
2095 | - | elseif check ~= nil then |
2095 | + | Part108.Rotation = Vector3.new(0, 90, 0) |
2096 | - | check.Size = check.Size + 1 |
2096 | + | Part108.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2097 | - | check.Heat = check.Heat +1 |
2097 | + | Part108.Size = Vector3.new(1, 2, 1) |
2098 | Part108.BottomSurface = Enum.SurfaceType.Smooth | |
2099 | Part108.BrickColor = BrickColor.new("Reddish brown") | |
2100 | Part108.CanCollide = false | |
2101 | Part108.brickColor = BrickColor.new("Reddish brown") | |
2102 | - | script.Parent.Parent.Touched:connect(Spread) |
2102 | + | Part108.FormFactor = Enum.FormFactor.Symmetric |
2103 | Part108.formFactor = Enum.FormFactor.Symmetric | |
2104 | Humanoid109.Parent = Model102 | |
2105 | Humanoid109.LeftLeg = Part107 | |
2106 | - | Part116.Name = "Smooth Block Model" |
2106 | + | Humanoid109.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
2107 | - | Part116.Parent = Model89 |
2107 | + | Humanoid109.RightLeg = Part108 |
2108 | - | Part116.CFrame = CFrame.new(169.399658, 17.5175972, 181.312256, -0.999997556, 0.000129476728, -1.04847277e-05, 0.000129477135, 1, -4.31583539e-05, 1.0479147e-05, -4.31595981e-05, -0.999997556) |
2108 | + | Humanoid109.Torso = Part106 |
2109 | - | Part116.Orientation = Vector3.new(0, -180, 0.00999999978) |
2109 | + | Part110.Name = "zarm" |
2110 | - | Part116.Position = Vector3.new(169.399658, 17.5175972, 181.312256) |
2110 | + | Part110.Parent = Model102 |
2111 | - | Part116.Rotation = Vector3.new(180, 0, -179.98999) |
2111 | + | Part110.CFrame = CFrame.new(195.086472, 5.09696293, 225.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
2112 | - | Part116.Color = Color3.new(0.105882, 0.164706, 0.207843) |
2112 | + | Part110.Orientation = Vector3.new(0, 180, 0) |
2113 | - | Part116.Transparency = 0.30000001192093 |
2113 | + | Part110.Position = Vector3.new(195.086472, 5.09696293, 225.008453) |
2114 | - | Part116.Size = Vector3.new(6, 6, 1) |
2114 | + | Part110.Rotation = Vector3.new(-180, 0, -180) |
2115 | - | Part116.Anchored = true |
2115 | + | Part110.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2116 | - | Part116.BrickColor = BrickColor.new("Black") |
2116 | + | Part110.Size = Vector3.new(2, 1, 1) |
2117 | - | Part116.brickColor = BrickColor.new("Black") |
2117 | + | Part110.BottomSurface = Enum.SurfaceType.Smooth |
2118 | - | Part117.Name = "Smooth Block Model" |
2118 | + | Part110.BrickColor = BrickColor.new("Medium green") |
2119 | - | Part117.Parent = Model89 |
2119 | + | Part110.TopSurface = Enum.SurfaceType.Smooth |
2120 | - | Part117.CFrame = CFrame.new(171.899658, 17.5168667, 183.312256, 2.32314012e-09, 0.000152589986, -0.999997258, 3.05180438e-05, 1, 0.000152589986, 0.999997258, -3.05179528e-05, -2.32542519e-09) |
2120 | + | Part110.brickColor = BrickColor.new("Medium green") |
2121 | - | Part117.Orientation = Vector3.new(-0.00999999978, -90, 0) |
2121 | + | Part110.FormFactor = Enum.FormFactor.Symmetric |
2122 | - | Part117.Position = Vector3.new(171.899658, 17.5168667, 183.312256) |
2122 | + | Part110.formFactor = Enum.FormFactor.Symmetric |
2123 | - | Part117.Rotation = Vector3.new(-90, -89.8699951, -90) |
2123 | + | Script111.Parent = Part110 |
2124 | - | Part117.Color = Color3.new(0.105882, 0.164706, 0.207843) |
2124 | + | |
2125 | - | Part117.Transparency = 0.30000001192093 |
2125 | + | wait(1) |
2126 | - | Part117.Size = Vector3.new(3, 6, 1) |
2126 | + | owner=script.Parent.Parent.Name |
2127 | - | Part117.Anchored = true |
2127 | + | |
2128 | - | Part117.BrickColor = BrickColor.new("Black") |
2128 | + | function onTouched(part) |
2129 | - | Part117.brickColor = BrickColor.new("Black") |
2129 | + | if part.Parent ~= nil then |
2130 | - | Script118.Name = "READ ME FOR INSTRUCTIONS" |
2130 | + | local h = part.Parent:findFirstChild("Humanoid") |
2131 | - | Script118.Parent = Model89 |
2131 | + | if h~=nil then |
2132 | if cantouch~=0 then | |
2133 | - | --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS. |
2133 | + | if h.Parent.Name~=owner then |
2134 | - | --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool. |
2134 | + | |
2135 | - | --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick. |
2135 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
2136 | ||
2137 | - | --IMPORTANT (OPTINAL) |
2137 | + | cantouch=0 |
2138 | - | --Before doing anything you should put the Weapon or Tool in the giver where you want it. |
2138 | + | |
2139 | local larm=h.Parent:findFirstChild("Left Arm") | |
2140 | - | Part119.Name = "Smooth Block Model" |
2140 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
2141 | - | Part119.Parent = Model89 |
2141 | + | |
2142 | - | Part119.CFrame = CFrame.new(169.400146, 21.1176281, 182.812134, -0.999997556, 0.000129476728, -1.04847277e-05, 0.000129477135, 1, -4.31583539e-05, 1.0479147e-05, -4.31595981e-05, -0.999997556) |
2142 | + | if larm~=nil then |
2143 | - | Part119.Orientation = Vector3.new(0, -180, 0.00999999978) |
2143 | + | larm:remove() |
2144 | - | Part119.Position = Vector3.new(169.400146, 21.1176281, 182.812134) |
2144 | + | end |
2145 | - | Part119.Rotation = Vector3.new(180, 0, -179.98999) |
2145 | + | if rarm~=nil then |
2146 | - | Part119.Color = Color3.new(0.105882, 0.164706, 0.207843) |
2146 | + | rarm:remove() |
2147 | - | Part119.Transparency = 0.30000001192093 |
2147 | + | end |
2148 | - | Part119.Size = Vector3.new(6, 1.20000005, 4) |
2148 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
2149 | - | Part119.Anchored = true |
2149 | + | if zee~=nil then |
2150 | - | Part119.BrickColor = BrickColor.new("Black") |
2150 | + | local zlarm=zee:clone() |
2151 | local zrarm=zee:clone() | |
2152 | - | Part119.brickColor = BrickColor.new("Black") |
2152 | + | if zlarm~=nil then |
2153 | - | Fire120.Parent = Part119 |
2153 | + | |
2154 | - | Fire120.Color = Color3.new(1, 0.745098, 0) |
2154 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
2155 | - | Fire120.Enabled = false |
2155 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
2156 | - | Fire120.Size = 30 |
2156 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
2157 | - | Fire120.Heat = 25 |
2157 | + | zlarm.Parent=h.Parent |
2158 | - | Fire120.SecondaryColor = Color3.new(1, 0, 0) |
2158 | + | zrarm.Parent=h.Parent |
2159 | - | Fire120.size = 30 |
2159 | + | zlarm:makeJoints() |
2160 | - | Script121.Parent = Fire120 |
2160 | + | zrarm:makeJoints() |
2161 | - | table.insert(cors,sandbox(Script121,function() |
2161 | + | zlarm.Anchored=false |
2162 | - | function Spread(part) |
2162 | + | zrarm.Anchored=false |
2163 | - | check = part:findFirstChild("Fire") |
2163 | + | wait(0.1) |
2164 | - | if check == nil then |
2164 | + | h.Parent.Head.Color=zee.Color |
2165 | - | script.Parent:Clone().Parent = part |
2165 | + | else print("no zee"); return end |
2166 | - | |
2166 | + | end |
2167 | - | elseif check ~= nil then |
2167 | + | wait(1) |
2168 | - | check.Size = check.Size + 1 |
2168 | + | cantouch=1 |
2169 | - | check.Heat = check.Heat +1 |
2169 | + | end |
2170 | end | |
2171 | end | |
2172 | end | |
2173 | end | |
2174 | - | script.Parent.Parent.Touched:connect(Spread) |
2174 | + | |
2175 | script.Parent.Touched:connect(onTouched) | |
2176 | end)) | |
2177 | Part112.Name = "zarm" | |
2178 | - | Script122.Name = "Guest_Talking_Script" |
2178 | + | Part112.Parent = Model102 |
2179 | - | Script122.Parent = Model89 |
2179 | + | Part112.CFrame = CFrame.new(195.086472, 5.09696293, 222.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
2180 | - | table.insert(cors,sandbox(Script122,function() |
2180 | + | Part112.Orientation = Vector3.new(0, 180, 0) |
2181 | - | --Farvei's totally awesome script that makes Guests talk |
2181 | + | Part112.Position = Vector3.new(195.086472, 5.09696293, 222.008453) |
2182 | - | --Please give credit |
2182 | + | Part112.Rotation = Vector3.new(-180, 0, -180) |
2183 | - | --Don't tell the admins! |
2183 | + | Part112.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2184 | - | --Unnote the vaccine if you'd like to remove all copies of this script in your place |
2184 | + | Part112.Size = Vector3.new(2, 1, 1) |
2185 | - | if (script.Parent == workspace) then |
2185 | + | Part112.BottomSurface = Enum.SurfaceType.Smooth |
2186 | - | function checkForAndSwitch(player) |
2186 | + | Part112.BrickColor = BrickColor.new("Medium green") |
2187 | - | if (player.SuperSafeChat == true) then |
2187 | + | Part112.TopSurface = Enum.SurfaceType.Smooth |
2188 | - | player.SuperSafeChat = false; |
2188 | + | Part112.brickColor = BrickColor.new("Medium green") |
2189 | - | wait(5); |
2189 | + | Part112.FormFactor = Enum.FormFactor.Symmetric |
2190 | - | local m = Instance.new("Message"); |
2190 | + | Part112.formFactor = Enum.FormFactor.Symmetric |
2191 | - | m.Text = "Hey People! Its elomoto1236."; |
2191 | + | Script113.Parent = Part112 |
2192 | - | m.Parent = player; |
2192 | + | |
2193 | - | wait(5); |
2193 | + | wait(1) |
2194 | - | m.Text = "Just hit the /, and than type in your message.."; |
2194 | + | owner=script.Parent.Parent.Name |
2195 | - | wait(5); |
2195 | + | |
2196 | - | m:Remove(); |
2196 | + | function onTouched(part) |
2197 | - | m = nil; |
2197 | + | if part.Parent ~= nil then |
2198 | local h = part.Parent:findFirstChild("Humanoid") | |
2199 | - | player = nil; |
2199 | + | if h~=nil then |
2200 | - | collectgarbage("collect"); |
2200 | + | if cantouch~=0 then |
2201 | if h.Parent.Name~=owner then | |
2202 | ||
2203 | - | function onChildAddedToPlayers(obj) |
2203 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
2204 | - | if (obj.className == "Player") then |
2204 | + | |
2205 | - | checkForAndSwitch(obj); |
2205 | + | cantouch=0 |
2206 | - | local m = Instance.new("Message"); |
2206 | + | |
2207 | - | m.Text = "elomoto1236 here. Guests are welcome to talk here."; |
2207 | + | local larm=h.Parent:findFirstChild("Left Arm") |
2208 | - | m.Parent = obj; |
2208 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
2209 | - | wait(5); |
2209 | + | |
2210 | - | m:Remove(); |
2210 | + | if larm~=nil then |
2211 | - | m = nil; |
2211 | + | larm:remove() |
2212 | end | |
2213 | - | obj = nil; |
2213 | + | if rarm~=nil then |
2214 | - | collectgarbage("collect"); |
2214 | + | rarm:remove() |
2215 | end | |
2216 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
2217 | - | function onChildAddedToWorkspace(obj) |
2217 | + | if zee~=nil then |
2218 | - | if (obj.className == "Model") then |
2218 | + | local zlarm=zee:clone() |
2219 | - | if (game.Players:playerFromCharacter(obj) ~= nil) then |
2219 | + | local zrarm=zee:clone() |
2220 | - | checkForAndSwitch(game.Players:playerFromCharacter(obj)); |
2220 | + | if zlarm~=nil then |
2221 | ||
2222 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2223 | - | obj = nil; |
2223 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
2224 | - | collectgarbage("collect"); |
2224 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
2225 | zlarm.Parent=h.Parent | |
2226 | zrarm.Parent=h.Parent | |
2227 | - | function findLowestLevel(obj) |
2227 | + | zlarm:makeJoints() |
2228 | - | local c = obj:GetChildren(); |
2228 | + | zrarm:makeJoints() |
2229 | - | local lowestLevel = true; |
2229 | + | zlarm.Anchored=false |
2230 | zrarm.Anchored=false | |
2231 | - | for i, v in pairs(c) do |
2231 | + | wait(0.1) |
2232 | - | if (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then |
2232 | + | h.Parent.Head.Color=zee.Color |
2233 | - | lowestLevel = false; |
2233 | + | else print("no zee"); return end |
2234 | - | wait(); |
2234 | + | end |
2235 | - | findLowestLevel(v); |
2235 | + | wait(1) |
2236 | cantouch=1 | |
2237 | end | |
2238 | end | |
2239 | - | if (obj ~= workspace and lowestLevel == true and (obj:FindFirstChild(script.Name) == nil)) then |
2239 | + | |
2240 | - | if (obj ~= game.Lighting and obj ~= game.StarterPack) then |
2240 | + | |
2241 | - | local s = script:Clone(); |
2241 | + | |
2242 | - | s.Parent = obj; |
2242 | + | |
2243 | script.Parent.Touched:connect(onTouched) | |
2244 | end)) | |
2245 | ObjectValue114.Name = "IsNZ" | |
2246 | ObjectValue114.Parent = Model102 | |
2247 | - | findLowestLevel(game); |
2247 | + | IntValue115.Name = "Mode" |
2248 | IntValue115.Parent = Model102 | |
2249 | - | game.Players.ChildAdded:connect(onChildAddedToPlayers); |
2249 | + | Script116.Parent = Model102 |
2250 | - | game.Workspace.ChildAdded:connect(onChildAddedToWorkspace); |
2250 | + | table.insert(cors,sandbox(Script116,function() |
2251 | - | else |
2251 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
2252 | - | local findScript = workspace:FindFirstChild(script.Name); |
2252 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
2253 | ||
2254 | - | if (findScript == nil) then |
2254 | + | function findNearestTorso(pos) |
2255 | - | local s = script:Clone(); |
2255 | + | local list = game.Workspace:children() |
2256 | - | s.Parent = workspace; |
2256 | + | local torso = nil |
2257 | local dist = 1000 | |
2258 | local temp = nil | |
2259 | local human = nil | |
2260 | - | --[[function findAllCopies(obj) |
2260 | + | local temp2 = nil |
2261 | - | local c = obj:GetChildren(); |
2261 | + | for x = 1, #list do |
2262 | temp2 = list[x] | |
2263 | - | for i, v in pairs(c) do |
2263 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
2264 | - | if (v.Name == script.Name and v.className == "Script" and v ~= script) then |
2264 | + | temp = temp2:findFirstChild("Right Arm") |
2265 | - | v.Parent = nil; |
2265 | + | human = temp2:findFirstChild("Humanoid") |
2266 | - | elseif (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then |
2266 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
2267 | - | findAllCopies(v); |
2267 | + | if (temp.Position - pos).magnitude < dist then |
2268 | torso = temp | |
2269 | dist = (temp.Position - pos).magnitude | |
2270 | end | |
2271 | end | |
2272 | - | findAllCopies(game); |
2272 | + | |
2273 | end | |
2274 | - | script.Parent = nil;]] |
2274 | + | return torso |
2275 | end | |
2276 | - | RotateP123.Name = "cptrick" |
2276 | + | |
2277 | - | RotateP123.Parent = Script122 |
2277 | + | |
2278 | - | RotateP124.Name = "stanley12345678910" |
2278 | + | |
2279 | - | RotateP124.Parent = Script122 |
2279 | + | |
2280 | - | RotateP125.Name = "cahrlie84" |
2280 | + | |
2281 | - | RotateP125.Parent = Script122 |
2281 | + | wait(math.random(1,5)) |
2282 | - | RotateP126.Name = "charlie84" |
2282 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
2283 | - | RotateP126.Parent = Script122 |
2283 | + | if target ~= nil then |
2284 | - | RotateP127.Name = "al2tair" |
2284 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
2285 | - | RotateP127.Parent = Script122 |
2285 | + | |
2286 | - | Part128.Parent = Model0 |
2286 | + | |
2287 | - | Part128.CFrame = CFrame.new(156.001465, 3.6072073, 209.499512, 1.92279822e-05, 0.000773254083, -0.999999702, 4.37182571e-05, 0.999999702, 0.000773254898, 1, -4.37331146e-05, 1.91941708e-05) |
2287 | + | |
2288 | - | Part128.Orientation = Vector3.new(-0.0399999991, -90, 0) |
2288 | + | |
2289 | - | Part128.Position = Vector3.new(156.001465, 3.6072073, 209.499512) |
2289 | + | |
2290 | - | Part128.Rotation = Vector3.new(-88.5800018, -89.9599991, -88.5800018) |
2290 | + | Script117.Name = "Health" |
2291 | - | Part128.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
2291 | + | Script117.Parent = Model102 |
2292 | - | Part128.Velocity = Vector3.new(-0.00581113482, -0.0359474495, 0.000347658643) |
2292 | + | table.insert(cors,sandbox(Script117,function() |
2293 | - | Part128.Size = Vector3.new(59, 2.4000001, 2) |
2293 | + | function waitForChild(parent, childName) |
2294 | - | Part128.Anchored = true |
2294 | + | while true do |
2295 | - | Part128.BrickColor = BrickColor.new("Bright blue") |
2295 | + | local child = parent:findFirstChild(childName) |
2296 | - | Part128.RotVelocity = Vector3.new(0.00435886765, -0.0079198014, 0.000480214454) |
2296 | + | if child then |
2297 | - | Part128.TopSurface = Enum.SurfaceType.Smooth |
2297 | + | |
2298 | - | Part128.brickColor = BrickColor.new("Bright blue") |
2298 | + | |
2299 | - | Fire129.Parent = Part128 |
2299 | + | parent.ChildAdded:wait() |
2300 | - | Fire129.Color = Color3.new(1, 0.745098, 0) |
2300 | + | |
2301 | - | Fire129.Enabled = false |
2301 | + | |
2302 | - | Fire129.Size = 30 |
2302 | + | |
2303 | - | Fire129.Heat = 25 |
2303 | + | -- declarations |
2304 | - | Fire129.SecondaryColor = Color3.new(1, 0, 0) |
2304 | + | |
2305 | - | Fire129.size = 30 |
2305 | + | local Figure = script.Parent |
2306 | - | Script130.Parent = Fire129 |
2306 | + | local Head = waitForChild(Figure, "Head") |
2307 | - | table.insert(cors,sandbox(Script130,function() |
2307 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
2308 | - | function Spread(part) |
2308 | + | Humanoid.Health=500 |
2309 | - | check = part:findFirstChild("Fire") |
2309 | + | -- regeneration |
2310 | - | if check == nil then |
2310 | + | |
2311 | - | script.Parent:Clone().Parent = part |
2311 | + | local s = wait(4) |
2312 | - | |
2312 | + | local health = Humanoid.Health |
2313 | - | elseif check ~= nil then |
2313 | + | if health > 0 and health < Humanoid.MaxHealth then |
2314 | - | check.Size = check.Size + 1 |
2314 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
2315 | - | check.Heat = check.Heat +1 |
2315 | + | if health * 1.05 < Humanoid.MaxHealth then |
2316 | Humanoid.Health = health | |
2317 | else | |
2318 | Humanoid.Health = Humanoid.MaxHealth | |
2319 | end | |
2320 | - | script.Parent.Parent.Touched:connect(Spread) |
2320 | + | |
2321 | end | |
2322 | ||
2323 | end)) | |
2324 | - | Part131.Parent = Model0 |
2324 | + | Script118.Name = "Respawn" |
2325 | - | Part131.CFrame = CFrame.new(186.001465, 27.0098267, 188, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
2325 | + | Script118.Parent = Model102 |
2326 | - | Part131.Orientation = Vector3.new(0, -90, 0) |
2326 | + | |
2327 | - | Part131.Position = Vector3.new(186.001465, 27.0098267, 188) |
2327 | + | name="Humanoid" |
2328 | - | Part131.Rotation = Vector3.new(0, -90, 0) |
2328 | + | |
2329 | - | Part131.Color = Color3.new(0.631373, 0.647059, 0.635294) |
2329 | + | robo=script.Parent:clone() |
2330 | - | Part131.Size = Vector3.new(20, 1.20000005, 20) |
2330 | + | |
2331 | - | Part131.Anchored = true |
2331 | + | |
2332 | - | Part131.BottomSurface = Enum.SurfaceType.Smooth |
2332 | + | wait(1) |
2333 | - | Part131.BrickColor = BrickColor.new("Grey") |
2333 | + | if script.Parent.Humanoid.Health<1 then |
2334 | - | Part131.TopSurface = Enum.SurfaceType.Smooth |
2334 | + | robot=robo:clone() |
2335 | - | Part131.brickColor = BrickColor.new("Grey") |
2335 | + | robot.Parent=script.Parent.Parent |
2336 | - | Fire132.Parent = Part131 |
2336 | + | robot:makeJoints() |
2337 | - | Fire132.Color = Color3.new(1, 0.72549, 0) |
2337 | + | script.Parent:remove() |
2338 | - | Fire132.Enabled = false |
2338 | + | |
2339 | - | Fire132.Size = 30 |
2339 | + | |
2340 | - | Fire132.Heat = 25 |
2340 | + | |
2341 | - | Fire132.SecondaryColor = Color3.new(1, 0, 0) |
2341 | + | |
2342 | - | Fire132.size = 30 |
2342 | + | |
2343 | - | Script133.Name = "Spread" |
2343 | + | |
2344 | - | Script133.Parent = Fire132 |
2344 | + | |
2345 | Part119.Name = "Spawn Location" | |
2346 | - | function Spread(part) |
2346 | + | Part119.Parent = Model101 |
2347 | - | check = part:findFirstChild("Fire") |
2347 | + | Part119.CFrame = CFrame.new(195.091461, 0.600009978, 223.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
2348 | - | if check == nil then |
2348 | + | Part119.Orientation = Vector3.new(0, 180, 0) |
2349 | - | script.Parent:Clone().Parent = part |
2349 | + | Part119.Position = Vector3.new(195.091461, 0.600009978, 223.48645) |
2350 | - | |
2350 | + | Part119.Rotation = Vector3.new(-180, 0, -180) |
2351 | - | elseif check ~= nil then |
2351 | + | Part119.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2352 | - | check.Size = check.Size + 1 |
2352 | + | Part119.Size = Vector3.new(6, 1.20000005, 6) |
2353 | - | check.Heat = check.Heat +1 |
2353 | + | Part119.BottomSurface = Enum.SurfaceType.Weld |
2354 | Part119.BrickColor = BrickColor.new("Medium green") | |
2355 | Part119.TopSurface = Enum.SurfaceType.Smooth | |
2356 | Part119.brickColor = BrickColor.new("Medium green") | |
2357 | Decal120.Parent = Part119 | |
2358 | - | script.Parent.Parent.Touched:connect(Spread) |
2358 | + | Decal120.Texture = "http://www.roblox.com/asset/?id=34541722" |
2359 | Decal120.Face = Enum.NormalId.Top | |
2360 | Model121.Parent = Model0 | |
2361 | - | Decal134.Parent = Part131 |
2361 | + | Model122.Name = "Zombie" |
2362 | - | Decal134.Texture = "http://www.roblox.com/asset/?id=41363835" |
2362 | + | Model122.Parent = Model121 |
2363 | - | Decal134.Face = Enum.NormalId.Top |
2363 | + | Model122.PrimaryPart = Part123 |
2364 | - | Model135.Name = "grapple hook giver" |
2364 | + | Part123.Name = "Head" |
2365 | - | Model135.Parent = Model0 |
2365 | + | Part123.Parent = Model122 |
2366 | - | Part136.Name = "Smooth Block Model" |
2366 | + | Part123.CFrame = CFrame.new(195.586472, 6.09696293, 241.508453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
2367 | - | Part136.Parent = Model135 |
2367 | + | Part123.Orientation = Vector3.new(0, 90, 0) |
2368 | - | Part136.CFrame = CFrame.new(176.901611, 17.52244, 183.3125, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
2368 | + | Part123.Position = Vector3.new(195.586472, 6.09696293, 241.508453) |
2369 | - | Part136.Orientation = Vector3.new(0, -90, 0) |
2369 | + | Part123.Rotation = Vector3.new(0, 90, 0) |
2370 | - | Part136.Position = Vector3.new(176.901611, 17.52244, 183.3125) |
2370 | + | Part123.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2371 | - | Part136.Rotation = Vector3.new(0, -90, 0) |
2371 | + | Part123.Size = Vector3.new(2, 1, 1) |
2372 | - | Part136.Color = Color3.new(0.105882, 0.164706, 0.207843) |
2372 | + | Part123.BrickColor = BrickColor.new("Medium green") |
2373 | - | Part136.Transparency = 0.30000001192093 |
2373 | + | Part123.TopSurface = Enum.SurfaceType.Smooth |
2374 | - | Part136.Size = Vector3.new(3, 6, 1) |
2374 | + | Part123.brickColor = BrickColor.new("Medium green") |
2375 | - | Part136.Anchored = true |
2375 | + | Part123.FormFactor = Enum.FormFactor.Symmetric |
2376 | - | Part136.BrickColor = BrickColor.new("Black") |
2376 | + | Part123.formFactor = Enum.FormFactor.Symmetric |
2377 | - | Part136.brickColor = BrickColor.new("Black") |
2377 | + | SpecialMesh124.Parent = Part123 |
2378 | - | Fire137.Parent = Part136 |
2378 | + | SpecialMesh124.Scale = Vector3.new(1.25, 1.25, 1.25) |
2379 | - | Fire137.Color = Color3.new(1, 0.745098, 0) |
2379 | + | Decal125.Name = "face" |
2380 | - | Fire137.Enabled = false |
2380 | + | Decal125.Parent = Part123 |
2381 | - | Fire137.Size = 30 |
2381 | + | Part126.Name = "Torso" |
2382 | - | Fire137.Heat = 25 |
2382 | + | Part126.Parent = Model122 |
2383 | - | Fire137.SecondaryColor = Color3.new(1, 0, 0) |
2383 | + | Part126.CFrame = CFrame.new(195.586472, 4.59696293, 241.508453, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
2384 | - | Fire137.size = 30 |
2384 | + | Part126.Orientation = Vector3.new(0, 90, 0) |
2385 | - | Script138.Parent = Fire137 |
2385 | + | Part126.Position = Vector3.new(195.586472, 4.59696293, 241.508453) |
2386 | Part126.Rotation = Vector3.new(0, 90, 0) | |
2387 | - | function Spread(part) |
2387 | + | Part126.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2388 | - | check = part:findFirstChild("Fire") |
2388 | + | Part126.Size = Vector3.new(2, 2, 1) |
2389 | - | if check == nil then |
2389 | + | Part126.BrickColor = BrickColor.new("Reddish brown") |
2390 | - | script.Parent:Clone().Parent = part |
2390 | + | Part126.LeftParamA = 0 |
2391 | - | |
2391 | + | Part126.LeftParamB = 0 |
2392 | - | elseif check ~= nil then |
2392 | + | Part126.LeftSurface = Enum.SurfaceType.Weld |
2393 | - | check.Size = check.Size + 1 |
2393 | + | Part126.RightParamA = 0 |
2394 | - | check.Heat = check.Heat +1 |
2394 | + | Part126.RightParamB = 0 |
2395 | Part126.RightSurface = Enum.SurfaceType.Weld | |
2396 | Part126.brickColor = BrickColor.new("Reddish brown") | |
2397 | Part126.FormFactor = Enum.FormFactor.Symmetric | |
2398 | Part126.formFactor = Enum.FormFactor.Symmetric | |
2399 | - | script.Parent.Parent.Touched:connect(Spread) |
2399 | + | Part127.Name = "Left Leg" |
2400 | Part127.Parent = Model122 | |
2401 | Part127.CFrame = CFrame.new(195.586472, 2.59695911, 242.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
2402 | Part127.Orientation = Vector3.new(0, 90, 0) | |
2403 | - | Part139.Name = "PUT THE WEAPON IN THIS BRICK" |
2403 | + | Part127.Position = Vector3.new(195.586472, 2.59695911, 242.008453) |
2404 | - | Part139.Parent = Model135 |
2404 | + | Part127.Rotation = Vector3.new(0, 90, 0) |
2405 | - | Part139.CFrame = CFrame.new(174.903564, 17.2274952, 185.3125, -2.32724551e-09, -0.000152590073, 0.99999845, 3.05179929e-05, 1, 0.000152590073, -0.99999845, 3.05180438e-05, 2.32495845e-09) |
2405 | + | Part127.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2406 | - | Part139.Orientation = Vector3.new(-0.00999999978, 90, 0) |
2406 | + | Part127.Size = Vector3.new(1, 2, 1) |
2407 | - | Part139.Position = Vector3.new(174.903564, 17.2274952, 185.3125) |
2407 | + | Part127.BottomSurface = Enum.SurfaceType.Smooth |
2408 | - | Part139.Rotation = Vector3.new(-90, 89.9000015, 90) |
2408 | + | Part127.BrickColor = BrickColor.new("Reddish brown") |
2409 | - | Part139.Color = Color3.new(0.94902, 0.952941, 0.952941) |
2409 | + | Part127.CanCollide = false |
2410 | - | Part139.Size = Vector3.new(1, 1.20000005, 5) |
2410 | + | Part127.brickColor = BrickColor.new("Reddish brown") |
2411 | - | Part139.Anchored = true |
2411 | + | Part127.FormFactor = Enum.FormFactor.Symmetric |
2412 | - | Part139.BrickColor = BrickColor.new("White") |
2412 | + | Part127.formFactor = Enum.FormFactor.Symmetric |
2413 | Part128.Name = "Right Leg" | |
2414 | - | Part139.brickColor = BrickColor.new("White") |
2414 | + | Part128.Parent = Model122 |
2415 | - | Tool140.Name = "GrappleHook" |
2415 | + | Part128.CFrame = CFrame.new(195.586472, 2.59695911, 241.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
2416 | - | Tool140.Parent = Part139 |
2416 | + | Part128.Orientation = Vector3.new(0, 90, 0) |
2417 | - | Tool140.TextureId = "http://www.roblox.com/asset/?id=30327988" |
2417 | + | Part128.Position = Vector3.new(195.586472, 2.59695911, 241.008453) |
2418 | - | Tool140.Grip = CFrame.new(0, -0.600000024, 1, 1, -0, 0, 0, 1, -0, 0, 0, 1) |
2418 | + | Part128.Rotation = Vector3.new(0, 90, 0) |
2419 | - | Tool140.GripPos = Vector3.new(0, -0.600000024, 1) |
2419 | + | Part128.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2420 | - | Part141.Name = "Handle" |
2420 | + | Part128.Size = Vector3.new(1, 2, 1) |
2421 | - | Part141.Parent = Tool140 |
2421 | + | Part128.BottomSurface = Enum.SurfaceType.Smooth |
2422 | - | Part141.CFrame = CFrame.new(174.208252, 15.3907681, 183.160156, -0.20458822, 0.97884804, -7.15255737e-06, 1.3127923e-05, -4.41074371e-06, -0.99999994, -0.97884798, -0.20458822, -1.1920929e-05) |
2422 | + | Part128.BrickColor = BrickColor.new("Reddish brown") |
2423 | - | Part141.Orientation = Vector3.new(89.9799957, -149.039993, 108.57) |
2423 | + | Part128.CanCollide = false |
2424 | - | Part141.Position = Vector3.new(174.208252, 15.3907681, 183.160156) |
2424 | + | Part128.brickColor = BrickColor.new("Reddish brown") |
2425 | - | Part141.Rotation = Vector3.new(90, 0, -101.809998) |
2425 | + | Part128.FormFactor = Enum.FormFactor.Symmetric |
2426 | - | Part141.Color = Color3.new(0.105882, 0.164706, 0.207843) |
2426 | + | Part128.formFactor = Enum.FormFactor.Symmetric |
2427 | - | Part141.Velocity = Vector3.new(-0.00249910494, 0.00119718304, 0.000357981102) |
2427 | + | Humanoid129.Parent = Model122 |
2428 | - | Part141.Size = Vector3.new(1, 1.20000005, 2) |
2428 | + | Humanoid129.LeftLeg = Part127 |
2429 | - | Part141.BottomSurface = Enum.SurfaceType.Smooth |
2429 | + | Humanoid129.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
2430 | - | Part141.BrickColor = BrickColor.new("Black") |
2430 | + | Humanoid129.RightLeg = Part128 |
2431 | - | Part141.RotVelocity = Vector3.new(-0.000503696559, -0.000824314484, 0.00360981515) |
2431 | + | Humanoid129.Torso = Part126 |
2432 | - | Part141.TopSurface = Enum.SurfaceType.Smooth |
2432 | + | Part130.Name = "zarm" |
2433 | - | Part141.brickColor = BrickColor.new("Black") |
2433 | + | Part130.Parent = Model122 |
2434 | - | Weld142.Name = "BoltWeld" |
2434 | + | Part130.CFrame = CFrame.new(195.086472, 5.09696293, 243.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
2435 | - | Weld142.Parent = Part141 |
2435 | + | Part130.Orientation = Vector3.new(0, 180, 0) |
2436 | - | Weld142.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2436 | + | Part130.Position = Vector3.new(195.086472, 5.09696293, 243.008453) |
2437 | - | Weld143.Parent = Part141 |
2437 | + | Part130.Rotation = Vector3.new(-180, 0, -180) |
2438 | - | Weld143.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08) |
2438 | + | Part130.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2439 | - | Weld144.Parent = Part141 |
2439 | + | Part130.Size = Vector3.new(2, 1, 1) |
2440 | - | Weld144.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08) |
2440 | + | Part130.BottomSurface = Enum.SurfaceType.Smooth |
2441 | - | Weld145.Parent = Part141 |
2441 | + | Part130.BrickColor = BrickColor.new("Medium green") |
2442 | - | Weld145.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08) |
2442 | + | Part130.TopSurface = Enum.SurfaceType.Smooth |
2443 | - | Weld146.Parent = Part141 |
2443 | + | Part130.brickColor = BrickColor.new("Medium green") |
2444 | - | Weld146.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08) |
2444 | + | Part130.FormFactor = Enum.FormFactor.Symmetric |
2445 | - | Weld147.Parent = Part141 |
2445 | + | Part130.formFactor = Enum.FormFactor.Symmetric |
2446 | - | Weld147.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08) |
2446 | + | Script131.Parent = Part130 |
2447 | - | Weld148.Parent = Part141 |
2447 | + | table.insert(cors,sandbox(Script131,function() |
2448 | - | Weld148.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08) |
2448 | + | wait(1) |
2449 | - | Sound149.Name = "FireSound" |
2449 | + | owner=script.Parent.Parent.Name |
2450 | - | Sound149.Parent = Part141 |
2450 | + | |
2451 | - | Sound149.SoundId = "http://www.roblox.com/asset/?id=16211041" |
2451 | + | function onTouched(part) |
2452 | - | Sound149.Volume = 1 |
2452 | + | if part.Parent ~= nil then |
2453 | - | Weld150.Name = "BoltWeld" |
2453 | + | local h = part.Parent:findFirstChild("Humanoid") |
2454 | - | Weld150.Parent = Part141 |
2454 | + | if h~=nil then |
2455 | - | Weld150.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2455 | + | if cantouch~=0 then |
2456 | - | Weld151.Name = "BoltWeld" |
2456 | + | if h.Parent.Name~=owner then |
2457 | - | Weld151.Parent = Part141 |
2457 | + | |
2458 | - | Weld151.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2458 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
2459 | - | Weld152.Name = "BoltWeld" |
2459 | + | |
2460 | - | Weld152.Parent = Part141 |
2460 | + | cantouch=0 |
2461 | - | Weld152.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2461 | + | |
2462 | - | Weld153.Name = "BoltWeld" |
2462 | + | local larm=h.Parent:findFirstChild("Left Arm") |
2463 | - | Weld153.Parent = Part141 |
2463 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
2464 | - | Weld153.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2464 | + | |
2465 | - | Weld154.Name = "BoltWeld" |
2465 | + | if larm~=nil then |
2466 | - | Weld154.Parent = Part141 |
2466 | + | larm:remove() |
2467 | - | Weld154.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2467 | + | end |
2468 | - | Weld155.Name = "BoltWeld" |
2468 | + | if rarm~=nil then |
2469 | - | Weld155.Parent = Part141 |
2469 | + | rarm:remove() |
2470 | - | Weld155.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2470 | + | end |
2471 | - | Weld156.Name = "BoltWeld" |
2471 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
2472 | - | Weld156.Parent = Part141 |
2472 | + | if zee~=nil then |
2473 | - | Weld156.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2473 | + | local zlarm=zee:clone() |
2474 | - | Weld157.Name = "BoltWeld" |
2474 | + | local zrarm=zee:clone() |
2475 | - | Weld157.Parent = Part141 |
2475 | + | if zlarm~=nil then |
2476 | - | Weld157.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2476 | + | |
2477 | - | Weld158.Name = "BoltWeld" |
2477 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
2478 | - | Weld158.Parent = Part141 |
2478 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
2479 | - | Weld158.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2479 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
2480 | - | Weld159.Name = "BoltWeld" |
2480 | + | zlarm.Parent=h.Parent |
2481 | - | Weld159.Parent = Part141 |
2481 | + | zrarm.Parent=h.Parent |
2482 | - | Weld159.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2482 | + | zlarm:makeJoints() |
2483 | - | Weld160.Name = "BoltWeld" |
2483 | + | zrarm:makeJoints() |
2484 | - | Weld160.Parent = Part141 |
2484 | + | zlarm.Anchored=false |
2485 | - | Weld160.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2485 | + | zrarm.Anchored=false |
2486 | - | Weld161.Name = "BoltWeld" |
2486 | + | wait(0.1) |
2487 | - | Weld161.Parent = Part141 |
2487 | + | h.Parent.Head.Color=zee.Color |
2488 | - | Weld161.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2488 | + | else print("no zee"); return end |
2489 | - | Weld162.Name = "BoltWeld" |
2489 | + | end |
2490 | - | Weld162.Parent = Part141 |
2490 | + | wait(1) |
2491 | - | Weld162.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2491 | + | cantouch=1 |
2492 | - | Weld163.Name = "BoltWeld" |
2492 | + | end |
2493 | - | Weld163.Parent = Part141 |
2493 | + | end |
2494 | - | Weld163.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2494 | + | |
2495 | - | Weld164.Name = "BoltWeld" |
2495 | + | |
2496 | - | Weld164.Parent = Part141 |
2496 | + | |
2497 | - | Weld164.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2497 | + | |
2498 | - | Weld165.Name = "BoltWeld" |
2498 | + | |
2499 | - | Weld165.Parent = Part141 |
2499 | + | |
2500 | - | Weld165.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2500 | + | Part132.Name = "zarm" |
2501 | - | Weld166.Name = "BoltWeld" |
2501 | + | Part132.Parent = Model122 |
2502 | - | Weld166.Parent = Part141 |
2502 | + | Part132.CFrame = CFrame.new(195.086472, 5.09696293, 240.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
2503 | - | Weld166.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2503 | + | Part132.Orientation = Vector3.new(0, 180, 0) |
2504 | - | Weld167.Name = "BoltWeld" |
2504 | + | Part132.Position = Vector3.new(195.086472, 5.09696293, 240.008453) |
2505 | - | Weld167.Parent = Part141 |
2505 | + | Part132.Rotation = Vector3.new(-180, 0, -180) |
2506 | - | Weld167.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2506 | + | Part132.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2507 | - | Weld168.Name = "BoltWeld" |
2507 | + | Part132.Size = Vector3.new(2, 1, 1) |
2508 | - | Weld168.Parent = Part141 |
2508 | + | Part132.BottomSurface = Enum.SurfaceType.Smooth |
2509 | - | Weld168.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2509 | + | Part132.BrickColor = BrickColor.new("Medium green") |
2510 | - | Weld169.Name = "BoltWeld" |
2510 | + | Part132.TopSurface = Enum.SurfaceType.Smooth |
2511 | - | Weld169.Parent = Part141 |
2511 | + | Part132.brickColor = BrickColor.new("Medium green") |
2512 | - | Weld169.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2512 | + | Part132.FormFactor = Enum.FormFactor.Symmetric |
2513 | - | Weld170.Name = "BoltWeld" |
2513 | + | Part132.formFactor = Enum.FormFactor.Symmetric |
2514 | - | Weld170.Parent = Part141 |
2514 | + | Script133.Parent = Part132 |
2515 | - | Weld170.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2515 | + | |
2516 | - | Weld171.Name = "BoltWeld" |
2516 | + | wait(1) |
2517 | - | Weld171.Parent = Part141 |
2517 | + | owner=script.Parent.Parent.Name |
2518 | - | Weld171.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2518 | + | |
2519 | - | Weld172.Name = "BoltWeld" |
2519 | + | function onTouched(part) |
2520 | - | Weld172.Parent = Part141 |
2520 | + | if part.Parent ~= nil then |
2521 | - | Weld172.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2521 | + | local h = part.Parent:findFirstChild("Humanoid") |
2522 | - | Weld173.Name = "BoltWeld" |
2522 | + | if h~=nil then |
2523 | - | Weld173.Parent = Part141 |
2523 | + | if cantouch~=0 then |
2524 | - | Weld173.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2524 | + | if h.Parent.Name~=owner then |
2525 | - | Weld174.Name = "BoltWeld" |
2525 | + | |
2526 | - | Weld174.Parent = Part141 |
2526 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
2527 | - | Weld174.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2527 | + | |
2528 | - | Weld175.Name = "BoltWeld" |
2528 | + | cantouch=0 |
2529 | - | Weld175.Parent = Part141 |
2529 | + | |
2530 | - | Weld175.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2530 | + | local larm=h.Parent:findFirstChild("Left Arm") |
2531 | - | Weld176.Name = "BoltWeld" |
2531 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
2532 | - | Weld176.Parent = Part141 |
2532 | + | |
2533 | - | Weld176.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2533 | + | if larm~=nil then |
2534 | - | Weld177.Name = "BoltWeld" |
2534 | + | larm:remove() |
2535 | - | Weld177.Parent = Part141 |
2535 | + | end |
2536 | - | Weld177.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2536 | + | if rarm~=nil then |
2537 | - | Weld178.Name = "BoltWeld" |
2537 | + | rarm:remove() |
2538 | - | Weld178.Parent = Part141 |
2538 | + | end |
2539 | - | Weld178.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2539 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
2540 | - | Weld179.Name = "BoltWeld" |
2540 | + | if zee~=nil then |
2541 | - | Weld179.Parent = Part141 |
2541 | + | local zlarm=zee:clone() |
2542 | - | Weld179.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2542 | + | local zrarm=zee:clone() |
2543 | - | Weld180.Name = "BoltWeld" |
2543 | + | if zlarm~=nil then |
2544 | - | Weld180.Parent = Part141 |
2544 | + | |
2545 | - | Weld180.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2545 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
2546 | - | Weld181.Name = "BoltWeld" |
2546 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
2547 | - | Weld181.Parent = Part141 |
2547 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
2548 | - | Weld181.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2548 | + | zlarm.Parent=h.Parent |
2549 | - | Weld182.Name = "BoltWeld" |
2549 | + | zrarm.Parent=h.Parent |
2550 | - | Weld182.Parent = Part141 |
2550 | + | zlarm:makeJoints() |
2551 | - | Weld182.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2551 | + | zrarm:makeJoints() |
2552 | - | Weld183.Name = "BoltWeld" |
2552 | + | zlarm.Anchored=false |
2553 | - | Weld183.Parent = Part141 |
2553 | + | zrarm.Anchored=false |
2554 | - | Weld183.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2554 | + | wait(0.1) |
2555 | - | Weld184.Name = "BoltWeld" |
2555 | + | h.Parent.Head.Color=zee.Color |
2556 | - | Weld184.Parent = Part141 |
2556 | + | else print("no zee"); return end |
2557 | - | Weld184.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2557 | + | end |
2558 | - | Weld185.Name = "BoltWeld" |
2558 | + | wait(1) |
2559 | - | Weld185.Parent = Part141 |
2559 | + | cantouch=1 |
2560 | - | Weld185.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2560 | + | end |
2561 | - | Weld186.Name = "BoltWeld" |
2561 | + | end |
2562 | - | Weld186.Parent = Part141 |
2562 | + | |
2563 | - | Weld186.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2563 | + | |
2564 | - | Weld187.Name = "BoltWeld" |
2564 | + | |
2565 | - | Weld187.Parent = Part141 |
2565 | + | |
2566 | - | Weld187.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2566 | + | |
2567 | - | Weld188.Name = "BoltWeld" |
2567 | + | |
2568 | - | Weld188.Parent = Part141 |
2568 | + | ObjectValue134.Name = "IsNZ" |
2569 | - | Weld188.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2569 | + | ObjectValue134.Parent = Model122 |
2570 | - | Weld189.Name = "BoltWeld" |
2570 | + | IntValue135.Name = "Mode" |
2571 | - | Weld189.Parent = Part141 |
2571 | + | IntValue135.Parent = Model122 |
2572 | - | Weld189.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2572 | + | Script136.Parent = Model122 |
2573 | - | Weld190.Name = "BoltWeld" |
2573 | + | table.insert(cors,sandbox(Script136,function() |
2574 | - | Weld190.Parent = Part141 |
2574 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
2575 | - | Weld190.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2575 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
2576 | - | Weld191.Name = "BoltWeld" |
2576 | + | |
2577 | - | Weld191.Parent = Part141 |
2577 | + | function findNearestTorso(pos) |
2578 | - | Weld191.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2578 | + | local list = game.Workspace:children() |
2579 | - | Weld192.Name = "BoltWeld" |
2579 | + | local torso = nil |
2580 | - | Weld192.Parent = Part141 |
2580 | + | local dist = 1000 |
2581 | - | Weld192.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2581 | + | local temp = nil |
2582 | - | Weld193.Name = "BoltWeld" |
2582 | + | local human = nil |
2583 | - | Weld193.Parent = Part141 |
2583 | + | local temp2 = nil |
2584 | - | Weld193.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2584 | + | for x = 1, #list do |
2585 | - | Weld194.Name = "BoltWeld" |
2585 | + | temp2 = list[x] |
2586 | - | Weld194.Parent = Part141 |
2586 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
2587 | - | Weld194.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2587 | + | temp = temp2:findFirstChild("Right Arm") |
2588 | - | Weld195.Name = "BoltWeld" |
2588 | + | human = temp2:findFirstChild("Humanoid") |
2589 | - | Weld195.Parent = Part141 |
2589 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
2590 | - | Weld195.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2590 | + | if (temp.Position - pos).magnitude < dist then |
2591 | - | Weld196.Name = "BoltWeld" |
2591 | + | torso = temp |
2592 | - | Weld196.Parent = Part141 |
2592 | + | dist = (temp.Position - pos).magnitude |
2593 | - | Weld196.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2593 | + | end |
2594 | - | Weld197.Name = "BoltWeld" |
2594 | + | |
2595 | - | Weld197.Parent = Part141 |
2595 | + | |
2596 | - | Weld197.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2596 | + | |
2597 | - | Weld198.Name = "BoltWeld" |
2597 | + | return torso |
2598 | - | Weld198.Parent = Part141 |
2598 | + | |
2599 | - | Weld198.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2599 | + | |
2600 | - | Weld199.Name = "BoltWeld" |
2600 | + | |
2601 | - | Weld199.Parent = Part141 |
2601 | + | |
2602 | - | Weld199.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2602 | + | |
2603 | - | Weld200.Name = "BoltWeld" |
2603 | + | |
2604 | - | Weld200.Parent = Part141 |
2604 | + | wait(math.random(1,5)) |
2605 | - | Weld200.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2605 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
2606 | - | Weld201.Name = "BoltWeld" |
2606 | + | if target ~= nil then |
2607 | - | Weld201.Parent = Part141 |
2607 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
2608 | - | Weld201.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2608 | + | |
2609 | - | Weld202.Name = "BoltWeld" |
2609 | + | |
2610 | - | Weld202.Parent = Part141 |
2610 | + | |
2611 | - | Weld202.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2611 | + | |
2612 | - | Weld203.Name = "BoltWeld" |
2612 | + | |
2613 | - | Weld203.Parent = Part141 |
2613 | + | Script137.Name = "Health" |
2614 | - | Weld203.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2614 | + | Script137.Parent = Model122 |
2615 | - | Weld204.Name = "BoltWeld" |
2615 | + | table.insert(cors,sandbox(Script137,function() |
2616 | - | Weld204.Parent = Part141 |
2616 | + | function waitForChild(parent, childName) |
2617 | - | Weld204.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2617 | + | while true do |
2618 | - | Weld205.Name = "BoltWeld" |
2618 | + | local child = parent:findFirstChild(childName) |
2619 | - | Weld205.Parent = Part141 |
2619 | + | if child then |
2620 | - | Weld205.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2620 | + | |
2621 | - | Weld206.Name = "BoltWeld" |
2621 | + | |
2622 | - | Weld206.Parent = Part141 |
2622 | + | parent.ChildAdded:wait() |
2623 | - | Weld206.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2623 | + | |
2624 | - | Weld207.Name = "BoltWeld" |
2624 | + | |
2625 | - | Weld207.Parent = Part141 |
2625 | + | |
2626 | - | Weld207.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2626 | + | -- declarations |
2627 | - | Weld208.Name = "BoltWeld" |
2627 | + | |
2628 | - | Weld208.Parent = Part141 |
2628 | + | local Figure = script.Parent |
2629 | - | Weld208.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2629 | + | local Head = waitForChild(Figure, "Head") |
2630 | - | Weld209.Name = "BoltWeld" |
2630 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
2631 | - | Weld209.Parent = Part141 |
2631 | + | Humanoid.Health=500 |
2632 | - | Weld209.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2632 | + | -- regeneration |
2633 | - | Weld210.Name = "BoltWeld" |
2633 | + | |
2634 | - | Weld210.Parent = Part141 |
2634 | + | local s = wait(4) |
2635 | - | Weld210.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2635 | + | local health = Humanoid.Health |
2636 | - | Sound211.Name = "ConnectSound" |
2636 | + | if health > 0 and health < Humanoid.MaxHealth then |
2637 | - | Sound211.Parent = Part141 |
2637 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
2638 | - | Sound211.SoundId = "http://www.roblox.com/asset/?id=13510737" |
2638 | + | if health * 1.05 < Humanoid.MaxHealth then |
2639 | - | Sound211.Volume = 1 |
2639 | + | Humanoid.Health = health |
2640 | - | Weld212.Name = "BoltWeld" |
2640 | + | else |
2641 | - | Weld212.Parent = Part141 |
2641 | + | Humanoid.Health = Humanoid.MaxHealth |
2642 | - | Weld212.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2642 | + | |
2643 | - | Weld213.Name = "BoltWeld" |
2643 | + | |
2644 | - | Weld213.Parent = Part141 |
2644 | + | |
2645 | - | Weld213.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2645 | + | |
2646 | - | Weld214.Name = "BoltWeld" |
2646 | + | |
2647 | - | Weld214.Parent = Part141 |
2647 | + | Script138.Name = "Respawn" |
2648 | - | Weld214.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2648 | + | Script138.Parent = Model122 |
2649 | - | Weld215.Name = "BoltWeld" |
2649 | + | |
2650 | - | Weld215.Parent = Part141 |
2650 | + | name="Humanoid" |
2651 | - | Weld215.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2651 | + | |
2652 | - | Weld216.Name = "BoltWeld" |
2652 | + | robo=script.Parent:clone() |
2653 | - | Weld216.Parent = Part141 |
2653 | + | |
2654 | - | Weld216.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2654 | + | |
2655 | - | Weld217.Name = "BoltWeld" |
2655 | + | wait(1) |
2656 | - | Weld217.Parent = Part141 |
2656 | + | if script.Parent.Humanoid.Health<1 then |
2657 | - | Weld217.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2657 | + | robot=robo:clone() |
2658 | - | Weld218.Name = "BoltWeld" |
2658 | + | robot.Parent=script.Parent.Parent |
2659 | - | Weld218.Parent = Part141 |
2659 | + | robot:makeJoints() |
2660 | - | Weld218.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2660 | + | script.Parent:remove() |
2661 | - | Weld219.Name = "BoltWeld" |
2661 | + | |
2662 | - | Weld219.Parent = Part141 |
2662 | + | |
2663 | - | Weld219.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2663 | + | |
2664 | - | Weld220.Name = "BoltWeld" |
2664 | + | |
2665 | - | Weld220.Parent = Part141 |
2665 | + | |
2666 | - | Weld220.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2666 | + | |
2667 | - | Weld221.Name = "BoltWeld" |
2667 | + | |
2668 | - | Weld221.Parent = Part141 |
2668 | + | Part139.Name = "Spawn Location" |
2669 | - | Weld221.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2669 | + | Part139.Parent = Model121 |
2670 | - | Weld222.Name = "BoltWeld" |
2670 | + | Part139.CFrame = CFrame.new(195.091461, 0.600009978, 241.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
2671 | - | Weld222.Parent = Part141 |
2671 | + | Part139.Orientation = Vector3.new(0, 180, 0) |
2672 | - | Weld222.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2672 | + | Part139.Position = Vector3.new(195.091461, 0.600009978, 241.48645) |
2673 | - | Weld223.Name = "BoltWeld" |
2673 | + | Part139.Rotation = Vector3.new(-180, 0, -180) |
2674 | - | Weld223.Parent = Part141 |
2674 | + | Part139.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2675 | - | Weld223.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2675 | + | Part139.Size = Vector3.new(6, 1.20000005, 6) |
2676 | - | Weld224.Name = "BoltWeld" |
2676 | + | Part139.BottomSurface = Enum.SurfaceType.Weld |
2677 | - | Weld224.Parent = Part141 |
2677 | + | Part139.BrickColor = BrickColor.new("Medium green") |
2678 | - | Weld224.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2678 | + | |
2679 | - | Weld225.Name = "BoltWeld" |
2679 | + | Part139.brickColor = BrickColor.new("Medium green") |
2680 | - | Weld225.Parent = Part141 |
2680 | + | Decal140.Parent = Part139 |
2681 | - | Weld225.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2681 | + | Decal140.Texture = "http://www.roblox.com/asset/?id=34541722" |
2682 | - | Weld226.Name = "BoltWeld" |
2682 | + | Decal140.Face = Enum.NormalId.Top |
2683 | - | Weld226.Parent = Part141 |
2683 | + | Model141.Parent = Model0 |
2684 | - | Weld226.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2684 | + | Model142.Name = "Zombie" |
2685 | - | Weld227.Name = "BoltWeld" |
2685 | + | Model142.Parent = Model141 |
2686 | - | Weld227.Parent = Part141 |
2686 | + | Model142.PrimaryPart = Part143 |
2687 | - | Weld227.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2687 | + | Part143.Name = "Head" |
2688 | - | Weld228.Name = "BoltWeld" |
2688 | + | Part143.Parent = Model142 |
2689 | - | Weld228.Parent = Part141 |
2689 | + | Part143.CFrame = CFrame.new(195.591461, 6.09995508, 229.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
2690 | - | Weld228.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2690 | + | Part143.Orientation = Vector3.new(0, 90, 0) |
2691 | - | Weld229.Name = "BoltWeld" |
2691 | + | Part143.Position = Vector3.new(195.591461, 6.09995508, 229.48645) |
2692 | - | Weld229.Parent = Part141 |
2692 | + | Part143.Rotation = Vector3.new(0, 90, 0) |
2693 | - | Weld229.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2693 | + | Part143.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2694 | - | Weld230.Name = "BoltWeld" |
2694 | + | Part143.Size = Vector3.new(2, 1, 1) |
2695 | - | Weld230.Parent = Part141 |
2695 | + | Part143.BrickColor = BrickColor.new("Medium green") |
2696 | - | Weld230.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2696 | + | Part143.TopSurface = Enum.SurfaceType.Smooth |
2697 | - | Weld231.Name = "BoltWeld" |
2697 | + | Part143.brickColor = BrickColor.new("Medium green") |
2698 | - | Weld231.Parent = Part141 |
2698 | + | Part143.FormFactor = Enum.FormFactor.Symmetric |
2699 | - | Weld231.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2699 | + | Part143.formFactor = Enum.FormFactor.Symmetric |
2700 | - | Weld232.Name = "BoltWeld" |
2700 | + | SpecialMesh144.Parent = Part143 |
2701 | - | Weld232.Parent = Part141 |
2701 | + | SpecialMesh144.Scale = Vector3.new(1.25, 1.25, 1.25) |
2702 | - | Weld232.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2702 | + | Decal145.Name = "face" |
2703 | - | Weld233.Name = "BoltWeld" |
2703 | + | Decal145.Parent = Part143 |
2704 | - | Weld233.Parent = Part141 |
2704 | + | Part146.Name = "Torso" |
2705 | - | Weld233.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2705 | + | Part146.Parent = Model142 |
2706 | - | Weld234.Name = "BoltWeld" |
2706 | + | Part146.CFrame = CFrame.new(195.591461, 4.59995508, 229.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
2707 | - | Weld234.Parent = Part141 |
2707 | + | Part146.Orientation = Vector3.new(0, 90, 0) |
2708 | - | Weld234.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2708 | + | Part146.Position = Vector3.new(195.591461, 4.59995508, 229.48645) |
2709 | - | SpecialMesh235.Parent = Part141 |
2709 | + | Part146.Rotation = Vector3.new(0, 90, 0) |
2710 | - | SpecialMesh235.MeshId = "http://www.roblox.com/asset/?id=30308256" |
2710 | + | Part146.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2711 | - | SpecialMesh235.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006) |
2711 | + | Part146.Size = Vector3.new(2, 2, 1) |
2712 | - | SpecialMesh235.TextureId = "http://www.roblox.com/asset/?id=30307531" |
2712 | + | Part146.BrickColor = BrickColor.new("Reddish brown") |
2713 | - | SpecialMesh235.MeshType = Enum.MeshType.FileMesh |
2713 | + | Part146.LeftParamA = 0 |
2714 | - | Weld236.Name = "BoltWeld" |
2714 | + | Part146.LeftParamB = 0 |
2715 | - | Weld236.Parent = Part141 |
2715 | + | Part146.LeftSurface = Enum.SurfaceType.Weld |
2716 | - | Weld236.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2716 | + | Part146.RightParamA = 0 |
2717 | - | Weld237.Name = "BoltWeld" |
2717 | + | Part146.RightParamB = 0 |
2718 | - | Weld237.Parent = Part141 |
2718 | + | Part146.RightSurface = Enum.SurfaceType.Weld |
2719 | - | Weld237.C1 = CFrame.new(0.129999995, -0.0700000003, 0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2719 | + | Part146.brickColor = BrickColor.new("Reddish brown") |
2720 | - | Weld237.Part0 = Part141 |
2720 | + | Part146.FormFactor = Enum.FormFactor.Symmetric |
2721 | - | Weld237.Part1 = Part251 |
2721 | + | Part146.formFactor = Enum.FormFactor.Symmetric |
2722 | - | Weld237.part1 = Part251 |
2722 | + | Part147.Name = "Left Leg" |
2723 | - | Weld238.Name = "BoltWeld" |
2723 | + | Part147.Parent = Model142 |
2724 | - | Weld238.Parent = Part141 |
2724 | + | Part147.CFrame = CFrame.new(195.591461, 2.59995508, 229.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
2725 | - | Weld238.C1 = CFrame.new(0.129999995, -0.0700000003, 0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2725 | + | Part147.Orientation = Vector3.new(0, 90, 0) |
2726 | - | Weld238.Part0 = Part141 |
2726 | + | Part147.Position = Vector3.new(195.591461, 2.59995508, 229.98645) |
2727 | - | Weld238.Part1 = Part251 |
2727 | + | Part147.Rotation = Vector3.new(0, 90, 0) |
2728 | - | Weld238.part1 = Part251 |
2728 | + | Part147.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2729 | - | Weld239.Name = "BoltWeld" |
2729 | + | Part147.Size = Vector3.new(1, 2, 1) |
2730 | - | Weld239.Parent = Part141 |
2730 | + | Part147.BottomSurface = Enum.SurfaceType.Smooth |
2731 | - | Weld239.C1 = CFrame.new(0.129999995, -0.0700000003, 0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2731 | + | Part147.BrickColor = BrickColor.new("Reddish brown") |
2732 | - | Weld239.Part0 = Part141 |
2732 | + | Part147.CanCollide = false |
2733 | - | Weld239.Part1 = Part251 |
2733 | + | Part147.brickColor = BrickColor.new("Reddish brown") |
2734 | - | Weld239.part1 = Part251 |
2734 | + | Part147.FormFactor = Enum.FormFactor.Symmetric |
2735 | - | Weld240.Name = "BoltWeld" |
2735 | + | Part147.formFactor = Enum.FormFactor.Symmetric |
2736 | - | Weld240.Parent = Part141 |
2736 | + | Part148.Name = "Right Leg" |
2737 | - | Weld240.C1 = CFrame.new(0.129999995, -0.0700000003, 0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2737 | + | Part148.Parent = Model142 |
2738 | - | Weld240.Part0 = Part141 |
2738 | + | Part148.CFrame = CFrame.new(195.591461, 2.59995508, 228.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
2739 | - | Weld240.Part1 = Part251 |
2739 | + | Part148.Orientation = Vector3.new(0, 90, 0) |
2740 | - | Weld240.part1 = Part251 |
2740 | + | Part148.Position = Vector3.new(195.591461, 2.59995508, 228.98645) |
2741 | - | Fire241.Parent = Part141 |
2741 | + | Part148.Rotation = Vector3.new(0, 90, 0) |
2742 | - | Fire241.Color = Color3.new(1, 0.72549, 0) |
2742 | + | Part148.Color = Color3.new(0.411765, 0.25098, 0.156863) |
2743 | - | Fire241.Enabled = false |
2743 | + | Part148.Size = Vector3.new(1, 2, 1) |
2744 | - | Fire241.Size = 30 |
2744 | + | Part148.BottomSurface = Enum.SurfaceType.Smooth |
2745 | - | Fire241.Heat = 25 |
2745 | + | Part148.BrickColor = BrickColor.new("Reddish brown") |
2746 | - | Fire241.SecondaryColor = Color3.new(1, 0, 0) |
2746 | + | Part148.CanCollide = false |
2747 | - | Fire241.size = 30 |
2747 | + | Part148.brickColor = BrickColor.new("Reddish brown") |
2748 | - | Script242.Name = "Spread" |
2748 | + | Part148.FormFactor = Enum.FormFactor.Symmetric |
2749 | - | Script242.Parent = Fire241 |
2749 | + | Part148.formFactor = Enum.FormFactor.Symmetric |
2750 | - | table.insert(cors,sandbox(Script242,function() |
2750 | + | Humanoid149.Parent = Model142 |
2751 | - | function Spread(part) |
2751 | + | Humanoid149.LeftLeg = Part147 |
2752 | - | check = part:findFirstChild("Fire") |
2752 | + | Humanoid149.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
2753 | - | if check == nil then |
2753 | + | Humanoid149.RightLeg = Part148 |
2754 | - | script.Parent:Clone().Parent = part |
2754 | + | Humanoid149.Torso = Part146 |
2755 | - | |
2755 | + | Part150.Name = "zarm" |
2756 | - | elseif check ~= nil then |
2756 | + | Part150.Parent = Model142 |
2757 | - | check.Size = check.Size + 1 |
2757 | + | Part150.CFrame = CFrame.new(195.091461, 5.09995508, 230.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
2758 | - | check.Heat = check.Heat +1 |
2758 | + | Part150.Orientation = Vector3.new(0, 180, 0) |
2759 | Part150.Position = Vector3.new(195.091461, 5.09995508, 230.98645) | |
2760 | Part150.Rotation = Vector3.new(-180, 0, -180) | |
2761 | Part150.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
2762 | Part150.Size = Vector3.new(2, 1, 1) | |
2763 | - | script.Parent.Parent.Touched:connect(Spread) |
2763 | + | Part150.BottomSurface = Enum.SurfaceType.Smooth |
2764 | Part150.BrickColor = BrickColor.new("Medium green") | |
2765 | Part150.TopSurface = Enum.SurfaceType.Smooth | |
2766 | - | Weld243.Name = "BoltWeld" |
2766 | + | Part150.brickColor = BrickColor.new("Medium green") |
2767 | - | Weld243.Parent = Part141 |
2767 | + | Part150.FormFactor = Enum.FormFactor.Symmetric |
2768 | - | Weld243.C1 = CFrame.new(0.129999995, -0.0700000003, 0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2768 | + | Part150.formFactor = Enum.FormFactor.Symmetric |
2769 | - | Weld243.Part0 = Part141 |
2769 | + | Script151.Parent = Part150 |
2770 | - | Weld243.Part1 = Part251 |
2770 | + | table.insert(cors,sandbox(Script151,function() |
2771 | - | Weld243.part1 = Part251 |
2771 | + | wait(1) |
2772 | - | Weld244.Name = "BoltWeld" |
2772 | + | owner=script.Parent.Parent.Name |
2773 | - | Weld244.Parent = Part141 |
2773 | + | |
2774 | - | Weld244.C1 = CFrame.new(0.129999995, -0.0700000003, 0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2774 | + | function onTouched(part) |
2775 | - | Weld244.Part0 = Part141 |
2775 | + | if part.Parent ~= nil then |
2776 | - | Weld244.Part1 = Part251 |
2776 | + | local h = part.Parent:findFirstChild("Humanoid") |
2777 | - | Weld244.part1 = Part251 |
2777 | + | if h~=nil then |
2778 | - | Weld245.Name = "BoltWeld" |
2778 | + | if cantouch~=0 then |
2779 | - | Weld245.Parent = Part141 |
2779 | + | if h.Parent.Name~=owner then |
2780 | - | Weld245.C1 = CFrame.new(0.129999995, -0.0700000003, 0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
2780 | + | |
2781 | - | Weld245.Part0 = Part141 |
2781 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
2782 | - | Weld245.Part1 = Part251 |
2782 | + | |
2783 | - | Weld245.part1 = Part251 |
2783 | + | cantouch=0 |
2784 | - | RotateP246.Name = "d��������������ng.........you got owned..." |
2784 | + | |
2785 | - | RotateP246.Parent = Tool140 |
2785 | + | local larm=h.Parent:findFirstChild("Left Arm") |
2786 | - | RotateP246.BaseAngle = 0.25 |
2786 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
2787 | - | SpecialMesh247.Parent = Tool140 |
2787 | + | |
2788 | - | SpecialMesh247.Scale = Vector3.new(0.5, 1, 0.5) |
2788 | + | if larm~=nil then |
2789 | - | Script248.Name = "WeldScript" |
2789 | + | larm:remove() |
2790 | - | Script248.Parent = Tool140 |
2790 | + | end |
2791 | - | table.insert(cors,sandbox(Script248,function() |
2791 | + | if rarm~=nil then |
2792 | - | w2 = Instance.new("Weld") |
2792 | + | rarm:remove() |
2793 | - | w2.Name = "BoltWeld" |
2793 | + | end |
2794 | - | w2.Parent = script.Parent.Handle |
2794 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
2795 | - | w2.Part0 = script.Parent.Handle |
2795 | + | if zee~=nil then |
2796 | - | w2.Part1 = script.Parent.Bolt |
2796 | + | local zlarm=zee:clone() |
2797 | - | w2.C1 = CFrame.new(0.13,-0.07,0.9) |
2797 | + | local zrarm=zee:clone() |
2798 | if zlarm~=nil then | |
2799 | ||
2800 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
2801 | - | LocalScript249.Name = "Local Gui" |
2801 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
2802 | - | LocalScript249.Parent = Tool140 |
2802 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
2803 | - | table.insert(cors,sandbox(LocalScript249,function() |
2803 | + | zlarm.Parent=h.Parent |
2804 | - | local maxDistance = 5000 |
2804 | + | zrarm.Parent=h.Parent |
2805 | - | local canFireWhileGrappling = true |
2805 | + | zlarm:makeJoints() |
2806 | zrarm:makeJoints() | |
2807 | zlarm.Anchored=false | |
2808 | - | local Tool = script.Parent; |
2808 | + | zrarm.Anchored=false |
2809 | - | local torso = nil |
2809 | + | wait(0.1) |
2810 | - | local human = nil |
2810 | + | h.Parent.Head.Color=zee.Color |
2811 | - | local bolt = nil |
2811 | + | else print("no zee"); return end |
2812 | - | local targetPos = Vector3.new(0,0,0) |
2812 | + | end |
2813 | - | local boltconnect = nil |
2813 | + | wait(1) |
2814 | - | local holdweld = nil |
2814 | + | cantouch=1 |
2815 | end | |
2816 | - | local rope = Instance.new("Part") |
2816 | + | end |
2817 | - | rope.BrickColor = BrickColor.new("Black") |
2817 | + | |
2818 | - | rope.TopSurface = 0 |
2818 | + | |
2819 | - | rope.BottomSurface = 0 |
2819 | + | |
2820 | - | rope.formFactor = "Symmetric" |
2820 | + | |
2821 | - | rope.Name = "Rope" |
2821 | + | |
2822 | - | rope.CanCollide = false |
2822 | + | |
2823 | - | rope.Anchored = true |
2823 | + | Part152.Name = "zarm" |
2824 | - | local mesh = Instance.new("CylinderMesh") |
2824 | + | Part152.Parent = Model142 |
2825 | - | mesh.Parent = rope |
2825 | + | Part152.CFrame = CFrame.new(195.091461, 5.09995508, 227.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
2826 | - | mesh.Scale = Vector3.new(0.1,1,0.1) |
2826 | + | Part152.Orientation = Vector3.new(0, 180, 0) |
2827 | Part152.Position = Vector3.new(195.091461, 5.09995508, 227.98645) | |
2828 | - | local bodyPos = Instance.new("BodyPosition") |
2828 | + | Part152.Rotation = Vector3.new(-180, 0, -180) |
2829 | - | bodyPos.D = 1e+003 |
2829 | + | Part152.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2830 | - | bodyPos.P = 3e+003 |
2830 | + | Part152.Size = Vector3.new(2, 1, 1) |
2831 | - | bodyPos.maxForce = Vector3.new(1e+006, 1e+006, 1e+006) |
2831 | + | Part152.BottomSurface = Enum.SurfaceType.Smooth |
2832 | Part152.BrickColor = BrickColor.new("Medium green") | |
2833 | - | local bodyGyro = Instance.new("BodyGyro") |
2833 | + | Part152.TopSurface = Enum.SurfaceType.Smooth |
2834 | - | bodyGyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge) |
2834 | + | Part152.brickColor = BrickColor.new("Medium green") |
2835 | Part152.FormFactor = Enum.FormFactor.Symmetric | |
2836 | - | function adjustRope() |
2836 | + | Part152.formFactor = Enum.FormFactor.Symmetric |
2837 | - | if rope.Parent == nil or bolt == nil then return end |
2837 | + | Script153.Parent = Part152 |
2838 | - | local pos1 = Tool.Bolt.Position |
2838 | + | table.insert(cors,sandbox(Script153,function() |
2839 | - | local pos2 = bolt.Position |
2839 | + | wait(1) |
2840 | - | rope.Size = Vector3.new(0, 1, 0) |
2840 | + | owner=script.Parent.Parent.Name |
2841 | - | rope.Mesh.Scale = Vector3.new(0.1, (pos1-pos2).magnitude, 0.1) |
2841 | + | |
2842 | - | rope.CFrame = CFrame.new((pos1 + pos2)/2, pos2) * CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0) |
2842 | + | function onTouched(part) |
2843 | if part.Parent ~= nil then | |
2844 | local h = part.Parent:findFirstChild("Humanoid") | |
2845 | - | function onBoltHit(hit) |
2845 | + | if h~=nil then |
2846 | - | if bolt == nil or hit == rope or bolt.Name ~= "Bolt" or hit.Parent == Tool or hit.Parent == Tool.Parent or hit.Parent.Parent == Tool.Parent or hit.Parent.Name == "Attached Bolt" then return end |
2846 | + | if cantouch~=0 then |
2847 | - | if (bolt.Position - torso.Position).magnitude > maxDistance then bolt.Parent = nil bolt = nil return end |
2847 | + | if h.Parent.Name~=owner then |
2848 | - | bolt.Name = "Attached Bolt" |
2848 | + | |
2849 | - | local boltFrame = CFrame.new(hit.Position) |
2849 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
2850 | ||
2851 | - | local C0 = hit.CFrame:inverse() * boltFrame |
2851 | + | cantouch=0 |
2852 | - | local C1 = bolt.CFrame:inverse() * boltFrame |
2852 | + | |
2853 | - | local weld = Instance.new("Weld") |
2853 | + | local larm=h.Parent:findFirstChild("Left Arm") |
2854 | - | weld.Part0 = hit |
2854 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
2855 | - | weld.Part1 = bolt |
2855 | + | |
2856 | - | weld.C0 = C0 |
2856 | + | if larm~=nil then |
2857 | - | weld.C1 = C1 |
2857 | + | larm:remove() |
2858 | - | weld.Parent = bolt |
2858 | + | end |
2859 | if rarm~=nil then | |
2860 | - | bolt.HitSound:play() |
2860 | + | rarm:remove() |
2861 | - | local backupbolt = bolt |
2861 | + | end |
2862 | - | wait(0.4) |
2862 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
2863 | - | if bolt == nil or bolt ~= backupbolt then return end |
2863 | + | if zee~=nil then |
2864 | - | bolt.ConnectSound:play() |
2864 | + | local zlarm=zee:clone() |
2865 | - | Tool.Handle.ConnectSound:play() |
2865 | + | local zrarm=zee:clone() |
2866 | if zlarm~=nil then | |
2867 | - | targetPos = bolt.Position |
2867 | + | |
2868 | - | backupPos = bolt.Position |
2868 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
2869 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
2870 | - | bodyPos.position = targetPos |
2870 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
2871 | - | bodyPos.Parent = Tool.Bolt |
2871 | + | zlarm.Parent=h.Parent |
2872 | - | bodyGyro.cframe = torso.CFrame |
2872 | + | zrarm.Parent=h.Parent |
2873 | - | bodyGyro.Parent = torso |
2873 | + | zlarm:makeJoints() |
2874 | zrarm:makeJoints() | |
2875 | - | while targetPos == backupPos and bolt ~= nil do |
2875 | + | zlarm.Anchored=false |
2876 | - | bodyPos.position = bolt.Position |
2876 | + | zrarm.Anchored=false |
2877 | - | wait() |
2877 | + | wait(0.1) |
2878 | h.Parent.Head.Color=zee.Color | |
2879 | - | --script.Parent.Bolt.Transparency = 0 |
2879 | + | else print("no zee"); return end |
2880 | end | |
2881 | wait(1) | |
2882 | - | enabled = true |
2882 | + | cantouch=1 |
2883 | end | |
2884 | - | function onButton1Down(mouse) |
2884 | + | end |
2885 | end | |
2886 | - | if not enabled then return end |
2886 | + | |
2887 | end | |
2888 | - | if bolt ~= nil and not canFireWhileGrappling then return end |
2888 | + | |
2889 | - | if bolt ~= nil then |
2889 | + | |
2890 | - | if boltconnect ~= nil then |
2890 | + | |
2891 | - | print("Disconnecting") |
2891 | + | ObjectValue154.Name = "IsNZ" |
2892 | - | boltconnect:disconnect() |
2892 | + | ObjectValue154.Parent = Model142 |
2893 | IntValue155.Name = "Mode" | |
2894 | - | bolt:remove() |
2894 | + | IntValue155.Parent = Model142 |
2895 | - | targetPos = Vector3.new(0,0,0) |
2895 | + | Script156.Parent = Model142 |
2896 | table.insert(cors,sandbox(Script156,function() | |
2897 | local larm = script.Parent:FindFirstChild("Left Arm") | |
2898 | - | Tool.Handle.FireSound:play() |
2898 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
2899 | ||
2900 | - | script.Parent.Bolt.Transparency = 1 |
2900 | + | function findNearestTorso(pos) |
2901 | local list = game.Workspace:children() | |
2902 | - | enabled = false |
2902 | + | local torso = nil |
2903 | local dist = 1000 | |
2904 | - | mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" |
2904 | + | local temp = nil |
2905 | local human = nil | |
2906 | - | bolt = Tool.Bolt:clone() |
2906 | + | local temp2 = nil |
2907 | - | bolt.CFrame = CFrame.new(Tool.Bolt.Position + (mouse.Hit.p - Tool.Bolt.Position).unit * 5,mouse.Hit.p) * CFrame.fromEulerAnglesXYZ(0,math.pi,0) |
2907 | + | for x = 1, #list do |
2908 | - | bolt.Transparency = 0 |
2908 | + | temp2 = list[x] |
2909 | - | bolt.CanCollide = false |
2909 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
2910 | - | bolt.Velocity = bolt.CFrame.lookVector * -70 |
2910 | + | temp = temp2:findFirstChild("Right Arm") |
2911 | - | if bolt:findFirstChild("BodyPosition") ~= nil then |
2911 | + | human = temp2:findFirstChild("Humanoid") |
2912 | - | bolt.BodyPosition:remove() |
2912 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
2913 | if (temp.Position - pos).magnitude < dist then | |
2914 | - | local force = Instance.new("BodyForce") |
2914 | + | torso = temp |
2915 | - | force.force = Vector3.new(0,78,0) |
2915 | + | dist = (temp.Position - pos).magnitude |
2916 | - | force.Parent = bolt |
2916 | + | end |
2917 | - | bolt.Parent = workspace |
2917 | + | |
2918 | - | boltconnect = bolt.AncestryChanged:connect(function() onKeyDown("q") end) |
2918 | + | |
2919 | - | bolt.Touched:connect(onBoltHit) |
2919 | + | |
2920 | return torso | |
2921 | - | rope.Parent = Tool |
2921 | + | |
2922 | ||
2923 | - | bolt.Parent = workspace |
2923 | + | |
2924 | ||
2925 | - | wait(2) |
2925 | + | |
2926 | - | --script.Parent.Bolt.Transparency = 0 |
2926 | + | |
2927 | wait(math.random(1,5)) | |
2928 | - | mouse.Icon = "rbxasset://textures\\GunCursor.png" |
2928 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
2929 | if target ~= nil then | |
2930 | - | enabled = true |
2930 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
2931 | end | |
2932 | ||
2933 | - | function onKeyDown(key) |
2933 | + | |
2934 | - | key = key:lower() |
2934 | + | |
2935 | - | if key == "q" then |
2935 | + | |
2936 | - | human.Sit = false |
2936 | + | Script157.Name = "Health" |
2937 | - | rope.Parent = nil |
2937 | + | Script157.Parent = Model142 |
2938 | - | bodyPos.Parent = nil |
2938 | + | table.insert(cors,sandbox(Script157,function() |
2939 | - | bodyGyro.Parent = nil |
2939 | + | function waitForChild(parent, childName) |
2940 | - | if bolt ~= nil then |
2940 | + | while true do |
2941 | - | bolt.Parent = nil |
2941 | + | local child = parent:findFirstChild(childName) |
2942 | if child then | |
2943 | - | if holdweld ~= nil then |
2943 | + | |
2944 | - | holdweld.Parent = nil |
2944 | + | |
2945 | parent.ChildAdded:wait() | |
2946 | - | holdweld = nil |
2946 | + | |
2947 | - | bolt = nil |
2947 | + | |
2948 | - | script.Parent.Bolt.Transparency = 0 |
2948 | + | |
2949 | -- declarations | |
2950 | ||
2951 | local Figure = script.Parent | |
2952 | - | function getHumanoid(obj) |
2952 | + | local Head = waitForChild(Figure, "Head") |
2953 | - | for i,child in pairs(obj:getChildren()) do |
2953 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
2954 | - | if child.className == "Humanoid" then |
2954 | + | Humanoid.Health=500 |
2955 | -- regeneration | |
2956 | while true do | |
2957 | local s = wait(4) | |
2958 | local health = Humanoid.Health | |
2959 | if health > 0 and health < Humanoid.MaxHealth then | |
2960 | - | function onEquippedLocal(mouse) |
2960 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
2961 | - | if mouse == nil then |
2961 | + | if health * 1.05 < Humanoid.MaxHealth then |
2962 | - | print("Mouse not found") |
2962 | + | Humanoid.Health = health |
2963 | - | return |
2963 | + | else |
2964 | Humanoid.Health = Humanoid.MaxHealth | |
2965 | end | |
2966 | - | torso = Tool.Parent:findFirstChild("Torso") |
2966 | + | |
2967 | - | human = getHumanoid(Tool.Parent) |
2967 | + | |
2968 | - | if torso == nil or human == nil then return end |
2968 | + | |
2969 | - | human.Jumping:connect(function() onKeyDown("q") end) |
2969 | + | |
2970 | Script158.Name = "Respawn" | |
2971 | - | mouse.Icon = "rbxasset://textures\\GunCursor.png" |
2971 | + | Script158.Parent = Model142 |
2972 | - | mouse.Button1Down:connect(function() onButton1Down(mouse) end) |
2972 | + | table.insert(cors,sandbox(Script158,function() |
2973 | - | mouse.KeyDown:connect(onKeyDown) |
2973 | + | name="Humanoid" |
2974 | ||
2975 | robo=script.Parent:clone() | |
2976 | ||
2977 | while true do | |
2978 | wait(1) | |
2979 | if script.Parent.Humanoid.Health<1 then | |
2980 | - | Tool.Equipped:connect(onEquippedLocal) |
2980 | + | robot=robo:clone() |
2981 | - | Tool.Unequipped:connect(function() onKeyDown("q") end) |
2981 | + | robot.Parent=script.Parent.Parent |
2982 | robot:makeJoints() | |
2983 | script.Parent:remove() | |
2984 | - | adjustRope() |
2984 | + | |
2985 | - | wait() |
2985 | + | |
2986 | ||
2987 | ||
2988 | ||
2989 | - | LocalScript250.Name = "Crouch" |
2989 | + | |
2990 | - | LocalScript250.Parent = Tool140 |
2990 | + | |
2991 | - | table.insert(cors,sandbox(LocalScript250,function() |
2991 | + | Part159.Name = "Spawn Location" |
2992 | - | on = 0 |
2992 | + | Part159.Parent = Model141 |
2993 | - | Tool = script.Parent |
2993 | + | Part159.CFrame = CFrame.new(195.091461, 0.600009978, 229.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
2994 | - | welds = {} |
2994 | + | Part159.Orientation = Vector3.new(0, 180, 0) |
2995 | - | sh = {} |
2995 | + | Part159.Position = Vector3.new(195.091461, 0.600009978, 229.48645) |
2996 | - | arms = nil |
2996 | + | Part159.Rotation = Vector3.new(-180, 0, -180) |
2997 | - | torso = nil |
2997 | + | Part159.Color = Color3.new(0.631373, 0.768628, 0.54902) |
2998 | - | f = nil |
2998 | + | Part159.Size = Vector3.new(6, 1.20000005, 6) |
2999 | - | function Crouch(ison) |
2999 | + | Part159.BottomSurface = Enum.SurfaceType.Weld |
3000 | - | if arms == nil and torso == nil then |
3000 | + | Part159.BrickColor = BrickColor.new("Medium green") |
3001 | - | arms = {Tool.Parent:FindFirstChild("Left Leg"), Tool.Parent:FindFirstChild("Right Leg")} |
3001 | + | Part159.TopSurface = Enum.SurfaceType.Smooth |
3002 | - | torso = Tool.Parent:FindFirstChild("Torso") |
3002 | + | Part159.brickColor = BrickColor.new("Medium green") |
3003 | Decal160.Parent = Part159 | |
3004 | - | if arms ~= nil and torso ~= nil then |
3004 | + | Decal160.Texture = "http://www.roblox.com/asset/?id=34541722" |
3005 | - | sh = {torso:FindFirstChild("Left Hip"), torso:FindFirstChild("Right Hip")} |
3005 | + | Decal160.Face = Enum.NormalId.Top |
3006 | - | if sh ~= nil then |
3006 | + | Model161.Parent = Model0 |
3007 | - | local yes = true |
3007 | + | Model162.Name = "Zombie" |
3008 | - | if yes then |
3008 | + | Model162.Parent = Model161 |
3009 | - | yes = false |
3009 | + | Model162.PrimaryPart = Part163 |
3010 | - | if ison == 1 then |
3010 | + | Part163.Name = "Head" |
3011 | - | sh[1].Part1 = nil |
3011 | + | Part163.Parent = Model162 |
3012 | - | sh[2].Part1 = nil |
3012 | + | Part163.CFrame = CFrame.new(195.608551, 6.09995508, 235.513428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
3013 | - | local weld1 = Instance.new("Weld") |
3013 | + | Part163.Orientation = Vector3.new(0, 90, 0) |
3014 | - | weld1.Part0 = torso |
3014 | + | Part163.Position = Vector3.new(195.608551, 6.09995508, 235.513428) |
3015 | - | weld1.Parent = torso |
3015 | + | Part163.Rotation = Vector3.new(0, 90, 0) |
3016 | - | weld1.Part1 = arms[1] |
3016 | + | Part163.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3017 | - | weld1.C1 = CFrame.new(-0.5, 0.75, 1) |
3017 | + | Part163.Size = Vector3.new(2, 1, 1) |
3018 | - | arms[1].Name = "LDave" |
3018 | + | Part163.BrickColor = BrickColor.new("Medium green") |
3019 | - | arms[1].CanCollide = true |
3019 | + | Part163.TopSurface = Enum.SurfaceType.Smooth |
3020 | - | welds[1] = weld1 |
3020 | + | Part163.brickColor = BrickColor.new("Medium green") |
3021 | - | ------------------------------------------- |
3021 | + | Part163.FormFactor = Enum.FormFactor.Symmetric |
3022 | - | local weld2 = Instance.new("Weld") |
3022 | + | Part163.formFactor = Enum.FormFactor.Symmetric |
3023 | - | weld2.Part0 = torso |
3023 | + | SpecialMesh164.Parent = Part163 |
3024 | - | weld2.Parent = torso |
3024 | + | SpecialMesh164.Scale = Vector3.new(1.25, 1.25, 1.25) |
3025 | - | weld2.Part1 = arms[2] |
3025 | + | Decal165.Name = "face" |
3026 | - | weld2.C1 = CFrame.new(0.5,0.495,1.25) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) |
3026 | + | Decal165.Parent = Part163 |
3027 | - | arms[2].Name = "RDave" |
3027 | + | Part166.Name = "Torso" |
3028 | - | arms[2].CanCollide = true |
3028 | + | Part166.Parent = Model162 |
3029 | - | welds[2] = weld2 |
3029 | + | Part166.CFrame = CFrame.new(195.608551, 4.59995508, 235.513428, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
3030 | - | --------------------------------- |
3030 | + | Part166.Orientation = Vector3.new(0, 90, 0) |
3031 | - | local force = Instance.new("BodyForce") |
3031 | + | Part166.Position = Vector3.new(195.608551, 4.59995508, 235.513428) |
3032 | - | force.Parent = torso |
3032 | + | Part166.Rotation = Vector3.new(0, 90, 0) |
3033 | - | f = force |
3033 | + | Part166.Color = Color3.new(0.411765, 0.25098, 0.156863) |
3034 | - | wait(0.01) |
3034 | + | Part166.Size = Vector3.new(2, 2, 1) |
3035 | - | elseif ison == 0 then |
3035 | + | Part166.BrickColor = BrickColor.new("Reddish brown") |
3036 | - | if arms then |
3036 | + | Part166.LeftParamA = 0 |
3037 | - | sh[1].Part1 = arms[1] |
3037 | + | Part166.LeftParamB = 0 |
3038 | - | sh[2].Part1 = arms[2] |
3038 | + | Part166.LeftSurface = Enum.SurfaceType.Weld |
3039 | - | f.Parent = nil |
3039 | + | Part166.RightParamA = 0 |
3040 | - | arms[2].Name = "Right Leg" |
3040 | + | Part166.RightParamB = 0 |
3041 | - | arms[1].Name = "Left Leg" |
3041 | + | Part166.RightSurface = Enum.SurfaceType.Weld |
3042 | - | welds[1].Parent = nil |
3042 | + | Part166.brickColor = BrickColor.new("Reddish brown") |
3043 | - | welds[2].Parent = nil |
3043 | + | Part166.FormFactor = Enum.FormFactor.Symmetric |
3044 | Part166.formFactor = Enum.FormFactor.Symmetric | |
3045 | Part167.Name = "Left Leg" | |
3046 | - | -- |
3046 | + | Part167.Parent = Model162 |
3047 | Part167.CFrame = CFrame.new(195.608551, 2.59995508, 236.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
3048 | - | else |
3048 | + | Part167.Orientation = Vector3.new(0, 90, 0) |
3049 | - | print("sh") |
3049 | + | Part167.Position = Vector3.new(195.608551, 2.59995508, 236.013428) |
3050 | Part167.Rotation = Vector3.new(0, 90, 0) | |
3051 | - | else |
3051 | + | Part167.Color = Color3.new(0.411765, 0.25098, 0.156863) |
3052 | - | print("arms") |
3052 | + | Part167.Size = Vector3.new(1, 2, 1) |
3053 | Part167.BottomSurface = Enum.SurfaceType.Smooth | |
3054 | Part167.BrickColor = BrickColor.new("Reddish brown") | |
3055 | - | function Key(key) |
3055 | + | Part167.CanCollide = false |
3056 | - | if key then |
3056 | + | Part167.brickColor = BrickColor.new("Reddish brown") |
3057 | - | key = string.lower(key) |
3057 | + | Part167.FormFactor = Enum.FormFactor.Symmetric |
3058 | - | if (key=="c") then |
3058 | + | Part167.formFactor = Enum.FormFactor.Symmetric |
3059 | - | if on == 1 then |
3059 | + | Part168.Name = "Right Leg" |
3060 | - | on = 0 |
3060 | + | Part168.Parent = Model162 |
3061 | - | elseif on == 0 then |
3061 | + | Part168.CFrame = CFrame.new(195.608551, 2.59995508, 235.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
3062 | - | on = 1 |
3062 | + | Part168.Orientation = Vector3.new(0, 90, 0) |
3063 | Part168.Position = Vector3.new(195.608551, 2.59995508, 235.013428) | |
3064 | - | Crouch(on) |
3064 | + | Part168.Rotation = Vector3.new(0, 90, 0) |
3065 | Part168.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
3066 | Part168.Size = Vector3.new(1, 2, 1) | |
3067 | Part168.BottomSurface = Enum.SurfaceType.Smooth | |
3068 | - | function Equip(mouse) |
3068 | + | Part168.BrickColor = BrickColor.new("Reddish brown") |
3069 | - | mouse.KeyDown:connect(Key) |
3069 | + | Part168.CanCollide = false |
3070 | Part168.brickColor = BrickColor.new("Reddish brown") | |
3071 | - | script.Parent.Equipped:connect(Equip) |
3071 | + | Part168.FormFactor = Enum.FormFactor.Symmetric |
3072 | Part168.formFactor = Enum.FormFactor.Symmetric | |
3073 | Humanoid169.Parent = Model162 | |
3074 | Humanoid169.LeftLeg = Part167 | |
3075 | - | Part251.Name = "Bolt" |
3075 | + | Humanoid169.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
3076 | - | Part251.Parent = Tool140 |
3076 | + | Humanoid169.RightLeg = Part168 |
3077 | - | Part251.CFrame = CFrame.new(174.303375, 16.2907658, 183.273102, -0.20458822, 0.97884804, -7.15255737e-06, 1.3127923e-05, -4.41074371e-06, -0.99999994, -0.97884798, -0.20458822, -1.1920929e-05) |
3077 | + | Humanoid169.Torso = Part166 |
3078 | - | Part251.Orientation = Vector3.new(89.9799957, -149.039993, 108.57) |
3078 | + | Part170.Name = "zarm" |
3079 | - | Part251.Position = Vector3.new(174.303375, 16.2907658, 183.273102) |
3079 | + | Part170.Parent = Model162 |
3080 | - | Part251.Rotation = Vector3.new(90, 0, -101.809998) |
3080 | + | Part170.CFrame = CFrame.new(195.108551, 5.09995508, 237.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
3081 | - | Part251.Color = Color3.new(0.388235, 0.372549, 0.384314) |
3081 | + | Part170.Orientation = Vector3.new(0, 180, 0) |
3082 | - | Part251.Velocity = Vector3.new(-0.00584103307, 0.00159745081, -1.69331324e-05) |
3082 | + | Part170.Position = Vector3.new(195.108551, 5.09995508, 237.013428) |
3083 | - | Part251.Size = Vector3.new(1, 0.400000006, 1) |
3083 | + | Part170.Rotation = Vector3.new(-180, 0, -180) |
3084 | Part170.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
3085 | - | Part251.BrickColor = BrickColor.new("Dark stone grey") |
3085 | + | Part170.Size = Vector3.new(2, 1, 1) |
3086 | - | Part251.CanCollide = false |
3086 | + | Part170.BottomSurface = Enum.SurfaceType.Smooth |
3087 | - | Part251.RotVelocity = Vector3.new(-0.000503696559, -0.000824314484, 0.00360981515) |
3087 | + | Part170.BrickColor = BrickColor.new("Medium green") |
3088 | Part170.TopSurface = Enum.SurfaceType.Smooth | |
3089 | - | Part251.brickColor = BrickColor.new("Dark stone grey") |
3089 | + | Part170.brickColor = BrickColor.new("Medium green") |
3090 | - | Part251.FormFactor = Enum.FormFactor.Plate |
3090 | + | Part170.FormFactor = Enum.FormFactor.Symmetric |
3091 | - | Part251.formFactor = Enum.FormFactor.Plate |
3091 | + | Part170.formFactor = Enum.FormFactor.Symmetric |
3092 | - | Sound252.Name = "HitSound" |
3092 | + | Script171.Parent = Part170 |
3093 | - | Sound252.Parent = Part251 |
3093 | + | table.insert(cors,sandbox(Script171,function() |
3094 | - | Sound252.SoundId = "http://www.roblox.com/asset/?id=16211030" |
3094 | + | wait(1) |
3095 | - | Sound252.Volume = 1 |
3095 | + | owner=script.Parent.Parent.Name |
3096 | - | BodyGyro253.Parent = Part251 |
3096 | + | |
3097 | - | BodyGyro253.MaxTorque = Vector3.new(0, 0, 0) |
3097 | + | function onTouched(part) |
3098 | - | BodyGyro253.maxTorque = Vector3.new(0, 0, 0) |
3098 | + | if part.Parent ~= nil then |
3099 | - | Sound254.Name = "ConnectSound" |
3099 | + | local h = part.Parent:findFirstChild("Humanoid") |
3100 | - | Sound254.Parent = Part251 |
3100 | + | if h~=nil then |
3101 | - | Sound254.SoundId = "http://www.roblox.com/asset/?id=13510737" |
3101 | + | if cantouch~=0 then |
3102 | - | Sound254.Volume = 1 |
3102 | + | if h.Parent.Name~=owner then |
3103 | - | SpecialMesh255.Parent = Part251 |
3103 | + | |
3104 | - | SpecialMesh255.MeshId = "http://www.roblox.com/asset/?id=30307623" |
3104 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
3105 | - | SpecialMesh255.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006) |
3105 | + | |
3106 | - | SpecialMesh255.TextureId = "http://www.roblox.com/asset/?id=30307531" |
3106 | + | cantouch=0 |
3107 | - | SpecialMesh255.MeshType = Enum.MeshType.FileMesh |
3107 | + | |
3108 | - | Script256.Name = "PUT THIS IN THE WEAPON" |
3108 | + | local larm=h.Parent:findFirstChild("Left Arm") |
3109 | - | Script256.Parent = Tool140 |
3109 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
3110 | - | table.insert(cors,sandbox(Script256,function() |
3110 | + | |
3111 | - | local debounce = false |
3111 | + | if larm~=nil then |
3112 | larm:remove() | |
3113 | - | function getPlayer(humanoid) |
3113 | + | end |
3114 | - | local players = game.Players:children() |
3114 | + | if rarm~=nil then |
3115 | - | for i = 1, #players do |
3115 | + | rarm:remove() |
3116 | - | if players[i].Character.Humanoid == humanoid then return players[i] end |
3116 | + | end |
3117 | - | end |
3117 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
3118 | - | return nil |
3118 | + | if zee~=nil then |
3119 | - | end |
3119 | + | local zlarm=zee:clone() |
3120 | local zrarm=zee:clone() | |
3121 | - | function onTouch(part) |
3121 | + | if zlarm~=nil then |
3122 | ||
3123 | - | local human = part.Parent:findFirstChild("Humanoid") |
3123 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
3124 | - | if (human ~= nil) and debounce == false then |
3124 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
3125 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
3126 | - | debounce = true |
3126 | + | zlarm.Parent=h.Parent |
3127 | zrarm.Parent=h.Parent | |
3128 | - | local player = getPlayer(human) |
3128 | + | zlarm:makeJoints() |
3129 | zrarm:makeJoints() | |
3130 | - | if (player == nil) then return end |
3130 | + | zlarm.Anchored=false |
3131 | zrarm.Anchored=false | |
3132 | - | script.Parent:clone().Parent = player.Backpack |
3132 | + | wait(0.1) |
3133 | h.Parent.Head.Color=zee.Color | |
3134 | - | wait(2) |
3134 | + | else print("no zee"); return end |
3135 | - | debounce = false |
3135 | + | end |
3136 | wait(1) | |
3137 | cantouch=1 | |
3138 | end | |
3139 | end | |
3140 | - | script.Parent.Parent.Touched:connect(onTouch) |
3140 | + | |
3141 | end | |
3142 | end | |
3143 | - | Fire257.Parent = Part139 |
3143 | + | |
3144 | - | Fire257.Color = Color3.new(1, 0.745098, 0) |
3144 | + | |
3145 | - | Fire257.Enabled = false |
3145 | + | |
3146 | - | Fire257.Size = 30 |
3146 | + | Part172.Name = "zarm" |
3147 | - | Fire257.Heat = 25 |
3147 | + | Part172.Parent = Model162 |
3148 | - | Fire257.SecondaryColor = Color3.new(1, 0, 0) |
3148 | + | Part172.CFrame = CFrame.new(195.108551, 5.09995508, 234.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
3149 | - | Fire257.size = 30 |
3149 | + | Part172.Orientation = Vector3.new(0, 180, 0) |
3150 | - | Script258.Parent = Fire257 |
3150 | + | Part172.Position = Vector3.new(195.108551, 5.09995508, 234.013428) |
3151 | Part172.Rotation = Vector3.new(-180, 0, -180) | |
3152 | - | function Spread(part) |
3152 | + | Part172.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3153 | - | check = part:findFirstChild("Fire") |
3153 | + | Part172.Size = Vector3.new(2, 1, 1) |
3154 | - | if check == nil then |
3154 | + | Part172.BottomSurface = Enum.SurfaceType.Smooth |
3155 | - | script.Parent:Clone().Parent = part |
3155 | + | Part172.BrickColor = BrickColor.new("Medium green") |
3156 | - | |
3156 | + | Part172.TopSurface = Enum.SurfaceType.Smooth |
3157 | - | elseif check ~= nil then |
3157 | + | Part172.brickColor = BrickColor.new("Medium green") |
3158 | - | check.Size = check.Size + 1 |
3158 | + | Part172.FormFactor = Enum.FormFactor.Symmetric |
3159 | - | check.Heat = check.Heat +1 |
3159 | + | Part172.formFactor = Enum.FormFactor.Symmetric |
3160 | Script173.Parent = Part172 | |
3161 | table.insert(cors,sandbox(Script173,function() | |
3162 | wait(1) | |
3163 | owner=script.Parent.Parent.Name | |
3164 | - | script.Parent.Parent.Touched:connect(Spread) |
3164 | + | |
3165 | function onTouched(part) | |
3166 | if part.Parent ~= nil then | |
3167 | local h = part.Parent:findFirstChild("Humanoid") | |
3168 | - | Part259.Name = "Smooth Block Model" |
3168 | + | if h~=nil then |
3169 | - | Part259.Parent = Model135 |
3169 | + | if cantouch~=0 then |
3170 | - | Part259.CFrame = CFrame.new(174.901611, 17.5235443, 184.3125, -0.999999702, -2.31133472e-05, -1.04804976e-05, -2.31131762e-05, 1, -1.26419191e-05, 1.04807905e-05, -1.26416526e-05, -0.999999702) |
3170 | + | if h.Parent.Name~=owner then |
3171 | - | Part259.Orientation = Vector3.new(0, -180, 0) |
3171 | + | |
3172 | - | Part259.Position = Vector3.new(174.901611, 17.5235443, 184.3125) |
3172 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
3173 | - | Part259.Rotation = Vector3.new(180, 0, 180) |
3173 | + | |
3174 | - | Part259.Color = Color3.new(0.105882, 0.164706, 0.207843) |
3174 | + | cantouch=0 |
3175 | - | Part259.Transparency = 0.30000001192093 |
3175 | + | |
3176 | - | Part259.Size = Vector3.new(3, 6, 1) |
3176 | + | local larm=h.Parent:findFirstChild("Left Arm") |
3177 | - | Part259.Anchored = true |
3177 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
3178 | - | Part259.BrickColor = BrickColor.new("Black") |
3178 | + | |
3179 | - | Part259.brickColor = BrickColor.new("Black") |
3179 | + | if larm~=nil then |
3180 | - | Fire260.Parent = Part259 |
3180 | + | larm:remove() |
3181 | - | Fire260.Color = Color3.new(1, 0.745098, 0) |
3181 | + | end |
3182 | - | Fire260.Enabled = false |
3182 | + | if rarm~=nil then |
3183 | - | Fire260.Size = 30 |
3183 | + | rarm:remove() |
3184 | - | Fire260.Heat = 25 |
3184 | + | end |
3185 | - | Fire260.SecondaryColor = Color3.new(1, 0, 0) |
3185 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
3186 | - | Fire260.size = 30 |
3186 | + | if zee~=nil then |
3187 | - | Script261.Parent = Fire260 |
3187 | + | local zlarm=zee:clone() |
3188 | - | table.insert(cors,sandbox(Script261,function() |
3188 | + | local zrarm=zee:clone() |
3189 | - | function Spread(part) |
3189 | + | if zlarm~=nil then |
3190 | - | check = part:findFirstChild("Fire") |
3190 | + | |
3191 | - | if check == nil then |
3191 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
3192 | - | script.Parent:Clone().Parent = part |
3192 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
3193 | - | |
3193 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
3194 | - | elseif check ~= nil then |
3194 | + | zlarm.Parent=h.Parent |
3195 | - | check.Size = check.Size + 1 |
3195 | + | zrarm.Parent=h.Parent |
3196 | - | check.Heat = check.Heat +1 |
3196 | + | zlarm:makeJoints() |
3197 | zrarm:makeJoints() | |
3198 | zlarm.Anchored=false | |
3199 | zrarm.Anchored=false | |
3200 | wait(0.1) | |
3201 | - | script.Parent.Parent.Touched:connect(Spread) |
3201 | + | h.Parent.Head.Color=zee.Color |
3202 | else print("no zee"); return end | |
3203 | end | |
3204 | wait(1) | |
3205 | - | Part262.Name = "Smooth Block Model" |
3205 | + | cantouch=1 |
3206 | - | Part262.Parent = Model135 |
3206 | + | end |
3207 | - | Part262.CFrame = CFrame.new(174.901611, 21.1223888, 182.8125, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
3207 | + | end |
3208 | - | Part262.Orientation = Vector3.new(0, 180, 0) |
3208 | + | |
3209 | - | Part262.Position = Vector3.new(174.901611, 21.1223888, 182.8125) |
3209 | + | |
3210 | - | Part262.Rotation = Vector3.new(-180, 0, -180) |
3210 | + | |
3211 | - | Part262.Color = Color3.new(0.105882, 0.164706, 0.207843) |
3211 | + | |
3212 | - | Part262.Transparency = 0.30000001192093 |
3212 | + | |
3213 | - | Part262.Size = Vector3.new(5, 1.20000005, 4) |
3213 | + | |
3214 | - | Part262.Anchored = true |
3214 | + | ObjectValue174.Name = "IsNZ" |
3215 | - | Part262.BrickColor = BrickColor.new("Black") |
3215 | + | ObjectValue174.Parent = Model162 |
3216 | - | Part262.TopSurface = Enum.SurfaceType.Smooth |
3216 | + | IntValue175.Name = "Mode" |
3217 | - | Part262.brickColor = BrickColor.new("Black") |
3217 | + | IntValue175.Parent = Model162 |
3218 | - | Fire263.Parent = Part262 |
3218 | + | Script176.Parent = Model162 |
3219 | - | Fire263.Color = Color3.new(1, 0.745098, 0) |
3219 | + | table.insert(cors,sandbox(Script176,function() |
3220 | - | Fire263.Enabled = false |
3220 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
3221 | - | Fire263.Size = 30 |
3221 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
3222 | - | Fire263.Heat = 25 |
3222 | + | |
3223 | - | Fire263.SecondaryColor = Color3.new(1, 0, 0) |
3223 | + | function findNearestTorso(pos) |
3224 | - | Fire263.size = 30 |
3224 | + | local list = game.Workspace:children() |
3225 | - | Script264.Parent = Fire263 |
3225 | + | local torso = nil |
3226 | - | table.insert(cors,sandbox(Script264,function() |
3226 | + | local dist = 1000 |
3227 | - | function Spread(part) |
3227 | + | local temp = nil |
3228 | - | check = part:findFirstChild("Fire") |
3228 | + | local human = nil |
3229 | - | if check == nil then |
3229 | + | local temp2 = nil |
3230 | - | script.Parent:Clone().Parent = part |
3230 | + | for x = 1, #list do |
3231 | - | |
3231 | + | temp2 = list[x] |
3232 | - | elseif check ~= nil then |
3232 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
3233 | - | check.Size = check.Size + 1 |
3233 | + | temp = temp2:findFirstChild("Right Arm") |
3234 | - | check.Heat = check.Heat +1 |
3234 | + | human = temp2:findFirstChild("Humanoid") |
3235 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
3236 | if (temp.Position - pos).magnitude < dist then | |
3237 | torso = temp | |
3238 | dist = (temp.Position - pos).magnitude | |
3239 | - | script.Parent.Parent.Touched:connect(Spread) |
3239 | + | end |
3240 | end | |
3241 | end | |
3242 | end | |
3243 | - | Part265.Name = "Smooth Block Model" |
3243 | + | return torso |
3244 | - | Part265.Parent = Model135 |
3244 | + | |
3245 | - | Part265.CFrame = CFrame.new(174.901611, 17.5235233, 181.3125, -0.999999702, -2.31133472e-05, -1.04804976e-05, -2.31131762e-05, 1, -1.26419191e-05, 1.04807905e-05, -1.26416526e-05, -0.999999702) |
3245 | + | |
3246 | - | Part265.Orientation = Vector3.new(0, -180, 0) |
3246 | + | |
3247 | - | Part265.Position = Vector3.new(174.901611, 17.5235233, 181.3125) |
3247 | + | |
3248 | - | Part265.Rotation = Vector3.new(180, 0, 180) |
3248 | + | |
3249 | - | Part265.Color = Color3.new(0.105882, 0.164706, 0.207843) |
3249 | + | |
3250 | - | Part265.Transparency = 0.30000001192093 |
3250 | + | wait(math.random(1,5)) |
3251 | - | Part265.Size = Vector3.new(5, 6, 1) |
3251 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
3252 | - | Part265.Anchored = true |
3252 | + | if target ~= nil then |
3253 | - | Part265.BrickColor = BrickColor.new("Black") |
3253 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
3254 | - | Part265.brickColor = BrickColor.new("Black") |
3254 | + | |
3255 | - | Part266.Name = "Smooth Block Model" |
3255 | + | |
3256 | - | Part266.Parent = Model135 |
3256 | + | |
3257 | - | Part266.CFrame = CFrame.new(172.901611, 17.52244, 183.3125, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
3257 | + | |
3258 | - | Part266.Orientation = Vector3.new(0, -90, 0) |
3258 | + | |
3259 | - | Part266.Position = Vector3.new(172.901611, 17.52244, 183.3125) |
3259 | + | Script177.Name = "Health" |
3260 | - | Part266.Rotation = Vector3.new(0, -90, 0) |
3260 | + | Script177.Parent = Model162 |
3261 | - | Part266.Color = Color3.new(0.105882, 0.164706, 0.207843) |
3261 | + | table.insert(cors,sandbox(Script177,function() |
3262 | - | Part266.Transparency = 0.30000001192093 |
3262 | + | function waitForChild(parent, childName) |
3263 | - | Part266.Size = Vector3.new(3, 6, 1) |
3263 | + | while true do |
3264 | - | Part266.Anchored = true |
3264 | + | local child = parent:findFirstChild(childName) |
3265 | - | Part266.BrickColor = BrickColor.new("Black") |
3265 | + | if child then |
3266 | - | Part266.brickColor = BrickColor.new("Black") |
3266 | + | |
3267 | - | Script267.Name = "Guest_Talking_Script" |
3267 | + | |
3268 | - | Script267.Parent = Model135 |
3268 | + | parent.ChildAdded:wait() |
3269 | - | table.insert(cors,sandbox(Script267,function() |
3269 | + | |
3270 | - | --Farvei's totally awesome script that makes Guests talk |
3270 | + | |
3271 | - | --Please give credit |
3271 | + | |
3272 | - | --Don't tell the admins! |
3272 | + | -- declarations |
3273 | - | --Unnote the vaccine if you'd like to remove all copies of this script in your place |
3273 | + | |
3274 | - | if (script.Parent == workspace) then |
3274 | + | local Figure = script.Parent |
3275 | - | function checkForAndSwitch(player) |
3275 | + | local Head = waitForChild(Figure, "Head") |
3276 | - | if (player.SuperSafeChat == true) then |
3276 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
3277 | - | player.SuperSafeChat = false; |
3277 | + | Humanoid.Health=500 |
3278 | - | wait(5); |
3278 | + | -- regeneration |
3279 | - | local m = Instance.new("Message"); |
3279 | + | |
3280 | - | m.Text = "Hey People! Its elomoto1236."; |
3280 | + | local s = wait(4) |
3281 | - | m.Parent = player; |
3281 | + | local health = Humanoid.Health |
3282 | - | wait(5); |
3282 | + | if health > 0 and health < Humanoid.MaxHealth then |
3283 | - | m.Text = "Just hit the /, and than type in your message.."; |
3283 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
3284 | - | wait(5); |
3284 | + | if health * 1.05 < Humanoid.MaxHealth then |
3285 | - | m:Remove(); |
3285 | + | Humanoid.Health = health |
3286 | - | m = nil; |
3286 | + | else |
3287 | Humanoid.Health = Humanoid.MaxHealth | |
3288 | - | player = nil; |
3288 | + | |
3289 | - | collectgarbage("collect"); |
3289 | + | |
3290 | end | |
3291 | ||
3292 | - | function onChildAddedToPlayers(obj) |
3292 | + | |
3293 | - | if (obj.className == "Player") then |
3293 | + | Script178.Name = "Respawn" |
3294 | - | checkForAndSwitch(obj); |
3294 | + | Script178.Parent = Model162 |
3295 | - | local m = Instance.new("Message"); |
3295 | + | table.insert(cors,sandbox(Script178,function() |
3296 | - | m.Text = "elomoto1236 here. Guests are welcome to talk here."; |
3296 | + | name="Humanoid" |
3297 | - | m.Parent = obj; |
3297 | + | |
3298 | - | wait(5); |
3298 | + | robo=script.Parent:clone() |
3299 | - | m:Remove(); |
3299 | + | |
3300 | - | m = nil; |
3300 | + | |
3301 | wait(1) | |
3302 | - | obj = nil; |
3302 | + | if script.Parent.Humanoid.Health<1 then |
3303 | - | collectgarbage("collect"); |
3303 | + | robot=robo:clone() |
3304 | robot.Parent=script.Parent.Parent | |
3305 | robot:makeJoints() | |
3306 | - | function onChildAddedToWorkspace(obj) |
3306 | + | script.Parent:remove() |
3307 | - | if (obj.className == "Model") then |
3307 | + | |
3308 | - | if (game.Players:playerFromCharacter(obj) ~= nil) then |
3308 | + | |
3309 | - | checkForAndSwitch(game.Players:playerFromCharacter(obj)); |
3309 | + | |
3310 | ||
3311 | ||
3312 | - | obj = nil; |
3312 | + | |
3313 | - | collectgarbage("collect"); |
3313 | + | |
3314 | Part179.Name = "Spawn Location" | |
3315 | Part179.Parent = Model161 | |
3316 | - | function findLowestLevel(obj) |
3316 | + | Part179.CFrame = CFrame.new(195.113556, 0.603015006, 235.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
3317 | - | local c = obj:GetChildren(); |
3317 | + | Part179.Orientation = Vector3.new(0, 180, 0) |
3318 | - | local lowestLevel = true; |
3318 | + | Part179.Position = Vector3.new(195.113556, 0.603015006, 235.491455) |
3319 | Part179.Rotation = Vector3.new(-180, 0, -180) | |
3320 | - | for i, v in pairs(c) do |
3320 | + | Part179.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3321 | - | if (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then |
3321 | + | Part179.Size = Vector3.new(6, 1.20000005, 6) |
3322 | - | lowestLevel = false; |
3322 | + | Part179.BottomSurface = Enum.SurfaceType.Weld |
3323 | - | wait(); |
3323 | + | Part179.BrickColor = BrickColor.new("Medium green") |
3324 | - | findLowestLevel(v); |
3324 | + | Part179.TopSurface = Enum.SurfaceType.Smooth |
3325 | Part179.brickColor = BrickColor.new("Medium green") | |
3326 | Decal180.Parent = Part179 | |
3327 | Decal180.Texture = "http://www.roblox.com/asset/?id=34541722" | |
3328 | - | if (obj ~= workspace and lowestLevel == true and (obj:FindFirstChild(script.Name) == nil)) then |
3328 | + | Decal180.Face = Enum.NormalId.Top |
3329 | - | if (obj ~= game.Lighting and obj ~= game.StarterPack) then |
3329 | + | Model181.Parent = Model0 |
3330 | - | local s = script:Clone(); |
3330 | + | Model182.Name = "Zombie" |
3331 | - | s.Parent = obj; |
3331 | + | Model182.Parent = Model181 |
3332 | Model182.PrimaryPart = Part183 | |
3333 | Part183.Name = "Head" | |
3334 | Part183.Parent = Model182 | |
3335 | Part183.CFrame = CFrame.new(195.591461, 6.09995508, 247.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
3336 | - | findLowestLevel(game); |
3336 | + | Part183.Orientation = Vector3.new(0, 90, 0) |
3337 | Part183.Position = Vector3.new(195.591461, 6.09995508, 247.48645) | |
3338 | - | game.Players.ChildAdded:connect(onChildAddedToPlayers); |
3338 | + | Part183.Rotation = Vector3.new(0, 90, 0) |
3339 | - | game.Workspace.ChildAdded:connect(onChildAddedToWorkspace); |
3339 | + | Part183.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3340 | - | else |
3340 | + | Part183.Size = Vector3.new(2, 1, 1) |
3341 | - | local findScript = workspace:FindFirstChild(script.Name); |
3341 | + | Part183.BrickColor = BrickColor.new("Medium green") |
3342 | Part183.TopSurface = Enum.SurfaceType.Smooth | |
3343 | - | if (findScript == nil) then |
3343 | + | Part183.brickColor = BrickColor.new("Medium green") |
3344 | - | local s = script:Clone(); |
3344 | + | Part183.FormFactor = Enum.FormFactor.Symmetric |
3345 | - | s.Parent = workspace; |
3345 | + | Part183.formFactor = Enum.FormFactor.Symmetric |
3346 | SpecialMesh184.Parent = Part183 | |
3347 | SpecialMesh184.Scale = Vector3.new(1.25, 1.25, 1.25) | |
3348 | Decal185.Name = "face" | |
3349 | - | --[[function findAllCopies(obj) |
3349 | + | Decal185.Parent = Part183 |
3350 | - | local c = obj:GetChildren(); |
3350 | + | Part186.Name = "Torso" |
3351 | Part186.Parent = Model182 | |
3352 | - | for i, v in pairs(c) do |
3352 | + | Part186.CFrame = CFrame.new(195.591461, 4.59995508, 247.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
3353 | - | if (v.Name == script.Name and v.className == "Script" and v ~= script) then |
3353 | + | Part186.Orientation = Vector3.new(0, 90, 0) |
3354 | - | v.Parent = nil; |
3354 | + | Part186.Position = Vector3.new(195.591461, 4.59995508, 247.48645) |
3355 | - | elseif (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then |
3355 | + | Part186.Rotation = Vector3.new(0, 90, 0) |
3356 | - | findAllCopies(v); |
3356 | + | Part186.Color = Color3.new(0.411765, 0.25098, 0.156863) |
3357 | Part186.Size = Vector3.new(2, 2, 1) | |
3358 | Part186.BrickColor = BrickColor.new("Reddish brown") | |
3359 | Part186.LeftParamA = 0 | |
3360 | Part186.LeftParamB = 0 | |
3361 | - | findAllCopies(game); |
3361 | + | Part186.LeftSurface = Enum.SurfaceType.Weld |
3362 | Part186.RightParamA = 0 | |
3363 | - | script.Parent = nil;]] |
3363 | + | Part186.RightParamB = 0 |
3364 | Part186.RightSurface = Enum.SurfaceType.Weld | |
3365 | - | RotateP268.Name = "cptrick" |
3365 | + | Part186.brickColor = BrickColor.new("Reddish brown") |
3366 | - | RotateP268.Parent = Script267 |
3366 | + | Part186.FormFactor = Enum.FormFactor.Symmetric |
3367 | - | RotateP269.Name = "stanley12345678910" |
3367 | + | Part186.formFactor = Enum.FormFactor.Symmetric |
3368 | - | RotateP269.Parent = Script267 |
3368 | + | Part187.Name = "Left Leg" |
3369 | - | RotateP270.Name = "cahrlie84" |
3369 | + | Part187.Parent = Model182 |
3370 | - | RotateP270.Parent = Script267 |
3370 | + | Part187.CFrame = CFrame.new(195.591461, 2.59995508, 247.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
3371 | - | RotateP271.Name = "charlie84" |
3371 | + | Part187.Orientation = Vector3.new(0, 90, 0) |
3372 | - | RotateP271.Parent = Script267 |
3372 | + | Part187.Position = Vector3.new(195.591461, 2.59995508, 247.98645) |
3373 | - | RotateP272.Name = "al2tair" |
3373 | + | Part187.Rotation = Vector3.new(0, 90, 0) |
3374 | - | RotateP272.Parent = Script267 |
3374 | + | Part187.Color = Color3.new(0.411765, 0.25098, 0.156863) |
3375 | - | Model273.Parent = Model0 |
3375 | + | Part187.Size = Vector3.new(1, 2, 1) |
3376 | - | Part274.Name = "Smooth Block Model" |
3376 | + | Part187.BottomSurface = Enum.SurfaceType.Smooth |
3377 | - | Part274.Parent = Model273 |
3377 | + | Part187.BrickColor = BrickColor.new("Reddish brown") |
3378 | - | Part274.CFrame = CFrame.new(179.900146, 17.4321556, 184.312134, -0.999999762, -5.0614193e-07, -8.27316398e-06, -5.06181266e-07, 1, 4.75149227e-06, 8.27316217e-06, 4.75149682e-06, -0.999999762) |
3378 | + | Part187.CanCollide = false |
3379 | - | Part274.Orientation = Vector3.new(0, -180, 0) |
3379 | + | Part187.brickColor = BrickColor.new("Reddish brown") |
3380 | - | Part274.Position = Vector3.new(179.900146, 17.4321556, 184.312134) |
3380 | + | Part187.FormFactor = Enum.FormFactor.Symmetric |
3381 | - | Part274.Rotation = Vector3.new(-180, 0, 180) |
3381 | + | Part187.formFactor = Enum.FormFactor.Symmetric |
3382 | - | Part274.Color = Color3.new(0.105882, 0.164706, 0.207843) |
3382 | + | Part188.Name = "Right Leg" |
3383 | - | Part274.Transparency = 0.30000001192093 |
3383 | + | Part188.Parent = Model182 |
3384 | - | Part274.Size = Vector3.new(3, 6, 1) |
3384 | + | Part188.CFrame = CFrame.new(195.591461, 2.59995508, 246.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
3385 | - | Part274.Anchored = true |
3385 | + | Part188.Orientation = Vector3.new(0, 90, 0) |
3386 | - | Part274.BrickColor = BrickColor.new("Black") |
3386 | + | Part188.Position = Vector3.new(195.591461, 2.59995508, 246.98645) |
3387 | - | Part274.brickColor = BrickColor.new("Black") |
3387 | + | Part188.Rotation = Vector3.new(0, 90, 0) |
3388 | - | Fire275.Parent = Part274 |
3388 | + | Part188.Color = Color3.new(0.411765, 0.25098, 0.156863) |
3389 | - | Fire275.Color = Color3.new(1, 0.745098, 0) |
3389 | + | Part188.Size = Vector3.new(1, 2, 1) |
3390 | - | Fire275.Enabled = false |
3390 | + | Part188.BottomSurface = Enum.SurfaceType.Smooth |
3391 | - | Fire275.Size = 30 |
3391 | + | Part188.BrickColor = BrickColor.new("Reddish brown") |
3392 | - | Fire275.Heat = 25 |
3392 | + | Part188.CanCollide = false |
3393 | - | Fire275.SecondaryColor = Color3.new(1, 0, 0) |
3393 | + | Part188.brickColor = BrickColor.new("Reddish brown") |
3394 | - | Fire275.size = 30 |
3394 | + | Part188.FormFactor = Enum.FormFactor.Symmetric |
3395 | - | Script276.Parent = Fire275 |
3395 | + | Part188.formFactor = Enum.FormFactor.Symmetric |
3396 | - | table.insert(cors,sandbox(Script276,function() |
3396 | + | Humanoid189.Parent = Model182 |
3397 | - | function Spread(part) |
3397 | + | Humanoid189.LeftLeg = Part187 |
3398 | - | check = part:findFirstChild("Fire") |
3398 | + | Humanoid189.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
3399 | - | if check == nil then |
3399 | + | Humanoid189.RightLeg = Part188 |
3400 | - | script.Parent:Clone().Parent = part |
3400 | + | Humanoid189.Torso = Part186 |
3401 | - | |
3401 | + | Part190.Name = "zarm" |
3402 | - | elseif check ~= nil then |
3402 | + | Part190.Parent = Model182 |
3403 | - | check.Size = check.Size + 1 |
3403 | + | Part190.CFrame = CFrame.new(195.091461, 5.09995508, 248.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
3404 | - | check.Heat = check.Heat +1 |
3404 | + | Part190.Orientation = Vector3.new(0, 180, 0) |
3405 | Part190.Position = Vector3.new(195.091461, 5.09995508, 248.98645) | |
3406 | Part190.Rotation = Vector3.new(-180, 0, -180) | |
3407 | Part190.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
3408 | Part190.Size = Vector3.new(2, 1, 1) | |
3409 | - | script.Parent.Parent.Touched:connect(Spread) |
3409 | + | Part190.BottomSurface = Enum.SurfaceType.Smooth |
3410 | Part190.BrickColor = BrickColor.new("Medium green") | |
3411 | Part190.TopSurface = Enum.SurfaceType.Smooth | |
3412 | Part190.brickColor = BrickColor.new("Medium green") | |
3413 | - | Part277.Name = "Smooth Block Model" |
3413 | + | Part190.FormFactor = Enum.FormFactor.Symmetric |
3414 | - | Part277.Parent = Model273 |
3414 | + | Part190.formFactor = Enum.FormFactor.Symmetric |
3415 | - | Part277.CFrame = CFrame.new(177.900146, 17.4312611, 183.312134, -2.20761831e-06, 2.26069387e-05, -0.99999696, -1.73930312e-05, 1, 2.26073607e-05, 0.99999696, 1.7393304e-05, -2.20721563e-06) |
3415 | + | Script191.Parent = Part190 |
3416 | - | Part277.Orientation = Vector3.new(0, -90, 0) |
3416 | + | table.insert(cors,sandbox(Script191,function() |
3417 | - | Part277.Position = Vector3.new(177.900146, 17.4312611, 183.312134) |
3417 | + | wait(1) |
3418 | - | Part277.Rotation = Vector3.new(-95.5799942, -89.8600006, -95.5799942) |
3418 | + | owner=script.Parent.Parent.Name |
3419 | - | Part277.Color = Color3.new(0.105882, 0.164706, 0.207843) |
3419 | + | |
3420 | - | Part277.Transparency = 0.30000001192093 |
3420 | + | function onTouched(part) |
3421 | - | Part277.Size = Vector3.new(3, 6, 1) |
3421 | + | if part.Parent ~= nil then |
3422 | - | Part277.Anchored = true |
3422 | + | local h = part.Parent:findFirstChild("Humanoid") |
3423 | - | Part277.BrickColor = BrickColor.new("Black") |
3423 | + | if h~=nil then |
3424 | - | Part277.brickColor = BrickColor.new("Black") |
3424 | + | if cantouch~=0 then |
3425 | - | Fire278.Parent = Part277 |
3425 | + | if h.Parent.Name~=owner then |
3426 | - | Fire278.Color = Color3.new(1, 0.745098, 0) |
3426 | + | |
3427 | - | Fire278.Enabled = false |
3427 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
3428 | - | Fire278.Size = 30 |
3428 | + | |
3429 | - | Fire278.Heat = 25 |
3429 | + | cantouch=0 |
3430 | - | Fire278.SecondaryColor = Color3.new(1, 0, 0) |
3430 | + | |
3431 | - | Fire278.size = 30 |
3431 | + | local larm=h.Parent:findFirstChild("Left Arm") |
3432 | - | Script279.Parent = Fire278 |
3432 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
3433 | ||
3434 | - | function Spread(part) |
3434 | + | if larm~=nil then |
3435 | - | check = part:findFirstChild("Fire") |
3435 | + | larm:remove() |
3436 | - | if check == nil then |
3436 | + | end |
3437 | - | script.Parent:Clone().Parent = part |
3437 | + | if rarm~=nil then |
3438 | - | |
3438 | + | rarm:remove() |
3439 | - | elseif check ~= nil then |
3439 | + | end |
3440 | - | check.Size = check.Size + 1 |
3440 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
3441 | - | check.Heat = check.Heat +1 |
3441 | + | if zee~=nil then |
3442 | local zlarm=zee:clone() | |
3443 | local zrarm=zee:clone() | |
3444 | if zlarm~=nil then | |
3445 | ||
3446 | - | script.Parent.Parent.Touched:connect(Spread) |
3446 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
3447 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
3448 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
3449 | zlarm.Parent=h.Parent | |
3450 | - | Part280.Name = "PUT THE WEAPON IN THIS BRICK" |
3450 | + | zrarm.Parent=h.Parent |
3451 | - | Part280.Parent = Model273 |
3451 | + | zlarm:makeJoints() |
3452 | - | Part280.CFrame = CFrame.new(179.9021, 17.1364002, 185.312378, 2.20597576e-06, -0.000129982567, 0.999992907, 4.79108749e-05, 1, 0.000129982611, -0.999992907, 4.79109149e-05, 2.21218079e-06) |
3452 | + | zrarm:makeJoints() |
3453 | - | Part280.Orientation = Vector3.new(-0.00999999978, 90, 0) |
3453 | + | zlarm.Anchored=false |
3454 | - | Part280.Position = Vector3.new(179.9021, 17.1364002, 185.312378) |
3454 | + | zrarm.Anchored=false |
3455 | - | Part280.Rotation = Vector3.new(-89.0199966, 89.7799988, 89.0299988) |
3455 | + | wait(0.1) |
3456 | - | Part280.Color = Color3.new(0.94902, 0.952941, 0.952941) |
3456 | + | h.Parent.Head.Color=zee.Color |
3457 | - | Part280.Size = Vector3.new(1, 1.20000005, 5) |
3457 | + | else print("no zee"); return end |
3458 | - | Part280.Anchored = true |
3458 | + | end |
3459 | - | Part280.BrickColor = BrickColor.new("White") |
3459 | + | wait(1) |
3460 | cantouch=1 | |
3461 | - | Part280.brickColor = BrickColor.new("White") |
3461 | + | end |
3462 | - | Tool281.Name = "TSOR Sniper" |
3462 | + | end |
3463 | - | Tool281.Parent = Part280 |
3463 | + | |
3464 | - | Tool281.Grip = CFrame.new(-0.200000003, -0.600000024, -0.800000012, -0.980580688, 2.47333332e-09, -0.196116135, 2.42530285e-09, 1, 4.85060714e-10, 0.196116135, 1.66533454e-16, -0.980580688) |
3464 | + | |
3465 | - | Tool281.GripForward = Vector3.new(0.196116135, -4.85060714e-10, 0.980580688) |
3465 | + | |
3466 | - | Tool281.GripPos = Vector3.new(-0.200000003, -0.600000024, -0.800000012) |
3466 | + | |
3467 | - | Tool281.GripRight = Vector3.new(-0.980580688, 2.42530285e-09, 0.196116135) |
3467 | + | |
3468 | - | Tool281.GripUp = Vector3.new(2.47333332e-09, 1, 1.66533454e-16) |
3468 | + | |
3469 | - | SpecialMesh282.Parent = Tool281 |
3469 | + | Part192.Name = "zarm" |
3470 | - | SpecialMesh282.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3470 | + | Part192.Parent = Model182 |
3471 | - | SpecialMesh282.MeshType = Enum.MeshType.Sphere |
3471 | + | Part192.CFrame = CFrame.new(195.091461, 5.09995508, 245.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
3472 | - | Script283.Name = "Trail" |
3472 | + | Part192.Orientation = Vector3.new(0, 180, 0) |
3473 | - | Script283.Parent = Tool281 |
3473 | + | Part192.Position = Vector3.new(195.091461, 5.09995508, 245.98645) |
3474 | - | table.insert(cors,sandbox(Script283,function() |
3474 | + | Part192.Rotation = Vector3.new(-180, 0, -180) |
3475 | - | lastpoint = script.Parent.Position |
3475 | + | Part192.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3476 | - | leds = {} |
3476 | + | Part192.Size = Vector3.new(2, 1, 1) |
3477 | - | function makeled() |
3477 | + | Part192.BottomSurface = Enum.SurfaceType.Smooth |
3478 | - | tip = script.Parent |
3478 | + | Part192.BrickColor = BrickColor.new("Medium green") |
3479 | - | if tip ~= nil then |
3479 | + | Part192.TopSurface = Enum.SurfaceType.Smooth |
3480 | - | off = (tip.Mesh.Scale.z/tip.Size.z)/2 |
3480 | + | Part192.brickColor = BrickColor.new("Medium green") |
3481 | - | point = (tip.CFrame*CFrame.new(0, 0, -off)).p |
3481 | + | Part192.FormFactor = Enum.FormFactor.Symmetric |
3482 | - | unit = (lastpoint - point).unit |
3482 | + | Part192.formFactor = Enum.FormFactor.Symmetric |
3483 | - | mag = (lastpoint - point).magnitude |
3483 | + | Script193.Parent = Part192 |
3484 | - | if mag>1 then |
3484 | + | table.insert(cors,sandbox(Script193,function() |
3485 | - | middle = lastpoint-(unit*(mag/2)) |
3485 | + | wait(1) |
3486 | - | cf = CFrame.new(middle, point) |
3486 | + | owner=script.Parent.Parent.Name |
3487 | - | local l = Instance.new("Part") |
3487 | + | |
3488 | - | l.Name = "Trail" |
3488 | + | function onTouched(part) |
3489 | - | l.Anchored = true |
3489 | + | if part.Parent ~= nil then |
3490 | - | l.CanCollide = false |
3490 | + | local h = part.Parent:findFirstChild("Humanoid") |
3491 | - | l.Size = Vector3.new(1, 1, 1) |
3491 | + | if h~=nil then |
3492 | - | l.BrickColor = tip.BrickColor |
3492 | + | if cantouch~=0 then |
3493 | - | l.TopSurface = 0 |
3493 | + | if h.Parent.Name~=owner then |
3494 | - | l.BottomSurface = 0 |
3494 | + | |
3495 | - | local m= Instance.new("SpecialMesh") |
3495 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
3496 | - | m.MeshType = "Brick" |
3496 | + | |
3497 | - | m.Scale = Vector3.new(.3, .3, mag)/l.Size |
3497 | + | cantouch=0 |
3498 | - | m.Parent = l |
3498 | + | |
3499 | - | l.Parent = workspace |
3499 | + | local larm=h.Parent:findFirstChild("Left Arm") |
3500 | - | local new = script.Script:clone() |
3500 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
3501 | - | new.Disabled = false |
3501 | + | |
3502 | - | new.Parent = l |
3502 | + | if larm~=nil then |
3503 | - | l.CFrame = cf |
3503 | + | larm:remove() |
3504 | - | table.insert(leds, l) |
3504 | + | end |
3505 | - | lastpoint = point |
3505 | + | if rarm~=nil then |
3506 | - | game:getService("Debris"):addItem(l, 2) |
3506 | + | rarm:remove() |
3507 | end | |
3508 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
3509 | if zee~=nil then | |
3510 | local zlarm=zee:clone() | |
3511 | local zrarm=zee:clone() | |
3512 | if zlarm~=nil then | |
3513 | - | makeled() |
3513 | + | |
3514 | - | wait() |
3514 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
3515 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
3516 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
3517 | zlarm.Parent=h.Parent | |
3518 | - | Script283.Disabled = true |
3518 | + | zrarm.Parent=h.Parent |
3519 | - | Script284.Parent = Script283 |
3519 | + | zlarm:makeJoints() |
3520 | - | table.insert(cors,sandbox(Script284,function() |
3520 | + | zrarm:makeJoints() |
3521 | - | while script.Parent.Transparency<1 do |
3521 | + | zlarm.Anchored=false |
3522 | - | script.Parent.Transparency = script.Parent.Transparency+.2 |
3522 | + | zrarm.Anchored=false |
3523 | - | wait(0.01) |
3523 | + | wait(0.1) |
3524 | h.Parent.Head.Color=zee.Color | |
3525 | else print("no zee"); return end | |
3526 | - | script.Parent:remove() |
3526 | + | end |
3527 | wait(1) | |
3528 | - | Script284.Disabled = true |
3528 | + | cantouch=1 |
3529 | - | Script285.Name = "BrickCleanup" |
3529 | + | end |
3530 | - | Script285.Parent = Tool281 |
3530 | + | end |
3531 | - | table.insert(cors,sandbox(Script285,function() |
3531 | + | |
3532 | - | -- this script removes its parent from the workspace after 24 seconds |
3532 | + | |
3533 | end | |
3534 | ||
3535 | script.Parent.Touched:connect(onTouched) | |
3536 | - | wait(4) |
3536 | + | |
3537 | ObjectValue194.Name = "IsNZ" | |
3538 | - | script.Parent.Parent = nil |
3538 | + | ObjectValue194.Parent = Model182 |
3539 | IntValue195.Name = "Mode" | |
3540 | - | Script285.Disabled = true |
3540 | + | IntValue195.Parent = Model182 |
3541 | - | LocalScript286.Name = "AmmoScript" |
3541 | + | Script196.Parent = Model182 |
3542 | - | LocalScript286.Parent = Tool281 |
3542 | + | table.insert(cors,sandbox(Script196,function() |
3543 | - | table.insert(cors,sandbox(LocalScript286,function() |
3543 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
3544 | - | Tool = script.Parent |
3544 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
3545 | - | function equip() |
3545 | + | |
3546 | - | print("Equipped") |
3546 | + | function findNearestTorso(pos) |
3547 | - | if game.Players.LocalPlayer ~= nil then |
3547 | + | local list = game.Workspace:children() |
3548 | - | local m = Instance.new("Message") |
3548 | + | local torso = nil |
3549 | - | m.Parent = game.Players.LocalPlayer |
3549 | + | local dist = 1000 |
3550 | - | m.Name = "AmmoStats" |
3550 | + | local temp = nil |
3551 | - | while m ~= nil do |
3551 | + | local human = nil |
3552 | - | wait(0.1) |
3552 | + | local temp2 = nil |
3553 | - | m.Text = "Ammo: "..script.Ammo.Value.." Clip: "..script.Clip.Value |
3553 | + | for x = 1, #list do |
3554 | temp2 = list[x] | |
3555 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
3556 | temp = temp2:findFirstChild("Right Arm") | |
3557 | human = temp2:findFirstChild("Humanoid") | |
3558 | - | function unequip() |
3558 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
3559 | - | print("Unequipped") |
3559 | + | if (temp.Position - pos).magnitude < dist then |
3560 | - | if game.Players.LocalPlayer ~= nil then |
3560 | + | torso = temp |
3561 | - | print("localplayer found") |
3561 | + | dist = (temp.Position - pos).magnitude |
3562 | - | local m = game.Players.LocalPlayer:FindFirstChild("AmmoStats") |
3562 | + | end |
3563 | - | if m ~= nil then |
3563 | + | |
3564 | - | m:remove() |
3564 | + | |
3565 | end | |
3566 | return torso | |
3567 | end | |
3568 | ||
3569 | - | script.Parent.Equipped:connect(equip) |
3569 | + | |
3570 | - | script.Parent.Unequipped:connect(unequip) |
3570 | + | |
3571 | ||
3572 | while true do | |
3573 | - | IntValue287.Name = "Ammo" |
3573 | + | wait(math.random(1,5)) |
3574 | - | IntValue287.Parent = LocalScript286 |
3574 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
3575 | - | IntValue287.Value = 2147483647 |
3575 | + | if target ~= nil then |
3576 | - | IntValue288.Name = "Clip" |
3576 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
3577 | - | IntValue288.Parent = LocalScript286 |
3577 | + | |
3578 | - | IntValue288.Value = 5 |
3578 | + | |
3579 | - | Script289.Name = "Reload" |
3579 | + | |
3580 | - | Script289.Parent = IntValue288 |
3580 | + | |
3581 | - | table.insert(cors,sandbox(Script289,function() |
3581 | + | |
3582 | - | print("Ammo Clip Loaded") --Replace every "30" with the number of bullets you want in a clip. |
3582 | + | Script197.Name = "Health" |
3583 | Script197.Parent = Model182 | |
3584 | table.insert(cors,sandbox(Script197,function() | |
3585 | - | if (script.Parent.Value == 0) and (script.Parent.Parent.Ammo.Value >= 5) then |
3585 | + | function waitForChild(parent, childName) |
3586 | - | wait(3) |
3586 | + | while true do |
3587 | - | script.Parent.Value = 5 |
3587 | + | local child = parent:findFirstChild(childName) |
3588 | - | script.Parent.Parent.Ammo.Value = script.Parent.Parent.Ammo.Value - 5 |
3588 | + | if child then |
3589 | return child | |
3590 | - | if (script.Parent.Value == 0) and (script.Parent.Parent.Ammo.Value <= 5) then |
3590 | + | |
3591 | - | wait(3) |
3591 | + | parent.ChildAdded:wait() |
3592 | - | script.Parent.Value = script.Parent.Parent.Ammo.Value |
3592 | + | |
3593 | - | script.Parent.Parent.Ammo.Value = 0 |
3593 | + | |
3594 | ||
3595 | - | wait(0) |
3595 | + | -- declarations |
3596 | ||
3597 | local Figure = script.Parent | |
3598 | local Head = waitForChild(Figure, "Head") | |
3599 | - | LocalScript290.Name = "Local Gui" |
3599 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
3600 | - | LocalScript290.Parent = Tool281 |
3600 | + | Humanoid.Health=500 |
3601 | - | table.insert(cors,sandbox(LocalScript290,function() |
3601 | + | -- regeneration |
3602 | - | local Tool = script.Parent; |
3602 | + | |
3603 | local s = wait(4) | |
3604 | - | enabled = true |
3604 | + | local health = Humanoid.Health |
3605 | - | function onButton1Down(mouse) |
3605 | + | if health > 0 and health < Humanoid.MaxHealth then |
3606 | - | if not enabled then |
3606 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
3607 | - | return |
3607 | + | if health * 1.05 < Humanoid.MaxHealth then |
3608 | Humanoid.Health = health | |
3609 | else | |
3610 | - | enabled = true |
3610 | + | Humanoid.Health = Humanoid.MaxHealth |
3611 | - | mouse.Icon = "http://www.roblox.com/asset/?id=2966012" |
3611 | + | |
3612 | end | |
3613 | - | --wait(.5) |
3613 | + | |
3614 | - | --mouse.Icon = "rbxasset://textures\\GunCursor.png" |
3614 | + | |
3615 | - | --enabled = true |
3615 | + | |
3616 | - | --mouse.Button1Up:connect(function() onButton1Up(mouse) end) |
3616 | + | Script198.Name = "Respawn" |
3617 | Script198.Parent = Model182 | |
3618 | table.insert(cors,sandbox(Script198,function() | |
3619 | name="Humanoid" | |
3620 | ||
3621 | - | function onButton1Up(mouse) |
3621 | + | robo=script.Parent:clone() |
3622 | - | enabled = false |
3622 | + | |
3623 | - | Tool.Enabled = false |
3623 | + | |
3624 | - | mouse.Icon = "http://www.roblox.com/asset/?id=2966012" |
3624 | + | wait(1) |
3625 | if script.Parent.Humanoid.Health<1 then | |
3626 | robot=robo:clone() | |
3627 | - | wait(0.1) |
3627 | + | robot.Parent=script.Parent.Parent |
3628 | robot:makeJoints() | |
3629 | script.Parent:remove() | |
3630 | end | |
3631 | - | mouse.Icon = "http://www.roblox.com/asset/?id=2966012" |
3631 | + | |
3632 | - | enabled = true |
3632 | + | |
3633 | - | Tool.Enabled = true |
3633 | + | |
3634 | ||
3635 | ||
3636 | - | function onEquippedLocal(mouse) |
3636 | + | |
3637 | Part199.Name = "Spawn Location" | |
3638 | - | if mouse == nil then |
3638 | + | Part199.Parent = Model181 |
3639 | - | print("Mouse not found") |
3639 | + | Part199.CFrame = CFrame.new(195.091461, 0.600009978, 247.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
3640 | - | return |
3640 | + | Part199.Orientation = Vector3.new(0, 180, 0) |
3641 | Part199.Position = Vector3.new(195.091461, 0.600009978, 247.48645) | |
3642 | Part199.Rotation = Vector3.new(-180, 0, -180) | |
3643 | - | mouse.Icon = "http://www.roblox.com/asset/?id=2966012" |
3643 | + | Part199.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3644 | - | mouse.Button1Down:connect(function() onButton1Down(mouse) end) |
3644 | + | Part199.Size = Vector3.new(6, 1.20000005, 6) |
3645 | - | mouse.Button1Up:connect(function() onButton1Up(mouse)end) |
3645 | + | Part199.BottomSurface = Enum.SurfaceType.Weld |
3646 | Part199.BrickColor = BrickColor.new("Medium green") | |
3647 | Part199.TopSurface = Enum.SurfaceType.Smooth | |
3648 | Part199.brickColor = BrickColor.new("Medium green") | |
3649 | - | Tool.Equipped:connect(onEquippedLocal) |
3649 | + | Decal200.Parent = Part199 |
3650 | Decal200.Texture = "http://www.roblox.com/asset/?id=34541722" | |
3651 | Decal200.Face = Enum.NormalId.Top | |
3652 | - | Part291.Name = "Handle" |
3652 | + | Model201.Parent = Model0 |
3653 | - | Part291.Parent = Tool281 |
3653 | + | Model202.Parent = Model201 |
3654 | - | Part291.CFrame = CFrame.new(179.901611, 21.8219166, 184.3125, 2.23519528e-05, 5.92415574e-07, -1, 1.26095597e-06, 1, 5.92443769e-07, 1, -1.26096916e-06, 2.23519528e-05) |
3654 | + | Model203.Name = "Zombie" |
3655 | - | Part291.Orientation = Vector3.new(0, -90, 0) |
3655 | + | Model203.Parent = Model202 |
3656 | - | Part291.Position = Vector3.new(179.901611, 21.8219166, 184.3125) |
3656 | + | Model203.PrimaryPart = Part204 |
3657 | - | Part291.Rotation = Vector3.new(0, -90, 0) |
3657 | + | Part204.Name = "Head" |
3658 | - | Part291.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
3658 | + | Part204.Parent = Model203 |
3659 | - | Part291.Velocity = Vector3.new(-0.00179526024, 0.00541103398, -0.00604546722) |
3659 | + | Part204.CFrame = CFrame.new(188.591461, 6.09995508, 229.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
3660 | - | Part291.Size = Vector3.new(1, 0.400000006, 5) |
3660 | + | Part204.Orientation = Vector3.new(0, 90, 0) |
3661 | Part204.Position = Vector3.new(188.591461, 6.09995508, 229.48645) | |
3662 | - | Part291.BrickColor = BrickColor.new("Really black") |
3662 | + | Part204.Rotation = Vector3.new(0, 90, 0) |
3663 | - | Part291.Reflectance = 0.0099999997764826 |
3663 | + | Part204.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3664 | - | Part291.RotVelocity = Vector3.new(0.00325625576, 0.0098301312, -0.0111841643) |
3664 | + | Part204.Size = Vector3.new(2, 1, 1) |
3665 | Part204.BrickColor = BrickColor.new("Medium green") | |
3666 | - | Part291.brickColor = BrickColor.new("Really black") |
3666 | + | Part204.TopSurface = Enum.SurfaceType.Smooth |
3667 | - | Part291.FormFactor = Enum.FormFactor.Plate |
3667 | + | Part204.brickColor = BrickColor.new("Medium green") |
3668 | - | Part291.formFactor = Enum.FormFactor.Plate |
3668 | + | Part204.FormFactor = Enum.FormFactor.Symmetric |
3669 | - | Sound292.Name = "Fire" |
3669 | + | Part204.formFactor = Enum.FormFactor.Symmetric |
3670 | - | Sound292.Parent = Part291 |
3670 | + | SpecialMesh205.Parent = Part204 |
3671 | - | Sound292.Pitch = 0.60000002384186 |
3671 | + | SpecialMesh205.Scale = Vector3.new(1.25, 1.25, 1.25) |
3672 | - | Sound292.PlaybackSpeed = 0.60000002384186 |
3672 | + | Decal206.Name = "face" |
3673 | - | Sound292.SoundId = "http://www.roblox.com/asset/?id=2920959" |
3673 | + | Decal206.Parent = Part204 |
3674 | - | Sound292.Volume = 1 |
3674 | + | Part207.Name = "Torso" |
3675 | - | SpecialMesh293.Parent = Part291 |
3675 | + | Part207.Parent = Model203 |
3676 | - | SpecialMesh293.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003) |
3676 | + | Part207.CFrame = CFrame.new(188.591461, 4.59995508, 229.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
3677 | - | SpecialMesh293.TextureId = "http://www.roblox.com/none" |
3677 | + | Part207.Orientation = Vector3.new(0, 90, 0) |
3678 | - | SpecialMesh293.MeshType = Enum.MeshType.FileMesh |
3678 | + | Part207.Position = Vector3.new(188.591461, 4.59995508, 229.48645) |
3679 | - | Script294.Name = "PaintballShooter" |
3679 | + | Part207.Rotation = Vector3.new(0, 90, 0) |
3680 | - | Script294.Parent = Tool281 |
3680 | + | Part207.Color = Color3.new(0.411765, 0.25098, 0.156863) |
3681 | Part207.Size = Vector3.new(2, 2, 1) | |
3682 | - | Tool = script.Parent |
3682 | + | Part207.BrickColor = BrickColor.new("Reddish brown") |
3683 | Part207.LeftParamA = 0 | |
3684 | Part207.LeftParamB = 0 | |
3685 | Part207.LeftSurface = Enum.SurfaceType.Weld | |
3686 | - | colors = {24,} |
3686 | + | Part207.RightParamA = 0 |
3687 | Part207.RightParamB = 0 | |
3688 | Part207.RightSurface = Enum.SurfaceType.Weld | |
3689 | Part207.brickColor = BrickColor.new("Reddish brown") | |
3690 | - | function fire(v) |
3690 | + | Part207.FormFactor = Enum.FormFactor.Symmetric |
3691 | Part207.formFactor = Enum.FormFactor.Symmetric | |
3692 | Part208.Name = "Left Leg" | |
3693 | - | if (script.Parent.AmmoScript.Clip.Value == 0) then return |
3693 | + | Part208.Parent = Model203 |
3694 | - | end |
3694 | + | Part208.CFrame = CFrame.new(188.591461, 2.59995508, 229.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
3695 | - | script.Parent.AmmoScript.Clip.Value = script.Parent.AmmoScript.Clip.Value - 1 |
3695 | + | Part208.Orientation = Vector3.new(0, 90, 0) |
3696 | - | print(Ammo) |
3696 | + | Part208.Position = Vector3.new(188.591461, 2.59995508, 229.98645) |
3697 | Part208.Rotation = Vector3.new(0, 90, 0) | |
3698 | Part208.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
3699 | - | Tool.Parent.Torso["Right Shoulder"].DesiredAngle = 8 --moves your arm as if firing. |
3699 | + | Part208.Size = Vector3.new(1, 2, 1) |
3700 | - | Tool.Handle.Fire:play() |
3700 | + | Part208.BottomSurface = Enum.SurfaceType.Smooth |
3701 | Part208.BrickColor = BrickColor.new("Reddish brown") | |
3702 | - | |
3702 | + | Part208.CanCollide = false |
3703 | Part208.brickColor = BrickColor.new("Reddish brown") | |
3704 | Part208.FormFactor = Enum.FormFactor.Symmetric | |
3705 | Part208.formFactor = Enum.FormFactor.Symmetric | |
3706 | - | local vCharacter = Tool.Parent |
3706 | + | Part209.Name = "Right Leg" |
3707 | - | local vPlayer = game.Players:playerFromCharacter(vCharacter) |
3707 | + | Part209.Parent = Model203 |
3708 | - | --local EjectionPort = Tool.Port |
3708 | + | Part209.CFrame = CFrame.new(188.591461, 2.59995508, 228.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
3709 | Part209.Orientation = Vector3.new(0, 90, 0) | |
3710 | Part209.Position = Vector3.new(188.591461, 2.59995508, 228.98645) | |
3711 | Part209.Rotation = Vector3.new(0, 90, 0) | |
3712 | - | local missile = Instance.new("Part") |
3712 | + | Part209.Color = Color3.new(0.411765, 0.25098, 0.156863) |
3713 | Part209.Size = Vector3.new(1, 2, 1) | |
3714 | - | |
3714 | + | Part209.BottomSurface = Enum.SurfaceType.Smooth |
3715 | - | local spawnPos = vCharacter.PrimaryPart.Position |
3715 | + | Part209.BrickColor = BrickColor.new("Reddish brown") |
3716 | - | |
3716 | + | Part209.CanCollide = false |
3717 | - | spawnPos = spawnPos + (v * 8) |
3717 | + | Part209.brickColor = BrickColor.new("Reddish brown") |
3718 | Part209.FormFactor = Enum.FormFactor.Symmetric | |
3719 | - | missile.Position = spawnPos |
3719 | + | Part209.formFactor = Enum.FormFactor.Symmetric |
3720 | - | missile.Size = Vector3.new(1,1,1) |
3720 | + | Humanoid210.Parent = Model203 |
3721 | - | missile.Velocity = v * 800 |
3721 | + | Humanoid210.LeftLeg = Part208 |
3722 | - | missile.BrickColor = BrickColor.new(colors[math.random(1, #colors)]) |
3722 | + | Humanoid210.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
3723 | - | missile.Shape = 1 |
3723 | + | Humanoid210.RightLeg = Part209 |
3724 | - | missile.BottomSurface = 0 |
3724 | + | Humanoid210.Torso = Part207 |
3725 | - | missile.TopSurface = 0 |
3725 | + | Part211.Name = "zarm" |
3726 | - | missile.Name = "Paintball" |
3726 | + | Part211.Parent = Model203 |
3727 | - | missile.Elasticity = 0 |
3727 | + | Part211.CFrame = CFrame.new(188.091461, 5.09995508, 230.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
3728 | - | missile.Reflectance = 0.2 |
3728 | + | Part211.Orientation = Vector3.new(0, 180, 0) |
3729 | - | missile.Friction = .3 |
3729 | + | Part211.Position = Vector3.new(188.091461, 5.09995508, 230.98645) |
3730 | Part211.Rotation = Vector3.new(-180, 0, -180) | |
3731 | - | local force = Instance.new("BodyForce") |
3731 | + | Part211.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3732 | - | force.force = Vector3.new(0,250,0) |
3732 | + | Part211.Size = Vector3.new(2, 1, 1) |
3733 | - | force.Parent = missile |
3733 | + | Part211.BottomSurface = Enum.SurfaceType.Smooth |
3734 | Part211.BrickColor = BrickColor.new("Medium green") | |
3735 | - | local new_mesh = script.Parent.Mesh:clone() |
3735 | + | Part211.TopSurface = Enum.SurfaceType.Smooth |
3736 | - | new_mesh.Parent = missile |
3736 | + | Part211.brickColor = BrickColor.new("Medium green") |
3737 | Part211.FormFactor = Enum.FormFactor.Symmetric | |
3738 | - | local new_script = script.Parent.Paintball:clone() |
3738 | + | Part211.formFactor = Enum.FormFactor.Symmetric |
3739 | - | new_script.Disabled = false |
3739 | + | Script212.Parent = Part211 |
3740 | - | new_script.Parent = missile |
3740 | + | table.insert(cors,sandbox(Script212,function() |
3741 | wait(1) | |
3742 | - | local new_script = script.Parent.Trail:clone() |
3742 | + | owner=script.Parent.Parent.Name |
3743 | - | new_script.Disabled = false |
3743 | + | |
3744 | - | new_script.Parent = missile |
3744 | + | function onTouched(part) |
3745 | if part.Parent ~= nil then | |
3746 | - | local new_script = script.Parent.BrickCleanup:clone() |
3746 | + | local h = part.Parent:findFirstChild("Humanoid") |
3747 | - | new_script.Disabled = false |
3747 | + | if h~=nil then |
3748 | - | new_script.Parent = missile |
3748 | + | if cantouch~=0 then |
3749 | if h.Parent.Name~=owner then | |
3750 | - | local creator_tag = Instance.new("ObjectValue") |
3750 | + | |
3751 | - | creator_tag.Value = vPlayer |
3751 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
3752 | - | creator_tag.Name = "creator" |
3752 | + | |
3753 | - | creator_tag.Parent = missile |
3753 | + | cantouch=0 |
3754 | - | |
3754 | + | |
3755 | local larm=h.Parent:findFirstChild("Left Arm") | |
3756 | local rarm=h.Parent:findFirstChild("Right Arm") | |
3757 | - | missile.Parent = game.Workspace |
3757 | + | |
3758 | if larm~=nil then | |
3759 | larm:remove() | |
3760 | - | --local shell = Instance.new("Part") |
3760 | + | end |
3761 | if rarm~=nil then | |
3762 | - | |
3762 | + | rarm:remove() |
3763 | - | --local spawnPos = EjectionPort.Position |
3763 | + | end |
3764 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
3765 | - | --shell.Position = spawnPos |
3765 | + | if zee~=nil then |
3766 | - | --shell.Size = Vector3.new(1,1,1) |
3766 | + | local zlarm=zee:clone() |
3767 | - | --shell.Velocity =v * 2 |
3767 | + | local zrarm=zee:clone() |
3768 | - | --shell.BrickColor = BrickColor.new(colors[math.random(1, #colors)]) |
3768 | + | if zlarm~=nil then |
3769 | - | --shell.Shape = 0 |
3769 | + | |
3770 | - | --shell.BottomSurface = 0 |
3770 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
3771 | - | --shell.TopSurface = 0 |
3771 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
3772 | - | --shell.Name = "Cartridge" |
3772 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
3773 | - | --shell.Elasticity = 0 |
3773 | + | zlarm.Parent=h.Parent |
3774 | - | --shell.CanCollide = false |
3774 | + | zrarm.Parent=h.Parent |
3775 | - | --shell.Friction = .3 |
3775 | + | zlarm:makeJoints() |
3776 | zrarm:makeJoints() | |
3777 | - | --local new_mesh = script.Parent.Mesh2:clone() |
3777 | + | zlarm.Anchored=false |
3778 | - | --new_mesh.Parent = shell |
3778 | + | zrarm.Anchored=false |
3779 | wait(0.1) | |
3780 | - | --local new_script = script.Parent.BrickCleanup2:clone() |
3780 | + | h.Parent.Head.Color=zee.Color |
3781 | - | --new_script.Disabled = false |
3781 | + | else print("no zee"); return end |
3782 | - | --new_script.Parent = shell |
3782 | + | end |
3783 | wait(1) | |
3784 | - | --shell.Parent = game.Workspace |
3784 | + | cantouch=1 |
3785 | end | |
3786 | - | end |
3786 | + | end |
3787 | end | |
3788 | end | |
3789 | end | |
3790 | ||
3791 | script.Parent.Touched:connect(onTouched) | |
3792 | end)) | |
3793 | - | Tool.Enabled = true |
3793 | + | Part213.Name = "zarm" |
3794 | Part213.Parent = Model203 | |
3795 | - | function onActivated() |
3795 | + | Part213.CFrame = CFrame.new(188.091461, 5.09995508, 227.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
3796 | Part213.Orientation = Vector3.new(0, 180, 0) | |
3797 | Part213.Position = Vector3.new(188.091461, 5.09995508, 227.98645) | |
3798 | Part213.Rotation = Vector3.new(-180, 0, -180) | |
3799 | - | if not Tool.Enabled then |
3799 | + | Part213.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3800 | Part213.Size = Vector3.new(2, 1, 1) | |
3801 | - | return |
3801 | + | Part213.BottomSurface = Enum.SurfaceType.Smooth |
3802 | Part213.BrickColor = BrickColor.new("Medium green") | |
3803 | Part213.TopSurface = Enum.SurfaceType.Smooth | |
3804 | Part213.brickColor = BrickColor.new("Medium green") | |
3805 | Part213.FormFactor = Enum.FormFactor.Symmetric | |
3806 | Part213.formFactor = Enum.FormFactor.Symmetric | |
3807 | - | Tool.Enabled = false |
3807 | + | Script214.Parent = Part213 |
3808 | table.insert(cors,sandbox(Script214,function() | |
3809 | - | local character = Tool.Parent; |
3809 | + | wait(1) |
3810 | owner=script.Parent.Parent.Name | |
3811 | - | local humanoid = character.Humanoid |
3811 | + | |
3812 | function onTouched(part) | |
3813 | - | if humanoid == nil then |
3813 | + | if part.Parent ~= nil then |
3814 | local h = part.Parent:findFirstChild("Humanoid") | |
3815 | - | print("Humanoid not found") |
3815 | + | if h~=nil then |
3816 | if cantouch~=0 then | |
3817 | - | return |
3817 | + | if h.Parent.Name~=owner then |
3818 | ||
3819 | if h.Parent:findFirstChild("zarm")~=nil then return end | |
3820 | ||
3821 | cantouch=0 | |
3822 | ||
3823 | - | local targetPos = humanoid.TargetPoint |
3823 | + | local larm=h.Parent:findFirstChild("Left Arm") |
3824 | local rarm=h.Parent:findFirstChild("Right Arm") | |
3825 | - | local lookAt = (targetPos - character.Head.Position).unit |
3825 | + | |
3826 | if larm~=nil then | |
3827 | larm:remove() | |
3828 | end | |
3829 | - | fire(lookAt) |
3829 | + | if rarm~=nil then |
3830 | rarm:remove() | |
3831 | end | |
3832 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
3833 | - | wait(2) |
3833 | + | if zee~=nil then |
3834 | local zlarm=zee:clone() | |
3835 | local zrarm=zee:clone() | |
3836 | if zlarm~=nil then | |
3837 | - | Tool.Enabled = true |
3837 | + | |
3838 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
3839 | - | script.Parent.Activated:connect(onActivated) |
3839 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
3840 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
3841 | zlarm.Parent=h.Parent | |
3842 | zrarm.Parent=h.Parent | |
3843 | zlarm:makeJoints() | |
3844 | zrarm:makeJoints() | |
3845 | - | Script295.Name = "Paintball" |
3845 | + | zlarm.Anchored=false |
3846 | - | Script295.Parent = Tool281 |
3846 | + | zrarm.Anchored=false |
3847 | - | table.insert(cors,sandbox(Script295,function() |
3847 | + | wait(0.1) |
3848 | - | function onTouched(hit) |
3848 | + | h.Parent.Head.Color=zee.Color |
3849 | - | local human = hit.Parent:findFirstChild("Humanoid") |
3849 | + | else print("no zee"); return end |
3850 | - | if (human ~= nil) then |
3850 | + | end |
3851 | - | human.Health = human.Health - 75 |
3851 | + | wait(1) |
3852 | - | end |
3852 | + | cantouch=1 |
3853 | end | |
3854 | end | |
3855 | end | |
3856 | - | Script296.Name = "Two-Hands" |
3856 | + | |
3857 | - | Script296.Parent = Tool281 |
3857 | + | |
3858 | - | table.insert(cors,sandbox(Script296,function() |
3858 | + | |
3859 | - | Tool = script.Parent; |
3859 | + | |
3860 | - | local arms = nil |
3860 | + | |
3861 | - | local torso = nil |
3861 | + | ObjectValue215.Name = "IsNZ" |
3862 | - | local welds = {} |
3862 | + | ObjectValue215.Parent = Model203 |
3863 | IntValue216.Name = "Mode" | |
3864 | - | function Equip(mouse) |
3864 | + | IntValue216.Parent = Model203 |
3865 | - | wait(0.01) |
3865 | + | Script217.Parent = Model203 |
3866 | - | arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")} |
3866 | + | table.insert(cors,sandbox(Script217,function() |
3867 | - | torso = Tool.Parent:FindFirstChild("Torso") |
3867 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
3868 | - | if arms ~= nil and torso ~= nil then |
3868 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
3869 | - | local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")} |
3869 | + | |
3870 | - | if sh ~= nil then |
3870 | + | function findNearestTorso(pos) |
3871 | - | local yes = true |
3871 | + | local list = game.Workspace:children() |
3872 | - | if yes then |
3872 | + | local torso = nil |
3873 | - | yes = false |
3873 | + | local dist = 1000 |
3874 | - | sh[1].Part1 = nil |
3874 | + | local temp = nil |
3875 | - | sh[2].Part1 = nil |
3875 | + | local human = nil |
3876 | - | local weld1 = Instance.new("Weld") |
3876 | + | local temp2 = nil |
3877 | - | weld1.Part0 = torso |
3877 | + | for x = 1, #list do |
3878 | - | weld1.Parent = torso |
3878 | + | temp2 = list[x] |
3879 | - | weld1.Part1 = arms[1] |
3879 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
3880 | - | weld1.C1 = CFrame.new(-0.4, 1.3, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90)) --(-0.249, 1.35, 0.6) |
3880 | + | temp = temp2:findFirstChild("Right Arm") |
3881 | - | welds[1] = weld1 |
3881 | + | human = temp2:findFirstChild("Humanoid") |
3882 | - | local weld2 = Instance.new("Weld") |
3882 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
3883 | - | weld2.Part0 = torso |
3883 | + | if (temp.Position - pos).magnitude < dist then |
3884 | - | weld2.Parent = torso |
3884 | + | torso = temp |
3885 | - | weld2.Part1 = arms[2] |
3885 | + | dist = (temp.Position - pos).magnitude |
3886 | - | weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0) |
3886 | + | end |
3887 | - | welds[2] = weld2 |
3887 | + | |
3888 | end | |
3889 | - | else |
3889 | + | |
3890 | - | print("sh") |
3890 | + | return torso |
3891 | end | |
3892 | - | else |
3892 | + | |
3893 | - | print("arms") |
3893 | + | |
3894 | ||
3895 | ||
3896 | while true do | |
3897 | - | function Unequip(mouse) |
3897 | + | wait(math.random(1,5)) |
3898 | - | if arms ~= nil and torso ~= nil then |
3898 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
3899 | - | local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")} |
3899 | + | if target ~= nil then |
3900 | - | if sh ~= nil then |
3900 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
3901 | - | local yes = true |
3901 | + | |
3902 | - | if yes then |
3902 | + | |
3903 | - | yes = false |
3903 | + | |
3904 | - | sh[1].Part1 = arms[1] |
3904 | + | |
3905 | - | sh[2].Part1 = arms[2] |
3905 | + | |
3906 | - | welds[1].Parent = nil |
3906 | + | Script218.Name = "Health" |
3907 | - | welds[2].Parent = nil |
3907 | + | Script218.Parent = Model203 |
3908 | table.insert(cors,sandbox(Script218,function() | |
3909 | - | else |
3909 | + | function waitForChild(parent, childName) |
3910 | - | print("sh") |
3910 | + | while true do |
3911 | local child = parent:findFirstChild(childName) | |
3912 | - | else |
3912 | + | if child then |
3913 | - | print("arms") |
3913 | + | |
3914 | end | |
3915 | parent.ChildAdded:wait() | |
3916 | - | Tool.Equipped:connect(Equip) |
3916 | + | |
3917 | - | Tool.Unequipped:connect(Unequip) |
3917 | + | |
3918 | ||
3919 | -- declarations | |
3920 | - | LocalScript297.Name = "BackGun" |
3920 | + | |
3921 | - | LocalScript297.Parent = Tool281 |
3921 | + | local Figure = script.Parent |
3922 | - | table.insert(cors,sandbox(LocalScript297,function() |
3922 | + | local Head = waitForChild(Figure, "Head") |
3923 | - | --made by alextomcool!!!---Edited by Sparttan. |
3923 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
3924 | - | --to use: put in type of gun: barrel point left, barrel point right or bull-pup(main hande is in the middle of the gun) |
3924 | + | Humanoid.Health=500 |
3925 | - | --step 2: put in what type of wepoan it is: assult rifle or pistol(there will be more) |
3925 | + | -- regeneration |
3926 | - | --to do list: make it easyer to modife how it weld's. |
3926 | + | |
3927 | - | guntype = 1--1 is assult rifle, 2 is bullpup, 3 is pistol, 4 is knife |
3927 | + | local s = wait(4) |
3928 | - | weldmode = 3--1 is barrel point upper-left, 2 is barrel pointing upper-right, 3 is barrel point lower-left and 4 is barrel point lower-right |
3928 | + | local health = Humanoid.Health |
3929 | - | -------(note: if it is pistol or knife then 1 is on right leg, 2 is on left leg, 3 is in the back of your pants and 4 is in the front of your pants) |
3929 | + | if health > 0 and health < Humanoid.MaxHealth then |
3930 | - | model = nil--gun model, that is |
3930 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
3931 | - | distance = 0.75--this is the distance between the part(torso/leg) and the gun. DON'T MAKE negitive |
3931 | + | if health * 1.05 < Humanoid.MaxHealth then |
3932 | - | rotation = 45--this is the turning in degrees. |
3932 | + | Humanoid.Health = health |
3933 | - | --this area is mode more for someone who's already good at gun's. please do not get mad at me if you don't understand what's under here |
3933 | + | else |
3934 | - | y = 0--this is what's added to the current y value. positive number's make it go down. negative make's it go up |
3934 | + | Humanoid.Health = Humanoid.MaxHealth |
3935 | - | x = 0--this is what's added to the x value(it's really the z value but it look's like the x value when on your back). positive number's make it go left. negative make's it go right |
3935 | + | |
3936 | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3936 | + | |
3937 | - | --I suggest not doing anything else under here. All you should have to change is the weldmode and guntype. |
3937 | + | |
3938 | - | --guntype 1 and weldmode 1 is for assault. guntype 3 and weldmode 1 is pistol position. |
3938 | + | |
3939 | - | --Those are what I have done so far so give me time so I can edit them into the correct position. |
3939 | + | |
3940 | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3940 | + | Script219.Name = "Respawn" |
3941 | - | parts = {} |
3941 | + | Script219.Parent = Model203 |
3942 | - | local n = 1 |
3942 | + | table.insert(cors,sandbox(Script219,function() |
3943 | - | --can i have my |
3943 | + | name="Humanoid" |
3944 | - | function on(mouse) |
3944 | + | |
3945 | - | if model == nil then |
3945 | + | robo=script.Parent:clone() |
3946 | - | n = 1 |
3946 | + | |
3947 | - | local m = Instance.new("Model") |
3947 | + | |
3948 | - | local all = script.Parent:GetChildren() |
3948 | + | wait(1) |
3949 | - | for i = 1, #all do |
3949 | + | if script.Parent.Humanoid.Health<1 then |
3950 | - | if all[i].className == "Part" then |
3950 | + | robot=robo:clone() |
3951 | - | parts[n] = all[i].Transparency |
3951 | + | robot.Parent=script.Parent.Parent |
3952 | - | local brick = all[i]:clone() |
3952 | + | robot:makeJoints() |
3953 | - | brick.Parent = m |
3953 | + | script.Parent:remove() |
3954 | - | n = n +1 |
3954 | + | |
3955 | end | |
3956 | ||
3957 | - | wait() |
3957 | + | |
3958 | - | if model == nil then |
3958 | + | |
3959 | - | local weld = script:FindFirstChild("Weld2") |
3959 | + | |
3960 | - | if weld ~= nil then |
3960 | + | |
3961 | - | local new = weld:clone() |
3961 | + | Part220.Name = "Spawn Location" |
3962 | - | new.Disabled = false |
3962 | + | Part220.Parent = Model202 |
3963 | - | new.Parent = m |
3963 | + | Part220.CFrame = CFrame.new(188.113556, 0.603015006, 229.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
3964 | - | m.Name = script.Parent.Name |
3964 | + | Part220.Orientation = Vector3.new(0, 180, 0) |
3965 | - | m.Parent = script.Parent.Parent |
3965 | + | Part220.Position = Vector3.new(188.113556, 0.603015006, 229.491455) |
3966 | - | model = m |
3966 | + | Part220.Rotation = Vector3.new(-180, 0, -180) |
3967 | - | local handle = model:FindFirstChild("Handle") |
3967 | + | Part220.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3968 | - | if handle ~= nil then |
3968 | + | Part220.Size = Vector3.new(6, 1.20000005, 6) |
3969 | - | -------------------------------------------------------------------------------- |
3969 | + | Part220.BottomSurface = Enum.SurfaceType.Weld |
3970 | - | -------------------------------------------------------------------------------- |
3970 | + | Part220.BrickColor = BrickColor.new("Medium green") |
3971 | - | -------------------------------------------------------------------------------- |
3971 | + | Part220.TopSurface = Enum.SurfaceType.Smooth |
3972 | - | -------------------------------------------------------------------------------- |
3972 | + | Part220.brickColor = BrickColor.new("Medium green") |
3973 | - | -------------------------------------------------------------------------------- |
3973 | + | Decal221.Parent = Part220 |
3974 | - | if guntype == 1 then |
3974 | + | Decal221.Texture = "http://www.roblox.com/asset/?id=34541722" |
3975 | - | local torso = model.Parent:FindFirstChild("Torso") |
3975 | + | Decal221.Face = Enum.NormalId.Top |
3976 | - | if torso ~= nil then |
3976 | + | Model222.Parent = Model201 |
3977 | - | if weldmode == 1 then--barrel pointing upper-right |
3977 | + | Model223.Name = "Zombie" |
3978 | - | local w = Instance.new("Weld") |
3978 | + | Model223.Parent = Model222 |
3979 | - | w.Part0 = torso |
3979 | + | Model223.PrimaryPart = Part224 |
3980 | - | w.Parent = w.Part0 |
3980 | + | Part224.Name = "Head" |
3981 | - | w.Part1 = handle |
3981 | + | Part224.Parent = Model223 |
3982 | - | w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2), 0) |
3982 | + | Part224.CFrame = CFrame.new(188.591461, 6.09995508, 223.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
3983 | - | elseif weldmode == 2 then--barrel pointing upper-left |
3983 | + | Part224.Orientation = Vector3.new(0, 90, 0) |
3984 | - | local w = Instance.new("Weld") |
3984 | + | Part224.Position = Vector3.new(188.591461, 6.09995508, 223.48645) |
3985 | - | w.Part0 = torso |
3985 | + | Part224.Rotation = Vector3.new(0, 90, 0) |
3986 | - | w.Parent = w.Part0 |
3986 | + | Part224.Color = Color3.new(0.631373, 0.768628, 0.54902) |
3987 | - | w.Part1 = handle |
3987 | + | Part224.Size = Vector3.new(2, 1, 1) |
3988 | - | w.C1 = CFrame.new(distance, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2 ) *-1, 0) |
3988 | + | Part224.BrickColor = BrickColor.new("Medium green") |
3989 | - | elseif weldmode == 3 then--barrel pointing upside-right |
3989 | + | Part224.TopSurface = Enum.SurfaceType.Smooth |
3990 | - | local w = Instance.new("Weld") |
3990 | + | Part224.brickColor = BrickColor.new("Medium green") |
3991 | - | w.Part0 = torso |
3991 | + | Part224.FormFactor = Enum.FormFactor.Symmetric |
3992 | - | w.Parent = w.Part0 |
3992 | + | Part224.formFactor = Enum.FormFactor.Symmetric |
3993 | - | w.Part1 = handle |
3993 | + | SpecialMesh225.Parent = Part224 |
3994 | - | w.C1 = CFrame.new(distance *-1, -0.1+y, 0.2 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2), -1.5) |
3994 | + | SpecialMesh225.Scale = Vector3.new(1.25, 1.25, 1.25) |
3995 | - | elseif weldmode == 4 then--barrel pointing upside-left |
3995 | + | Decal226.Name = "face" |
3996 | - | local w = Instance.new("Weld") |
3996 | + | Decal226.Parent = Part224 |
3997 | - | w.Part0 = torso |
3997 | + | Part227.Name = "Torso" |
3998 | - | w.Parent = w.Part0 |
3998 | + | Part227.Parent = Model223 |
3999 | - | w.Part1 = handle |
3999 | + | Part227.CFrame = CFrame.new(188.591461, 4.59995508, 223.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
4000 | - | w.C1 = CFrame.new(distance, 0.25+y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2 +rotation) *-1.1, 1) |
4000 | + | Part227.Orientation = Vector3.new(0, 90, 0) |
4001 | Part227.Position = Vector3.new(188.591461, 4.59995508, 223.48645) | |
4002 | Part227.Rotation = Vector3.new(0, 90, 0) | |
4003 | - | -------------------------------------------------------------------------------- |
4003 | + | Part227.Color = Color3.new(0.411765, 0.25098, 0.156863) |
4004 | - | -------------------------------------------------------------------------------- |
4004 | + | Part227.Size = Vector3.new(2, 2, 1) |
4005 | - | -------------------------------------------------------------------------------- |
4005 | + | Part227.BrickColor = BrickColor.new("Reddish brown") |
4006 | - | -------------------------------------------------------------------------------- |
4006 | + | Part227.LeftParamA = 0 |
4007 | - | -------------------------------------------------------------------------------- |
4007 | + | Part227.LeftParamB = 0 |
4008 | - | elseif guntype == 2 then--BullPup |
4008 | + | Part227.LeftSurface = Enum.SurfaceType.Weld |
4009 | - | local torso = model.Parent:FindFirstChild("Torso") |
4009 | + | Part227.RightParamA = 0 |
4010 | - | if torso ~= nil then |
4010 | + | Part227.RightParamB = 0 |
4011 | - | if weldmode == 1 then--barrel pointing upper-right |
4011 | + | Part227.RightSurface = Enum.SurfaceType.Weld |
4012 | - | local w = Instance.new("Weld") |
4012 | + | Part227.brickColor = BrickColor.new("Reddish brown") |
4013 | - | w.Part0 = torso |
4013 | + | Part227.FormFactor = Enum.FormFactor.Symmetric |
4014 | - | w.Parent = w.Part0 |
4014 | + | Part227.formFactor = Enum.FormFactor.Symmetric |
4015 | - | w.Part1 = handle |
4015 | + | Part228.Name = "Left Leg" |
4016 | - | w.C1 = CFrame.new(distance *-1, 0.25+y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2, 0) |
4016 | + | Part228.Parent = Model223 |
4017 | - | elseif weldmode == 2 then--barrel pointing upper-left |
4017 | + | Part228.CFrame = CFrame.new(188.591461, 2.59995508, 223.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
4018 | - | local w = Instance.new("Weld") |
4018 | + | Part228.Orientation = Vector3.new(0, 90, 0) |
4019 | - | w.Part0 = torso |
4019 | + | Part228.Position = Vector3.new(188.591461, 2.59995508, 223.98645) |
4020 | - | w.Parent = w.Part0 |
4020 | + | Part228.Rotation = Vector3.new(0, 90, 0) |
4021 | - | w.Part1 = handle |
4021 | + | Part228.Color = Color3.new(0.411765, 0.25098, 0.156863) |
4022 | - | w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2 *-1, 0) |
4022 | + | Part228.Size = Vector3.new(1, 2, 1) |
4023 | - | elseif weldmode == 3 then--barrel pointing upside-right |
4023 | + | Part228.BottomSurface = Enum.SurfaceType.Smooth |
4024 | - | local w = Instance.new("Weld") |
4024 | + | Part228.BrickColor = BrickColor.new("Reddish brown") |
4025 | - | w.Part0 = torso |
4025 | + | Part228.CanCollide = false |
4026 | - | w.Parent = w.Part0 |
4026 | + | Part228.brickColor = BrickColor.new("Reddish brown") |
4027 | - | w.Part1 = handle |
4027 | + | Part228.FormFactor = Enum.FormFactor.Symmetric |
4028 | - | w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2, 0) |
4028 | + | Part228.formFactor = Enum.FormFactor.Symmetric |
4029 | - | elseif weldmode == 4 then--barrel pointing upside-left |
4029 | + | Part229.Name = "Right Leg" |
4030 | - | local w = Instance.new("Weld") |
4030 | + | Part229.Parent = Model223 |
4031 | - | w.Part0 = torso |
4031 | + | Part229.CFrame = CFrame.new(188.591461, 2.59995508, 222.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
4032 | - | w.Parent = w.Part0 |
4032 | + | Part229.Orientation = Vector3.new(0, 90, 0) |
4033 | - | w.Part1 = handle |
4033 | + | Part229.Position = Vector3.new(188.591461, 2.59995508, 222.98645) |
4034 | - | w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2 *-1, 0) |
4034 | + | Part229.Rotation = Vector3.new(0, 90, 0) |
4035 | Part229.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
4036 | Part229.Size = Vector3.new(1, 2, 1) | |
4037 | - | -------------------------------------------------------------------------------- |
4037 | + | Part229.BottomSurface = Enum.SurfaceType.Smooth |
4038 | - | -------------------------------------------------------------------------------- |
4038 | + | Part229.BrickColor = BrickColor.new("Reddish brown") |
4039 | - | -------------------------------------------------------------------------------- |
4039 | + | Part229.CanCollide = false |
4040 | - | -------------------------------------------------------------------------------- |
4040 | + | Part229.brickColor = BrickColor.new("Reddish brown") |
4041 | - | -------------------------------------------------------------------------------- |
4041 | + | Part229.FormFactor = Enum.FormFactor.Symmetric |
4042 | - | elseif guntype == 3 then--pistol |
4042 | + | Part229.formFactor = Enum.FormFactor.Symmetric |
4043 | - | local lleg = model.Parent:FindFirstChild("Left Leg") |
4043 | + | Humanoid230.Parent = Model223 |
4044 | - | local rleg = model.Parent:FindFirstChild("Right Leg") |
4044 | + | Humanoid230.LeftLeg = Part228 |
4045 | - | if lleg ~= nil and rleg ~= nil then |
4045 | + | Humanoid230.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
4046 | - | if weldmode == 1 then--pistol on right leg |
4046 | + | Humanoid230.RightLeg = Part229 |
4047 | - | local w = Instance.new("Weld") |
4047 | + | Humanoid230.Torso = Part227 |
4048 | - | w.Part0 = rleg |
4048 | + | Part231.Name = "zarm" |
4049 | - | w.Parent = w.Part0 |
4049 | + | Part231.Parent = Model223 |
4050 | - | w.Part1 = handle |
4050 | + | Part231.CFrame = CFrame.new(188.091461, 5.09995508, 224.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
4051 | - | w.C1 = CFrame.new(distance *-1, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0) |
4051 | + | Part231.Orientation = Vector3.new(0, 180, 0) |
4052 | - | elseif weldmode == 2 then--pistol on left leg |
4052 | + | Part231.Position = Vector3.new(188.091461, 5.09995508, 224.98645) |
4053 | - | local w = Instance.new("Weld") |
4053 | + | Part231.Rotation = Vector3.new(-180, 0, -180) |
4054 | - | w.Part0 = lleg |
4054 | + | Part231.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4055 | - | w.Parent = w.Part0 |
4055 | + | Part231.Size = Vector3.new(2, 1, 1) |
4056 | - | w.Part1 = handle |
4056 | + | Part231.BottomSurface = Enum.SurfaceType.Smooth |
4057 | - | w.C1 = CFrame.new(distance, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0) |
4057 | + | Part231.BrickColor = BrickColor.new("Medium green") |
4058 | - | elseif weldmode == 3 then--knife in pant's back, gangsta like |
4058 | + | Part231.TopSurface = Enum.SurfaceType.Smooth |
4059 | - | local w = Instance.new("Weld") |
4059 | + | Part231.brickColor = BrickColor.new("Medium green") |
4060 | - | w.Part0 = torso |
4060 | + | Part231.FormFactor = Enum.FormFactor.Symmetric |
4061 | - | w.Parent = w.Part0 |
4061 | + | Part231.formFactor = Enum.FormFactor.Symmetric |
4062 | - | w.Part1 = handle |
4062 | + | Script232.Parent = Part231 |
4063 | - | w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2, 0) |
4063 | + | table.insert(cors,sandbox(Script232,function() |
4064 | - | elseif weldmode == 4 then--knife in pant's front, gangsta like |
4064 | + | wait(1) |
4065 | - | local w = Instance.new("Weld") |
4065 | + | owner=script.Parent.Parent.Name |
4066 | - | w.Part0 = torso |
4066 | + | |
4067 | - | w.Parent = w.Part0 |
4067 | + | function onTouched(part) |
4068 | - | w.Part1 = handle |
4068 | + | if part.Parent ~= nil then |
4069 | - | w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2 *-1, 0) |
4069 | + | local h = part.Parent:findFirstChild("Humanoid") |
4070 | if h~=nil then | |
4071 | if cantouch~=0 then | |
4072 | - | -------------------------------------------------------------------------------- |
4072 | + | if h.Parent.Name~=owner then |
4073 | - | -------------------------------------------------------------------------------- |
4073 | + | |
4074 | - | -------------------------------------------------------------------------------- |
4074 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
4075 | - | -------------------------------------------------------------------------------- |
4075 | + | |
4076 | - | -------------------------------------------------------------------------------- |
4076 | + | cantouch=0 |
4077 | - | elseif guntype == 4 then--knife |
4077 | + | |
4078 | - | local lleg = model.Parent:FindFirstChild("Left Leg") |
4078 | + | local larm=h.Parent:findFirstChild("Left Arm") |
4079 | - | local rleg = model.Parent:FindFirstChild("Right Leg") |
4079 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
4080 | - | local torso = model.Parent:FindFirstChild("Torso") |
4080 | + | |
4081 | - | if lleg ~= nil and rleg ~= nil and torso ~= nil then |
4081 | + | if larm~=nil then |
4082 | - | if weldmode == 1 then--pistol on right leg |
4082 | + | larm:remove() |
4083 | - | local w = Instance.new("Weld") |
4083 | + | end |
4084 | - | w.Part0 = rleg |
4084 | + | if rarm~=nil then |
4085 | - | w.Parent = w.Part0 |
4085 | + | rarm:remove() |
4086 | - | w.Part1 = handle |
4086 | + | end |
4087 | - | w.C1 = CFrame.new(distance *-1, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0) |
4087 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
4088 | - | elseif weldmode == 2 then--pistol on left leg |
4088 | + | if zee~=nil then |
4089 | - | local w = Instance.new("Weld") |
4089 | + | local zlarm=zee:clone() |
4090 | - | w.Part0 = lleg |
4090 | + | local zrarm=zee:clone() |
4091 | - | w.Parent = w.Part0 |
4091 | + | if zlarm~=nil then |
4092 | - | w.Part1 = handle |
4092 | + | |
4093 | - | w.C1 = CFrame.new(distance, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0) |
4093 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
4094 | - | elseif weldmode == 3 then--knife in pant's back, gangsta like |
4094 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
4095 | - | local w = Instance.new("Weld") |
4095 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
4096 | - | w.Part0 = torso |
4096 | + | zlarm.Parent=h.Parent |
4097 | - | w.Parent = w.Part0 |
4097 | + | zrarm.Parent=h.Parent |
4098 | - | w.Part1 = handle |
4098 | + | zlarm:makeJoints() |
4099 | - | w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2, 0) |
4099 | + | zrarm:makeJoints() |
4100 | - | elseif weldmode == 4 then--knife in pant's front, gangsta like |
4100 | + | zlarm.Anchored=false |
4101 | - | local w = Instance.new("Weld") |
4101 | + | zrarm.Anchored=false |
4102 | - | w.Part0 = torso |
4102 | + | wait(0.1) |
4103 | - | w.Parent = w.Part0 |
4103 | + | h.Parent.Head.Color=zee.Color |
4104 | - | w.Part1 = handle |
4104 | + | else print("no zee"); return end |
4105 | - | w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2 *-1, 0) |
4105 | + | end |
4106 | wait(1) | |
4107 | cantouch=1 | |
4108 | end | |
4109 | end | |
4110 | end | |
4111 | end | |
4112 | end | |
4113 | - | -------------------------------------------------------------------------------- |
4113 | + | |
4114 | - | -------------------------------------------------------------------------------- |
4114 | + | |
4115 | - | -------------------------------------------------------------------------------- |
4115 | + | |
4116 | - | -------------------------------------------------------------------------------- |
4116 | + | Part233.Name = "zarm" |
4117 | - | -------------------------------------------------------------------------------- |
4117 | + | Part233.Parent = Model223 |
4118 | - | if model ~= nil then |
4118 | + | Part233.CFrame = CFrame.new(188.091461, 5.09995508, 221.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
4119 | - | n = 1 |
4119 | + | Part233.Orientation = Vector3.new(0, 180, 0) |
4120 | - | local all = model:GetChildren() |
4120 | + | Part233.Position = Vector3.new(188.091461, 5.09995508, 221.98645) |
4121 | - | for i = 1, #all do |
4121 | + | Part233.Rotation = Vector3.new(-180, 0, -180) |
4122 | - | if all[i].className == "Part" then |
4122 | + | Part233.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4123 | - | all[i].Transparency = 1 |
4123 | + | Part233.Size = Vector3.new(2, 1, 1) |
4124 | Part233.BottomSurface = Enum.SurfaceType.Smooth | |
4125 | Part233.BrickColor = BrickColor.new("Medium green") | |
4126 | Part233.TopSurface = Enum.SurfaceType.Smooth | |
4127 | Part233.brickColor = BrickColor.new("Medium green") | |
4128 | - | --check |
4128 | + | Part233.FormFactor = Enum.FormFactor.Symmetric |
4129 | - | function off(mouse) |
4129 | + | Part233.formFactor = Enum.FormFactor.Symmetric |
4130 | - | if model ~= nil then |
4130 | + | Script234.Parent = Part233 |
4131 | - | n = 1 |
4131 | + | table.insert(cors,sandbox(Script234,function() |
4132 | - | local all = model:GetChildren() |
4132 | + | wait(1) |
4133 | - | for i = 1, #all do |
4133 | + | owner=script.Parent.Parent.Name |
4134 | - | if all[i].className == "Part" then |
4134 | + | |
4135 | - | all[i].Transparency = parts[n] |
4135 | + | function onTouched(part) |
4136 | - | local Do = true |
4136 | + | if part.Parent ~= nil then |
4137 | - | if Do then |
4137 | + | local h = part.Parent:findFirstChild("Humanoid") |
4138 | - | Do = false--dude! |
4138 | + | if h~=nil then |
4139 | - | n = n +1 |
4139 | + | if cantouch~=0 then |
4140 | if h.Parent.Name~=owner then | |
4141 | ||
4142 | if h.Parent:findFirstChild("zarm")~=nil then return end | |
4143 | ||
4144 | cantouch=0 | |
4145 | - | --please? |
4145 | + | |
4146 | - | script.Parent.Equipped:connect(on) |
4146 | + | local larm=h.Parent:findFirstChild("Left Arm") |
4147 | - | script.Parent.Unequipped:connect(off) |
4147 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
4148 | ||
4149 | - | LocalScript298.Name = "Weld2" |
4149 | + | if larm~=nil then |
4150 | - | LocalScript298.Parent = LocalScript297 |
4150 | + | larm:remove() |
4151 | - | table.insert(cors,sandbox(LocalScript298,function() |
4151 | + | end |
4152 | - | function Weld(x,y) |
4152 | + | if rarm~=nil then |
4153 | - | local W = Instance.new("Weld") |
4153 | + | rarm:remove() |
4154 | - | W.Part0 = x |
4154 | + | end |
4155 | - | W.Part1 = y |
4155 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
4156 | - | local CJ = CFrame.new(x.Position) |
4156 | + | if zee~=nil then |
4157 | - | local C0 = x.CFrame:inverse()*CJ |
4157 | + | local zlarm=zee:clone() |
4158 | - | local C1 = y.CFrame:inverse()*CJ |
4158 | + | local zrarm=zee:clone() |
4159 | - | W.C0 = C0 |
4159 | + | if zlarm~=nil then |
4160 | - | W.C1 = C1 |
4160 | + | |
4161 | - | W.Parent = x |
4161 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
4162 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
4163 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
4164 | - | function Get(A) |
4164 | + | zlarm.Parent=h.Parent |
4165 | - | if A.className == "Part" then |
4165 | + | zrarm.Parent=h.Parent |
4166 | - | Weld(script.Parent.Handle, A) |
4166 | + | zlarm:makeJoints() |
4167 | - | A.Anchored = false |
4167 | + | zrarm:makeJoints() |
4168 | - | else |
4168 | + | zlarm.Anchored=false |
4169 | - | local C = A:GetChildren() |
4169 | + | zrarm.Anchored=false |
4170 | - | for i=1, #C do |
4170 | + | wait(0.1) |
4171 | - | Get(C[i]) |
4171 | + | h.Parent.Head.Color=zee.Color |
4172 | else print("no zee"); return end | |
4173 | end | |
4174 | wait(1) | |
4175 | - | local yes = true |
4175 | + | cantouch=1 |
4176 | - | if yes then |
4176 | + | end |
4177 | - | yes = false |
4177 | + | end |
4178 | - | Get(script.Parent) |
4178 | + | |
4179 | end | |
4180 | - | function onDied() |
4180 | + | |
4181 | - | script.Parent.Parent = nil |
4181 | + | |
4182 | script.Parent.Touched:connect(onTouched) | |
4183 | - | h = script.Parent.Parent:FindFirstChild("Humanoid") |
4183 | + | |
4184 | - | if h ~= nil then |
4184 | + | ObjectValue235.Name = "IsNZ" |
4185 | - | h.Died:connect(onDied) |
4185 | + | ObjectValue235.Parent = Model223 |
4186 | IntValue236.Name = "Mode" | |
4187 | IntValue236.Parent = Model223 | |
4188 | Script237.Parent = Model223 | |
4189 | - | LocalScript298.Disabled = true |
4189 | + | table.insert(cors,sandbox(Script237,function() |
4190 | - | Script299.Name = "Reload" |
4190 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
4191 | - | Script299.Parent = Tool281 |
4191 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
4192 | ||
4193 | - | print("Ammo Clip Loaded") --Replace every "30" with the number of bullets you want in a clip. |
4193 | + | function findNearestTorso(pos) |
4194 | local list = game.Workspace:children() | |
4195 | local torso = nil | |
4196 | - | if (script.Parent.Value == 0) and (script.Parent.Parent.Ammo.Value >= 5) then |
4196 | + | local dist = 1000 |
4197 | - | wait(3) |
4197 | + | local temp = nil |
4198 | - | script.Parent.Value = 5 |
4198 | + | local human = nil |
4199 | - | script.Parent.Parent.Ammo.Value = script.Parent.Parent.Ammo.Value - 5 |
4199 | + | local temp2 = nil |
4200 | for x = 1, #list do | |
4201 | - | if (script.Parent.Value == 0) and (script.Parent.Parent.Ammo.Value <= 5) then |
4201 | + | temp2 = list[x] |
4202 | - | wait(3) |
4202 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
4203 | - | script.Parent.Value = script.Parent.Parent.Ammo.Value |
4203 | + | temp = temp2:findFirstChild("Right Arm") |
4204 | - | script.Parent.Parent.Ammo.Value = 0 |
4204 | + | human = temp2:findFirstChild("Humanoid") |
4205 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
4206 | - | wait(0) |
4206 | + | if (temp.Position - pos).magnitude < dist then |
4207 | torso = temp | |
4208 | dist = (temp.Position - pos).magnitude | |
4209 | end | |
4210 | - | LocalScript300.Name = "AmmoScript" |
4210 | + | |
4211 | - | LocalScript300.Parent = Tool281 |
4211 | + | |
4212 | - | table.insert(cors,sandbox(LocalScript300,function() |
4212 | + | |
4213 | - | Tool = script.Parent |
4213 | + | return torso |
4214 | - | function equip() |
4214 | + | |
4215 | - | print("Equipped") |
4215 | + | |
4216 | - | if game.Players.LocalPlayer ~= nil then |
4216 | + | |
4217 | - | local m = Instance.new("Message") |
4217 | + | |
4218 | - | m.Parent = game.Players.LocalPlayer |
4218 | + | |
4219 | - | m.Name = "AmmoStats" |
4219 | + | |
4220 | - | while m ~= nil do |
4220 | + | wait(math.random(1,5)) |
4221 | - | wait(0.1) |
4221 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
4222 | - | m.Text = "Ammo: "..script.Ammo.Value.." Clip: "..script.Clip.Value |
4222 | + | if target ~= nil then |
4223 | script.Parent.Humanoid:MoveTo(target.Position, target) | |
4224 | end | |
4225 | ||
4226 | end | |
4227 | - | function unequip() |
4227 | + | |
4228 | - | print("Unequipped") |
4228 | + | |
4229 | - | if game.Players.LocalPlayer ~= nil then |
4229 | + | Script238.Name = "Health" |
4230 | - | print("localplayer found") |
4230 | + | Script238.Parent = Model223 |
4231 | - | local m = game.Players.LocalPlayer:FindFirstChild("AmmoStats") |
4231 | + | table.insert(cors,sandbox(Script238,function() |
4232 | - | if m ~= nil then |
4232 | + | function waitForChild(parent, childName) |
4233 | - | m:remove() |
4233 | + | while true do |
4234 | local child = parent:findFirstChild(childName) | |
4235 | if child then | |
4236 | return child | |
4237 | end | |
4238 | - | script.Parent.Equipped:connect(equip) |
4238 | + | parent.ChildAdded:wait() |
4239 | - | script.Parent.Unequipped:connect(unequip) |
4239 | + | |
4240 | end | |
4241 | ||
4242 | - | IntValue301.Name = "Ammo" |
4242 | + | -- declarations |
4243 | - | IntValue301.Parent = LocalScript300 |
4243 | + | |
4244 | - | IntValue301.Value = 2147483647 |
4244 | + | local Figure = script.Parent |
4245 | - | IntValue302.Name = "Clip" |
4245 | + | local Head = waitForChild(Figure, "Head") |
4246 | - | IntValue302.Parent = LocalScript300 |
4246 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
4247 | - | IntValue302.Value = 5 |
4247 | + | Humanoid.Health=500 |
4248 | - | Script303.Name = "Reload" |
4248 | + | -- regeneration |
4249 | - | Script303.Parent = IntValue302 |
4249 | + | |
4250 | - | table.insert(cors,sandbox(Script303,function() |
4250 | + | local s = wait(4) |
4251 | - | print("Ammo Clip Loaded") --Replace every "30" with the number of bullets you want in a clip. |
4251 | + | local health = Humanoid.Health |
4252 | if health > 0 and health < Humanoid.MaxHealth then | |
4253 | health = health + 0.08 * s * Humanoid.MaxHealth | |
4254 | - | if (script.Parent.Value == 0) and (script.Parent.Parent.Ammo.Value >= 5) then |
4254 | + | if health * 1.05 < Humanoid.MaxHealth then |
4255 | - | wait(3) |
4255 | + | Humanoid.Health = health |
4256 | - | script.Parent.Value = 5 |
4256 | + | else |
4257 | - | script.Parent.Parent.Ammo.Value = script.Parent.Parent.Ammo.Value - 5 |
4257 | + | Humanoid.Health = Humanoid.MaxHealth |
4258 | end | |
4259 | - | if (script.Parent.Value == 0) and (script.Parent.Parent.Ammo.Value <= 5) then |
4259 | + | |
4260 | - | wait(3) |
4260 | + | |
4261 | - | script.Parent.Value = script.Parent.Parent.Ammo.Value |
4261 | + | |
4262 | - | script.Parent.Parent.Ammo.Value = 0 |
4262 | + | |
4263 | Script239.Name = "Respawn" | |
4264 | - | wait(0) |
4264 | + | Script239.Parent = Model223 |
4265 | table.insert(cors,sandbox(Script239,function() | |
4266 | name="Humanoid" | |
4267 | ||
4268 | - | Vector3Value304.Name = "Zoom" |
4268 | + | robo=script.Parent:clone() |
4269 | - | Vector3Value304.Parent = Tool281 |
4269 | + | |
4270 | - | Vector3Value304.Value = Vector3.new(5, 5, 5) |
4270 | + | |
4271 | - | LocalScript305.Name = "Crouch" |
4271 | + | wait(1) |
4272 | - | LocalScript305.Parent = Tool281 |
4272 | + | if script.Parent.Humanoid.Health<1 then |
4273 | - | table.insert(cors,sandbox(LocalScript305,function() |
4273 | + | robot=robo:clone() |
4274 | - | on = 0 |
4274 | + | robot.Parent=script.Parent.Parent |
4275 | - | Tool = script.Parent |
4275 | + | robot:makeJoints() |
4276 | - | welds = {} |
4276 | + | script.Parent:remove() |
4277 | - | sh = {} |
4277 | + | |
4278 | - | arms = nil |
4278 | + | |
4279 | - | torso = nil |
4279 | + | |
4280 | - | f = nil |
4280 | + | |
4281 | - | function Crouch(ison) |
4281 | + | |
4282 | - | if arms == nil and torso == nil then |
4282 | + | |
4283 | - | arms = {Tool.Parent:FindFirstChild("Left Leg"), Tool.Parent:FindFirstChild("Right Leg")} |
4283 | + | |
4284 | - | torso = Tool.Parent:FindFirstChild("Torso") |
4284 | + | Part240.Name = "Spawn Location" |
4285 | Part240.Parent = Model222 | |
4286 | - | if arms ~= nil and torso ~= nil then |
4286 | + | Part240.CFrame = CFrame.new(188.091461, 0.600017011, 223.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
4287 | - | sh = {torso:FindFirstChild("Left Hip"), torso:FindFirstChild("Right Hip")} |
4287 | + | Part240.Orientation = Vector3.new(0, 180, 0) |
4288 | - | if sh ~= nil then |
4288 | + | Part240.Position = Vector3.new(188.091461, 0.600017011, 223.48645) |
4289 | - | local yes = true |
4289 | + | Part240.Rotation = Vector3.new(-180, 0, -180) |
4290 | - | if yes then |
4290 | + | Part240.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4291 | - | yes = false |
4291 | + | Part240.Size = Vector3.new(6, 1.20000005, 6) |
4292 | - | if ison == 1 then |
4292 | + | Part240.BottomSurface = Enum.SurfaceType.Weld |
4293 | - | sh[1].Part1 = nil |
4293 | + | Part240.BrickColor = BrickColor.new("Medium green") |
4294 | - | sh[2].Part1 = nil |
4294 | + | Part240.TopSurface = Enum.SurfaceType.Smooth |
4295 | - | local weld1 = Instance.new("Weld") |
4295 | + | Part240.brickColor = BrickColor.new("Medium green") |
4296 | - | weld1.Part0 = torso |
4296 | + | Decal241.Parent = Part240 |
4297 | - | weld1.Parent = torso |
4297 | + | Decal241.Texture = "http://www.roblox.com/asset/?id=34541722" |
4298 | - | weld1.Part1 = arms[1] |
4298 | + | Decal241.Face = Enum.NormalId.Top |
4299 | - | weld1.C1 = CFrame.new(-0.5, 0.75, 1) |
4299 | + | Model242.Parent = Model201 |
4300 | - | arms[1].Name = "LDave" |
4300 | + | Model243.Name = "Zombie" |
4301 | - | arms[1].CanCollide = true |
4301 | + | Model243.Parent = Model242 |
4302 | - | welds[1] = weld1 |
4302 | + | Model243.PrimaryPart = Part244 |
4303 | - | ------------------------------------------- |
4303 | + | Part244.Name = "Head" |
4304 | - | local weld2 = Instance.new("Weld") |
4304 | + | Part244.Parent = Model243 |
4305 | - | weld2.Part0 = torso |
4305 | + | Part244.CFrame = CFrame.new(188.591461, 6.09995508, 247.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
4306 | - | weld2.Parent = torso |
4306 | + | Part244.Orientation = Vector3.new(0, 90, 0) |
4307 | - | weld2.Part1 = arms[2] |
4307 | + | Part244.Position = Vector3.new(188.591461, 6.09995508, 247.48645) |
4308 | - | weld2.C1 = CFrame.new(0.5,0.495,1.25) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) |
4308 | + | Part244.Rotation = Vector3.new(0, 90, 0) |
4309 | - | arms[2].Name = "RDave" |
4309 | + | Part244.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4310 | - | arms[2].CanCollide = true |
4310 | + | Part244.Size = Vector3.new(2, 1, 1) |
4311 | - | welds[2] = weld2 |
4311 | + | Part244.BrickColor = BrickColor.new("Medium green") |
4312 | - | --------------------------------- |
4312 | + | Part244.TopSurface = Enum.SurfaceType.Smooth |
4313 | - | local force = Instance.new("BodyForce") |
4313 | + | Part244.brickColor = BrickColor.new("Medium green") |
4314 | - | force.Parent = torso |
4314 | + | Part244.FormFactor = Enum.FormFactor.Symmetric |
4315 | - | f = force |
4315 | + | Part244.formFactor = Enum.FormFactor.Symmetric |
4316 | - | wait(0.01) |
4316 | + | SpecialMesh245.Parent = Part244 |
4317 | - | elseif ison == 0 then |
4317 | + | SpecialMesh245.Scale = Vector3.new(1.25, 1.25, 1.25) |
4318 | - | if arms then |
4318 | + | Decal246.Name = "face" |
4319 | - | sh[1].Part1 = arms[1] |
4319 | + | Decal246.Parent = Part244 |
4320 | - | sh[2].Part1 = arms[2] |
4320 | + | Part247.Name = "Torso" |
4321 | - | f.Parent = nil |
4321 | + | Part247.Parent = Model243 |
4322 | - | arms[2].Name = "Right Leg" |
4322 | + | Part247.CFrame = CFrame.new(188.591461, 4.59995508, 247.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
4323 | - | arms[1].Name = "Left Leg" |
4323 | + | Part247.Orientation = Vector3.new(0, 90, 0) |
4324 | - | welds[1].Parent = nil |
4324 | + | Part247.Position = Vector3.new(188.591461, 4.59995508, 247.48645) |
4325 | - | welds[2].Parent = nil |
4325 | + | Part247.Rotation = Vector3.new(0, 90, 0) |
4326 | Part247.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
4327 | Part247.Size = Vector3.new(2, 2, 1) | |
4328 | - | -- |
4328 | + | Part247.BrickColor = BrickColor.new("Reddish brown") |
4329 | Part247.LeftParamA = 0 | |
4330 | - | else |
4330 | + | Part247.LeftParamB = 0 |
4331 | - | print("sh") |
4331 | + | Part247.LeftSurface = Enum.SurfaceType.Weld |
4332 | Part247.RightParamA = 0 | |
4333 | - | else |
4333 | + | Part247.RightParamB = 0 |
4334 | - | print("arms") |
4334 | + | Part247.RightSurface = Enum.SurfaceType.Weld |
4335 | Part247.brickColor = BrickColor.new("Reddish brown") | |
4336 | Part247.FormFactor = Enum.FormFactor.Symmetric | |
4337 | - | function Key(key) |
4337 | + | Part247.formFactor = Enum.FormFactor.Symmetric |
4338 | - | if key then |
4338 | + | Part248.Name = "Left Leg" |
4339 | - | key = string.lower(key) |
4339 | + | Part248.Parent = Model243 |
4340 | - | if (key=="c") then |
4340 | + | Part248.CFrame = CFrame.new(188.591461, 2.59995508, 247.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
4341 | - | if on == 1 then |
4341 | + | Part248.Orientation = Vector3.new(0, 90, 0) |
4342 | - | on = 0 |
4342 | + | Part248.Position = Vector3.new(188.591461, 2.59995508, 247.98645) |
4343 | - | elseif on == 0 then |
4343 | + | Part248.Rotation = Vector3.new(0, 90, 0) |
4344 | - | on = 1 |
4344 | + | Part248.Color = Color3.new(0.411765, 0.25098, 0.156863) |
4345 | Part248.Size = Vector3.new(1, 2, 1) | |
4346 | - | Crouch(on) |
4346 | + | Part248.BottomSurface = Enum.SurfaceType.Smooth |
4347 | Part248.BrickColor = BrickColor.new("Reddish brown") | |
4348 | Part248.CanCollide = false | |
4349 | Part248.brickColor = BrickColor.new("Reddish brown") | |
4350 | - | function Equip(mouse) |
4350 | + | Part248.FormFactor = Enum.FormFactor.Symmetric |
4351 | - | mouse.KeyDown:connect(Key) |
4351 | + | Part248.formFactor = Enum.FormFactor.Symmetric |
4352 | Part249.Name = "Right Leg" | |
4353 | - | script.Parent.Equipped:connect(Equip) |
4353 | + | Part249.Parent = Model243 |
4354 | Part249.CFrame = CFrame.new(188.591461, 2.59995508, 246.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
4355 | Part249.Orientation = Vector3.new(0, 90, 0) | |
4356 | Part249.Position = Vector3.new(188.591461, 2.59995508, 246.98645) | |
4357 | - | LocalScript306.Name = "Zoom Script" |
4357 | + | Part249.Rotation = Vector3.new(0, 90, 0) |
4358 | - | LocalScript306.Parent = Tool281 |
4358 | + | Part249.Color = Color3.new(0.411765, 0.25098, 0.156863) |
4359 | - | table.insert(cors,sandbox(LocalScript306,function() |
4359 | + | Part249.Size = Vector3.new(1, 2, 1) |
4360 | - | a=false |
4360 | + | Part249.BottomSurface = Enum.SurfaceType.Smooth |
4361 | - | cam=nil |
4361 | + | Part249.BrickColor = BrickColor.new("Reddish brown") |
4362 | Part249.CanCollide = false | |
4363 | Part249.brickColor = BrickColor.new("Reddish brown") | |
4364 | Part249.FormFactor = Enum.FormFactor.Symmetric | |
4365 | - | function onEquipped(mouse2) |
4365 | + | Part249.formFactor = Enum.FormFactor.Symmetric |
4366 | - | mouse2.KeyDown:connect(onkeyDown) |
4366 | + | Humanoid250.Parent = Model243 |
4367 | - | mouse = mouse2 |
4367 | + | Humanoid250.LeftLeg = Part248 |
4368 | Humanoid250.NameOcclusion = Enum.NameOcclusion.NoOcclusion | |
4369 | - | function onkeyDown(key) |
4369 | + | Humanoid250.RightLeg = Part249 |
4370 | - | if key == "z" then |
4370 | + | Humanoid250.Torso = Part247 |
4371 | - | if not a then |
4371 | + | Part251.Name = "zarm" |
4372 | - | cam=game.Workspace.CurrentCamera:clone() |
4372 | + | Part251.Parent = Model243 |
4373 | - | cam.Parent=game.Workspace |
4373 | + | Part251.CFrame = CFrame.new(188.091461, 5.09995508, 248.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
4374 | - | game.Workspace.CurrentCamera.CameraSubject = mouse.Target |
4374 | + | Part251.Orientation = Vector3.new(0, 180, 0) |
4375 | - | game.Workspace.CurrentCamera.CameraType=4 |
4375 | + | Part251.Position = Vector3.new(188.091461, 5.09995508, 248.98645) |
4376 | - | a=true |
4376 | + | Part251.Rotation = Vector3.new(-180, 0, -180) |
4377 | - | else |
4377 | + | Part251.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4378 | - | game.Workspace.CurrentCamera.CameraSubject=game.Players.LocalPlayer.Character |
4378 | + | Part251.Size = Vector3.new(2, 1, 1) |
4379 | - | game.Workspace.CurrentCamera:Remove() |
4379 | + | |
4380 | - | game.Workspace.CurrentCamera=cam |
4380 | + | Part251.BrickColor = BrickColor.new("Medium green") |
4381 | - | a=false |
4381 | + | |
4382 | Part251.brickColor = BrickColor.new("Medium green") | |
4383 | - | end |
4383 | + | Part251.FormFactor = Enum.FormFactor.Symmetric |
4384 | Part251.formFactor = Enum.FormFactor.Symmetric | |
4385 | Script252.Parent = Part251 | |
4386 | table.insert(cors,sandbox(Script252,function() | |
4387 | wait(1) | |
4388 | owner=script.Parent.Parent.Name | |
4389 | - | script.Parent.Equipped:connect(onEquipped) |
4389 | + | |
4390 | function onTouched(part) | |
4391 | if part.Parent ~= nil then | |
4392 | - | Vector3Value307.Name = "Zoom" |
4392 | + | local h = part.Parent:findFirstChild("Humanoid") |
4393 | - | Vector3Value307.Parent = LocalScript306 |
4393 | + | if h~=nil then |
4394 | - | Vector3Value307.Value = Vector3.new(5, 5, 5) |
4394 | + | if cantouch~=0 then |
4395 | - | IntValue308.Name = "Clip" |
4395 | + | if h.Parent.Name~=owner then |
4396 | - | IntValue308.Parent = Tool281 |
4396 | + | |
4397 | - | IntValue308.Value = 5 |
4397 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
4398 | - | Script309.Name = "Reload" |
4398 | + | |
4399 | - | Script309.Parent = IntValue308 |
4399 | + | cantouch=0 |
4400 | - | table.insert(cors,sandbox(Script309,function() |
4400 | + | |
4401 | - | print("Ammo Clip Loaded") --Replace every "30" with the number of bullets you want in a clip. |
4401 | + | local larm=h.Parent:findFirstChild("Left Arm") |
4402 | local rarm=h.Parent:findFirstChild("Right Arm") | |
4403 | ||
4404 | - | if (script.Parent.Value == 0) and (script.Parent.Parent.Ammo.Value >= 5) then |
4404 | + | if larm~=nil then |
4405 | - | wait(3) |
4405 | + | larm:remove() |
4406 | - | script.Parent.Value = 5 |
4406 | + | end |
4407 | - | script.Parent.Parent.Ammo.Value = script.Parent.Parent.Ammo.Value - 5 |
4407 | + | if rarm~=nil then |
4408 | rarm:remove() | |
4409 | - | if (script.Parent.Value == 0) and (script.Parent.Parent.Ammo.Value <= 5) then |
4409 | + | end |
4410 | - | wait(3) |
4410 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
4411 | - | script.Parent.Value = script.Parent.Parent.Ammo.Value |
4411 | + | if zee~=nil then |
4412 | - | script.Parent.Parent.Ammo.Value = 0 |
4412 | + | local zlarm=zee:clone() |
4413 | local zrarm=zee:clone() | |
4414 | - | wait(0) |
4414 | + | if zlarm~=nil then |
4415 | ||
4416 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4417 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
4418 | - | Script310.Name = "PUT THIS IN THE WEAPON" |
4418 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
4419 | - | Script310.Parent = Tool281 |
4419 | + | zlarm.Parent=h.Parent |
4420 | - | table.insert(cors,sandbox(Script310,function() |
4420 | + | zrarm.Parent=h.Parent |
4421 | - | local debounce = false |
4421 | + | zlarm:makeJoints() |
4422 | zrarm:makeJoints() | |
4423 | - | function getPlayer(humanoid) |
4423 | + | zlarm.Anchored=false |
4424 | - | local players = game.Players:children() |
4424 | + | zrarm.Anchored=false |
4425 | - | for i = 1, #players do |
4425 | + | wait(0.1) |
4426 | - | if players[i].Character.Humanoid == humanoid then return players[i] end |
4426 | + | h.Parent.Head.Color=zee.Color |
4427 | - | end |
4427 | + | else print("no zee"); return end |
4428 | - | return nil |
4428 | + | end |
4429 | - | end |
4429 | + | wait(1) |
4430 | cantouch=1 | |
4431 | - | function onTouch(part) |
4431 | + | end |
4432 | end | |
4433 | - | local human = part.Parent:findFirstChild("Humanoid") |
4433 | + | |
4434 | - | if (human ~= nil) and debounce == false then |
4434 | + | |
4435 | end | |
4436 | - | debounce = true |
4436 | + | |
4437 | script.Parent.Touched:connect(onTouched) | |
4438 | - | local player = getPlayer(human) |
4438 | + | |
4439 | Part253.Name = "zarm" | |
4440 | - | if (player == nil) then return end |
4440 | + | Part253.Parent = Model243 |
4441 | Part253.CFrame = CFrame.new(188.091461, 5.09995508, 245.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) | |
4442 | - | script.Parent:clone().Parent = player.Backpack |
4442 | + | Part253.Orientation = Vector3.new(0, 180, 0) |
4443 | Part253.Position = Vector3.new(188.091461, 5.09995508, 245.98645) | |
4444 | - | wait(2) |
4444 | + | Part253.Rotation = Vector3.new(-180, 0, -180) |
4445 | - | debounce = false |
4445 | + | Part253.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4446 | Part253.Size = Vector3.new(2, 1, 1) | |
4447 | Part253.BottomSurface = Enum.SurfaceType.Smooth | |
4448 | Part253.BrickColor = BrickColor.new("Medium green") | |
4449 | Part253.TopSurface = Enum.SurfaceType.Smooth | |
4450 | - | script.Parent.Parent.Touched:connect(onTouch) |
4450 | + | Part253.brickColor = BrickColor.new("Medium green") |
4451 | Part253.FormFactor = Enum.FormFactor.Symmetric | |
4452 | Part253.formFactor = Enum.FormFactor.Symmetric | |
4453 | - | Fire311.Parent = Part280 |
4453 | + | Script254.Parent = Part253 |
4454 | - | Fire311.Color = Color3.new(1, 0.72549, 0) |
4454 | + | table.insert(cors,sandbox(Script254,function() |
4455 | - | Fire311.Enabled = false |
4455 | + | wait(1) |
4456 | - | Fire311.Size = 30 |
4456 | + | owner=script.Parent.Parent.Name |
4457 | - | Fire311.Heat = 25 |
4457 | + | |
4458 | - | Fire311.SecondaryColor = Color3.new(1, 0, 0) |
4458 | + | function onTouched(part) |
4459 | - | Fire311.size = 30 |
4459 | + | if part.Parent ~= nil then |
4460 | - | Script312.Name = "Spread" |
4460 | + | local h = part.Parent:findFirstChild("Humanoid") |
4461 | - | Script312.Parent = Fire311 |
4461 | + | if h~=nil then |
4462 | if cantouch~=0 then | |
4463 | - | function Spread(part) |
4463 | + | if h.Parent.Name~=owner then |
4464 | - | check = part:findFirstChild("Fire") |
4464 | + | |
4465 | - | if check == nil then |
4465 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
4466 | - | script.Parent:Clone().Parent = part |
4466 | + | |
4467 | - | |
4467 | + | cantouch=0 |
4468 | - | elseif check ~= nil then |
4468 | + | |
4469 | - | check.Size = check.Size + 1 |
4469 | + | local larm=h.Parent:findFirstChild("Left Arm") |
4470 | - | check.Heat = check.Heat +1 |
4470 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
4471 | ||
4472 | if larm~=nil then | |
4473 | larm:remove() | |
4474 | end | |
4475 | - | script.Parent.Parent.Touched:connect(Spread) |
4475 | + | if rarm~=nil then |
4476 | rarm:remove() | |
4477 | end | |
4478 | - | Part313.Name = "Smooth Block Model" |
4478 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
4479 | - | Part313.Parent = Model273 |
4479 | + | if zee~=nil then |
4480 | - | Part313.CFrame = CFrame.new(179.899902, 17.4321747, 181.312134, -0.999999762, -5.0614193e-07, -8.27316398e-06, -5.06181266e-07, 1, 4.75149227e-06, 8.27316217e-06, 4.75149682e-06, -0.999999762) |
4480 | + | local zlarm=zee:clone() |
4481 | - | Part313.Orientation = Vector3.new(0, -180, 0) |
4481 | + | local zrarm=zee:clone() |
4482 | - | Part313.Position = Vector3.new(179.899902, 17.4321747, 181.312134) |
4482 | + | if zlarm~=nil then |
4483 | - | Part313.Rotation = Vector3.new(-180, 0, 180) |
4483 | + | |
4484 | - | Part313.Color = Color3.new(0.105882, 0.164706, 0.207843) |
4484 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
4485 | - | Part313.Transparency = 0.30000001192093 |
4485 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
4486 | - | Part313.Size = Vector3.new(5, 6, 1) |
4486 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
4487 | - | Part313.Anchored = true |
4487 | + | zlarm.Parent=h.Parent |
4488 | - | Part313.BrickColor = BrickColor.new("Black") |
4488 | + | zrarm.Parent=h.Parent |
4489 | - | Part313.brickColor = BrickColor.new("Black") |
4489 | + | zlarm:makeJoints() |
4490 | - | Part314.Name = "Smooth Block Model" |
4490 | + | zrarm:makeJoints() |
4491 | - | Part314.Parent = Model273 |
4491 | + | zlarm.Anchored=false |
4492 | - | Part314.CFrame = CFrame.new(181.900146, 17.4311733, 183.312134, -2.20761831e-06, 2.26069387e-05, -0.99999696, -1.73930312e-05, 1, 2.26073607e-05, 0.99999696, 1.7393304e-05, -2.20721563e-06) |
4492 | + | zrarm.Anchored=false |
4493 | - | Part314.Orientation = Vector3.new(0, -90, 0) |
4493 | + | wait(0.1) |
4494 | - | Part314.Position = Vector3.new(181.900146, 17.4311733, 183.312134) |
4494 | + | h.Parent.Head.Color=zee.Color |
4495 | - | Part314.Rotation = Vector3.new(-95.5799942, -89.8600006, -95.5799942) |
4495 | + | else print("no zee"); return end |
4496 | - | Part314.Color = Color3.new(0.105882, 0.164706, 0.207843) |
4496 | + | end |
4497 | - | Part314.Transparency = 0.30000001192093 |
4497 | + | wait(1) |
4498 | - | Part314.Size = Vector3.new(3, 6, 1) |
4498 | + | cantouch=1 |
4499 | - | Part314.Anchored = true |
4499 | + | end |
4500 | - | Part314.BrickColor = BrickColor.new("Black") |
4500 | + | end |
4501 | - | Part314.brickColor = BrickColor.new("Black") |
4501 | + | |
4502 | - | Fire315.Parent = Part314 |
4502 | + | |
4503 | - | Fire315.Color = Color3.new(1, 0.745098, 0) |
4503 | + | |
4504 | - | Fire315.Enabled = false |
4504 | + | |
4505 | - | Fire315.Size = 30 |
4505 | + | |
4506 | - | Fire315.Heat = 25 |
4506 | + | |
4507 | - | Fire315.SecondaryColor = Color3.new(1, 0, 0) |
4507 | + | ObjectValue255.Name = "IsNZ" |
4508 | - | Fire315.size = 30 |
4508 | + | ObjectValue255.Parent = Model243 |
4509 | - | Script316.Parent = Fire315 |
4509 | + | IntValue256.Name = "Mode" |
4510 | - | table.insert(cors,sandbox(Script316,function() |
4510 | + | IntValue256.Parent = Model243 |
4511 | - | function Spread(part) |
4511 | + | Script257.Parent = Model243 |
4512 | - | check = part:findFirstChild("Fire") |
4512 | + | table.insert(cors,sandbox(Script257,function() |
4513 | - | if check == nil then |
4513 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
4514 | - | script.Parent:Clone().Parent = part |
4514 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
4515 | - | |
4515 | + | |
4516 | - | elseif check ~= nil then |
4516 | + | function findNearestTorso(pos) |
4517 | - | check.Size = check.Size + 1 |
4517 | + | local list = game.Workspace:children() |
4518 | - | check.Heat = check.Heat +1 |
4518 | + | local torso = nil |
4519 | local dist = 1000 | |
4520 | local temp = nil | |
4521 | local human = nil | |
4522 | local temp2 = nil | |
4523 | - | script.Parent.Parent.Touched:connect(Spread) |
4523 | + | for x = 1, #list do |
4524 | temp2 = list[x] | |
4525 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
4526 | temp = temp2:findFirstChild("Right Arm") | |
4527 | - | Part317.Name = "Smooth Block Model" |
4527 | + | human = temp2:findFirstChild("Humanoid") |
4528 | - | Part317.Parent = Model273 |
4528 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
4529 | - | Part317.CFrame = CFrame.new(179.899902, 21.0321217, 182.812134, -0.999999762, -5.0614193e-07, -8.27316398e-06, -5.06181266e-07, 1, 4.75149227e-06, 8.27316217e-06, 4.75149682e-06, -0.999999762) |
4529 | + | if (temp.Position - pos).magnitude < dist then |
4530 | - | Part317.Orientation = Vector3.new(0, -180, 0) |
4530 | + | torso = temp |
4531 | - | Part317.Position = Vector3.new(179.899902, 21.0321217, 182.812134) |
4531 | + | dist = (temp.Position - pos).magnitude |
4532 | - | Part317.Rotation = Vector3.new(-180, 0, 180) |
4532 | + | end |
4533 | - | Part317.Color = Color3.new(0.105882, 0.164706, 0.207843) |
4533 | + | |
4534 | - | Part317.Transparency = 0.30000001192093 |
4534 | + | |
4535 | - | Part317.Size = Vector3.new(5, 1.20000005, 4) |
4535 | + | |
4536 | - | Part317.Anchored = true |
4536 | + | return torso |
4537 | - | Part317.BrickColor = BrickColor.new("Black") |
4537 | + | |
4538 | - | Part317.TopSurface = Enum.SurfaceType.Smooth |
4538 | + | |
4539 | - | Part317.brickColor = BrickColor.new("Black") |
4539 | + | |
4540 | - | Script318.Name = "PUT THIS IN THE WEAPON" |
4540 | + | |
4541 | - | Script318.Parent = Model273 |
4541 | + | |
4542 | while true do | |
4543 | - | local debounce = false |
4543 | + | wait(math.random(1,5)) |
4544 | local target = findNearestTorso(script.Parent.Torso.Position) | |
4545 | - | function getPlayer(humanoid) |
4545 | + | if target ~= nil then |
4546 | - | local players = game.Players:children() |
4546 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
4547 | - | for i = 1, #players do |
4547 | + | |
4548 | - | if players[i].Character.Humanoid == humanoid then return players[i] end |
4548 | + | |
4549 | - | end |
4549 | + | |
4550 | - | return nil |
4550 | + | |
4551 | - | end |
4551 | + | |
4552 | Script258.Name = "Health" | |
4553 | - | function onTouch(part) |
4553 | + | Script258.Parent = Model243 |
4554 | table.insert(cors,sandbox(Script258,function() | |
4555 | - | local human = part.Parent:findFirstChild("Humanoid") |
4555 | + | function waitForChild(parent, childName) |
4556 | - | if (human ~= nil) and debounce == false then |
4556 | + | while true do |
4557 | local child = parent:findFirstChild(childName) | |
4558 | - | debounce = true |
4558 | + | if child then |
4559 | return child | |
4560 | - | local player = getPlayer(human) |
4560 | + | |
4561 | parent.ChildAdded:wait() | |
4562 | - | if (player == nil) then return end |
4562 | + | |
4563 | end | |
4564 | - | script.Parent:clone().Parent = player.Backpack |
4564 | + | |
4565 | -- declarations | |
4566 | - | wait(2) |
4566 | + | |
4567 | - | debounce = false |
4567 | + | local Figure = script.Parent |
4568 | local Head = waitForChild(Figure, "Head") | |
4569 | local Humanoid = waitForChild(Figure, "Humanoid") | |
4570 | Humanoid.Health=500 | |
4571 | -- regeneration | |
4572 | - | script.Parent.Parent.Touched:connect(onTouch) |
4572 | + | |
4573 | local s = wait(4) | |
4574 | local health = Humanoid.Health | |
4575 | - | Script319.Name = "READ ME FOR INSTRUCTIONS" |
4575 | + | if health > 0 and health < Humanoid.MaxHealth then |
4576 | - | Script319.Parent = Model273 |
4576 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
4577 | if health * 1.05 < Humanoid.MaxHealth then | |
4578 | - | --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS. |
4578 | + | Humanoid.Health = health |
4579 | - | --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool. |
4579 | + | else |
4580 | - | --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick. |
4580 | + | Humanoid.Health = Humanoid.MaxHealth |
4581 | end | |
4582 | - | --IMPORTANT (OPTINAL) |
4582 | + | |
4583 | - | --Before doing anything you should put the Weapon or Tool in the giver where you want it. |
4583 | + | |
4584 | ||
4585 | - | Script320.Name = "Guest_Talking_Script" |
4585 | + | |
4586 | - | Script320.Parent = Model273 |
4586 | + | Script259.Name = "Respawn" |
4587 | - | table.insert(cors,sandbox(Script320,function() |
4587 | + | Script259.Parent = Model243 |
4588 | - | --Farvei's totally awesome script that makes Guests talk |
4588 | + | table.insert(cors,sandbox(Script259,function() |
4589 | - | --Please give credit |
4589 | + | name="Humanoid" |
4590 | - | --Don't tell the admins! |
4590 | + | |
4591 | - | --Unnote the vaccine if you'd like to remove all copies of this script in your place |
4591 | + | robo=script.Parent:clone() |
4592 | - | if (script.Parent == workspace) then |
4592 | + | |
4593 | - | function checkForAndSwitch(player) |
4593 | + | |
4594 | - | if (player.SuperSafeChat == true) then |
4594 | + | wait(1) |
4595 | - | player.SuperSafeChat = false; |
4595 | + | if script.Parent.Humanoid.Health<1 then |
4596 | - | wait(5); |
4596 | + | robot=robo:clone() |
4597 | - | local m = Instance.new("Message"); |
4597 | + | robot.Parent=script.Parent.Parent |
4598 | - | m.Text = "Hey People! Its elomoto1236."; |
4598 | + | robot:makeJoints() |
4599 | - | m.Parent = player; |
4599 | + | script.Parent:remove() |
4600 | - | wait(5); |
4600 | + | |
4601 | - | m.Text = "Just hit the /, and than type in your message.."; |
4601 | + | |
4602 | - | wait(5); |
4602 | + | |
4603 | - | m:Remove(); |
4603 | + | |
4604 | - | m = nil; |
4604 | + | |
4605 | ||
4606 | - | player = nil; |
4606 | + | |
4607 | - | collectgarbage("collect"); |
4607 | + | Part260.Name = "Spawn Location" |
4608 | Part260.Parent = Model242 | |
4609 | Part260.CFrame = CFrame.new(188.113556, 0.603015006, 247.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) | |
4610 | - | function onChildAddedToPlayers(obj) |
4610 | + | Part260.Orientation = Vector3.new(0, 180, 0) |
4611 | - | if (obj.className == "Player") then |
4611 | + | Part260.Position = Vector3.new(188.113556, 0.603015006, 247.491455) |
4612 | - | checkForAndSwitch(obj); |
4612 | + | Part260.Rotation = Vector3.new(-180, 0, -180) |
4613 | - | local m = Instance.new("Message"); |
4613 | + | Part260.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4614 | - | m.Text = "elomoto1236 here. Guests are welcome to talk here."; |
4614 | + | Part260.Size = Vector3.new(6, 1.20000005, 6) |
4615 | - | m.Parent = obj; |
4615 | + | Part260.BottomSurface = Enum.SurfaceType.Weld |
4616 | - | wait(5); |
4616 | + | Part260.BrickColor = BrickColor.new("Medium green") |
4617 | - | m:Remove(); |
4617 | + | Part260.TopSurface = Enum.SurfaceType.Smooth |
4618 | - | m = nil; |
4618 | + | Part260.brickColor = BrickColor.new("Medium green") |
4619 | Decal261.Parent = Part260 | |
4620 | - | obj = nil; |
4620 | + | Decal261.Texture = "http://www.roblox.com/asset/?id=34541722" |
4621 | - | collectgarbage("collect"); |
4621 | + | Decal261.Face = Enum.NormalId.Top |
4622 | Model262.Parent = Model201 | |
4623 | Model263.Name = "Zombie" | |
4624 | - | function onChildAddedToWorkspace(obj) |
4624 | + | Model263.Parent = Model262 |
4625 | - | if (obj.className == "Model") then |
4625 | + | Model263.PrimaryPart = Part264 |
4626 | - | if (game.Players:playerFromCharacter(obj) ~= nil) then |
4626 | + | Part264.Name = "Head" |
4627 | - | checkForAndSwitch(game.Players:playerFromCharacter(obj)); |
4627 | + | Part264.Parent = Model263 |
4628 | Part264.CFrame = CFrame.new(188.608551, 6.09995508, 235.513428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
4629 | Part264.Orientation = Vector3.new(0, 90, 0) | |
4630 | - | obj = nil; |
4630 | + | Part264.Position = Vector3.new(188.608551, 6.09995508, 235.513428) |
4631 | - | collectgarbage("collect"); |
4631 | + | Part264.Rotation = Vector3.new(0, 90, 0) |
4632 | Part264.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
4633 | Part264.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20) | |
4634 | - | function findLowestLevel(obj) |
4634 | + | Part264.Size = Vector3.new(2, 1, 1) |
4635 | - | local c = obj:GetChildren(); |
4635 | + | Part264.BrickColor = BrickColor.new("Medium green") |
4636 | - | local lowestLevel = true; |
4636 | + | Part264.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
4637 | Part264.TopSurface = Enum.SurfaceType.Smooth | |
4638 | - | for i, v in pairs(c) do |
4638 | + | Part264.brickColor = BrickColor.new("Medium green") |
4639 | - | if (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then |
4639 | + | Part264.FormFactor = Enum.FormFactor.Symmetric |
4640 | - | lowestLevel = false; |
4640 | + | Part264.formFactor = Enum.FormFactor.Symmetric |
4641 | - | wait(); |
4641 | + | SpecialMesh265.Parent = Part264 |
4642 | - | findLowestLevel(v); |
4642 | + | SpecialMesh265.Scale = Vector3.new(1.25, 1.25, 1.25) |
4643 | Decal266.Name = "face" | |
4644 | Decal266.Parent = Part264 | |
4645 | Part267.Name = "Torso" | |
4646 | - | if (obj ~= workspace and lowestLevel == true and (obj:FindFirstChild(script.Name) == nil)) then |
4646 | + | Part267.Parent = Model263 |
4647 | - | if (obj ~= game.Lighting and obj ~= game.StarterPack) then |
4647 | + | Part267.CFrame = CFrame.new(188.608551, 4.59995508, 235.513428, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
4648 | - | local s = script:Clone(); |
4648 | + | Part267.Orientation = Vector3.new(0, 90, 0) |
4649 | - | s.Parent = obj; |
4649 | + | Part267.Position = Vector3.new(188.608551, 4.59995508, 235.513428) |
4650 | Part267.Rotation = Vector3.new(0, 90, 0) | |
4651 | Part267.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
4652 | Part267.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20) | |
4653 | Part267.Size = Vector3.new(2, 2, 1) | |
4654 | - | findLowestLevel(game); |
4654 | + | Part267.BrickColor = BrickColor.new("Reddish brown") |
4655 | Part267.LeftParamA = 0 | |
4656 | - | game.Players.ChildAdded:connect(onChildAddedToPlayers); |
4656 | + | Part267.LeftParamB = 0 |
4657 | - | game.Workspace.ChildAdded:connect(onChildAddedToWorkspace); |
4657 | + | Part267.LeftSurface = Enum.SurfaceType.Weld |
4658 | - | else |
4658 | + | Part267.RightParamA = 0 |
4659 | - | local findScript = workspace:FindFirstChild(script.Name); |
4659 | + | Part267.RightParamB = 0 |
4660 | Part267.RightSurface = Enum.SurfaceType.Weld | |
4661 | - | if (findScript == nil) then |
4661 | + | Part267.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
4662 | - | local s = script:Clone(); |
4662 | + | Part267.brickColor = BrickColor.new("Reddish brown") |
4663 | - | s.Parent = workspace; |
4663 | + | Part267.FormFactor = Enum.FormFactor.Symmetric |
4664 | Part267.formFactor = Enum.FormFactor.Symmetric | |
4665 | Part268.Name = "Left Leg" | |
4666 | Part268.Parent = Model263 | |
4667 | - | --[[function findAllCopies(obj) |
4667 | + | Part268.CFrame = CFrame.new(188.608551, 2.59995508, 236.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
4668 | - | local c = obj:GetChildren(); |
4668 | + | Part268.Orientation = Vector3.new(0, 90, 0) |
4669 | Part268.Position = Vector3.new(188.608551, 2.59995508, 236.013428) | |
4670 | - | for i, v in pairs(c) do |
4670 | + | Part268.Rotation = Vector3.new(0, 90, 0) |
4671 | - | if (v.Name == script.Name and v.className == "Script" and v ~= script) then |
4671 | + | Part268.Color = Color3.new(0.411765, 0.25098, 0.156863) |
4672 | - | v.Parent = nil; |
4672 | + | Part268.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20) |
4673 | - | elseif (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then |
4673 | + | Part268.Size = Vector3.new(1, 2, 1) |
4674 | - | findAllCopies(v); |
4674 | + | Part268.BottomSurface = Enum.SurfaceType.Smooth |
4675 | Part268.BrickColor = BrickColor.new("Reddish brown") | |
4676 | Part268.CanCollide = false | |
4677 | Part268.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) | |
4678 | Part268.brickColor = BrickColor.new("Reddish brown") | |
4679 | - | findAllCopies(game); |
4679 | + | Part268.FormFactor = Enum.FormFactor.Symmetric |
4680 | Part268.formFactor = Enum.FormFactor.Symmetric | |
4681 | - | script.Parent = nil;]] |
4681 | + | Part269.Name = "Right Leg" |
4682 | Part269.Parent = Model263 | |
4683 | - | RotateP321.Name = "cptrick" |
4683 | + | Part269.CFrame = CFrame.new(188.608551, 2.59995508, 235.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
4684 | - | RotateP321.Parent = Script320 |
4684 | + | Part269.Orientation = Vector3.new(0, 90, 0) |
4685 | - | RotateP322.Name = "stanley12345678910" |
4685 | + | Part269.Position = Vector3.new(188.608551, 2.59995508, 235.013428) |
4686 | - | RotateP322.Parent = Script320 |
4686 | + | Part269.Rotation = Vector3.new(0, 90, 0) |
4687 | - | RotateP323.Name = "cahrlie84" |
4687 | + | Part269.Color = Color3.new(0.411765, 0.25098, 0.156863) |
4688 | - | RotateP323.Parent = Script320 |
4688 | + | Part269.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20) |
4689 | - | RotateP324.Name = "charlie84" |
4689 | + | Part269.Size = Vector3.new(1, 2, 1) |
4690 | - | RotateP324.Parent = Script320 |
4690 | + | Part269.BottomSurface = Enum.SurfaceType.Smooth |
4691 | - | RotateP325.Name = "al2tair" |
4691 | + | Part269.BrickColor = BrickColor.new("Reddish brown") |
4692 | - | RotateP325.Parent = Script320 |
4692 | + | Part269.CanCollide = false |
4693 | - | Part326.Parent = Model0 |
4693 | + | Part269.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
4694 | - | Part326.CFrame = CFrame.new(175.5, 13.1999941, 206, 0, 0, -1, 0, 1, -0, 1, 0, -0) |
4694 | + | Part269.brickColor = BrickColor.new("Reddish brown") |
4695 | - | Part326.Orientation = Vector3.new(0, -90, 0) |
4695 | + | Part269.FormFactor = Enum.FormFactor.Symmetric |
4696 | - | Part326.Position = Vector3.new(175.5, 13.1999941, 206) |
4696 | + | Part269.formFactor = Enum.FormFactor.Symmetric |
4697 | - | Part326.Rotation = Vector3.new(0, -90, 0) |
4697 | + | Humanoid270.Parent = Model263 |
4698 | - | Part326.Color = Color3.new(0.388235, 0.372549, 0.384314) |
4698 | + | Humanoid270.LeftLeg = Part268 |
4699 | - | Part326.Velocity = Vector3.new(-1.54976708e-19, -0.0124181155, 1.86149969e-20) |
4699 | + | Humanoid270.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
4700 | - | Part326.Size = Vector3.new(52, 2.4000001, 37) |
4700 | + | Humanoid270.RightLeg = Part269 |
4701 | - | Part326.Anchored = true |
4701 | + | Humanoid270.Torso = Part267 |
4702 | - | Part326.BottomSurface = Enum.SurfaceType.Smooth |
4702 | + | Part271.Name = "zarm" |
4703 | - | Part326.BrickColor = BrickColor.new("Dark stone grey") |
4703 | + | Part271.Parent = Model263 |
4704 | - | Part326.RotVelocity = Vector3.new(1.00410485e-20, 6.26219062e-21, 1.04267748e-20) |
4704 | + | Part271.CFrame = CFrame.new(188.108551, 5.09995508, 237.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
4705 | - | Part326.TopSurface = Enum.SurfaceType.Smooth |
4705 | + | Part271.Orientation = Vector3.new(0, 180, 0) |
4706 | - | Part326.brickColor = BrickColor.new("Dark stone grey") |
4706 | + | Part271.Position = Vector3.new(188.108551, 5.09995508, 237.013428) |
4707 | - | Fire327.Parent = Part326 |
4707 | + | Part271.Rotation = Vector3.new(-180, 0, -180) |
4708 | - | Fire327.Color = Color3.new(1, 0.72549, 0) |
4708 | + | Part271.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4709 | - | Fire327.Enabled = false |
4709 | + | Part271.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20) |
4710 | - | Fire327.Size = 30 |
4710 | + | Part271.Size = Vector3.new(2, 1, 1) |
4711 | - | Fire327.Heat = 25 |
4711 | + | Part271.BottomSurface = Enum.SurfaceType.Smooth |
4712 | - | Fire327.SecondaryColor = Color3.new(1, 0, 0) |
4712 | + | Part271.BrickColor = BrickColor.new("Medium green") |
4713 | - | Fire327.size = 30 |
4713 | + | Part271.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
4714 | - | Script328.Name = "Spread" |
4714 | + | Part271.TopSurface = Enum.SurfaceType.Smooth |
4715 | - | Script328.Parent = Fire327 |
4715 | + | Part271.brickColor = BrickColor.new("Medium green") |
4716 | - | table.insert(cors,sandbox(Script328,function() |
4716 | + | Part271.FormFactor = Enum.FormFactor.Symmetric |
4717 | - | function Spread(part) |
4717 | + | Part271.formFactor = Enum.FormFactor.Symmetric |
4718 | - | check = part:findFirstChild("Fire") |
4718 | + | Script272.Parent = Part271 |
4719 | - | if check == nil then |
4719 | + | table.insert(cors,sandbox(Script272,function() |
4720 | - | script.Parent:Clone().Parent = part |
4720 | + | wait(1) |
4721 | - | |
4721 | + | owner=script.Parent.Parent.Name |
4722 | - | elseif check ~= nil then |
4722 | + | |
4723 | - | check.Size = check.Size + 1 |
4723 | + | function onTouched(part) |
4724 | - | check.Heat = check.Heat +1 |
4724 | + | if part.Parent ~= nil then |
4725 | local h = part.Parent:findFirstChild("Humanoid") | |
4726 | if h~=nil then | |
4727 | if cantouch~=0 then | |
4728 | if h.Parent.Name~=owner then | |
4729 | - | script.Parent.Parent.Touched:connect(Spread) |
4729 | + | |
4730 | if h.Parent:findFirstChild("zarm")~=nil then return end | |
4731 | ||
4732 | - | Part329.Parent = Model0 |
4732 | + | cantouch=0 |
4733 | - | Part329.CFrame = CFrame.new(177.501465, 3.6089468, 235.5, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
4733 | + | |
4734 | - | Part329.Orientation = Vector3.new(0, -90, 0) |
4734 | + | local larm=h.Parent:findFirstChild("Left Arm") |
4735 | - | Part329.Position = Vector3.new(177.501465, 3.6089468, 235.5) |
4735 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
4736 | - | Part329.Rotation = Vector3.new(0, -90, 0) |
4736 | + | |
4737 | - | Part329.Color = Color3.new(0.388235, 0.372549, 0.384314) |
4737 | + | if larm~=nil then |
4738 | - | Part329.Size = Vector3.new(7, 2.4000001, 3) |
4738 | + | larm:remove() |
4739 | - | Part329.Anchored = true |
4739 | + | end |
4740 | - | Part329.BrickColor = BrickColor.new("Dark stone grey") |
4740 | + | if rarm~=nil then |
4741 | - | Part329.TopSurface = Enum.SurfaceType.Smooth |
4741 | + | rarm:remove() |
4742 | - | Part329.brickColor = BrickColor.new("Dark stone grey") |
4742 | + | end |
4743 | - | Fire330.Parent = Part329 |
4743 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
4744 | - | Fire330.Color = Color3.new(1, 0.72549, 0) |
4744 | + | if zee~=nil then |
4745 | - | Fire330.Enabled = false |
4745 | + | local zlarm=zee:clone() |
4746 | - | Fire330.Size = 30 |
4746 | + | local zrarm=zee:clone() |
4747 | - | Fire330.Heat = 25 |
4747 | + | if zlarm~=nil then |
4748 | - | Fire330.SecondaryColor = Color3.new(1, 0, 0) |
4748 | + | |
4749 | - | Fire330.size = 30 |
4749 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
4750 | - | Script331.Name = "Spread" |
4750 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
4751 | - | Script331.Parent = Fire330 |
4751 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
4752 | - | table.insert(cors,sandbox(Script331,function() |
4752 | + | zlarm.Parent=h.Parent |
4753 | - | function Spread(part) |
4753 | + | zrarm.Parent=h.Parent |
4754 | - | check = part:findFirstChild("Fire") |
4754 | + | zlarm:makeJoints() |
4755 | - | if check == nil then |
4755 | + | zrarm:makeJoints() |
4756 | - | script.Parent:Clone().Parent = part |
4756 | + | zlarm.Anchored=false |
4757 | - | |
4757 | + | zrarm.Anchored=false |
4758 | - | elseif check ~= nil then |
4758 | + | wait(0.1) |
4759 | - | check.Size = check.Size + 1 |
4759 | + | h.Parent.Head.Color=zee.Color |
4760 | - | check.Heat = check.Heat +1 |
4760 | + | else print("no zee"); return end |
4761 | end | |
4762 | wait(1) | |
4763 | cantouch=1 | |
4764 | end | |
4765 | - | script.Parent.Parent.Touched:connect(Spread) |
4765 | + | end |
4766 | end | |
4767 | end | |
4768 | - | Model332.Name = "Jetpack" |
4768 | + | |
4769 | - | Model332.Parent = Model0 |
4769 | + | |
4770 | - | Part333.Name = "TheButton" |
4770 | + | |
4771 | - | Part333.Parent = Model332 |
4771 | + | |
4772 | - | Part333.CFrame = CFrame.new(177.901611, 14.72264, 202.3125, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
4772 | + | Part273.Name = "zarm" |
4773 | Part273.Parent = Model263 | |
4774 | - | Part333.Position = Vector3.new(177.901611, 14.72264, 202.3125) |
4774 | + | Part273.CFrame = CFrame.new(188.108551, 5.09995508, 234.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
4775 | Part273.Orientation = Vector3.new(0, 180, 0) | |
4776 | - | Part333.Color = Color3.new(0.105882, 0.164706, 0.207843) |
4776 | + | Part273.Position = Vector3.new(188.108551, 5.09995508, 234.013428) |
4777 | - | Part333.Size = Vector3.new(3, 0.400000006, 1) |
4777 | + | Part273.Rotation = Vector3.new(-180, 0, -180) |
4778 | - | Part333.Anchored = true |
4778 | + | Part273.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4779 | Part273.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20) | |
4780 | - | Part333.BrickColor = BrickColor.new("Black") |
4780 | + | Part273.Size = Vector3.new(2, 1, 1) |
4781 | Part273.BottomSurface = Enum.SurfaceType.Smooth | |
4782 | - | Part333.brickColor = BrickColor.new("Black") |
4782 | + | Part273.BrickColor = BrickColor.new("Medium green") |
4783 | - | Part333.FormFactor = Enum.FormFactor.Plate |
4783 | + | Part273.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
4784 | - | Part333.formFactor = Enum.FormFactor.Plate |
4784 | + | Part273.TopSurface = Enum.SurfaceType.Smooth |
4785 | - | GuiMain334.Parent = Part333 |
4785 | + | Part273.brickColor = BrickColor.new("Medium green") |
4786 | - | Frame335.Parent = GuiMain334 |
4786 | + | Part273.FormFactor = Enum.FormFactor.Symmetric |
4787 | - | Frame335.Transparency = 1 |
4787 | + | Part273.formFactor = Enum.FormFactor.Symmetric |
4788 | - | Frame335.Size = UDim2.new(0.389999986, 0, 0.300000012, 0) |
4788 | + | Script274.Parent = Part273 |
4789 | - | Frame335.BackgroundColor = BrickColor.new("Dark stone grey") |
4789 | + | table.insert(cors,sandbox(Script274,function() |
4790 | - | Frame335.BackgroundColor3 = Color3.new(0.388235, 0.372549, 0.384314) |
4790 | + | wait(1) |
4791 | - | Frame335.BackgroundTransparency = 1 |
4791 | + | owner=script.Parent.Parent.Name |
4792 | - | TextButton336.Name = "Jetoff" |
4792 | + | |
4793 | - | TextButton336.Parent = Frame335 |
4793 | + | function onTouched(part) |
4794 | - | TextButton336.Position = UDim2.new(2.20000005, 0, 0.300000012, 0) |
4794 | + | if part.Parent ~= nil then |
4795 | - | TextButton336.Size = UDim2.new(0.200000003, 0, 0.300000012, 0) |
4795 | + | local h = part.Parent:findFirstChild("Humanoid") |
4796 | - | TextButton336.BackgroundColor = BrickColor.new("Hot pink") |
4796 | + | if h~=nil then |
4797 | - | TextButton336.BackgroundColor3 = Color3.new(0.85098, 0, 0.85098) |
4797 | + | if cantouch~=0 then |
4798 | - | TextButton336.Text = "Jetpack Off" |
4798 | + | if h.Parent.Name~=owner then |
4799 | - | TextButton336.TextColor = BrickColor.new("Navy blue") |
4799 | + | |
4800 | - | TextButton336.TextColor3 = Color3.new(0, 0.12549, 0.376471) |
4800 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
4801 | - | Script337.Parent = TextButton336 |
4801 | + | |
4802 | cantouch=0 | |
4803 | - | local player = script.Parent.Parent.Parent.Parent.Parent.Character |
4803 | + | |
4804 | local larm=h.Parent:findFirstChild("Left Arm") | |
4805 | - | function onClick(mouse) |
4805 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
4806 | - | if player.Jetpack.Middle:findFirstChild("BVel") then |
4806 | + | |
4807 | - | player.Jetpack.Flame2.Transparency = 1 |
4807 | + | if larm~=nil then |
4808 | - | player.Jetpack.Flame1.Transparency = 1 |
4808 | + | larm:remove() |
4809 | - | player.Jetpack.Middle.BVel:remove() |
4809 | + | end |
4810 | if rarm~=nil then | |
4811 | rarm:remove() | |
4812 | end | |
4813 | - | script.Parent.MouseButton1Down:connect(onClick) |
4813 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
4814 | if zee~=nil then | |
4815 | - | Script338.Parent = TextButton336 |
4815 | + | local zlarm=zee:clone() |
4816 | local zrarm=zee:clone() | |
4817 | - | local player = script.Parent.Parent.Parent.Parent.Parent.Character |
4817 | + | if zlarm~=nil then |
4818 | ||
4819 | - | function onClick(mouse) |
4819 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
4820 | - | if player.Jetpack.Middle:findFirstChild("BHov") then |
4820 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
4821 | - | player.Jetpack.Flame2.Transparency = 1 |
4821 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
4822 | - | player.Jetpack.Flame1.Transparency = 1 |
4822 | + | zlarm.Parent=h.Parent |
4823 | - | player.Jetpack.Middle.BHov:remove() |
4823 | + | zrarm.Parent=h.Parent |
4824 | zlarm:makeJoints() | |
4825 | zrarm:makeJoints() | |
4826 | zlarm.Anchored=false | |
4827 | - | script.Parent.MouseButton1Down:connect(onClick) |
4827 | + | zrarm.Anchored=false |
4828 | wait(0.1) | |
4829 | - | TextButton339.Name = "Reset" |
4829 | + | h.Parent.Head.Color=zee.Color |
4830 | - | TextButton339.Parent = Frame335 |
4830 | + | else print("no zee"); return end |
4831 | - | TextButton339.Position = UDim2.new(2, 0, 0.600000024, 0) |
4831 | + | end |
4832 | - | TextButton339.Size = UDim2.new(0.200000003, 0, 0.300000012, 0) |
4832 | + | wait(1) |
4833 | - | TextButton339.BackgroundColor = BrickColor.new("Bright red") |
4833 | + | cantouch=1 |
4834 | - | TextButton339.BackgroundColor3 = Color3.new(0.952941, 0.156863, 0.109804) |
4834 | + | end |
4835 | - | TextButton339.BorderColor = BrickColor.new("Dark stone grey") |
4835 | + | end |
4836 | - | TextButton339.BorderColor3 = Color3.new(0.388235, 0.372549, 0.384314) |
4836 | + | |
4837 | - | TextButton339.Text = "Reset" |
4837 | + | |
4838 | - | TextButton339.TextColor = BrickColor.new("Navy blue") |
4838 | + | |
4839 | - | TextButton339.TextColor3 = Color3.new(0, 0.12549, 0.376471) |
4839 | + | |
4840 | - | Script340.Parent = TextButton339 |
4840 | + | |
4841 | - | table.insert(cors,sandbox(Script340,function() |
4841 | + | |
4842 | - | -- XxMegamanxX |
4842 | + | ObjectValue275.Name = "IsNZ" |
4843 | ObjectValue275.Parent = Model263 | |
4844 | - | local player = script.Parent.Parent.Parent.Parent.Parent |
4844 | + | IntValue276.Name = "Mode" |
4845 | IntValue276.Parent = Model263 | |
4846 | - | function onClick(mouse) |
4846 | + | Script277.Parent = Model263 |
4847 | table.insert(cors,sandbox(Script277,function() | |
4848 | - | player.Character:breakJoints() -- Delete this to make a script yourself. |
4848 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
4849 | local rarm = script.Parent:FindFirstChild("Right Arm") | |
4850 | ||
4851 | function findNearestTorso(pos) | |
4852 | - | script.Parent.MouseButton1Down:connect(onClick) |
4852 | + | local list = game.Workspace:children() |
4853 | local torso = nil | |
4854 | - | TextButton341.Name = "Jeton" |
4854 | + | local dist = 1000 |
4855 | - | TextButton341.Parent = Frame335 |
4855 | + | local temp = nil |
4856 | - | TextButton341.Position = UDim2.new(2, 0, 0.300000012, 0) |
4856 | + | local human = nil |
4857 | - | TextButton341.Size = UDim2.new(0.200000003, 0, 0.300000012, 0) |
4857 | + | local temp2 = nil |
4858 | - | TextButton341.BackgroundColor = BrickColor.new("Royal purple") |
4858 | + | for x = 1, #list do |
4859 | - | TextButton341.BackgroundColor3 = Color3.new(0.384314, 0.145098, 1) |
4859 | + | temp2 = list[x] |
4860 | - | TextButton341.Text = "Jetpack On" |
4860 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
4861 | - | TextButton341.TextColor = BrickColor.new("Navy blue") |
4861 | + | temp = temp2:findFirstChild("Right Arm") |
4862 | - | TextButton341.TextColor3 = Color3.new(0, 0.12549, 0.376471) |
4862 | + | human = temp2:findFirstChild("Humanoid") |
4863 | - | Script342.Parent = TextButton341 |
4863 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
4864 | - | table.insert(cors,sandbox(Script342,function() |
4864 | + | if (temp.Position - pos).magnitude < dist then |
4865 | - | local player = script.Parent.Parent.Parent.Parent.Parent.Character |
4865 | + | torso = temp |
4866 | - | local bv = script.BVel:clone() |
4866 | + | dist = (temp.Position - pos).magnitude |
4867 | end | |
4868 | - | function onClick(mouse) |
4868 | + | |
4869 | end | |
4870 | - | player.Jetpack.Flame2.Transparency = 0.4 |
4870 | + | |
4871 | - | player.Jetpack.Flame1.Transparency = 0.4 |
4871 | + | return torso |
4872 | - | bv.Parent = player.Jetpack.Middle |
4872 | + | |
4873 | ||
4874 | ||
4875 | ||
4876 | - | script.Parent.MouseButton1Down:connect(onClick) |
4876 | + | |
4877 | while true do | |
4878 | - | BodyVelocity343.Name = "BVel" |
4878 | + | wait(math.random(1,5)) |
4879 | - | BodyVelocity343.Parent = Script342 |
4879 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
4880 | - | BodyVelocity343.MaxForce = Vector3.new(0, 99999, 0) |
4880 | + | if target ~= nil then |
4881 | - | BodyVelocity343.maxForce = Vector3.new(0, 99999, 0) |
4881 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
4882 | - | BodyVelocity343.Velocity = Vector3.new(0, 20, 0) |
4882 | + | |
4883 | - | BodyVelocity343.velocity = Vector3.new(0, 20, 0) |
4883 | + | |
4884 | - | TextButton344.Name = "Hoveroff" |
4884 | + | |
4885 | - | TextButton344.Parent = Frame335 |
4885 | + | |
4886 | - | TextButton344.Position = UDim2.new(2.20000005, 0, 1.59999995e-08, 0) |
4886 | + | |
4887 | - | TextButton344.Size = UDim2.new(0.200000003, 0, 0.300000012, 0) |
4887 | + | Script278.Name = "Health" |
4888 | - | TextButton344.BackgroundColor = BrickColor.new("Mauve") |
4888 | + | Script278.Parent = Model263 |
4889 | - | TextButton344.BackgroundColor3 = Color3.new(0.890196, 0.686275, 1) |
4889 | + | table.insert(cors,sandbox(Script278,function() |
4890 | - | TextButton344.Text = "Hover Off" |
4890 | + | function waitForChild(parent, childName) |
4891 | - | TextButton344.TextColor = BrickColor.new("Navy blue") |
4891 | + | while true do |
4892 | - | TextButton344.TextColor3 = Color3.new(0, 0.12549, 0.376471) |
4892 | + | local child = parent:findFirstChild(childName) |
4893 | - | Script345.Parent = TextButton344 |
4893 | + | if child then |
4894 | - | table.insert(cors,sandbox(Script345,function() |
4894 | + | |
4895 | - | local player = script.Parent.Parent.Parent.Parent.Parent.Character |
4895 | + | |
4896 | parent.ChildAdded:wait() | |
4897 | - | function onClick(mouse) |
4897 | + | |
4898 | - | if player.Chest.Middle:findFirstChild("BHov") then |
4898 | + | |
4899 | - | player.Jetpack.Flame2.Transparency = 1 |
4899 | + | |
4900 | - | player.Jetpack.Flame1.Transparency = 1 |
4900 | + | -- declarations |
4901 | - | player.Jetpack.Middle.BHov:remove() |
4901 | + | |
4902 | local Figure = script.Parent | |
4903 | local Head = waitForChild(Figure, "Head") | |
4904 | local Humanoid = waitForChild(Figure, "Humanoid") | |
4905 | - | script.Parent.MouseButton1Down:connect(onClick) |
4905 | + | Humanoid.Health=500 |
4906 | -- regeneration | |
4907 | - | TextButton346.Name = "Hoveron" |
4907 | + | |
4908 | - | TextButton346.Parent = Frame335 |
4908 | + | local s = wait(4) |
4909 | - | TextButton346.Position = UDim2.new(2, 0, 2.40000002e-08, 0) |
4909 | + | local health = Humanoid.Health |
4910 | - | TextButton346.Size = UDim2.new(0.200000003, 0, 0.300000012, 0) |
4910 | + | if health > 0 and health < Humanoid.MaxHealth then |
4911 | - | TextButton346.BackgroundColor = BrickColor.new("Hot pink") |
4911 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
4912 | - | TextButton346.BackgroundColor3 = Color3.new(1, 0, 0.933333) |
4912 | + | if health * 1.05 < Humanoid.MaxHealth then |
4913 | - | TextButton346.Text = "Hover On" |
4913 | + | Humanoid.Health = health |
4914 | - | TextButton346.TextColor = BrickColor.new("Navy blue") |
4914 | + | else |
4915 | - | TextButton346.TextColor3 = Color3.new(0, 0.12549, 0.376471) |
4915 | + | Humanoid.Health = Humanoid.MaxHealth |
4916 | - | Script347.Parent = TextButton346 |
4916 | + | |
4917 | - | table.insert(cors,sandbox(Script347,function() |
4917 | + | |
4918 | - | local player = script.Parent.Parent.Parent.Parent.Parent.Character |
4918 | + | |
4919 | - | local bh = script.BHov:clone() |
4919 | + | |
4920 | end)) | |
4921 | - | function onClick(mouse) |
4921 | + | Script279.Name = "Respawn" |
4922 | Script279.Parent = Model263 | |
4923 | - | player.Jetpack.Flame2.Transparency = 0.4 |
4923 | + | |
4924 | - | player.Jetpack.Flame1.Transparency = 0.4 |
4924 | + | name="Humanoid" |
4925 | - | bh.Parent = player.Jetpack.Middle |
4925 | + | |
4926 | robo=script.Parent:clone() | |
4927 | ||
4928 | while true do | |
4929 | - | script.Parent.MouseButton1Down:connect(onClick) |
4929 | + | wait(1) |
4930 | if script.Parent.Humanoid.Health<1 then | |
4931 | - | BodyVelocity348.Name = "BHov" |
4931 | + | robot=robo:clone() |
4932 | - | BodyVelocity348.Parent = Script347 |
4932 | + | robot.Parent=script.Parent.Parent |
4933 | - | BodyVelocity348.MaxForce = Vector3.new(0, 100000, 0) |
4933 | + | robot:makeJoints() |
4934 | - | BodyVelocity348.maxForce = Vector3.new(0, 100000, 0) |
4934 | + | script.Parent:remove() |
4935 | - | BodyVelocity348.Velocity = Vector3.new(0, 0.100000001, 0) |
4935 | + | |
4936 | - | BodyVelocity348.velocity = Vector3.new(0, 0.100000001, 0) |
4936 | + | |
4937 | - | BodyForce349.Parent = Part333 |
4937 | + | |
4938 | - | BodyForce349.Force = Vector3.new(0, 216.000015, 0) |
4938 | + | |
4939 | - | BodyForce349.force = Vector3.new(0, 216.000015, 0) |
4939 | + | |
4940 | - | Script350.Name = "Torso" |
4940 | + | |
4941 | - | Script350.Parent = Part333 |
4941 | + | |
4942 | - | table.insert(cors,sandbox(Script350,function() |
4942 | + | Part280.Name = "Spawn Location" |
4943 | - | function onTouched(hit) |
4943 | + | Part280.Parent = Model262 |
4944 | - | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Jetpack") == nil then |
4944 | + | Part280.CFrame = CFrame.new(188.113556, 0.603015006, 235.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
4945 | - | local g = script.Parent.Parent.Jetpack:clone() |
4945 | + | Part280.Orientation = Vector3.new(0, 180, 0) |
4946 | - | g.Parent = hit.Parent |
4946 | + | Part280.Position = Vector3.new(188.113556, 0.603015006, 235.491455) |
4947 | - | local C = g:GetChildren() |
4947 | + | Part280.Rotation = Vector3.new(-180, 0, -180) |
4948 | - | for i=1, #C do |
4948 | + | Part280.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4949 | - | if C[i].className == "Part" then |
4949 | + | Part280.Size = Vector3.new(6, 1.20000005, 6) |
4950 | - | local W = Instance.new("Weld") |
4950 | + | Part280.BottomSurface = Enum.SurfaceType.Weld |
4951 | - | W.Part0 = g.Middle |
4951 | + | Part280.BrickColor = BrickColor.new("Medium green") |
4952 | - | W.Part1 = C[i] |
4952 | + | |
4953 | - | local CJ = CFrame.new(g.Middle.Position) |
4953 | + | Part280.brickColor = BrickColor.new("Medium green") |
4954 | - | local C0 = g.Middle.CFrame:inverse()*CJ |
4954 | + | Decal281.Parent = Part280 |
4955 | - | local C1 = C[i].CFrame:inverse()*CJ |
4955 | + | Decal281.Texture = "http://www.roblox.com/asset/?id=34541722" |
4956 | - | W.C0 = C0 |
4956 | + | Decal281.Face = Enum.NormalId.Top |
4957 | - | W.C1 = C1 |
4957 | + | Model282.Parent = Model201 |
4958 | - | W.Parent = g.Middle |
4958 | + | Model283.Name = "Zombie" |
4959 | Model283.Parent = Model282 | |
4960 | - | local Y = Instance.new("Weld") |
4960 | + | Model283.PrimaryPart = Part284 |
4961 | - | Y.Part0 = hit.Parent.Torso |
4961 | + | Part284.Name = "Head" |
4962 | - | Y.Part1 = g.Middle |
4962 | + | Part284.Parent = Model283 |
4963 | - | Y.C0 = CFrame.new(0, 0, 0) |
4963 | + | Part284.CFrame = CFrame.new(188.608551, 6.09995508, 241.513428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
4964 | - | Y.Parent = Y.Part0 |
4964 | + | Part284.Orientation = Vector3.new(0, 90, 0) |
4965 | Part284.Position = Vector3.new(188.608551, 6.09995508, 241.513428) | |
4966 | Part284.Rotation = Vector3.new(0, 90, 0) | |
4967 | - | local h = g:GetChildren() |
4967 | + | Part284.Color = Color3.new(0.631373, 0.768628, 0.54902) |
4968 | - | for i = 1, # h do |
4968 | + | Part284.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20) |
4969 | - | h[i].Anchored = false |
4969 | + | Part284.Size = Vector3.new(2, 1, 1) |
4970 | - | h[i].CanCollide = false |
4970 | + | Part284.BrickColor = BrickColor.new("Medium green") |
4971 | Part284.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) | |
4972 | Part284.TopSurface = Enum.SurfaceType.Smooth | |
4973 | Part284.brickColor = BrickColor.new("Medium green") | |
4974 | Part284.FormFactor = Enum.FormFactor.Symmetric | |
4975 | Part284.formFactor = Enum.FormFactor.Symmetric | |
4976 | SpecialMesh285.Parent = Part284 | |
4977 | SpecialMesh285.Scale = Vector3.new(1.25, 1.25, 1.25) | |
4978 | - | Script351.Parent = Part333 |
4978 | + | Decal286.Name = "face" |
4979 | - | table.insert(cors,sandbox(Script351,function() |
4979 | + | Decal286.Parent = Part284 |
4980 | - | function onTouch(hit) |
4980 | + | Part287.Name = "Torso" |
4981 | Part287.Parent = Model283 | |
4982 | - | local ptt = game.Players:playerFromCharacter(hit.Parent) |
4982 | + | Part287.CFrame = CFrame.new(188.608551, 4.59995508, 241.513428, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
4983 | - | if ptt == nil then return end |
4983 | + | Part287.Orientation = Vector3.new(0, 90, 0) |
4984 | - | local wfp = script.Parent:findFirstChild("GuiMain"):clone() --change "NameOfTheWeaponHere" to the weapon you want to give |
4984 | + | Part287.Position = Vector3.new(188.608551, 4.59995508, 241.513428) |
4985 | - | if wfp == nil then return end |
4985 | + | Part287.Rotation = Vector3.new(0, 90, 0) |
4986 | - | wfp.Parent = ptt.PlayerGui |
4986 | + | Part287.Color = Color3.new(0.411765, 0.25098, 0.156863) |
4987 | Part287.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20) | |
4988 | Part287.Size = Vector3.new(2, 2, 1) | |
4989 | Part287.BrickColor = BrickColor.new("Reddish brown") | |
4990 | - | script.Parent.Touched:connect(onTouch) |
4990 | + | Part287.LeftParamA = 0 |
4991 | Part287.LeftParamB = 0 | |
4992 | - | Fire352.Parent = Part333 |
4992 | + | Part287.LeftSurface = Enum.SurfaceType.Weld |
4993 | - | Fire352.Color = Color3.new(1, 0.745098, 0) |
4993 | + | Part287.RightParamA = 0 |
4994 | - | Fire352.Enabled = false |
4994 | + | Part287.RightParamB = 0 |
4995 | - | Fire352.Size = 30 |
4995 | + | Part287.RightSurface = Enum.SurfaceType.Weld |
4996 | - | Fire352.Heat = 25 |
4996 | + | Part287.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
4997 | - | Fire352.SecondaryColor = Color3.new(1, 0, 0) |
4997 | + | Part287.brickColor = BrickColor.new("Reddish brown") |
4998 | - | Fire352.size = 30 |
4998 | + | Part287.FormFactor = Enum.FormFactor.Symmetric |
4999 | - | Script353.Parent = Fire352 |
4999 | + | Part287.formFactor = Enum.FormFactor.Symmetric |
5000 | - | table.insert(cors,sandbox(Script353,function() |
5000 | + | Part288.Name = "Left Leg" |
5001 | - | function Spread(part) |
5001 | + | Part288.Parent = Model283 |
5002 | - | check = part:findFirstChild("Fire") |
5002 | + | Part288.CFrame = CFrame.new(188.608551, 2.59995508, 242.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
5003 | - | if check == nil then |
5003 | + | Part288.Orientation = Vector3.new(0, 90, 0) |
5004 | - | script.Parent:Clone().Parent = part |
5004 | + | Part288.Position = Vector3.new(188.608551, 2.59995508, 242.013428) |
5005 | - | |
5005 | + | Part288.Rotation = Vector3.new(0, 90, 0) |
5006 | - | elseif check ~= nil then |
5006 | + | Part288.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5007 | - | check.Size = check.Size + 1 |
5007 | + | Part288.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20) |
5008 | - | check.Heat = check.Heat +1 |
5008 | + | Part288.Size = Vector3.new(1, 2, 1) |
5009 | Part288.BottomSurface = Enum.SurfaceType.Smooth | |
5010 | Part288.BrickColor = BrickColor.new("Reddish brown") | |
5011 | Part288.CanCollide = false | |
5012 | Part288.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) | |
5013 | - | script.Parent.Parent.Touched:connect(Spread) |
5013 | + | Part288.brickColor = BrickColor.new("Reddish brown") |
5014 | Part288.FormFactor = Enum.FormFactor.Symmetric | |
5015 | Part288.formFactor = Enum.FormFactor.Symmetric | |
5016 | Part289.Name = "Right Leg" | |
5017 | - | Model354.Name = "Jetpack" |
5017 | + | Part289.Parent = Model283 |
5018 | - | Model354.Parent = Model332 |
5018 | + | Part289.CFrame = CFrame.new(188.608551, 2.59995508, 241.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
5019 | - | Part355.Name = "Flame2" |
5019 | + | Part289.Orientation = Vector3.new(0, 90, 0) |
5020 | - | Part355.Parent = Model354 |
5020 | + | Part289.Position = Vector3.new(188.608551, 2.59995508, 241.013428) |
5021 | - | Part355.CFrame = CFrame.new(178.801758, 14.688776, 204.3125, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
5021 | + | Part289.Rotation = Vector3.new(0, 90, 0) |
5022 | - | Part355.Orientation = Vector3.new(0, 90, 0) |
5022 | + | Part289.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5023 | - | Part355.Position = Vector3.new(178.801758, 14.688776, 204.3125) |
5023 | + | Part289.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20) |
5024 | - | Part355.Rotation = Vector3.new(0, 90, 0) |
5024 | + | Part289.Size = Vector3.new(1, 2, 1) |
5025 | - | Part355.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
5025 | + | Part289.BottomSurface = Enum.SurfaceType.Smooth |
5026 | - | Part355.Transparency = 0.40000000596046 |
5026 | + | Part289.BrickColor = BrickColor.new("Reddish brown") |
5027 | - | Part355.Size = Vector3.new(1, 0.400000006, 1) |
5027 | + | Part289.CanCollide = false |
5028 | - | Part355.Anchored = true |
5028 | + | Part289.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5029 | - | Part355.BottomSurface = Enum.SurfaceType.Smooth |
5029 | + | Part289.brickColor = BrickColor.new("Reddish brown") |
5030 | - | Part355.BrickColor = BrickColor.new("Bright blue") |
5030 | + | Part289.FormFactor = Enum.FormFactor.Symmetric |
5031 | - | Part355.CanCollide = false |
5031 | + | Part289.formFactor = Enum.FormFactor.Symmetric |
5032 | - | Part355.TopSurface = Enum.SurfaceType.Smooth |
5032 | + | Humanoid290.Parent = Model283 |
5033 | - | Part355.brickColor = BrickColor.new("Bright blue") |
5033 | + | Humanoid290.LeftLeg = Part288 |
5034 | - | Part355.FormFactor = Enum.FormFactor.Plate |
5034 | + | Humanoid290.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
5035 | - | Part355.formFactor = Enum.FormFactor.Plate |
5035 | + | Humanoid290.RightLeg = Part289 |
5036 | - | SpecialMesh356.Parent = Part355 |
5036 | + | Humanoid290.Torso = Part287 |
5037 | - | SpecialMesh356.Scale = Vector3.new(0.699999988, 6, 0.699999988) |
5037 | + | Part291.Name = "zarm" |
5038 | - | SpecialMesh356.MeshType = Enum.MeshType.Sphere |
5038 | + | Part291.Parent = Model283 |
5039 | - | BodyForce357.Parent = Part355 |
5039 | + | Part291.CFrame = CFrame.new(188.108551, 5.09995508, 243.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
5040 | - | BodyForce357.Force = Vector3.new(0, 72, 0) |
5040 | + | Part291.Orientation = Vector3.new(0, 180, 0) |
5041 | - | BodyForce357.force = Vector3.new(0, 72, 0) |
5041 | + | Part291.Position = Vector3.new(188.108551, 5.09995508, 243.013428) |
5042 | - | Fire358.Parent = Part355 |
5042 | + | Part291.Rotation = Vector3.new(-180, 0, -180) |
5043 | - | Fire358.Color = Color3.new(1, 0.745098, 0) |
5043 | + | Part291.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5044 | - | Fire358.Enabled = false |
5044 | + | Part291.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20) |
5045 | - | Fire358.Size = 30 |
5045 | + | Part291.Size = Vector3.new(2, 1, 1) |
5046 | - | Fire358.Heat = 25 |
5046 | + | |
5047 | - | Fire358.SecondaryColor = Color3.new(1, 0, 0) |
5047 | + | Part291.BrickColor = BrickColor.new("Medium green") |
5048 | - | Fire358.size = 30 |
5048 | + | Part291.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5049 | - | Script359.Parent = Fire358 |
5049 | + | |
5050 | Part291.brickColor = BrickColor.new("Medium green") | |
5051 | - | function Spread(part) |
5051 | + | Part291.FormFactor = Enum.FormFactor.Symmetric |
5052 | - | check = part:findFirstChild("Fire") |
5052 | + | Part291.formFactor = Enum.FormFactor.Symmetric |
5053 | - | if check == nil then |
5053 | + | Script292.Parent = Part291 |
5054 | - | script.Parent:Clone().Parent = part |
5054 | + | table.insert(cors,sandbox(Script292,function() |
5055 | - | |
5055 | + | wait(1) |
5056 | - | elseif check ~= nil then |
5056 | + | owner=script.Parent.Parent.Name |
5057 | - | check.Size = check.Size + 1 |
5057 | + | |
5058 | - | check.Heat = check.Heat +1 |
5058 | + | function onTouched(part) |
5059 | if part.Parent ~= nil then | |
5060 | local h = part.Parent:findFirstChild("Humanoid") | |
5061 | if h~=nil then | |
5062 | if cantouch~=0 then | |
5063 | - | script.Parent.Parent.Touched:connect(Spread) |
5063 | + | if h.Parent.Name~=owner then |
5064 | ||
5065 | if h.Parent:findFirstChild("zarm")~=nil then return end | |
5066 | ||
5067 | - | Part360.Parent = Model354 |
5067 | + | cantouch=0 |
5068 | - | Part360.CFrame = CFrame.new(177.901611, 15.6886101, 204.3125, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
5068 | + | |
5069 | local larm=h.Parent:findFirstChild("Left Arm") | |
5070 | - | Part360.Position = Vector3.new(177.901611, 15.6886101, 204.3125) |
5070 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
5071 | ||
5072 | - | Part360.Color = Color3.new(0.388235, 0.372549, 0.384314) |
5072 | + | if larm~=nil then |
5073 | - | Part360.Size = Vector3.new(2, 1, 1) |
5073 | + | larm:remove() |
5074 | - | Part360.Anchored = true |
5074 | + | end |
5075 | - | Part360.BottomSurface = Enum.SurfaceType.Smooth |
5075 | + | if rarm~=nil then |
5076 | - | Part360.BrickColor = BrickColor.new("Dark stone grey") |
5076 | + | rarm:remove() |
5077 | end | |
5078 | - | Part360.brickColor = BrickColor.new("Dark stone grey") |
5078 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
5079 | - | Part360.FormFactor = Enum.FormFactor.Symmetric |
5079 | + | if zee~=nil then |
5080 | - | Part360.formFactor = Enum.FormFactor.Symmetric |
5080 | + | local zlarm=zee:clone() |
5081 | - | BlockMesh361.Parent = Part360 |
5081 | + | local zrarm=zee:clone() |
5082 | - | BlockMesh361.Scale = Vector3.new(1, 1.5, 0.600000024) |
5082 | + | if zlarm~=nil then |
5083 | - | BodyForce362.Parent = Part360 |
5083 | + | |
5084 | - | BodyForce362.Force = Vector3.new(0, 360, 0) |
5084 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
5085 | - | BodyForce362.force = Vector3.new(0, 360, 0) |
5085 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
5086 | - | Fire363.Parent = Part360 |
5086 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
5087 | - | Fire363.Color = Color3.new(1, 0.745098, 0) |
5087 | + | zlarm.Parent=h.Parent |
5088 | - | Fire363.Enabled = false |
5088 | + | zrarm.Parent=h.Parent |
5089 | - | Fire363.Size = 30 |
5089 | + | zlarm:makeJoints() |
5090 | - | Fire363.Heat = 25 |
5090 | + | zrarm:makeJoints() |
5091 | - | Fire363.SecondaryColor = Color3.new(1, 0, 0) |
5091 | + | zlarm.Anchored=false |
5092 | - | Fire363.size = 30 |
5092 | + | zrarm.Anchored=false |
5093 | - | Script364.Parent = Fire363 |
5093 | + | wait(0.1) |
5094 | - | table.insert(cors,sandbox(Script364,function() |
5094 | + | h.Parent.Head.Color=zee.Color |
5095 | - | function Spread(part) |
5095 | + | else print("no zee"); return end |
5096 | - | check = part:findFirstChild("Fire") |
5096 | + | end |
5097 | - | if check == nil then |
5097 | + | wait(1) |
5098 | - | script.Parent:Clone().Parent = part |
5098 | + | cantouch=1 |
5099 | - | |
5099 | + | end |
5100 | - | elseif check ~= nil then |
5100 | + | end |
5101 | - | check.Size = check.Size + 1 |
5101 | + | |
5102 | - | check.Heat = check.Heat +1 |
5102 | + | |
5103 | end | |
5104 | ||
5105 | script.Parent.Touched:connect(onTouched) | |
5106 | end)) | |
5107 | - | script.Parent.Parent.Touched:connect(Spread) |
5107 | + | Part293.Name = "zarm" |
5108 | Part293.Parent = Model283 | |
5109 | Part293.CFrame = CFrame.new(188.108551, 5.09995508, 240.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) | |
5110 | Part293.Orientation = Vector3.new(0, 180, 0) | |
5111 | - | Part365.Parent = Model354 |
5111 | + | Part293.Position = Vector3.new(188.108551, 5.09995508, 240.013428) |
5112 | - | Part365.CFrame = CFrame.new(178.801758, 15.6886101, 204.3125, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
5112 | + | Part293.Rotation = Vector3.new(-180, 0, -180) |
5113 | - | Part365.Orientation = Vector3.new(0, 180, 0) |
5113 | + | Part293.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5114 | - | Part365.Position = Vector3.new(178.801758, 15.6886101, 204.3125) |
5114 | + | Part293.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20) |
5115 | - | Part365.Rotation = Vector3.new(-180, 0, -180) |
5115 | + | Part293.Size = Vector3.new(2, 1, 1) |
5116 | - | Part365.Color = Color3.new(0.972549, 0.972549, 0.972549) |
5116 | + | Part293.BottomSurface = Enum.SurfaceType.Smooth |
5117 | - | Part365.Size = Vector3.new(1, 1, 1) |
5117 | + | Part293.BrickColor = BrickColor.new("Medium green") |
5118 | - | Part365.Anchored = true |
5118 | + | Part293.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5119 | - | Part365.BottomSurface = Enum.SurfaceType.Smooth |
5119 | + | Part293.TopSurface = Enum.SurfaceType.Smooth |
5120 | - | Part365.BrickColor = BrickColor.new("Institutional white") |
5120 | + | Part293.brickColor = BrickColor.new("Medium green") |
5121 | - | Part365.TopSurface = Enum.SurfaceType.Smooth |
5121 | + | Part293.FormFactor = Enum.FormFactor.Symmetric |
5122 | - | Part365.brickColor = BrickColor.new("Institutional white") |
5122 | + | Part293.formFactor = Enum.FormFactor.Symmetric |
5123 | - | Part365.FormFactor = Enum.FormFactor.Symmetric |
5123 | + | Script294.Parent = Part293 |
5124 | - | Part365.formFactor = Enum.FormFactor.Symmetric |
5124 | + | |
5125 | - | SpecialMesh366.Parent = Part365 |
5125 | + | wait(1) |
5126 | - | SpecialMesh366.Scale = Vector3.new(1, 2, 0.800000012) |
5126 | + | owner=script.Parent.Parent.Name |
5127 | - | BodyForce367.Parent = Part365 |
5127 | + | |
5128 | - | BodyForce367.Force = Vector3.new(0, 180, 0) |
5128 | + | function onTouched(part) |
5129 | - | BodyForce367.force = Vector3.new(0, 180, 0) |
5129 | + | if part.Parent ~= nil then |
5130 | - | Fire368.Parent = Part365 |
5130 | + | local h = part.Parent:findFirstChild("Humanoid") |
5131 | - | Fire368.Color = Color3.new(1, 0.745098, 0) |
5131 | + | if h~=nil then |
5132 | - | Fire368.Enabled = false |
5132 | + | if cantouch~=0 then |
5133 | - | Fire368.Size = 30 |
5133 | + | if h.Parent.Name~=owner then |
5134 | - | Fire368.Heat = 25 |
5134 | + | |
5135 | - | Fire368.SecondaryColor = Color3.new(1, 0, 0) |
5135 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
5136 | - | Fire368.size = 30 |
5136 | + | |
5137 | - | Script369.Parent = Fire368 |
5137 | + | cantouch=0 |
5138 | - | table.insert(cors,sandbox(Script369,function() |
5138 | + | |
5139 | - | function Spread(part) |
5139 | + | local larm=h.Parent:findFirstChild("Left Arm") |
5140 | - | check = part:findFirstChild("Fire") |
5140 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
5141 | - | if check == nil then |
5141 | + | |
5142 | - | script.Parent:Clone().Parent = part |
5142 | + | if larm~=nil then |
5143 | - | |
5143 | + | larm:remove() |
5144 | - | elseif check ~= nil then |
5144 | + | end |
5145 | - | check.Size = check.Size + 1 |
5145 | + | if rarm~=nil then |
5146 | - | check.Heat = check.Heat +1 |
5146 | + | rarm:remove() |
5147 | end | |
5148 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
5149 | if zee~=nil then | |
5150 | local zlarm=zee:clone() | |
5151 | - | script.Parent.Parent.Touched:connect(Spread) |
5151 | + | local zrarm=zee:clone() |
5152 | if zlarm~=nil then | |
5153 | ||
5154 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
5155 | - | Part370.Parent = Model354 |
5155 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
5156 | - | Part370.CFrame = CFrame.new(178.801758, 16.3886871, 204.3125, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
5156 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
5157 | - | Part370.Position = Vector3.new(178.801758, 16.3886871, 204.3125) |
5157 | + | zlarm.Parent=h.Parent |
5158 | - | Part370.Color = Color3.new(0.972549, 0.972549, 0.972549) |
5158 | + | zrarm.Parent=h.Parent |
5159 | - | Part370.Size = Vector3.new(1, 0.400000006, 1) |
5159 | + | zlarm:makeJoints() |
5160 | - | Part370.Anchored = true |
5160 | + | zrarm:makeJoints() |
5161 | - | Part370.BottomSurface = Enum.SurfaceType.Smooth |
5161 | + | zlarm.Anchored=false |
5162 | - | Part370.BrickColor = BrickColor.new("Institutional white") |
5162 | + | zrarm.Anchored=false |
5163 | - | Part370.TopSurface = Enum.SurfaceType.Smooth |
5163 | + | wait(0.1) |
5164 | - | Part370.brickColor = BrickColor.new("Institutional white") |
5164 | + | h.Parent.Head.Color=zee.Color |
5165 | - | Part370.FormFactor = Enum.FormFactor.Plate |
5165 | + | else print("no zee"); return end |
5166 | - | Part370.formFactor = Enum.FormFactor.Plate |
5166 | + | end |
5167 | - | SpecialMesh371.Parent = Part370 |
5167 | + | wait(1) |
5168 | - | SpecialMesh371.Scale = Vector3.new(0.800000012, 3, 0.800000012) |
5168 | + | cantouch=1 |
5169 | - | SpecialMesh371.MeshType = Enum.MeshType.Sphere |
5169 | + | end |
5170 | - | BodyForce372.Parent = Part370 |
5170 | + | end |
5171 | - | BodyForce372.Force = Vector3.new(0, 72, 0) |
5171 | + | |
5172 | - | BodyForce372.force = Vector3.new(0, 72, 0) |
5172 | + | |
5173 | - | Fire373.Parent = Part370 |
5173 | + | |
5174 | - | Fire373.Color = Color3.new(1, 0.745098, 0) |
5174 | + | |
5175 | - | Fire373.Enabled = false |
5175 | + | |
5176 | - | Fire373.Size = 30 |
5176 | + | |
5177 | - | Fire373.Heat = 25 |
5177 | + | ObjectValue295.Name = "IsNZ" |
5178 | - | Fire373.SecondaryColor = Color3.new(1, 0, 0) |
5178 | + | ObjectValue295.Parent = Model283 |
5179 | - | Fire373.size = 30 |
5179 | + | IntValue296.Name = "Mode" |
5180 | - | Script374.Parent = Fire373 |
5180 | + | IntValue296.Parent = Model283 |
5181 | Script297.Parent = Model283 | |
5182 | - | function Spread(part) |
5182 | + | table.insert(cors,sandbox(Script297,function() |
5183 | - | check = part:findFirstChild("Fire") |
5183 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
5184 | - | if check == nil then |
5184 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
5185 | - | script.Parent:Clone().Parent = part |
5185 | + | |
5186 | - | |
5186 | + | function findNearestTorso(pos) |
5187 | - | elseif check ~= nil then |
5187 | + | local list = game.Workspace:children() |
5188 | - | check.Size = check.Size + 1 |
5188 | + | local torso = nil |
5189 | - | check.Heat = check.Heat +1 |
5189 | + | local dist = 1000 |
5190 | local temp = nil | |
5191 | local human = nil | |
5192 | local temp2 = nil | |
5193 | for x = 1, #list do | |
5194 | - | script.Parent.Parent.Touched:connect(Spread) |
5194 | + | temp2 = list[x] |
5195 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
5196 | temp = temp2:findFirstChild("Right Arm") | |
5197 | human = temp2:findFirstChild("Humanoid") | |
5198 | - | Part375.Name = "Flame1" |
5198 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
5199 | - | Part375.Parent = Model354 |
5199 | + | if (temp.Position - pos).magnitude < dist then |
5200 | - | Part375.CFrame = CFrame.new(176.901611, 14.72264, 204.3125, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
5200 | + | torso = temp |
5201 | - | Part375.Orientation = Vector3.new(0, 90, 0) |
5201 | + | dist = (temp.Position - pos).magnitude |
5202 | - | Part375.Position = Vector3.new(176.901611, 14.72264, 204.3125) |
5202 | + | end |
5203 | - | Part375.Rotation = Vector3.new(0, 90, 0) |
5203 | + | |
5204 | - | Part375.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
5204 | + | |
5205 | - | Part375.Transparency = 0.40000000596046 |
5205 | + | |
5206 | - | Part375.Size = Vector3.new(1, 0.400000006, 1) |
5206 | + | return torso |
5207 | - | Part375.Anchored = true |
5207 | + | |
5208 | - | Part375.BottomSurface = Enum.SurfaceType.Smooth |
5208 | + | |
5209 | - | Part375.BrickColor = BrickColor.new("Bright blue") |
5209 | + | |
5210 | - | Part375.CanCollide = false |
5210 | + | |
5211 | - | Part375.TopSurface = Enum.SurfaceType.Smooth |
5211 | + | |
5212 | - | Part375.brickColor = BrickColor.new("Bright blue") |
5212 | + | |
5213 | - | Part375.FormFactor = Enum.FormFactor.Plate |
5213 | + | wait(math.random(1,5)) |
5214 | - | Part375.formFactor = Enum.FormFactor.Plate |
5214 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
5215 | - | SpecialMesh376.Parent = Part375 |
5215 | + | if target ~= nil then |
5216 | - | SpecialMesh376.Scale = Vector3.new(0.699999988, 6, 0.699999988) |
5216 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
5217 | - | SpecialMesh376.MeshType = Enum.MeshType.Sphere |
5217 | + | |
5218 | - | BodyForce377.Parent = Part375 |
5218 | + | |
5219 | - | BodyForce377.Force = Vector3.new(0, 72, 0) |
5219 | + | |
5220 | - | BodyForce377.force = Vector3.new(0, 72, 0) |
5220 | + | |
5221 | - | Fire378.Parent = Part375 |
5221 | + | |
5222 | - | Fire378.Color = Color3.new(1, 0.745098, 0) |
5222 | + | Script298.Name = "Health" |
5223 | - | Fire378.Enabled = false |
5223 | + | Script298.Parent = Model283 |
5224 | - | Fire378.Size = 30 |
5224 | + | table.insert(cors,sandbox(Script298,function() |
5225 | - | Fire378.Heat = 25 |
5225 | + | function waitForChild(parent, childName) |
5226 | - | Fire378.SecondaryColor = Color3.new(1, 0, 0) |
5226 | + | while true do |
5227 | - | Fire378.size = 30 |
5227 | + | local child = parent:findFirstChild(childName) |
5228 | - | Script379.Parent = Fire378 |
5228 | + | if child then |
5229 | return child | |
5230 | - | function Spread(part) |
5230 | + | |
5231 | - | check = part:findFirstChild("Fire") |
5231 | + | parent.ChildAdded:wait() |
5232 | - | if check == nil then |
5232 | + | |
5233 | - | script.Parent:Clone().Parent = part |
5233 | + | |
5234 | - | |
5234 | + | |
5235 | - | elseif check ~= nil then |
5235 | + | -- declarations |
5236 | - | check.Size = check.Size + 1 |
5236 | + | |
5237 | - | check.Heat = check.Heat +1 |
5237 | + | local Figure = script.Parent |
5238 | local Head = waitForChild(Figure, "Head") | |
5239 | local Humanoid = waitForChild(Figure, "Humanoid") | |
5240 | Humanoid.Health=500 | |
5241 | -- regeneration | |
5242 | - | script.Parent.Parent.Touched:connect(Spread) |
5242 | + | |
5243 | local s = wait(4) | |
5244 | local health = Humanoid.Health | |
5245 | if health > 0 and health < Humanoid.MaxHealth then | |
5246 | - | Part380.Parent = Model354 |
5246 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
5247 | - | Part380.CFrame = CFrame.new(177.901611, 16.1224098, 204.3125, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
5247 | + | if health * 1.05 < Humanoid.MaxHealth then |
5248 | Humanoid.Health = health | |
5249 | - | Part380.Position = Vector3.new(177.901611, 16.1224098, 204.3125) |
5249 | + | else |
5250 | Humanoid.Health = Humanoid.MaxHealth | |
5251 | - | Part380.Color = Color3.new(0.972549, 0.972549, 0.972549) |
5251 | + | |
5252 | - | Part380.Size = Vector3.new(1, 2, 1) |
5252 | + | |
5253 | - | Part380.Anchored = true |
5253 | + | |
5254 | - | Part380.BottomSurface = Enum.SurfaceType.Smooth |
5254 | + | |
5255 | - | Part380.BrickColor = BrickColor.new("Institutional white") |
5255 | + | |
5256 | Script299.Name = "Respawn" | |
5257 | - | Part380.brickColor = BrickColor.new("Institutional white") |
5257 | + | Script299.Parent = Model283 |
5258 | - | Part380.FormFactor = Enum.FormFactor.Symmetric |
5258 | + | |
5259 | - | Part380.formFactor = Enum.FormFactor.Symmetric |
5259 | + | name="Humanoid" |
5260 | - | SpecialMesh381.Parent = Part380 |
5260 | + | |
5261 | - | SpecialMesh381.Scale = Vector3.new(1, 1.29999995, 0.800000012) |
5261 | + | robo=script.Parent:clone() |
5262 | - | BodyForce382.Parent = Part380 |
5262 | + | |
5263 | - | BodyForce382.Force = Vector3.new(0, 360, 0) |
5263 | + | |
5264 | - | BodyForce382.force = Vector3.new(0, 360, 0) |
5264 | + | wait(1) |
5265 | - | Fire383.Parent = Part380 |
5265 | + | if script.Parent.Humanoid.Health<1 then |
5266 | - | Fire383.Color = Color3.new(1, 0.745098, 0) |
5266 | + | robot=robo:clone() |
5267 | - | Fire383.Enabled = false |
5267 | + | robot.Parent=script.Parent.Parent |
5268 | - | Fire383.Size = 30 |
5268 | + | robot:makeJoints() |
5269 | - | Fire383.Heat = 25 |
5269 | + | script.Parent:remove() |
5270 | - | Fire383.SecondaryColor = Color3.new(1, 0, 0) |
5270 | + | |
5271 | - | Fire383.size = 30 |
5271 | + | |
5272 | - | Script384.Parent = Fire383 |
5272 | + | |
5273 | - | table.insert(cors,sandbox(Script384,function() |
5273 | + | |
5274 | - | function Spread(part) |
5274 | + | |
5275 | - | check = part:findFirstChild("Fire") |
5275 | + | |
5276 | - | if check == nil then |
5276 | + | |
5277 | - | script.Parent:Clone().Parent = part |
5277 | + | Part300.Name = "Spawn Location" |
5278 | - | |
5278 | + | Part300.Parent = Model282 |
5279 | - | elseif check ~= nil then |
5279 | + | Part300.CFrame = CFrame.new(188.113556, 0.603015006, 241.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
5280 | - | check.Size = check.Size + 1 |
5280 | + | Part300.Orientation = Vector3.new(0, 180, 0) |
5281 | - | check.Heat = check.Heat +1 |
5281 | + | Part300.Position = Vector3.new(188.113556, 0.603015006, 241.491455) |
5282 | Part300.Rotation = Vector3.new(-180, 0, -180) | |
5283 | Part300.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
5284 | Part300.Size = Vector3.new(6, 1.20000005, 6) | |
5285 | Part300.BottomSurface = Enum.SurfaceType.Weld | |
5286 | - | script.Parent.Parent.Touched:connect(Spread) |
5286 | + | Part300.BrickColor = BrickColor.new("Medium green") |
5287 | Part300.TopSurface = Enum.SurfaceType.Smooth | |
5288 | Part300.brickColor = BrickColor.new("Medium green") | |
5289 | Decal301.Parent = Part300 | |
5290 | - | Part385.Parent = Model354 |
5290 | + | Decal301.Texture = "http://www.roblox.com/asset/?id=34541722" |
5291 | - | Part385.CFrame = CFrame.new(177.901611, 15.8884954, 204.012451, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
5291 | + | Decal301.Face = Enum.NormalId.Top |
5292 | - | Part385.Orientation = Vector3.new(0, 180, 0) |
5292 | + | Model302.Parent = Model201 |
5293 | - | Part385.Position = Vector3.new(177.901611, 15.8884954, 204.012451) |
5293 | + | Model303.Name = "Zombie" |
5294 | - | Part385.Rotation = Vector3.new(-180, 0, -180) |
5294 | + | Model303.Parent = Model302 |
5295 | - | Part385.Color = Color3.new(0.972549, 0.972549, 0.972549) |
5295 | + | Model303.PrimaryPart = Part304 |
5296 | - | Part385.Size = Vector3.new(2, 2, 1) |
5296 | + | Part304.Name = "Head" |
5297 | - | Part385.Anchored = true |
5297 | + | Part304.Parent = Model303 |
5298 | - | Part385.BottomSurface = Enum.SurfaceType.Smooth |
5298 | + | Part304.CFrame = CFrame.new(182.586487, 6.09696293, 223.508423, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
5299 | - | Part385.BrickColor = BrickColor.new("Institutional white") |
5299 | + | Part304.Orientation = Vector3.new(0, 90, 0) |
5300 | - | Part385.TopSurface = Enum.SurfaceType.Smooth |
5300 | + | Part304.Position = Vector3.new(182.586487, 6.09696293, 223.508423) |
5301 | - | Part385.brickColor = BrickColor.new("Institutional white") |
5301 | + | Part304.Rotation = Vector3.new(0, 90, 0) |
5302 | - | Part385.FormFactor = Enum.FormFactor.Symmetric |
5302 | + | Part304.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5303 | - | Part385.formFactor = Enum.FormFactor.Symmetric |
5303 | + | Part304.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20) |
5304 | - | BlockMesh386.Parent = Part385 |
5304 | + | Part304.Size = Vector3.new(2, 1, 1) |
5305 | - | BlockMesh386.Scale = Vector3.new(1, 0.699999988, 0.5) |
5305 | + | Part304.BrickColor = BrickColor.new("Medium green") |
5306 | - | BodyForce387.Parent = Part385 |
5306 | + | Part304.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5307 | - | BodyForce387.Force = Vector3.new(0, 720, 0) |
5307 | + | Part304.TopSurface = Enum.SurfaceType.Smooth |
5308 | - | BodyForce387.force = Vector3.new(0, 720, 0) |
5308 | + | Part304.brickColor = BrickColor.new("Medium green") |
5309 | - | Fire388.Parent = Part385 |
5309 | + | Part304.FormFactor = Enum.FormFactor.Symmetric |
5310 | - | Fire388.Color = Color3.new(1, 0.745098, 0) |
5310 | + | Part304.formFactor = Enum.FormFactor.Symmetric |
5311 | - | Fire388.Enabled = false |
5311 | + | SpecialMesh305.Parent = Part304 |
5312 | - | Fire388.Size = 30 |
5312 | + | SpecialMesh305.Scale = Vector3.new(1.25, 1.25, 1.25) |
5313 | - | Fire388.Heat = 25 |
5313 | + | Decal306.Name = "face" |
5314 | - | Fire388.SecondaryColor = Color3.new(1, 0, 0) |
5314 | + | Decal306.Parent = Part304 |
5315 | - | Fire388.size = 30 |
5315 | + | Part307.Name = "Torso" |
5316 | - | Script389.Parent = Fire388 |
5316 | + | Part307.Parent = Model303 |
5317 | - | table.insert(cors,sandbox(Script389,function() |
5317 | + | Part307.CFrame = CFrame.new(182.586487, 4.59696293, 223.508423, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
5318 | - | function Spread(part) |
5318 | + | Part307.Orientation = Vector3.new(0, 90, 0) |
5319 | - | check = part:findFirstChild("Fire") |
5319 | + | Part307.Position = Vector3.new(182.586487, 4.59696293, 223.508423) |
5320 | - | if check == nil then |
5320 | + | Part307.Rotation = Vector3.new(0, 90, 0) |
5321 | - | script.Parent:Clone().Parent = part |
5321 | + | Part307.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5322 | - | |
5322 | + | Part307.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20) |
5323 | - | elseif check ~= nil then |
5323 | + | Part307.Size = Vector3.new(2, 2, 1) |
5324 | - | check.Size = check.Size + 1 |
5324 | + | Part307.BrickColor = BrickColor.new("Reddish brown") |
5325 | - | check.Heat = check.Heat +1 |
5325 | + | Part307.LeftParamA = 0 |
5326 | Part307.LeftParamB = 0 | |
5327 | Part307.LeftSurface = Enum.SurfaceType.Weld | |
5328 | Part307.RightParamA = 0 | |
5329 | Part307.RightParamB = 0 | |
5330 | - | script.Parent.Parent.Touched:connect(Spread) |
5330 | + | Part307.RightSurface = Enum.SurfaceType.Weld |
5331 | Part307.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) | |
5332 | Part307.brickColor = BrickColor.new("Reddish brown") | |
5333 | Part307.FormFactor = Enum.FormFactor.Symmetric | |
5334 | - | Part390.Parent = Model354 |
5334 | + | Part307.formFactor = Enum.FormFactor.Symmetric |
5335 | - | Part390.CFrame = CFrame.new(177.901611, 17.3224163, 204.3125, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
5335 | + | Part308.Name = "Left Leg" |
5336 | - | Part390.Position = Vector3.new(177.901611, 17.3224163, 204.3125) |
5336 | + | Part308.Parent = Model303 |
5337 | - | Part390.Color = Color3.new(0.972549, 0.972549, 0.972549) |
5337 | + | Part308.CFrame = CFrame.new(182.586487, 2.59696293, 224.008423, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
5338 | - | Part390.Size = Vector3.new(1, 0.400000006, 1) |
5338 | + | Part308.Orientation = Vector3.new(0, 90, 0) |
5339 | - | Part390.Anchored = true |
5339 | + | Part308.Position = Vector3.new(182.586487, 2.59696293, 224.008423) |
5340 | - | Part390.BottomSurface = Enum.SurfaceType.Smooth |
5340 | + | Part308.Rotation = Vector3.new(0, 90, 0) |
5341 | - | Part390.BrickColor = BrickColor.new("Institutional white") |
5341 | + | Part308.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5342 | - | Part390.TopSurface = Enum.SurfaceType.Smooth |
5342 | + | Part308.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20) |
5343 | - | Part390.brickColor = BrickColor.new("Institutional white") |
5343 | + | Part308.Size = Vector3.new(1, 2, 1) |
5344 | - | Part390.FormFactor = Enum.FormFactor.Plate |
5344 | + | Part308.BottomSurface = Enum.SurfaceType.Smooth |
5345 | - | Part390.formFactor = Enum.FormFactor.Plate |
5345 | + | Part308.BrickColor = BrickColor.new("Reddish brown") |
5346 | - | SpecialMesh391.Parent = Part390 |
5346 | + | Part308.CanCollide = false |
5347 | - | SpecialMesh391.Scale = Vector3.new(0.800000012, 3, 0.800000012) |
5347 | + | Part308.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5348 | - | SpecialMesh391.MeshType = Enum.MeshType.Sphere |
5348 | + | Part308.brickColor = BrickColor.new("Reddish brown") |
5349 | - | BodyForce392.Parent = Part390 |
5349 | + | Part308.FormFactor = Enum.FormFactor.Symmetric |
5350 | - | BodyForce392.Force = Vector3.new(0, 72, 0) |
5350 | + | Part308.formFactor = Enum.FormFactor.Symmetric |
5351 | - | BodyForce392.force = Vector3.new(0, 72, 0) |
5351 | + | Part309.Name = "Right Leg" |
5352 | - | Fire393.Parent = Part390 |
5352 | + | Part309.Parent = Model303 |
5353 | - | Fire393.Color = Color3.new(1, 0.745098, 0) |
5353 | + | Part309.CFrame = CFrame.new(182.586487, 2.59696293, 223.008423, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
5354 | - | Fire393.Enabled = false |
5354 | + | Part309.Orientation = Vector3.new(0, 90, 0) |
5355 | - | Fire393.Size = 30 |
5355 | + | Part309.Position = Vector3.new(182.586487, 2.59696293, 223.008423) |
5356 | - | Fire393.Heat = 25 |
5356 | + | Part309.Rotation = Vector3.new(0, 90, 0) |
5357 | - | Fire393.SecondaryColor = Color3.new(1, 0, 0) |
5357 | + | Part309.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5358 | - | Fire393.size = 30 |
5358 | + | Part309.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20) |
5359 | - | Script394.Parent = Fire393 |
5359 | + | Part309.Size = Vector3.new(1, 2, 1) |
5360 | Part309.BottomSurface = Enum.SurfaceType.Smooth | |
5361 | - | function Spread(part) |
5361 | + | Part309.BrickColor = BrickColor.new("Reddish brown") |
5362 | - | check = part:findFirstChild("Fire") |
5362 | + | Part309.CanCollide = false |
5363 | - | if check == nil then |
5363 | + | Part309.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5364 | - | script.Parent:Clone().Parent = part |
5364 | + | Part309.brickColor = BrickColor.new("Reddish brown") |
5365 | - | |
5365 | + | Part309.FormFactor = Enum.FormFactor.Symmetric |
5366 | - | elseif check ~= nil then |
5366 | + | Part309.formFactor = Enum.FormFactor.Symmetric |
5367 | - | check.Size = check.Size + 1 |
5367 | + | Humanoid310.Parent = Model303 |
5368 | - | check.Heat = check.Heat +1 |
5368 | + | Humanoid310.LeftLeg = Part308 |
5369 | Humanoid310.NameOcclusion = Enum.NameOcclusion.NoOcclusion | |
5370 | Humanoid310.RightLeg = Part309 | |
5371 | Humanoid310.Torso = Part307 | |
5372 | Part311.Name = "zarm" | |
5373 | - | script.Parent.Parent.Touched:connect(Spread) |
5373 | + | Part311.Parent = Model303 |
5374 | Part311.CFrame = CFrame.new(182.086487, 5.09696293, 225.008423, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) | |
5375 | Part311.Orientation = Vector3.new(0, 180, 0) | |
5376 | Part311.Position = Vector3.new(182.086487, 5.09696293, 225.008423) | |
5377 | - | Part395.Parent = Model354 |
5377 | + | Part311.Rotation = Vector3.new(-180, 0, -180) |
5378 | - | Part395.CFrame = CFrame.new(176.901611, 15.722434, 204.3125, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
5378 | + | Part311.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5379 | - | Part395.Orientation = Vector3.new(0, 180, 0) |
5379 | + | Part311.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20) |
5380 | - | Part395.Position = Vector3.new(176.901611, 15.722434, 204.3125) |
5380 | + | Part311.Size = Vector3.new(2, 1, 1) |
5381 | - | Part395.Rotation = Vector3.new(-180, 0, -180) |
5381 | + | Part311.BottomSurface = Enum.SurfaceType.Smooth |
5382 | - | Part395.Color = Color3.new(0.972549, 0.972549, 0.972549) |
5382 | + | Part311.BrickColor = BrickColor.new("Medium green") |
5383 | - | Part395.Size = Vector3.new(1, 1, 1) |
5383 | + | Part311.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5384 | - | Part395.Anchored = true |
5384 | + | Part311.TopSurface = Enum.SurfaceType.Smooth |
5385 | - | Part395.BottomSurface = Enum.SurfaceType.Smooth |
5385 | + | Part311.brickColor = BrickColor.new("Medium green") |
5386 | - | Part395.BrickColor = BrickColor.new("Institutional white") |
5386 | + | Part311.FormFactor = Enum.FormFactor.Symmetric |
5387 | - | Part395.TopSurface = Enum.SurfaceType.Smooth |
5387 | + | Part311.formFactor = Enum.FormFactor.Symmetric |
5388 | - | Part395.brickColor = BrickColor.new("Institutional white") |
5388 | + | Script312.Parent = Part311 |
5389 | - | Part395.FormFactor = Enum.FormFactor.Symmetric |
5389 | + | |
5390 | - | Part395.formFactor = Enum.FormFactor.Symmetric |
5390 | + | wait(1) |
5391 | - | SpecialMesh396.Parent = Part395 |
5391 | + | owner=script.Parent.Parent.Name |
5392 | - | SpecialMesh396.Scale = Vector3.new(1, 2, 0.800000012) |
5392 | + | |
5393 | - | BodyForce397.Parent = Part395 |
5393 | + | function onTouched(part) |
5394 | - | BodyForce397.Force = Vector3.new(0, 180, 0) |
5394 | + | if part.Parent ~= nil then |
5395 | - | BodyForce397.force = Vector3.new(0, 180, 0) |
5395 | + | local h = part.Parent:findFirstChild("Humanoid") |
5396 | - | Fire398.Parent = Part395 |
5396 | + | if h~=nil then |
5397 | - | Fire398.Color = Color3.new(1, 0.745098, 0) |
5397 | + | if cantouch~=0 then |
5398 | - | Fire398.Enabled = false |
5398 | + | if h.Parent.Name~=owner then |
5399 | - | Fire398.Size = 30 |
5399 | + | |
5400 | - | Fire398.Heat = 25 |
5400 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
5401 | - | Fire398.SecondaryColor = Color3.new(1, 0, 0) |
5401 | + | |
5402 | - | Fire398.size = 30 |
5402 | + | cantouch=0 |
5403 | - | Script399.Parent = Fire398 |
5403 | + | |
5404 | local larm=h.Parent:findFirstChild("Left Arm") | |
5405 | - | function Spread(part) |
5405 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
5406 | - | check = part:findFirstChild("Fire") |
5406 | + | |
5407 | - | if check == nil then |
5407 | + | if larm~=nil then |
5408 | - | script.Parent:Clone().Parent = part |
5408 | + | larm:remove() |
5409 | - | |
5409 | + | end |
5410 | - | elseif check ~= nil then |
5410 | + | if rarm~=nil then |
5411 | - | check.Size = check.Size + 1 |
5411 | + | rarm:remove() |
5412 | - | check.Heat = check.Heat +1 |
5412 | + | end |
5413 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
5414 | if zee~=nil then | |
5415 | local zlarm=zee:clone() | |
5416 | local zrarm=zee:clone() | |
5417 | - | script.Parent.Parent.Touched:connect(Spread) |
5417 | + | if zlarm~=nil then |
5418 | ||
5419 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
5420 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
5421 | - | Part400.Parent = Model354 |
5421 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
5422 | - | Part400.CFrame = CFrame.new(176.901611, 16.422411, 204.3125, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
5422 | + | zlarm.Parent=h.Parent |
5423 | - | Part400.Position = Vector3.new(176.901611, 16.422411, 204.3125) |
5423 | + | zrarm.Parent=h.Parent |
5424 | - | Part400.Color = Color3.new(0.972549, 0.972549, 0.972549) |
5424 | + | zlarm:makeJoints() |
5425 | - | Part400.Size = Vector3.new(1, 0.400000006, 1) |
5425 | + | zrarm:makeJoints() |
5426 | - | Part400.Anchored = true |
5426 | + | zlarm.Anchored=false |
5427 | - | Part400.BottomSurface = Enum.SurfaceType.Smooth |
5427 | + | zrarm.Anchored=false |
5428 | - | Part400.BrickColor = BrickColor.new("Institutional white") |
5428 | + | wait(0.1) |
5429 | h.Parent.Head.Color=zee.Color | |
5430 | - | Part400.brickColor = BrickColor.new("Institutional white") |
5430 | + | else print("no zee"); return end |
5431 | - | Part400.FormFactor = Enum.FormFactor.Plate |
5431 | + | end |
5432 | - | Part400.formFactor = Enum.FormFactor.Plate |
5432 | + | wait(1) |
5433 | - | SpecialMesh401.Parent = Part400 |
5433 | + | cantouch=1 |
5434 | - | SpecialMesh401.Scale = Vector3.new(0.800000012, 3, 0.800000012) |
5434 | + | end |
5435 | - | SpecialMesh401.MeshType = Enum.MeshType.Sphere |
5435 | + | end |
5436 | - | BodyForce402.Parent = Part400 |
5436 | + | |
5437 | - | BodyForce402.Force = Vector3.new(0, 72, 0) |
5437 | + | |
5438 | - | BodyForce402.force = Vector3.new(0, 72, 0) |
5438 | + | |
5439 | - | Fire403.Parent = Part400 |
5439 | + | |
5440 | - | Fire403.Color = Color3.new(1, 0.745098, 0) |
5440 | + | |
5441 | - | Fire403.Enabled = false |
5441 | + | |
5442 | - | Fire403.Size = 30 |
5442 | + | Part313.Name = "zarm" |
5443 | - | Fire403.Heat = 25 |
5443 | + | Part313.Parent = Model303 |
5444 | - | Fire403.SecondaryColor = Color3.new(1, 0, 0) |
5444 | + | Part313.CFrame = CFrame.new(182.086487, 5.09696293, 222.008423, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
5445 | - | Fire403.size = 30 |
5445 | + | Part313.Orientation = Vector3.new(0, 180, 0) |
5446 | - | Script404.Parent = Fire403 |
5446 | + | Part313.Position = Vector3.new(182.086487, 5.09696293, 222.008423) |
5447 | - | table.insert(cors,sandbox(Script404,function() |
5447 | + | Part313.Rotation = Vector3.new(-180, 0, -180) |
5448 | - | function Spread(part) |
5448 | + | Part313.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5449 | - | check = part:findFirstChild("Fire") |
5449 | + | Part313.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20) |
5450 | - | if check == nil then |
5450 | + | Part313.Size = Vector3.new(2, 1, 1) |
5451 | - | script.Parent:Clone().Parent = part |
5451 | + | Part313.BottomSurface = Enum.SurfaceType.Smooth |
5452 | - | |
5452 | + | Part313.BrickColor = BrickColor.new("Medium green") |
5453 | - | elseif check ~= nil then |
5453 | + | Part313.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5454 | - | check.Size = check.Size + 1 |
5454 | + | Part313.TopSurface = Enum.SurfaceType.Smooth |
5455 | - | check.Heat = check.Heat +1 |
5455 | + | Part313.brickColor = BrickColor.new("Medium green") |
5456 | Part313.FormFactor = Enum.FormFactor.Symmetric | |
5457 | Part313.formFactor = Enum.FormFactor.Symmetric | |
5458 | Script314.Parent = Part313 | |
5459 | table.insert(cors,sandbox(Script314,function() | |
5460 | - | script.Parent.Parent.Touched:connect(Spread) |
5460 | + | wait(1) |
5461 | owner=script.Parent.Parent.Name | |
5462 | ||
5463 | function onTouched(part) | |
5464 | - | Part405.Name = "Middle" |
5464 | + | if part.Parent ~= nil then |
5465 | - | Part405.Parent = Model354 |
5465 | + | local h = part.Parent:findFirstChild("Humanoid") |
5466 | - | Part405.CFrame = CFrame.new(177.914063, 15.878974, 203.362549, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
5466 | + | if h~=nil then |
5467 | - | Part405.Position = Vector3.new(177.914063, 15.878974, 203.362549) |
5467 | + | if cantouch~=0 then |
5468 | - | Part405.Color = Color3.new(0.388235, 0.372549, 0.384314) |
5468 | + | if h.Parent.Name~=owner then |
5469 | - | Part405.Transparency = 1 |
5469 | + | |
5470 | - | Part405.Size = Vector3.new(2, 2, 1) |
5470 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
5471 | - | Part405.Anchored = true |
5471 | + | |
5472 | - | Part405.BottomSurface = Enum.SurfaceType.Smooth |
5472 | + | cantouch=0 |
5473 | - | Part405.BrickColor = BrickColor.new("Dark stone grey") |
5473 | + | |
5474 | - | Part405.Reflectance = 0.10000000149012 |
5474 | + | local larm=h.Parent:findFirstChild("Left Arm") |
5475 | - | Part405.TopSurface = Enum.SurfaceType.Smooth |
5475 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
5476 | - | Part405.brickColor = BrickColor.new("Dark stone grey") |
5476 | + | |
5477 | - | Part405.FormFactor = Enum.FormFactor.Symmetric |
5477 | + | if larm~=nil then |
5478 | - | Part405.formFactor = Enum.FormFactor.Symmetric |
5478 | + | larm:remove() |
5479 | - | BodyForce406.Parent = Part405 |
5479 | + | end |
5480 | - | BodyForce406.Force = Vector3.new(0, 720, 0) |
5480 | + | if rarm~=nil then |
5481 | - | BodyForce406.force = Vector3.new(0, 720, 0) |
5481 | + | rarm:remove() |
5482 | - | Fire407.Parent = Part405 |
5482 | + | end |
5483 | - | Fire407.Color = Color3.new(1, 0.745098, 0) |
5483 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
5484 | - | Fire407.Enabled = false |
5484 | + | if zee~=nil then |
5485 | - | Fire407.Size = 30 |
5485 | + | local zlarm=zee:clone() |
5486 | - | Fire407.Heat = 25 |
5486 | + | local zrarm=zee:clone() |
5487 | - | Fire407.SecondaryColor = Color3.new(1, 0, 0) |
5487 | + | if zlarm~=nil then |
5488 | - | Fire407.size = 30 |
5488 | + | |
5489 | - | Script408.Parent = Fire407 |
5489 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
5490 | - | table.insert(cors,sandbox(Script408,function() |
5490 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
5491 | - | function Spread(part) |
5491 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
5492 | - | check = part:findFirstChild("Fire") |
5492 | + | zlarm.Parent=h.Parent |
5493 | - | if check == nil then |
5493 | + | zrarm.Parent=h.Parent |
5494 | - | script.Parent:Clone().Parent = part |
5494 | + | zlarm:makeJoints() |
5495 | - | |
5495 | + | zrarm:makeJoints() |
5496 | - | elseif check ~= nil then |
5496 | + | zlarm.Anchored=false |
5497 | - | check.Size = check.Size + 1 |
5497 | + | zrarm.Anchored=false |
5498 | - | check.Heat = check.Heat +1 |
5498 | + | wait(0.1) |
5499 | h.Parent.Head.Color=zee.Color | |
5500 | else print("no zee"); return end | |
5501 | end | |
5502 | wait(1) | |
5503 | - | script.Parent.Parent.Touched:connect(Spread) |
5503 | + | cantouch=1 |
5504 | end | |
5505 | end | |
5506 | end | |
5507 | - | Script409.Name = "Guest_Talking_Script" |
5507 | + | |
5508 | - | Script409.Parent = Model354 |
5508 | + | |
5509 | - | table.insert(cors,sandbox(Script409,function() |
5509 | + | |
5510 | - | --Farvei's totally awesome script that makes Guests talk |
5510 | + | |
5511 | - | --Please give credit |
5511 | + | |
5512 | - | --Don't tell the admins! |
5512 | + | ObjectValue315.Name = "IsNZ" |
5513 | - | --Unnote the vaccine if you'd like to remove all copies of this script in your place |
5513 | + | ObjectValue315.Parent = Model303 |
5514 | - | if (script.Parent == workspace) then |
5514 | + | IntValue316.Name = "Mode" |
5515 | - | function checkForAndSwitch(player) |
5515 | + | IntValue316.Parent = Model303 |
5516 | - | if (player.SuperSafeChat == true) then |
5516 | + | Script317.Parent = Model303 |
5517 | - | player.SuperSafeChat = false; |
5517 | + | table.insert(cors,sandbox(Script317,function() |
5518 | - | wait(5); |
5518 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
5519 | - | local m = Instance.new("Message"); |
5519 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
5520 | - | m.Text = "Hey People! Its elomoto1236."; |
5520 | + | |
5521 | - | m.Parent = player; |
5521 | + | function findNearestTorso(pos) |
5522 | - | wait(5); |
5522 | + | local list = game.Workspace:children() |
5523 | - | m.Text = "Just hit the /, and than type in your message.."; |
5523 | + | local torso = nil |
5524 | - | wait(5); |
5524 | + | local dist = 1000 |
5525 | - | m:Remove(); |
5525 | + | local temp = nil |
5526 | - | m = nil; |
5526 | + | local human = nil |
5527 | local temp2 = nil | |
5528 | - | player = nil; |
5528 | + | for x = 1, #list do |
5529 | - | collectgarbage("collect"); |
5529 | + | temp2 = list[x] |
5530 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
5531 | temp = temp2:findFirstChild("Right Arm") | |
5532 | - | function onChildAddedToPlayers(obj) |
5532 | + | human = temp2:findFirstChild("Humanoid") |
5533 | - | if (obj.className == "Player") then |
5533 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
5534 | - | checkForAndSwitch(obj); |
5534 | + | if (temp.Position - pos).magnitude < dist then |
5535 | - | local m = Instance.new("Message"); |
5535 | + | torso = temp |
5536 | - | m.Text = "elomoto1236 here. Guests are welcome to talk here."; |
5536 | + | dist = (temp.Position - pos).magnitude |
5537 | - | m.Parent = obj; |
5537 | + | end |
5538 | - | wait(5); |
5538 | + | |
5539 | - | m:Remove(); |
5539 | + | |
5540 | - | m = nil; |
5540 | + | |
5541 | return torso | |
5542 | - | obj = nil; |
5542 | + | |
5543 | - | collectgarbage("collect"); |
5543 | + | |
5544 | ||
5545 | ||
5546 | - | function onChildAddedToWorkspace(obj) |
5546 | + | |
5547 | - | if (obj.className == "Model") then |
5547 | + | |
5548 | - | if (game.Players:playerFromCharacter(obj) ~= nil) then |
5548 | + | wait(math.random(1,5)) |
5549 | - | checkForAndSwitch(game.Players:playerFromCharacter(obj)); |
5549 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
5550 | if target ~= nil then | |
5551 | script.Parent.Humanoid:MoveTo(target.Position, target) | |
5552 | - | obj = nil; |
5552 | + | |
5553 | - | collectgarbage("collect"); |
5553 | + | |
5554 | end | |
5555 | ||
5556 | - | function findLowestLevel(obj) |
5556 | + | |
5557 | - | local c = obj:GetChildren(); |
5557 | + | Script318.Name = "Health" |
5558 | - | local lowestLevel = true; |
5558 | + | Script318.Parent = Model303 |
5559 | table.insert(cors,sandbox(Script318,function() | |
5560 | - | for i, v in pairs(c) do |
5560 | + | function waitForChild(parent, childName) |
5561 | - | if (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then |
5561 | + | while true do |
5562 | - | lowestLevel = false; |
5562 | + | local child = parent:findFirstChild(childName) |
5563 | - | wait(); |
5563 | + | if child then |
5564 | - | findLowestLevel(v); |
5564 | + | |
5565 | end | |
5566 | parent.ChildAdded:wait() | |
5567 | end | |
5568 | - | if (obj ~= workspace and lowestLevel == true and (obj:FindFirstChild(script.Name) == nil)) then |
5568 | + | |
5569 | - | if (obj ~= game.Lighting and obj ~= game.StarterPack) then |
5569 | + | |
5570 | - | local s = script:Clone(); |
5570 | + | -- declarations |
5571 | - | s.Parent = obj; |
5571 | + | |
5572 | local Figure = script.Parent | |
5573 | local Head = waitForChild(Figure, "Head") | |
5574 | local Humanoid = waitForChild(Figure, "Humanoid") | |
5575 | Humanoid.Health=500 | |
5576 | - | findLowestLevel(game); |
5576 | + | -- regeneration |
5577 | while true do | |
5578 | - | game.Players.ChildAdded:connect(onChildAddedToPlayers); |
5578 | + | local s = wait(4) |
5579 | - | game.Workspace.ChildAdded:connect(onChildAddedToWorkspace); |
5579 | + | local health = Humanoid.Health |
5580 | - | else |
5580 | + | if health > 0 and health < Humanoid.MaxHealth then |
5581 | - | local findScript = workspace:FindFirstChild(script.Name); |
5581 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
5582 | if health * 1.05 < Humanoid.MaxHealth then | |
5583 | - | if (findScript == nil) then |
5583 | + | Humanoid.Health = health |
5584 | - | local s = script:Clone(); |
5584 | + | else |
5585 | - | s.Parent = workspace; |
5585 | + | Humanoid.Health = Humanoid.MaxHealth |
5586 | end | |
5587 | end | |
5588 | end | |
5589 | - | --[[function findAllCopies(obj) |
5589 | + | |
5590 | - | local c = obj:GetChildren(); |
5590 | + | |
5591 | Script319.Name = "Respawn" | |
5592 | - | for i, v in pairs(c) do |
5592 | + | Script319.Parent = Model303 |
5593 | - | if (v.Name == script.Name and v.className == "Script" and v ~= script) then |
5593 | + | |
5594 | - | v.Parent = nil; |
5594 | + | name="Humanoid" |
5595 | - | elseif (v.className == "Model" or v.className == "Tool" or v.className == "HopperBin" or v == workspace or v == game.Lighting or v == game.StarterPack) then |
5595 | + | |
5596 | - | findAllCopies(v); |
5596 | + | robo=script.Parent:clone() |
5597 | ||
5598 | while true do | |
5599 | wait(1) | |
5600 | if script.Parent.Humanoid.Health<1 then | |
5601 | - | findAllCopies(game); |
5601 | + | robot=robo:clone() |
5602 | robot.Parent=script.Parent.Parent | |
5603 | - | script.Parent = nil;]] |
5603 | + | robot:makeJoints() |
5604 | script.Parent:remove() | |
5605 | - | RotateP410.Name = "cptrick" |
5605 | + | |
5606 | - | RotateP410.Parent = Script409 |
5606 | + | |
5607 | - | RotateP411.Name = "stanley12345678910" |
5607 | + | |
5608 | - | RotateP411.Parent = Script409 |
5608 | + | |
5609 | - | RotateP412.Name = "cahrlie84" |
5609 | + | |
5610 | - | RotateP412.Parent = Script409 |
5610 | + | |
5611 | - | RotateP413.Name = "charlie84" |
5611 | + | |
5612 | - | RotateP413.Parent = Script409 |
5612 | + | Part320.Name = "Spawn Location" |
5613 | - | RotateP414.Name = "al2tair" |
5613 | + | Part320.Parent = Model302 |
5614 | - | RotateP414.Parent = Script409 |
5614 | + | Part320.CFrame = CFrame.new(182.091461, 0.600017011, 223.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
5615 | - | RotateP415.Name = "Hello...I �m Your New Lord Lolz" |
5615 | + | Part320.Orientation = Vector3.new(0, 180, 0) |
5616 | - | RotateP415.Parent = Model332 |
5616 | + | Part320.Position = Vector3.new(182.091461, 0.600017011, 223.48645) |
5617 | - | RotateP415.BaseAngle = 0.25 |
5617 | + | Part320.Rotation = Vector3.new(-180, 0, -180) |
5618 | - | RotateP416.Name = "Hello...I �m Your New Lord Lolz" |
5618 | + | Part320.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5619 | - | RotateP416.Parent = Model332 |
5619 | + | Part320.Size = Vector3.new(6, 1.20000005, 6) |
5620 | - | RotateP416.BaseAngle = 0.25 |
5620 | + | Part320.BottomSurface = Enum.SurfaceType.Weld |
5621 | - | RotateP417.Name = "Hello...I �m Your New Lord Lolz" |
5621 | + | Part320.BrickColor = BrickColor.new("Medium green") |
5622 | - | RotateP417.Parent = Model332 |
5622 | + | Part320.TopSurface = Enum.SurfaceType.Smooth |
5623 | - | RotateP417.BaseAngle = 0.25 |
5623 | + | Part320.brickColor = BrickColor.new("Medium green") |
5624 | - | RotateP418.Name = "Hello...I �m Your New Lord Lolz" |
5624 | + | Decal321.Parent = Part320 |
5625 | - | RotateP418.Parent = Model332 |
5625 | + | Decal321.Texture = "http://www.roblox.com/asset/?id=34541722" |
5626 | - | RotateP418.BaseAngle = 0.25 |
5626 | + | Decal321.Face = Enum.NormalId.Top |
5627 | - | RotateP419.Name = "Hello...I �m Your New Lord Lolz" |
5627 | + | Model322.Parent = Model201 |
5628 | - | RotateP419.Parent = Model332 |
5628 | + | Model323.Name = "Zombie" |
5629 | - | RotateP419.BaseAngle = 0.25 |
5629 | + | Model323.Parent = Model322 |
5630 | - | RotateP420.Name = "Hello...I �m Your New Lord Lolz" |
5630 | + | Model323.PrimaryPart = Part324 |
5631 | - | RotateP420.Parent = Model332 |
5631 | + | Part324.Name = "Head" |
5632 | - | RotateP420.BaseAngle = 0.25 |
5632 | + | Part324.Parent = Model323 |
5633 | - | RotateP421.Name = "Hello...I �m Your New Lord Lolz" |
5633 | + | Part324.CFrame = CFrame.new(182.586487, 6.09696293, 241.508453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
5634 | - | RotateP421.Parent = Model332 |
5634 | + | Part324.Orientation = Vector3.new(0, 90, 0) |
5635 | - | RotateP421.BaseAngle = 0.25 |
5635 | + | Part324.Position = Vector3.new(182.586487, 6.09696293, 241.508453) |
5636 | - | RotateP422.Name = "Hello...I �m Your New Lord Lolz" |
5636 | + | Part324.Rotation = Vector3.new(0, 90, 0) |
5637 | - | RotateP422.Parent = Model332 |
5637 | + | Part324.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5638 | - | RotateP422.BaseAngle = 0.25 |
5638 | + | Part324.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20) |
5639 | - | RotateP423.Name = "Hello...I �m Your New Lord Lolz" |
5639 | + | Part324.Size = Vector3.new(2, 1, 1) |
5640 | - | RotateP423.Parent = Model332 |
5640 | + | Part324.BrickColor = BrickColor.new("Medium green") |
5641 | - | RotateP423.BaseAngle = 0.25 |
5641 | + | Part324.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5642 | - | RotateP424.Name = "Hello...I �m Your New Lord Lolz" |
5642 | + | Part324.TopSurface = Enum.SurfaceType.Smooth |
5643 | - | RotateP424.Parent = Model332 |
5643 | + | Part324.brickColor = BrickColor.new("Medium green") |
5644 | - | RotateP424.BaseAngle = 0.25 |
5644 | + | Part324.FormFactor = Enum.FormFactor.Symmetric |
5645 | - | RotateP425.Name = "Hello...I �m Your New Lord Lolz" |
5645 | + | Part324.formFactor = Enum.FormFactor.Symmetric |
5646 | - | RotateP425.Parent = Model332 |
5646 | + | SpecialMesh325.Parent = Part324 |
5647 | - | RotateP425.BaseAngle = 0.25 |
5647 | + | SpecialMesh325.Scale = Vector3.new(1.25, 1.25, 1.25) |
5648 | - | RotateP426.Name = "Hello...I �m Your New Lord Lolz" |
5648 | + | Decal326.Name = "face" |
5649 | - | RotateP426.Parent = Model332 |
5649 | + | Decal326.Parent = Part324 |
5650 | - | RotateP426.BaseAngle = 0.25 |
5650 | + | Part327.Name = "Torso" |
5651 | - | RotateP427.Name = "Hello...I �m Your New Lord Lolz" |
5651 | + | Part327.Parent = Model323 |
5652 | - | RotateP427.Parent = Model332 |
5652 | + | Part327.CFrame = CFrame.new(182.586487, 4.59696293, 241.508453, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
5653 | - | RotateP427.BaseAngle = 0.25 |
5653 | + | Part327.Orientation = Vector3.new(0, 90, 0) |
5654 | - | RotateP428.Name = "Hello...I �m Your New Lord Lolz" |
5654 | + | Part327.Position = Vector3.new(182.586487, 4.59696293, 241.508453) |
5655 | - | RotateP428.Parent = Model332 |
5655 | + | Part327.Rotation = Vector3.new(0, 90, 0) |
5656 | - | RotateP428.BaseAngle = 0.25 |
5656 | + | Part327.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5657 | - | RotateP429.Name = "Hello...I �m Your New Lord Lolz" |
5657 | + | Part327.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20) |
5658 | - | RotateP429.Parent = Model332 |
5658 | + | Part327.Size = Vector3.new(2, 2, 1) |
5659 | - | RotateP429.BaseAngle = 0.25 |
5659 | + | Part327.BrickColor = BrickColor.new("Reddish brown") |
5660 | - | RotateP430.Name = "Hello...I �m Your New Lord Lolz" |
5660 | + | Part327.LeftParamA = 0 |
5661 | - | RotateP430.Parent = Model332 |
5661 | + | Part327.LeftParamB = 0 |
5662 | - | RotateP430.BaseAngle = 0.25 |
5662 | + | Part327.LeftSurface = Enum.SurfaceType.Weld |
5663 | - | RotateP431.Name = "Hello...I �m Your New Lord Lolz" |
5663 | + | Part327.RightParamA = 0 |
5664 | - | RotateP431.Parent = Model332 |
5664 | + | Part327.RightParamB = 0 |
5665 | - | RotateP431.BaseAngle = 0.25 |
5665 | + | Part327.RightSurface = Enum.SurfaceType.Weld |
5666 | - | RotateP432.Name = "Hello...I �m Your New Lord Lolz" |
5666 | + | Part327.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5667 | - | RotateP432.Parent = Model332 |
5667 | + | Part327.brickColor = BrickColor.new("Reddish brown") |
5668 | - | RotateP432.BaseAngle = 0.25 |
5668 | + | Part327.FormFactor = Enum.FormFactor.Symmetric |
5669 | - | RotateP433.Name = "Hello...I �m Your New Lord Lolz" |
5669 | + | Part327.formFactor = Enum.FormFactor.Symmetric |
5670 | - | RotateP433.Parent = Model332 |
5670 | + | Part328.Name = "Left Leg" |
5671 | - | RotateP433.BaseAngle = 0.25 |
5671 | + | Part328.Parent = Model323 |
5672 | - | RotateP434.Name = "Hello...I �m Your New Lord Lolz" |
5672 | + | Part328.CFrame = CFrame.new(182.586487, 2.59696293, 242.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
5673 | - | RotateP434.Parent = Model332 |
5673 | + | Part328.Orientation = Vector3.new(0, 90, 0) |
5674 | - | RotateP434.BaseAngle = 0.25 |
5674 | + | Part328.Position = Vector3.new(182.586487, 2.59696293, 242.008453) |
5675 | - | RotateP435.Name = "Hello...I �m Your New Lord Lolz" |
5675 | + | Part328.Rotation = Vector3.new(0, 90, 0) |
5676 | - | RotateP435.Parent = Model332 |
5676 | + | Part328.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5677 | - | RotateP435.BaseAngle = 0.25 |
5677 | + | Part328.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20) |
5678 | - | RotateP436.Name = "d��������������ng.........you got owned..." |
5678 | + | Part328.Size = Vector3.new(1, 2, 1) |
5679 | - | RotateP436.Parent = Model332 |
5679 | + | Part328.BottomSurface = Enum.SurfaceType.Smooth |
5680 | - | RotateP436.BaseAngle = 0.25 |
5680 | + | Part328.BrickColor = BrickColor.new("Reddish brown") |
5681 | - | RotateV437.Name = "ViVRuS" |
5681 | + | Part328.CanCollide = false |
5682 | - | RotateV437.Parent = Model332 |
5682 | + | Part328.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5683 | - | VelocityMotor438.Name = "ViVRuS" |
5683 | + | Part328.brickColor = BrickColor.new("Reddish brown") |
5684 | - | VelocityMotor438.Parent = RotateV437 |
5684 | + | Part328.FormFactor = Enum.FormFactor.Symmetric |
5685 | - | RotateP439.Name = "LOLWUT!!?" |
5685 | + | Part328.formFactor = Enum.FormFactor.Symmetric |
5686 | - | RotateP439.Parent = Model332 |
5686 | + | Part329.Name = "Right Leg" |
5687 | - | RotateP439.BaseAngle = 0.25 |
5687 | + | Part329.Parent = Model323 |
5688 | - | RotateP440.Name = "FIRE" |
5688 | + | Part329.CFrame = CFrame.new(182.586487, 2.59696293, 241.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
5689 | - | RotateP440.Parent = Model332 |
5689 | + | Part329.Orientation = Vector3.new(0, 90, 0) |
5690 | - | Part441.Name = "Smooth Block Model" |
5690 | + | Part329.Position = Vector3.new(182.586487, 2.59696293, 241.008453) |
5691 | - | Part441.Parent = Model0 |
5691 | + | Part329.Rotation = Vector3.new(0, 90, 0) |
5692 | - | Part441.CFrame = CFrame.new(185.5, 19.2000046, 205.5, -0, 0, 1, -0, 1, 0, -1, 0, 0) |
5692 | + | Part329.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5693 | - | Part441.Orientation = Vector3.new(0, 90, 0) |
5693 | + | Part329.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20) |
5694 | - | Part441.Position = Vector3.new(185.5, 19.2000046, 205.5) |
5694 | + | Part329.Size = Vector3.new(1, 2, 1) |
5695 | - | Part441.Rotation = Vector3.new(0, 90, 0) |
5695 | + | Part329.BottomSurface = Enum.SurfaceType.Smooth |
5696 | - | Part441.Color = Color3.new(0.427451, 0.431373, 0.423529) |
5696 | + | Part329.BrickColor = BrickColor.new("Reddish brown") |
5697 | - | Part441.Size = Vector3.new(1, 9.60000038, 11) |
5697 | + | Part329.CanCollide = false |
5698 | - | Part441.Anchored = true |
5698 | + | Part329.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5699 | - | Part441.BottomSurface = Enum.SurfaceType.Smooth |
5699 | + | Part329.brickColor = BrickColor.new("Reddish brown") |
5700 | - | Part441.BrickColor = BrickColor.new("Dark grey") |
5700 | + | Part329.FormFactor = Enum.FormFactor.Symmetric |
5701 | - | Part441.Reflectance = 0.5 |
5701 | + | Part329.formFactor = Enum.FormFactor.Symmetric |
5702 | - | Part441.TopSurface = Enum.SurfaceType.Smooth |
5702 | + | Humanoid330.Parent = Model323 |
5703 | - | Part441.brickColor = BrickColor.new("Dark grey") |
5703 | + | Humanoid330.LeftLeg = Part328 |
5704 | - | Script442.Name = "Shirt Vip Door Script" |
5704 | + | Humanoid330.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
5705 | - | Script442.Parent = Part441 |
5705 | + | Humanoid330.RightLeg = Part329 |
5706 | - | table.insert(cors,sandbox(Script442,function() |
5706 | + | Humanoid330.Torso = Part327 |
5707 | - | print ("VIP Shirt Door Script Loaded") |
5707 | + | Part331.Name = "zarm" |
5708 | Part331.Parent = Model323 | |
5709 | - | -- list of account names allowed to go through the door. |
5709 | + | Part331.CFrame = CFrame.new(182.086487, 5.09696293, 243.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
5710 | - | permission = { "SONICTHEHEDGEHOGXX", "belial52" } -- This is how many people can still get through, so u don't have to change shirts. You can also have another friend here. |
5710 | + | Part331.Orientation = Vector3.new(0, 180, 0) |
5711 | Part331.Position = Vector3.new(182.086487, 5.09696293, 243.008453) | |
5712 | - | -- TextureId of the VIP shirt. |
5712 | + | Part331.Rotation = Vector3.new(-180, 0, -180) |
5713 | - | texture = "http://www.roblox.com/asset/?id=27572919"-- Go to the wiki below this script to find out how to change the shirt. And paste the link in between the "" marks. |
5713 | + | Part331.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5714 | - | texture2 = "http://www.roblox.com/asset/?id=16600419" |
5714 | + | Part331.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20) |
5715 | Part331.Size = Vector3.new(2, 1, 1) | |
5716 | - | function checkOkToLetIn(name) |
5716 | + | Part331.BottomSurface = Enum.SurfaceType.Smooth |
5717 | - | for i = 1,#permission do |
5717 | + | Part331.BrickColor = BrickColor.new("Medium green") |
5718 | - | -- convert strings to all upper case, otherwise we will let in |
5718 | + | Part331.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5719 | - | -- "Username" but not "username" or "uSERNAME" |
5719 | + | Part331.TopSurface = Enum.SurfaceType.Smooth |
5720 | - | if (string.upper(name) == string.upper(permission[i])) then return true end |
5720 | + | Part331.brickColor = BrickColor.new("Medium green") |
5721 | - | end |
5721 | + | Part331.FormFactor = Enum.FormFactor.Symmetric |
5722 | - | return false |
5722 | + | Part331.formFactor = Enum.FormFactor.Symmetric |
5723 | - | end |
5723 | + | Script332.Parent = Part331 |
5724 | table.insert(cors,sandbox(Script332,function() | |
5725 | - | local Door = script.Parent |
5725 | + | wait(1) |
5726 | owner=script.Parent.Parent.Name | |
5727 | - | function onTouched(hit) |
5727 | + | |
5728 | - | print("Door Hit") |
5728 | + | function onTouched(part) |
5729 | - | local human = hit.Parent:findFirstChild("Humanoid") |
5729 | + | if part.Parent ~= nil then |
5730 | - | if (human ~= nil ) then |
5730 | + | local h = part.Parent:findFirstChild("Humanoid") |
5731 | - | if human.Parent.Torso.roblox.Texture == texture or human.Parent.Torso.roblox.Texture == texture2 then --the shirt |
5731 | + | if h~=nil then |
5732 | - | Door.Transparency = 0.7 |
5732 | + | if cantouch~=0 then |
5733 | - | Door.CanCollide = false |
5733 | + | if h.Parent.Name~=owner then |
5734 | - | wait(4) -- this is how long the door is open |
5734 | + | |
5735 | - | Door.CanCollide = true |
5735 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
5736 | - | Door.Transparency = 0 |
5736 | + | |
5737 | - | -- a human has touched this door! |
5737 | + | cantouch=0 |
5738 | - | print("Human touched door") |
5738 | + | |
5739 | - | -- test the human's name against the permission list |
5739 | + | local larm=h.Parent:findFirstChild("Left Arm") |
5740 | - | elseif (checkOkToLetIn(human.Parent.Name)) then |
5740 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
5741 | - | print("Human passed test") |
5741 | + | |
5742 | - | Door.Transparency = 0.7 |
5742 | + | if larm~=nil then |
5743 | - | Door.CanCollide = false |
5743 | + | larm:remove() |
5744 | - | wait(4) -- this is how long the door is open |
5744 | + | end |
5745 | - | Door.CanCollide = true |
5745 | + | if rarm~=nil then |
5746 | - | Door.Transparency = 0 |
5746 | + | rarm:remove() |
5747 | - | else human.Health = 0 -- delete this line of you want a non-killing VIP door |
5747 | + | end |
5748 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
5749 | - | end |
5749 | + | if zee~=nil then |
5750 | - | end |
5750 | + | local zlarm=zee:clone() |
5751 | local zrarm=zee:clone() | |
5752 | if zlarm~=nil then | |
5753 | ||
5754 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
5755 | - | Decal443.Parent = Part441 |
5755 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
5756 | - | Decal443.Texture = "http://www.roblox.com/asset/?id=16601528" |
5756 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
5757 | - | Decal443.Face = Enum.NormalId.Right |
5757 | + | zlarm.Parent=h.Parent |
5758 | - | Decal444.Parent = Part441 |
5758 | + | zrarm.Parent=h.Parent |
5759 | - | Decal444.Texture = "http://www.roblox.com/asset/?id=16601528" |
5759 | + | zlarm:makeJoints() |
5760 | - | Decal444.Face = Enum.NormalId.Left |
5760 | + | zrarm:makeJoints() |
5761 | - | Fire445.Parent = Part441 |
5761 | + | zlarm.Anchored=false |
5762 | - | Fire445.Color = Color3.new(1, 0.619608, 0) |
5762 | + | zrarm.Anchored=false |
5763 | - | Fire445.Enabled = false |
5763 | + | wait(0.1) |
5764 | - | Fire445.Size = 30 |
5764 | + | h.Parent.Head.Color=zee.Color |
5765 | - | Fire445.Heat = 25 |
5765 | + | else print("no zee"); return end |
5766 | - | Fire445.SecondaryColor = Color3.new(1, 0, 0) |
5766 | + | end |
5767 | - | Fire445.size = 30 |
5767 | + | wait(1) |
5768 | - | Script446.Name = "Spread" |
5768 | + | cantouch=1 |
5769 | - | Script446.Parent = Fire445 |
5769 | + | end |
5770 | - | table.insert(cors,sandbox(Script446,function() |
5770 | + | end |
5771 | - | function Spread(part) |
5771 | + | |
5772 | - | check = part:findFirstChild("Fire") |
5772 | + | |
5773 | - | if check == nil then |
5773 | + | |
5774 | - | script.Parent:Clone().Parent = part |
5774 | + | |
5775 | - | |
5775 | + | |
5776 | - | elseif check ~= nil then |
5776 | + | |
5777 | - | check.Size = check.Size + 1 |
5777 | + | Part333.Name = "zarm" |
5778 | - | check.Heat = check.Heat +1 |
5778 | + | Part333.Parent = Model323 |
5779 | Part333.CFrame = CFrame.new(182.086487, 5.09696293, 240.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) | |
5780 | Part333.Orientation = Vector3.new(0, 180, 0) | |
5781 | Part333.Position = Vector3.new(182.086487, 5.09696293, 240.008453) | |
5782 | Part333.Rotation = Vector3.new(-180, 0, -180) | |
5783 | - | script.Parent.Parent.Touched:connect(Spread) |
5783 | + | Part333.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5784 | Part333.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20) | |
5785 | Part333.Size = Vector3.new(2, 1, 1) | |
5786 | - | Decal447.Parent = Part441 |
5786 | + | |
5787 | - | Decal447.Texture = "http://www.roblox.com/asset/?id=26804856" |
5787 | + | Part333.BrickColor = BrickColor.new("Medium green") |
5788 | - | Decal447.Face = Enum.NormalId.Left |
5788 | + | Part333.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
5789 | - | Decal448.Parent = Part441 |
5789 | + | |
5790 | - | Decal448.Texture = "http://www.roblox.com/asset/?id=37457709" |
5790 | + | Part333.brickColor = BrickColor.new("Medium green") |
5791 | - | Decal448.Face = Enum.NormalId.Left |
5791 | + | Part333.FormFactor = Enum.FormFactor.Symmetric |
5792 | - | Part449.Parent = Model0 |
5792 | + | Part333.formFactor = Enum.FormFactor.Symmetric |
5793 | - | Part449.CFrame = CFrame.new(180.401611, 6.00892067, 235.400024, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
5793 | + | Script334.Parent = Part333 |
5794 | - | Part449.Orientation = Vector3.new(0, -90, 0) |
5794 | + | table.insert(cors,sandbox(Script334,function() |
5795 | - | Part449.Position = Vector3.new(180.401611, 6.00892067, 235.400024) |
5795 | + | wait(1) |
5796 | - | Part449.Rotation = Vector3.new(0, -90, 0) |
5796 | + | owner=script.Parent.Parent.Name |
5797 | - | Part449.Color = Color3.new(0.388235, 0.372549, 0.384314) |
5797 | + | |
5798 | - | Part449.Size = Vector3.new(7, 2.4000001, 3) |
5798 | + | function onTouched(part) |
5799 | - | Part449.Anchored = true |
5799 | + | if part.Parent ~= nil then |
5800 | - | Part449.BottomSurface = Enum.SurfaceType.Smooth |
5800 | + | local h = part.Parent:findFirstChild("Humanoid") |
5801 | - | Part449.BrickColor = BrickColor.new("Dark stone grey") |
5801 | + | if h~=nil then |
5802 | - | Part449.TopSurface = Enum.SurfaceType.Smooth |
5802 | + | if cantouch~=0 then |
5803 | - | Part449.brickColor = BrickColor.new("Dark stone grey") |
5803 | + | if h.Parent.Name~=owner then |
5804 | - | Fire450.Parent = Part449 |
5804 | + | |
5805 | - | Fire450.Color = Color3.new(1, 0.72549, 0) |
5805 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
5806 | - | Fire450.Enabled = false |
5806 | + | |
5807 | - | Fire450.Size = 30 |
5807 | + | cantouch=0 |
5808 | - | Fire450.Heat = 25 |
5808 | + | |
5809 | - | Fire450.SecondaryColor = Color3.new(1, 0, 0) |
5809 | + | local larm=h.Parent:findFirstChild("Left Arm") |
5810 | - | Fire450.size = 30 |
5810 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
5811 | - | Script451.Name = "Spread" |
5811 | + | |
5812 | - | Script451.Parent = Fire450 |
5812 | + | if larm~=nil then |
5813 | - | table.insert(cors,sandbox(Script451,function() |
5813 | + | larm:remove() |
5814 | - | function Spread(part) |
5814 | + | end |
5815 | - | check = part:findFirstChild("Fire") |
5815 | + | if rarm~=nil then |
5816 | - | if check == nil then |
5816 | + | rarm:remove() |
5817 | - | script.Parent:Clone().Parent = part |
5817 | + | end |
5818 | - | |
5818 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
5819 | - | elseif check ~= nil then |
5819 | + | if zee~=nil then |
5820 | - | check.Size = check.Size + 1 |
5820 | + | local zlarm=zee:clone() |
5821 | - | check.Heat = check.Heat +1 |
5821 | + | local zrarm=zee:clone() |
5822 | if zlarm~=nil then | |
5823 | ||
5824 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
5825 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
5826 | - | script.Parent.Parent.Touched:connect(Spread) |
5826 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
5827 | zlarm.Parent=h.Parent | |
5828 | zrarm.Parent=h.Parent | |
5829 | - | Part452.Parent = Model0 |
5829 | + | zlarm:makeJoints() |
5830 | - | Part452.CFrame = CFrame.new(192.501465, 19.1898251, 205.5, 0.999999881, 1.93472933e-05, 1.70469284e-05, -1.93464239e-05, 1, -5.07514342e-05, -1.70469284e-05, 5.07511068e-05, 0.999999881) |
5830 | + | zrarm:makeJoints() |
5831 | - | Part452.Position = Vector3.new(192.501465, 19.1898251, 205.5) |
5831 | + | zlarm.Anchored=false |
5832 | - | Part452.Color = Color3.new(0.427451, 0.431373, 0.423529) |
5832 | + | zrarm.Anchored=false |
5833 | - | Part452.Size = Vector3.new(3, 9.60000038, 1) |
5833 | + | wait(0.1) |
5834 | - | Part452.Anchored = true |
5834 | + | h.Parent.Head.Color=zee.Color |
5835 | - | Part452.BottomSurface = Enum.SurfaceType.Smooth |
5835 | + | else print("no zee"); return end |
5836 | - | Part452.BrickColor = BrickColor.new("Dark grey") |
5836 | + | end |
5837 | - | Part452.TopSurface = Enum.SurfaceType.Smooth |
5837 | + | wait(1) |
5838 | - | Part452.brickColor = BrickColor.new("Dark grey") |
5838 | + | cantouch=1 |
5839 | - | Fire453.Parent = Part452 |
5839 | + | end |
5840 | - | Fire453.Color = Color3.new(1, 0.745098, 0) |
5840 | + | end |
5841 | - | Fire453.Enabled = false |
5841 | + | |
5842 | - | Fire453.Size = 30 |
5842 | + | |
5843 | - | Fire453.Heat = 25 |
5843 | + | |
5844 | - | Fire453.SecondaryColor = Color3.new(1, 0, 0) |
5844 | + | |
5845 | - | Fire453.size = 30 |
5845 | + | |
5846 | - | Script454.Parent = Fire453 |
5846 | + | |
5847 | - | table.insert(cors,sandbox(Script454,function() |
5847 | + | ObjectValue335.Name = "IsNZ" |
5848 | - | function Spread(part) |
5848 | + | ObjectValue335.Parent = Model323 |
5849 | - | check = part:findFirstChild("Fire") |
5849 | + | IntValue336.Name = "Mode" |
5850 | - | if check == nil then |
5850 | + | IntValue336.Parent = Model323 |
5851 | - | script.Parent:Clone().Parent = part |
5851 | + | Script337.Parent = Model323 |
5852 | - | |
5852 | + | |
5853 | - | elseif check ~= nil then |
5853 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
5854 | - | check.Size = check.Size + 1 |
5854 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
5855 | - | check.Heat = check.Heat +1 |
5855 | + | |
5856 | function findNearestTorso(pos) | |
5857 | local list = game.Workspace:children() | |
5858 | local torso = nil | |
5859 | local dist = 1000 | |
5860 | - | script.Parent.Parent.Touched:connect(Spread) |
5860 | + | local temp = nil |
5861 | local human = nil | |
5862 | local temp2 = nil | |
5863 | for x = 1, #list do | |
5864 | - | Part455.Parent = Model0 |
5864 | + | temp2 = list[x] |
5865 | - | Part455.CFrame = CFrame.new(183.401611, 8.40966988, 235.400024, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
5865 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
5866 | - | Part455.Orientation = Vector3.new(0, -90, 0) |
5866 | + | temp = temp2:findFirstChild("Right Arm") |
5867 | - | Part455.Position = Vector3.new(183.401611, 8.40966988, 235.400024) |
5867 | + | human = temp2:findFirstChild("Humanoid") |
5868 | - | Part455.Rotation = Vector3.new(0, -90, 0) |
5868 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
5869 | - | Part455.Color = Color3.new(0.388235, 0.372549, 0.384314) |
5869 | + | if (temp.Position - pos).magnitude < dist then |
5870 | - | Part455.Size = Vector3.new(7, 2.4000001, 3) |
5870 | + | torso = temp |
5871 | - | Part455.Anchored = true |
5871 | + | dist = (temp.Position - pos).magnitude |
5872 | - | Part455.BottomSurface = Enum.SurfaceType.Smooth |
5872 | + | end |
5873 | - | Part455.BrickColor = BrickColor.new("Dark stone grey") |
5873 | + | |
5874 | - | Part455.TopSurface = Enum.SurfaceType.Smooth |
5874 | + | |
5875 | - | Part455.brickColor = BrickColor.new("Dark stone grey") |
5875 | + | |
5876 | - | Fire456.Parent = Part455 |
5876 | + | return torso |
5877 | - | Fire456.Color = Color3.new(1, 0.72549, 0) |
5877 | + | |
5878 | - | Fire456.Enabled = false |
5878 | + | |
5879 | - | Fire456.Size = 30 |
5879 | + | |
5880 | - | Fire456.Heat = 25 |
5880 | + | |
5881 | - | Fire456.SecondaryColor = Color3.new(1, 0, 0) |
5881 | + | |
5882 | - | Fire456.size = 30 |
5882 | + | |
5883 | - | Script457.Name = "Spread" |
5883 | + | wait(math.random(1,5)) |
5884 | - | Script457.Parent = Fire456 |
5884 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
5885 | - | table.insert(cors,sandbox(Script457,function() |
5885 | + | if target ~= nil then |
5886 | - | function Spread(part) |
5886 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
5887 | - | check = part:findFirstChild("Fire") |
5887 | + | |
5888 | - | if check == nil then |
5888 | + | |
5889 | - | script.Parent:Clone().Parent = part |
5889 | + | |
5890 | - | |
5890 | + | |
5891 | - | elseif check ~= nil then |
5891 | + | |
5892 | - | check.Size = check.Size + 1 |
5892 | + | Script338.Name = "Health" |
5893 | - | check.Heat = check.Heat +1 |
5893 | + | Script338.Parent = Model323 |
5894 | table.insert(cors,sandbox(Script338,function() | |
5895 | function waitForChild(parent, childName) | |
5896 | while true do | |
5897 | local child = parent:findFirstChild(childName) | |
5898 | - | script.Parent.Parent.Touched:connect(Spread) |
5898 | + | if child then |
5899 | return child | |
5900 | end | |
5901 | - | Part458.Parent = Model0 |
5901 | + | parent.ChildAdded:wait() |
5902 | - | Part458.CFrame = CFrame.new(186.401611, 10.81007, 235.400024, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
5902 | + | |
5903 | - | Part458.Orientation = Vector3.new(0, -90, 0) |
5903 | + | |
5904 | - | Part458.Position = Vector3.new(186.401611, 10.81007, 235.400024) |
5904 | + | |
5905 | - | Part458.Rotation = Vector3.new(0, -90, 0) |
5905 | + | -- declarations |
5906 | - | Part458.Color = Color3.new(0.388235, 0.372549, 0.384314) |
5906 | + | |
5907 | - | Part458.Size = Vector3.new(7, 2.4000001, 3) |
5907 | + | local Figure = script.Parent |
5908 | - | Part458.Anchored = true |
5908 | + | local Head = waitForChild(Figure, "Head") |
5909 | - | Part458.BottomSurface = Enum.SurfaceType.Smooth |
5909 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
5910 | - | Part458.BrickColor = BrickColor.new("Dark stone grey") |
5910 | + | Humanoid.Health=500 |
5911 | - | Part458.TopSurface = Enum.SurfaceType.Smooth |
5911 | + | -- regeneration |
5912 | - | Part458.brickColor = BrickColor.new("Dark stone grey") |
5912 | + | |
5913 | - | Fire459.Parent = Part458 |
5913 | + | local s = wait(4) |
5914 | - | Fire459.Color = Color3.new(1, 0.72549, 0) |
5914 | + | local health = Humanoid.Health |
5915 | - | Fire459.Enabled = false |
5915 | + | if health > 0 and health < Humanoid.MaxHealth then |
5916 | - | Fire459.Size = 30 |
5916 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
5917 | - | Fire459.Heat = 25 |
5917 | + | if health * 1.05 < Humanoid.MaxHealth then |
5918 | - | Fire459.SecondaryColor = Color3.new(1, 0, 0) |
5918 | + | Humanoid.Health = health |
5919 | - | Fire459.size = 30 |
5919 | + | else |
5920 | - | Script460.Name = "Spread" |
5920 | + | Humanoid.Health = Humanoid.MaxHealth |
5921 | - | Script460.Parent = Fire459 |
5921 | + | |
5922 | - | table.insert(cors,sandbox(Script460,function() |
5922 | + | |
5923 | - | function Spread(part) |
5923 | + | |
5924 | - | check = part:findFirstChild("Fire") |
5924 | + | |
5925 | - | if check == nil then |
5925 | + | |
5926 | - | script.Parent:Clone().Parent = part |
5926 | + | Script339.Name = "Respawn" |
5927 | - | |
5927 | + | Script339.Parent = Model323 |
5928 | - | elseif check ~= nil then |
5928 | + | table.insert(cors,sandbox(Script339,function() |
5929 | - | check.Size = check.Size + 1 |
5929 | + | name="Humanoid" |
5930 | - | check.Heat = check.Heat +1 |
5930 | + | |
5931 | robo=script.Parent:clone() | |
5932 | ||
5933 | while true do | |
5934 | wait(1) | |
5935 | - | script.Parent.Parent.Touched:connect(Spread) |
5935 | + | if script.Parent.Humanoid.Health<1 then |
5936 | robot=robo:clone() | |
5937 | robot.Parent=script.Parent.Parent | |
5938 | - | Part461.Parent = Model0 |
5938 | + | robot:makeJoints() |
5939 | - | Part461.CFrame = CFrame.new(191.001465, 13.2100878, 235.5, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
5939 | + | script.Parent:remove() |
5940 | - | Part461.Orientation = Vector3.new(0, -90, 0) |
5940 | + | |
5941 | - | Part461.Position = Vector3.new(191.001465, 13.2100878, 235.5) |
5941 | + | |
5942 | - | Part461.Rotation = Vector3.new(0, -90, 0) |
5942 | + | |
5943 | - | Part461.Color = Color3.new(0.388235, 0.372549, 0.384314) |
5943 | + | |
5944 | - | Part461.Size = Vector3.new(7, 2.4000001, 6) |
5944 | + | |
5945 | - | Part461.Anchored = true |
5945 | + | |
5946 | - | Part461.BottomSurface = Enum.SurfaceType.Smooth |
5946 | + | |
5947 | - | Part461.BrickColor = BrickColor.new("Dark stone grey") |
5947 | + | Part340.Name = "Spawn Location" |
5948 | - | Part461.TopSurface = Enum.SurfaceType.Smooth |
5948 | + | Part340.Parent = Model322 |
5949 | - | Part461.brickColor = BrickColor.new("Dark stone grey") |
5949 | + | Part340.CFrame = CFrame.new(182.091461, 0.600017011, 241.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
5950 | - | Fire462.Parent = Part461 |
5950 | + | Part340.Orientation = Vector3.new(0, 180, 0) |
5951 | - | Fire462.Color = Color3.new(1, 0.72549, 0) |
5951 | + | Part340.Position = Vector3.new(182.091461, 0.600017011, 241.48645) |
5952 | - | Fire462.Enabled = false |
5952 | + | Part340.Rotation = Vector3.new(-180, 0, -180) |
5953 | - | Fire462.Size = 30 |
5953 | + | Part340.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5954 | - | Fire462.Heat = 25 |
5954 | + | Part340.Size = Vector3.new(6, 1.20000005, 6) |
5955 | - | Fire462.SecondaryColor = Color3.new(1, 0, 0) |
5955 | + | Part340.BottomSurface = Enum.SurfaceType.Weld |
5956 | - | Fire462.size = 30 |
5956 | + | Part340.BrickColor = BrickColor.new("Medium green") |
5957 | - | Script463.Name = "Spread" |
5957 | + | Part340.TopSurface = Enum.SurfaceType.Smooth |
5958 | - | Script463.Parent = Fire462 |
5958 | + | Part340.brickColor = BrickColor.new("Medium green") |
5959 | - | table.insert(cors,sandbox(Script463,function() |
5959 | + | Decal341.Parent = Part340 |
5960 | - | function Spread(part) |
5960 | + | Decal341.Texture = "http://www.roblox.com/asset/?id=34541722" |
5961 | - | check = part:findFirstChild("Fire") |
5961 | + | Decal341.Face = Enum.NormalId.Top |
5962 | - | if check == nil then |
5962 | + | Model342.Parent = Model201 |
5963 | - | script.Parent:Clone().Parent = part |
5963 | + | Model343.Name = "Zombie" |
5964 | - | |
5964 | + | Model343.Parent = Model342 |
5965 | - | elseif check ~= nil then |
5965 | + | Model343.PrimaryPart = Part344 |
5966 | - | check.Size = check.Size + 1 |
5966 | + | Part344.Name = "Head" |
5967 | - | check.Heat = check.Heat +1 |
5967 | + | Part344.Parent = Model343 |
5968 | Part344.CFrame = CFrame.new(182.591461, 6.09995508, 229.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
5969 | Part344.Orientation = Vector3.new(0, 90, 0) | |
5970 | Part344.Position = Vector3.new(182.591461, 6.09995508, 229.48645) | |
5971 | Part344.Rotation = Vector3.new(0, 90, 0) | |
5972 | - | script.Parent.Parent.Touched:connect(Spread) |
5972 | + | Part344.Color = Color3.new(0.631373, 0.768628, 0.54902) |
5973 | Part344.Size = Vector3.new(2, 1, 1) | |
5974 | Part344.BrickColor = BrickColor.new("Medium green") | |
5975 | - | Part464.Parent = Model0 |
5975 | + | Part344.TopSurface = Enum.SurfaceType.Smooth |
5976 | - | Part464.CFrame = CFrame.new(174.501465, 19.2098045, 179, 1, 1.04935471e-09, 2.98023224e-08, -9.32216748e-10, 1, 0, -2.98023224e-08, 4.77305417e-10, 1) |
5976 | + | Part344.brickColor = BrickColor.new("Medium green") |
5977 | - | Part464.Position = Vector3.new(174.501465, 19.2098045, 179) |
5977 | + | Part344.FormFactor = Enum.FormFactor.Symmetric |
5978 | - | Part464.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
5978 | + | Part344.formFactor = Enum.FormFactor.Symmetric |
5979 | - | Part464.Size = Vector3.new(39, 14.4000006, 2) |
5979 | + | SpecialMesh345.Parent = Part344 |
5980 | - | Part464.Anchored = true |
5980 | + | SpecialMesh345.Scale = Vector3.new(1.25, 1.25, 1.25) |
5981 | - | Part464.BottomSurface = Enum.SurfaceType.Smooth |
5981 | + | Decal346.Name = "face" |
5982 | - | Part464.BrickColor = BrickColor.new("Bright blue") |
5982 | + | Decal346.Parent = Part344 |
5983 | - | Part464.TopSurface = Enum.SurfaceType.Smooth |
5983 | + | Part347.Name = "Torso" |
5984 | - | Part464.brickColor = BrickColor.new("Bright blue") |
5984 | + | Part347.Parent = Model343 |
5985 | - | Fire465.Parent = Part464 |
5985 | + | Part347.CFrame = CFrame.new(182.591461, 4.59995508, 229.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
5986 | - | Fire465.Color = Color3.new(1, 0.745098, 0) |
5986 | + | Part347.Orientation = Vector3.new(0, 90, 0) |
5987 | - | Fire465.Enabled = false |
5987 | + | Part347.Position = Vector3.new(182.591461, 4.59995508, 229.48645) |
5988 | - | Fire465.Size = 30 |
5988 | + | Part347.Rotation = Vector3.new(0, 90, 0) |
5989 | - | Fire465.Heat = 25 |
5989 | + | Part347.Color = Color3.new(0.411765, 0.25098, 0.156863) |
5990 | - | Fire465.SecondaryColor = Color3.new(1, 0, 0) |
5990 | + | Part347.Size = Vector3.new(2, 2, 1) |
5991 | - | Fire465.size = 30 |
5991 | + | Part347.BrickColor = BrickColor.new("Reddish brown") |
5992 | - | Script466.Parent = Fire465 |
5992 | + | Part347.LeftParamA = 0 |
5993 | - | table.insert(cors,sandbox(Script466,function() |
5993 | + | Part347.LeftParamB = 0 |
5994 | - | function Spread(part) |
5994 | + | Part347.LeftSurface = Enum.SurfaceType.Weld |
5995 | - | check = part:findFirstChild("Fire") |
5995 | + | Part347.RightParamA = 0 |
5996 | - | if check == nil then |
5996 | + | Part347.RightParamB = 0 |
5997 | - | script.Parent:Clone().Parent = part |
5997 | + | Part347.RightSurface = Enum.SurfaceType.Weld |
5998 | - | |
5998 | + | Part347.brickColor = BrickColor.new("Reddish brown") |
5999 | - | elseif check ~= nil then |
5999 | + | Part347.FormFactor = Enum.FormFactor.Symmetric |
6000 | - | check.Size = check.Size + 1 |
6000 | + | Part347.formFactor = Enum.FormFactor.Symmetric |
6001 | - | check.Heat = check.Heat +1 |
6001 | + | Part348.Name = "Left Leg" |
6002 | Part348.Parent = Model343 | |
6003 | Part348.CFrame = CFrame.new(182.591461, 2.59995508, 229.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) | |
6004 | Part348.Orientation = Vector3.new(0, 90, 0) | |
6005 | Part348.Position = Vector3.new(182.591461, 2.59995508, 229.98645) | |
6006 | - | script.Parent.Parent.Touched:connect(Spread) |
6006 | + | Part348.Rotation = Vector3.new(0, 90, 0) |
6007 | Part348.Color = Color3.new(0.411765, 0.25098, 0.156863) | |
6008 | Part348.Size = Vector3.new(1, 2, 1) | |
6009 | Part348.BottomSurface = Enum.SurfaceType.Smooth | |
6010 | - | Part467.Parent = Model0 |
6010 | + | Part348.BrickColor = BrickColor.new("Reddish brown") |
6011 | - | Part467.CFrame = CFrame.new(156.501465, 6.00892067, 179, -1, 0, 0, 0, 1, 0, 0, 0, -1) |
6011 | + | Part348.CanCollide = false |
6012 | - | Part467.Orientation = Vector3.new(0, 180, 0) |
6012 | + | Part348.brickColor = BrickColor.new("Reddish brown") |
6013 | - | Part467.Position = Vector3.new(156.501465, 6.00892067, 179) |
6013 | + | Part348.FormFactor = Enum.FormFactor.Symmetric |
6014 | - | Part467.Rotation = Vector3.new(-180, 0, -180) |
6014 | + | Part348.formFactor = Enum.FormFactor.Symmetric |
6015 | - | Part467.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
6015 | + | Part349.Name = "Right Leg" |
6016 | - | Part467.Size = Vector3.new(3, 12, 2) |
6016 | + | Part349.Parent = Model343 |
6017 | - | Part467.Anchored = true |
6017 | + | Part349.CFrame = CFrame.new(182.591461, 2.59995508, 228.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
6018 | - | Part467.BrickColor = BrickColor.new("Bright blue") |
6018 | + | Part349.Orientation = Vector3.new(0, 90, 0) |
6019 | - | Part467.brickColor = BrickColor.new("Bright blue") |
6019 | + | Part349.Position = Vector3.new(182.591461, 2.59995508, 228.98645) |
6020 | - | Fire468.Parent = Part467 |
6020 | + | Part349.Rotation = Vector3.new(0, 90, 0) |
6021 | - | Fire468.Color = Color3.new(1, 0.72549, 0) |
6021 | + | Part349.Color = Color3.new(0.411765, 0.25098, 0.156863) |
6022 | - | Fire468.Enabled = false |
6022 | + | Part349.Size = Vector3.new(1, 2, 1) |
6023 | - | Fire468.Size = 30 |
6023 | + | Part349.BottomSurface = Enum.SurfaceType.Smooth |
6024 | - | Fire468.Heat = 25 |
6024 | + | Part349.BrickColor = BrickColor.new("Reddish brown") |
6025 | - | Fire468.SecondaryColor = Color3.new(1, 0, 0) |
6025 | + | Part349.CanCollide = false |
6026 | - | Fire468.size = 30 |
6026 | + | Part349.brickColor = BrickColor.new("Reddish brown") |
6027 | - | Script469.Name = "Spread" |
6027 | + | Part349.FormFactor = Enum.FormFactor.Symmetric |
6028 | - | Script469.Parent = Fire468 |
6028 | + | Part349.formFactor = Enum.FormFactor.Symmetric |
6029 | - | table.insert(cors,sandbox(Script469,function() |
6029 | + | Humanoid350.Parent = Model343 |
6030 | - | function Spread(part) |
6030 | + | Humanoid350.LeftLeg = Part348 |
6031 | - | check = part:findFirstChild("Fire") |
6031 | + | Humanoid350.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
6032 | - | if check == nil then |
6032 | + | Humanoid350.RightLeg = Part349 |
6033 | - | script.Parent:Clone().Parent = part |
6033 | + | Humanoid350.Torso = Part347 |
6034 | - | |
6034 | + | Part351.Name = "zarm" |
6035 | - | elseif check ~= nil then |
6035 | + | Part351.Parent = Model343 |
6036 | - | check.Size = check.Size + 1 |
6036 | + | Part351.CFrame = CFrame.new(182.091461, 5.09995508, 230.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
6037 | - | check.Heat = check.Heat +1 |
6037 | + | Part351.Orientation = Vector3.new(0, 180, 0) |
6038 | Part351.Position = Vector3.new(182.091461, 5.09995508, 230.98645) | |
6039 | Part351.Rotation = Vector3.new(-180, 0, -180) | |
6040 | Part351.Color = Color3.new(0.631373, 0.768628, 0.54902) | |
6041 | Part351.Size = Vector3.new(2, 1, 1) | |
6042 | - | script.Parent.Parent.Touched:connect(Spread) |
6042 | + | Part351.BottomSurface = Enum.SurfaceType.Smooth |
6043 | Part351.BrickColor = BrickColor.new("Medium green") | |
6044 | Part351.TopSurface = Enum.SurfaceType.Smooth | |
6045 | - | Part470.Parent = Model0 |
6045 | + | Part351.brickColor = BrickColor.new("Medium green") |
6046 | - | Part470.CFrame = CFrame.new(174.5, 1.20001602, 209.5, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
6046 | + | Part351.FormFactor = Enum.FormFactor.Symmetric |
6047 | - | Part470.Orientation = Vector3.new(0, -90, 0) |
6047 | + | Part351.formFactor = Enum.FormFactor.Symmetric |
6048 | - | Part470.Position = Vector3.new(174.5, 1.20001602, 209.5) |
6048 | + | Script352.Parent = Part351 |
6049 | - | Part470.Rotation = Vector3.new(0, -90, 0) |
6049 | + | table.insert(cors,sandbox(Script352,function() |
6050 | - | Part470.Color = Color3.new(0.388235, 0.372549, 0.384314) |
6050 | + | wait(1) |
6051 | - | Part470.Size = Vector3.new(59, 2.4000001, 39) |
6051 | + | owner=script.Parent.Parent.Name |
6052 | - | Part470.Anchored = true |
6052 | + | |
6053 | - | Part470.BrickColor = BrickColor.new("Dark stone grey") |
6053 | + | function onTouched(part) |
6054 | - | Part470.TopSurface = Enum.SurfaceType.Smooth |
6054 | + | if part.Parent ~= nil then |
6055 | - | Part470.brickColor = BrickColor.new("Dark stone grey") |
6055 | + | local h = part.Parent:findFirstChild("Humanoid") |
6056 | - | Fire471.Parent = Part470 |
6056 | + | if h~=nil then |
6057 | - | Fire471.Color = Color3.new(1, 0.745098, 0) |
6057 | + | if cantouch~=0 then |
6058 | - | Fire471.Enabled = false |
6058 | + | if h.Parent.Name~=owner then |
6059 | - | Fire471.Size = 30 |
6059 | + | |
6060 | - | Fire471.Heat = 25 |
6060 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
6061 | - | Fire471.SecondaryColor = Color3.new(1, 0, 0) |
6061 | + | |
6062 | - | Fire471.size = 30 |
6062 | + | cantouch=0 |
6063 | - | Script472.Parent = Fire471 |
6063 | + | |
6064 | - | table.insert(cors,sandbox(Script472,function() |
6064 | + | local larm=h.Parent:findFirstChild("Left Arm") |
6065 | - | function Spread(part) |
6065 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
6066 | - | check = part:findFirstChild("Fire") |
6066 | + | |
6067 | - | if check == nil then |
6067 | + | if larm~=nil then |
6068 | - | script.Parent:Clone().Parent = part |
6068 | + | larm:remove() |
6069 | - | |
6069 | + | end |
6070 | - | elseif check ~= nil then |
6070 | + | if rarm~=nil then |
6071 | - | check.Size = check.Size + 1 |
6071 | + | rarm:remove() |
6072 | - | check.Heat = check.Heat +1 |
6072 | + | end |
6073 | local zee=script.Parent.Parent:findFirstChild("zarm") | |
6074 | if zee~=nil then | |
6075 | local zlarm=zee:clone() | |
6076 | local zrarm=zee:clone() | |
6077 | - | script.Parent.Parent.Touched:connect(Spread) |
6077 | + | if zlarm~=nil then |
6078 | ||
6079 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
6080 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
6081 | - | Part473.Parent = Model0 |
6081 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
6082 | - | Part473.CFrame = CFrame.new(195.001465, 13.2100639, 209.5, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
6082 | + | zlarm.Parent=h.Parent |
6083 | - | Part473.Orientation = Vector3.new(0, -90, 0) |
6083 | + | zrarm.Parent=h.Parent |
6084 | - | Part473.Position = Vector3.new(195.001465, 13.2100639, 209.5) |
6084 | + | zlarm:makeJoints() |
6085 | - | Part473.Rotation = Vector3.new(0, -90, 0) |
6085 | + | zrarm:makeJoints() |
6086 | - | Part473.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
6086 | + | zlarm.Anchored=false |
6087 | - | Part473.Size = Vector3.new(63, 26.4000015, 2) |
6087 | + | zrarm.Anchored=false |
6088 | - | Part473.Anchored = true |
6088 | + | wait(0.1) |
6089 | - | Part473.BrickColor = BrickColor.new("Bright blue") |
6089 | + | h.Parent.Head.Color=zee.Color |
6090 | - | Part473.TopSurface = Enum.SurfaceType.Smooth |
6090 | + | else print("no zee"); return end |
6091 | - | Part473.brickColor = BrickColor.new("Bright blue") |
6091 | + | end |
6092 | - | Fire474.Parent = Part473 |
6092 | + | wait(1) |
6093 | - | Fire474.Color = Color3.new(1, 0.72549, 0) |
6093 | + | cantouch=1 |
6094 | - | Fire474.Enabled = false |
6094 | + | end |
6095 | - | Fire474.Size = 30 |
6095 | + | end |
6096 | - | Fire474.Heat = 25 |
6096 | + | |
6097 | - | Fire474.SecondaryColor = Color3.new(1, 0, 0) |
6097 | + | |
6098 | - | Fire474.size = 30 |
6098 | + | |
6099 | - | Script475.Name = "Spread" |
6099 | + | |
6100 | - | Script475.Parent = Fire474 |
6100 | + | |
6101 | - | table.insert(cors,sandbox(Script475,function() |
6101 | + | |
6102 | - | function Spread(part) |
6102 | + | Part353.Name = "zarm" |
6103 | - | check = part:findFirstChild("Fire") |
6103 | + | Part353.Parent = Model343 |
6104 | - | if check == nil then |
6104 | + | Part353.CFrame = CFrame.new(182.091461, 5.09995508, 227.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
6105 | - | script.Parent:Clone().Parent = part |
6105 | + | Part353.Orientation = Vector3.new(0, 180, 0) |
6106 | - | |
6106 | + | Part353.Position = Vector3.new(182.091461, 5.09995508, 227.98645) |
6107 | - | elseif check ~= nil then |
6107 | + | Part353.Rotation = Vector3.new(-180, 0, -180) |
6108 | - | check.Size = check.Size + 1 |
6108 | + | Part353.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6109 | - | check.Heat = check.Heat +1 |
6109 | + | Part353.Size = Vector3.new(2, 1, 1) |
6110 | Part353.BottomSurface = Enum.SurfaceType.Smooth | |
6111 | Part353.BrickColor = BrickColor.new("Medium green") | |
6112 | Part353.TopSurface = Enum.SurfaceType.Smooth | |
6113 | Part353.brickColor = BrickColor.new("Medium green") | |
6114 | - | script.Parent.Parent.Touched:connect(Spread) |
6114 | + | Part353.FormFactor = Enum.FormFactor.Symmetric |
6115 | Part353.formFactor = Enum.FormFactor.Symmetric | |
6116 | Script354.Parent = Part353 | |
6117 | - | WedgePart476.Parent = Model0 |
6117 | + | table.insert(cors,sandbox(Script354,function() |
6118 | - | WedgePart476.CFrame = CFrame.new(175.501465, 1.20921421, 176.5, 1, -2.18278728e-11, -1.09126603e-07, -7.27595761e-12, 1, -4.07453626e-10, 1.14390843e-07, 4.07453626e-10, 1) |
6118 | + | wait(1) |
6119 | - | WedgePart476.Position = Vector3.new(175.501465, 1.20921421, 176.5) |
6119 | + | owner=script.Parent.Parent.Name |
6120 | - | WedgePart476.Color = Color3.new(0.427451, 0.431373, 0.423529) |
6120 | + | |
6121 | - | WedgePart476.Size = Vector3.new(35, 2.4000001, 7) |
6121 | + | function onTouched(part) |
6122 | - | WedgePart476.Anchored = true |
6122 | + | if part.Parent ~= nil then |
6123 | - | WedgePart476.BrickColor = BrickColor.new("Dark grey") |
6123 | + | local h = part.Parent:findFirstChild("Humanoid") |
6124 | - | WedgePart476.brickColor = BrickColor.new("Dark grey") |
6124 | + | if h~=nil then |
6125 | - | Fire477.Parent = WedgePart476 |
6125 | + | if cantouch~=0 then |
6126 | - | Fire477.Color = Color3.new(1, 0.745098, 0) |
6126 | + | if h.Parent.Name~=owner then |
6127 | - | Fire477.Enabled = false |
6127 | + | |
6128 | - | Fire477.Size = 30 |
6128 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
6129 | - | Fire477.Heat = 25 |
6129 | + | |
6130 | - | Fire477.SecondaryColor = Color3.new(1, 0, 0) |
6130 | + | cantouch=0 |
6131 | - | Fire477.size = 30 |
6131 | + | |
6132 | - | Script478.Parent = Fire477 |
6132 | + | local larm=h.Parent:findFirstChild("Left Arm") |
6133 | - | table.insert(cors,sandbox(Script478,function() |
6133 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
6134 | - | function Spread(part) |
6134 | + | |
6135 | - | check = part:findFirstChild("Fire") |
6135 | + | if larm~=nil then |
6136 | - | if check == nil then |
6136 | + | larm:remove() |
6137 | - | script.Parent:Clone().Parent = part |
6137 | + | end |
6138 | - | |
6138 | + | if rarm~=nil then |
6139 | - | elseif check ~= nil then |
6139 | + | rarm:remove() |
6140 | - | check.Size = check.Size + 1 |
6140 | + | end |
6141 | - | check.Heat = check.Heat +1 |
6141 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
6142 | if zee~=nil then | |
6143 | local zlarm=zee:clone() | |
6144 | local zrarm=zee:clone() | |
6145 | if zlarm~=nil then | |
6146 | - | script.Parent.Parent.Touched:connect(Spread) |
6146 | + | |
6147 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
6148 | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
6149 | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
6150 | - | Model479.Parent = Model0 |
6150 | + | zlarm.Parent=h.Parent |
6151 | - | Model480.Name = "Jeep" |
6151 | + | zrarm.Parent=h.Parent |
6152 | - | Model480.Parent = Model479 |
6152 | + | zlarm:makeJoints() |
6153 | - | Part481.Name = "Smooth Block Model" |
6153 | + | zrarm:makeJoints() |
6154 | - | Part481.Parent = Model480 |
6154 | + | zlarm.Anchored=false |
6155 | - | Part481.CFrame = CFrame.new(182, 6.00000668, 203.5, -1, 0, 0, 0, -1, 0, 0, 0, 1) |
6155 | + | zrarm.Anchored=false |
6156 | - | Part481.Orientation = Vector3.new(0, 0, 180) |
6156 | + | wait(0.1) |
6157 | - | Part481.Position = Vector3.new(182, 6.00000668, 203.5) |
6157 | + | h.Parent.Head.Color=zee.Color |
6158 | - | Part481.Rotation = Vector3.new(0, 0, -180) |
6158 | + | else print("no zee"); return end |
6159 | - | Part481.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6159 | + | end |
6160 | - | Part481.Velocity = Vector3.new(0.288667262, -0.393538594, -0.493518174) |
6160 | + | wait(1) |
6161 | - | Part481.Size = Vector3.new(4, 2, 1) |
6161 | + | cantouch=1 |
6162 | - | Part481.BottomSurface = Enum.SurfaceType.Weld |
6162 | + | end |
6163 | - | Part481.BrickColor = BrickColor.new("Earth green") |
6163 | + | end |
6164 | - | Part481.LeftSurface = Enum.SurfaceType.Weld |
6164 | + | |
6165 | - | Part481.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6165 | + | |
6166 | - | Part481.TopSurface = Enum.SurfaceType.Smooth |
6166 | + | |
6167 | - | Part481.brickColor = BrickColor.new("Earth green") |
6167 | + | |
6168 | - | Part481.FormFactor = Enum.FormFactor.Symmetric |
6168 | + | |
6169 | - | Part481.formFactor = Enum.FormFactor.Symmetric |
6169 | + | |
6170 | - | SpecialMesh482.Parent = Part481 |
6170 | + | ObjectValue355.Name = "IsNZ" |
6171 | - | SpecialMesh482.MeshType = Enum.MeshType.Wedge |
6171 | + | ObjectValue355.Parent = Model343 |
6172 | - | Part483.Name = "Smooth Block Model" |
6172 | + | IntValue356.Name = "Mode" |
6173 | - | Part483.Parent = Model480 |
6173 | + | IntValue356.Parent = Model343 |
6174 | - | Part483.CFrame = CFrame.new(182, 7.20000792, 201, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6174 | + | Script357.Parent = Model343 |
6175 | - | Part483.Position = Vector3.new(182, 7.20000792, 201) |
6175 | + | table.insert(cors,sandbox(Script357,function() |
6176 | - | Part483.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6176 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
6177 | - | Part483.Velocity = Vector3.new(0.256282896, -0.294003278, -0.445741177) |
6177 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
6178 | - | Part483.Size = Vector3.new(4, 0.400000006, 6) |
6178 | + | |
6179 | - | Part483.BottomParamA = -0.30000001192093 |
6179 | + | function findNearestTorso(pos) |
6180 | - | Part483.BottomParamB = 0.30000001192093 |
6180 | + | local list = game.Workspace:children() |
6181 | - | Part483.BottomSurface = Enum.SurfaceType.Smooth |
6181 | + | local torso = nil |
6182 | - | Part483.BrickColor = BrickColor.new("Earth green") |
6182 | + | local dist = 1000 |
6183 | - | Part483.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6183 | + | local temp = nil |
6184 | - | Part483.TopSurface = Enum.SurfaceType.Smooth |
6184 | + | local human = nil |
6185 | - | Part483.brickColor = BrickColor.new("Earth green") |
6185 | + | local temp2 = nil |
6186 | - | Part483.FormFactor = Enum.FormFactor.Plate |
6186 | + | for x = 1, #list do |
6187 | - | Part483.formFactor = Enum.FormFactor.Plate |
6187 | + | temp2 = list[x] |
6188 | - | Part484.Name = "Smooth Block Model" |
6188 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
6189 | - | Part484.Parent = Model480 |
6189 | + | temp = temp2:findFirstChild("Right Arm") |
6190 | - | Part484.CFrame = CFrame.new(182, 6.00000668, 198.5, 1, 0, 0, 0, -1, 0, 0, 0, -1) |
6190 | + | human = temp2:findFirstChild("Humanoid") |
6191 | - | Part484.Orientation = Vector3.new(0, 180, 180) |
6191 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
6192 | - | Part484.Position = Vector3.new(182, 6.00000668, 198.5) |
6192 | + | if (temp.Position - pos).magnitude < dist then |
6193 | - | Part484.Rotation = Vector3.new(-180, 0, 0) |
6193 | + | torso = temp |
6194 | - | Part484.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6194 | + | dist = (temp.Position - pos).magnitude |
6195 | - | Part484.Velocity = Vector3.new(0.222326711, -0.194467932, -0.493518174) |
6195 | + | end |
6196 | - | Part484.Size = Vector3.new(4, 2, 1) |
6196 | + | |
6197 | - | Part484.BottomSurface = Enum.SurfaceType.Weld |
6197 | + | |
6198 | - | Part484.BrickColor = BrickColor.new("Earth green") |
6198 | + | |
6199 | - | Part484.RightSurface = Enum.SurfaceType.Weld |
6199 | + | return torso |
6200 | - | Part484.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6200 | + | |
6201 | - | Part484.TopSurface = Enum.SurfaceType.Smooth |
6201 | + | |
6202 | - | Part484.brickColor = BrickColor.new("Earth green") |
6202 | + | |
6203 | - | Part484.FormFactor = Enum.FormFactor.Symmetric |
6203 | + | |
6204 | - | Part484.formFactor = Enum.FormFactor.Symmetric |
6204 | + | |
6205 | - | SpecialMesh485.Parent = Part484 |
6205 | + | |
6206 | - | SpecialMesh485.MeshType = Enum.MeshType.Wedge |
6206 | + | wait(math.random(1,5)) |
6207 | - | Seat486.Parent = Model480 |
6207 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
6208 | - | Seat486.CFrame = CFrame.new(182.5, 6.20000696, 197, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6208 | + | if target ~= nil then |
6209 | - | Seat486.Position = Vector3.new(182.5, 6.20000696, 197) |
6209 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
6210 | - | Seat486.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6210 | + | |
6211 | - | Seat486.Velocity = Vector3.new(0.202555537, -0.135074183, -0.492189378) |
6211 | + | |
6212 | - | Seat486.Size = Vector3.new(3, 0.800000012, 2) |
6212 | + | |
6213 | - | Seat486.BrickColor = BrickColor.new("Really black") |
6213 | + | |
6214 | - | Seat486.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6214 | + | |
6215 | - | Seat486.TopSurface = Enum.SurfaceType.Smooth |
6215 | + | Script358.Name = "Health" |
6216 | - | Seat486.brickColor = BrickColor.new("Really black") |
6216 | + | Script358.Parent = Model343 |
6217 | - | Seat486.FormFactor = Enum.FormFactor.Plate |
6217 | + | table.insert(cors,sandbox(Script358,function() |
6218 | - | Seat486.formFactor = Enum.FormFactor.Plate |
6218 | + | function waitForChild(parent, childName) |
6219 | - | Part487.Name = "Smooth Block Model" |
6219 | + | while true do |
6220 | - | Part487.Parent = Model480 |
6220 | + | local child = parent:findFirstChild(childName) |
6221 | - | Part487.CFrame = CFrame.new(182.5, 10.8000002, 197, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6221 | + | if child then |
6222 | - | Part487.Orientation = Vector3.new(0, 90, 0) |
6222 | + | |
6223 | - | Part487.Position = Vector3.new(182.5, 10.8000002, 197) |
6223 | + | |
6224 | - | Part487.Rotation = Vector3.new(0, 90, 0) |
6224 | + | parent.ChildAdded:wait() |
6225 | - | Part487.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6225 | + | |
6226 | - | Part487.Velocity = Vector3.new(0.205568194, -0.135074183, -0.309044629) |
6226 | + | |
6227 | - | Part487.Size = Vector3.new(4, 0.400000006, 3) |
6227 | + | |
6228 | - | Part487.BottomParamA = -0.30000001192093 |
6228 | + | -- declarations |
6229 | - | Part487.BottomParamB = 0.30000001192093 |
6229 | + | |
6230 | - | Part487.BottomSurface = Enum.SurfaceType.Smooth |
6230 | + | local Figure = script.Parent |
6231 | - | Part487.BrickColor = BrickColor.new("Earth green") |
6231 | + | local Head = waitForChild(Figure, "Head") |
6232 | - | Part487.CanCollide = false |
6232 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
6233 | - | Part487.LeftSurface = Enum.SurfaceType.Weld |
6233 | + | Humanoid.Health=500 |
6234 | - | Part487.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6234 | + | -- regeneration |
6235 | - | Part487.TopSurface = Enum.SurfaceType.Smooth |
6235 | + | |
6236 | - | Part487.brickColor = BrickColor.new("Earth green") |
6236 | + | local s = wait(4) |
6237 | - | Part487.FormFactor = Enum.FormFactor.Plate |
6237 | + | local health = Humanoid.Health |
6238 | - | Part487.formFactor = Enum.FormFactor.Plate |
6238 | + | if health > 0 and health < Humanoid.MaxHealth then |
6239 | - | Part488.Name = "Smooth Block Model" |
6239 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
6240 | - | Part488.Parent = Model480 |
6240 | + | if health * 1.05 < Humanoid.MaxHealth then |
6241 | - | Part488.CFrame = CFrame.new(180.5, 9.59999943, 198.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6241 | + | Humanoid.Health = health |
6242 | - | Part488.Orientation = Vector3.new(0, 90, 0) |
6242 | + | else |
6243 | - | Part488.Position = Vector3.new(180.5, 9.59999943, 198.5) |
6243 | + | Humanoid.Health = Humanoid.MaxHealth |
6244 | - | Part488.Rotation = Vector3.new(0, 90, 0) |
6244 | + | |
6245 | - | Part488.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6245 | + | |
6246 | - | Part488.Velocity = Vector3.new(0.224684447, -0.193485528, -0.33028543) |
6246 | + | |
6247 | - | Part488.Size = Vector3.new(1, 2.79999995, 1) |
6247 | + | |
6248 | - | Part488.BottomSurface = Enum.SurfaceType.Weld |
6248 | + | |
6249 | - | Part488.BrickColor = BrickColor.new("Earth green") |
6249 | + | Script359.Name = "Respawn" |
6250 | - | Part488.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6250 | + | Script359.Parent = Model343 |
6251 | - | Part488.TopSurface = Enum.SurfaceType.Weld |
6251 | + | |
6252 | - | Part488.brickColor = BrickColor.new("Earth green") |
6252 | + | name="Humanoid" |
6253 | - | Part488.FormFactor = Enum.FormFactor.Plate |
6253 | + | |
6254 | - | Part488.formFactor = Enum.FormFactor.Plate |
6254 | + | robo=script.Parent:clone() |
6255 | - | SpecialMesh489.Parent = Part488 |
6255 | + | |
6256 | - | SpecialMesh489.MeshType = Enum.MeshType.Wedge |
6256 | + | |
6257 | - | Part490.Name = "Smooth Block Model" |
6257 | + | wait(1) |
6258 | - | Part490.Parent = Model480 |
6258 | + | if script.Parent.Humanoid.Health<1 then |
6259 | - | Part490.CFrame = CFrame.new(183, 9.40000343, 198.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6259 | + | robot=robo:clone() |
6260 | - | Part490.Orientation = Vector3.new(0, 90, 0) |
6260 | + | robot.Parent=script.Parent.Parent |
6261 | - | Part490.Position = Vector3.new(183, 9.40000343, 198.5) |
6261 | + | robot:makeJoints() |
6262 | - | Part490.Rotation = Vector3.new(0, 90, 0) |
6262 | + | script.Parent:remove() |
6263 | - | Part490.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6263 | + | |
6264 | - | Part490.Velocity = Vector3.new(0.224553451, -0.195122853, -0.371418357) |
6264 | + | |
6265 | - | Part490.Size = Vector3.new(1, 2.4000001, 4) |
6265 | + | |
6266 | - | Part490.BottomSurface = Enum.SurfaceType.Weld |
6266 | + | |
6267 | - | Part490.BrickColor = BrickColor.new("Earth green") |
6267 | + | |
6268 | - | Part490.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6268 | + | |
6269 | - | Part490.TopSurface = Enum.SurfaceType.Weld |
6269 | + | |
6270 | - | Part490.brickColor = BrickColor.new("Earth green") |
6270 | + | Part360.Name = "Spawn Location" |
6271 | - | Part490.FormFactor = Enum.FormFactor.Plate |
6271 | + | Part360.Parent = Model342 |
6272 | - | Part490.formFactor = Enum.FormFactor.Plate |
6272 | + | Part360.CFrame = CFrame.new(182.091461, 0.600017011, 229.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
6273 | - | Part491.Name = "Smooth Block Model" |
6273 | + | |
6274 | - | Part491.Parent = Model480 |
6274 | + | Part360.Position = Vector3.new(182.091461, 0.600017011, 229.48645) |
6275 | - | Part491.CFrame = CFrame.new(181.99707, 4.40637493, 200.999512, 0.999996781, -0.00231241155, -0.000892987882, -0.00245824317, -0.971445084, -0.237251788, -0.000318821403, 0.237253234, -0.971447706) |
6275 | + | |
6276 | - | Part491.Orientation = Vector3.new(13.7199993, -179.949997, -179.860001) |
6276 | + | Part360.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6277 | - | Part491.Position = Vector3.new(181.99707, 4.40637493, 200.999512) |
6277 | + | Part360.Size = Vector3.new(6, 1.20000005, 6) |
6278 | - | Part491.Rotation = Vector3.new(166.279999, -0.049999997, 0.129999995) |
6278 | + | Part360.BottomSurface = Enum.SurfaceType.Weld |
6279 | - | Part491.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6279 | + | Part360.BrickColor = BrickColor.new("Medium green") |
6280 | - | Part491.Velocity = Vector3.new(-0.119526148, -0.0206653066, -1.44071794) |
6280 | + | |
6281 | - | Part491.Size = Vector3.new(4, 4, 4) |
6281 | + | Part360.brickColor = BrickColor.new("Medium green") |
6282 | - | Part491.BottomSurface = Enum.SurfaceType.Smooth |
6282 | + | Decal361.Parent = Part360 |
6283 | - | Part491.BrickColor = BrickColor.new("Really black") |
6283 | + | Decal361.Texture = "http://www.roblox.com/asset/?id=34541722" |
6284 | - | Part491.Friction = 0.89999997615814 |
6284 | + | Decal361.Face = Enum.NormalId.Top |
6285 | - | Part491.LeftSurface = Enum.SurfaceType.Weld |
6285 | + | Model362.Parent = Model201 |
6286 | - | Part491.RightParamA = 0 |
6286 | + | Model363.Name = "Zombie" |
6287 | - | Part491.RightParamB = 0 |
6287 | + | Model363.Parent = Model362 |
6288 | - | Part491.RightSurface = Enum.SurfaceType.Hinge |
6288 | + | Model363.PrimaryPart = Part364 |
6289 | - | Part491.RotVelocity = Vector3.new(-0.121643052, -0.302773923, -0.0357246026) |
6289 | + | Part364.Name = "Head" |
6290 | - | Part491.TopSurface = Enum.SurfaceType.Smooth |
6290 | + | Part364.Parent = Model363 |
6291 | - | Part491.brickColor = BrickColor.new("Really black") |
6291 | + | Part364.CFrame = CFrame.new(182.608551, 6.09995508, 235.513428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
6292 | - | Part491.FormFactor = Enum.FormFactor.Symmetric |
6292 | + | Part364.Orientation = Vector3.new(0, 90, 0) |
6293 | - | Part491.formFactor = Enum.FormFactor.Symmetric |
6293 | + | Part364.Position = Vector3.new(182.608551, 6.09995508, 235.513428) |
6294 | - | Part491.Shape = Enum.PartType.Cylinder |
6294 | + | Part364.Rotation = Vector3.new(0, 90, 0) |
6295 | - | Part492.Name = "Smooth Block Model" |
6295 | + | Part364.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6296 | - | Part492.Parent = Model480 |
6296 | + | Part364.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20) |
6297 | - | Part492.CFrame = CFrame.new(185, 7.80000401, 201, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6297 | + | Part364.Size = Vector3.new(2, 1, 1) |
6298 | - | Part492.Orientation = Vector3.new(0, 90, 0) |
6298 | + | Part364.BrickColor = BrickColor.new("Medium green") |
6299 | - | Part492.Position = Vector3.new(185, 7.80000401, 201) |
6299 | + | Part364.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
6300 | - | Part492.Rotation = Vector3.new(0, 90, 0) |
6300 | + | Part364.TopSurface = Enum.SurfaceType.Smooth |
6301 | - | Part492.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6301 | + | Part364.brickColor = BrickColor.new("Medium green") |
6302 | - | Part492.Velocity = Vector3.new(0.256675839, -0.295968056, -0.461657166) |
6302 | + | Part364.FormFactor = Enum.FormFactor.Symmetric |
6303 | - | Part492.Size = Vector3.new(6, 0.800000012, 10) |
6303 | + | Part364.formFactor = Enum.FormFactor.Symmetric |
6304 | - | Part492.BottomSurface = Enum.SurfaceType.Weld |
6304 | + | SpecialMesh365.Parent = Part364 |
6305 | - | Part492.BrickColor = BrickColor.new("Earth green") |
6305 | + | SpecialMesh365.Scale = Vector3.new(1.25, 1.25, 1.25) |
6306 | - | Part492.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6306 | + | Decal366.Name = "face" |
6307 | - | Part492.TopSurface = Enum.SurfaceType.Smooth |
6307 | + | Decal366.Parent = Part364 |
6308 | - | Part492.brickColor = BrickColor.new("Earth green") |
6308 | + | Part367.Name = "Torso" |
6309 | - | Part492.FormFactor = Enum.FormFactor.Plate |
6309 | + | Part367.Parent = Model363 |
6310 | - | Part492.formFactor = Enum.FormFactor.Plate |
6310 | + | Part367.CFrame = CFrame.new(182.608551, 4.59995508, 235.513428, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
6311 | - | Part493.Name = "Smooth Block Model" |
6311 | + | Part367.Orientation = Vector3.new(0, 90, 0) |
6312 | - | Part493.Parent = Model480 |
6312 | + | Part367.Position = Vector3.new(182.608551, 4.59995508, 235.513428) |
6313 | - | Part493.CFrame = CFrame.new(180.5, 7.00000572, 194.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6313 | + | Part367.Rotation = Vector3.new(0, 90, 0) |
6314 | - | Part493.Orientation = Vector3.new(0, 90, 0) |
6314 | + | Part367.Color = Color3.new(0.411765, 0.25098, 0.156863) |
6315 | - | Part493.Position = Vector3.new(180.5, 7.00000572, 194.5) |
6315 | + | Part367.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20) |
6316 | - | Part493.Rotation = Vector3.new(0, 90, 0) |
6316 | + | Part367.Size = Vector3.new(2, 2, 1) |
6317 | - | Part493.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6317 | + | Part367.BrickColor = BrickColor.new("Reddish brown") |
6318 | - | Part493.Velocity = Vector3.new(0.169909209, -0.0342289843, -0.433801889) |
6318 | + | Part367.LeftParamA = 0 |
6319 | - | Part493.Size = Vector3.new(1, 2.4000001, 1) |
6319 | + | Part367.LeftParamB = 0 |
6320 | - | Part493.BottomSurface = Enum.SurfaceType.Weld |
6320 | + | Part367.LeftSurface = Enum.SurfaceType.Weld |
6321 | - | Part493.BrickColor = BrickColor.new("Earth green") |
6321 | + | Part367.RightParamA = 0 |
6322 | - | Part493.CanCollide = false |
6322 | + | Part367.RightParamB = 0 |
6323 | - | Part493.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6323 | + | Part367.RightSurface = Enum.SurfaceType.Weld |
6324 | - | Part493.TopSurface = Enum.SurfaceType.Weld |
6324 | + | Part367.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
6325 | - | Part493.brickColor = BrickColor.new("Earth green") |
6325 | + | Part367.brickColor = BrickColor.new("Reddish brown") |
6326 | - | Part493.FormFactor = Enum.FormFactor.Plate |
6326 | + | Part367.FormFactor = Enum.FormFactor.Symmetric |
6327 | - | Part493.formFactor = Enum.FormFactor.Plate |
6327 | + | Part367.formFactor = Enum.FormFactor.Symmetric |
6328 | - | Part494.Name = "Smooth Block Model" |
6328 | + | Part368.Name = "Left Leg" |
6329 | - | Part494.Parent = Model480 |
6329 | + | Part368.Parent = Model363 |
6330 | - | Part494.CFrame = CFrame.new(180.5, 9.59999943, 194.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6330 | + | Part368.CFrame = CFrame.new(182.608551, 2.59995508, 236.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
6331 | - | Part494.Orientation = Vector3.new(0, 90, 0) |
6331 | + | Part368.Orientation = Vector3.new(0, 90, 0) |
6332 | - | Part494.Position = Vector3.new(180.5, 9.59999943, 194.5) |
6332 | + | Part368.Position = Vector3.new(182.608551, 2.59995508, 236.013428) |
6333 | - | Part494.Rotation = Vector3.new(0, 90, 0) |
6333 | + | Part368.Rotation = Vector3.new(0, 90, 0) |
6334 | - | Part494.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6334 | + | Part368.Color = Color3.new(0.411765, 0.25098, 0.156863) |
6335 | - | Part494.Velocity = Vector3.new(0.171612024, -0.0342289843, -0.33028537) |
6335 | + | Part368.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20) |
6336 | - | Part494.Size = Vector3.new(1, 2.79999995, 1) |
6336 | + | Part368.Size = Vector3.new(1, 2, 1) |
6337 | - | Part494.BottomSurface = Enum.SurfaceType.Weld |
6337 | + | Part368.BottomSurface = Enum.SurfaceType.Smooth |
6338 | - | Part494.BrickColor = BrickColor.new("Earth green") |
6338 | + | Part368.BrickColor = BrickColor.new("Reddish brown") |
6339 | - | Part494.CanCollide = false |
6339 | + | Part368.CanCollide = false |
6340 | - | Part494.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6340 | + | Part368.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
6341 | - | Part494.TopSurface = Enum.SurfaceType.Weld |
6341 | + | Part368.brickColor = BrickColor.new("Reddish brown") |
6342 | - | Part494.brickColor = BrickColor.new("Earth green") |
6342 | + | Part368.FormFactor = Enum.FormFactor.Symmetric |
6343 | - | Part494.FormFactor = Enum.FormFactor.Plate |
6343 | + | Part368.formFactor = Enum.FormFactor.Symmetric |
6344 | - | Part494.formFactor = Enum.FormFactor.Plate |
6344 | + | Part369.Name = "Right Leg" |
6345 | - | SpecialMesh495.Parent = Part494 |
6345 | + | Part369.Parent = Model363 |
6346 | - | SpecialMesh495.MeshType = Enum.MeshType.Wedge |
6346 | + | Part369.CFrame = CFrame.new(182.608551, 2.59995508, 235.013428, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
6347 | - | Part496.Name = "Smooth Block Model" |
6347 | + | Part369.Orientation = Vector3.new(0, 90, 0) |
6348 | - | Part496.Parent = Model480 |
6348 | + | Part369.Position = Vector3.new(182.608551, 2.59995508, 235.013428) |
6349 | - | Part496.CFrame = CFrame.new(189.001465, 4.4047308, 187.000488, -0.999998331, 0.000319630199, -0.00165893952, -0.00168915745, -0.16914928, 0.985588968, 3.43740903e-05, 0.985590219, 0.169149563) |
6349 | + | Part369.Rotation = Vector3.new(0, 90, 0) |
6350 | - | Part496.Orientation = Vector3.new(-80.2599945, -0.560000002, -179.429993) |
6350 | + | Part369.Color = Color3.new(0.411765, 0.25098, 0.156863) |
6351 | - | Part496.Position = Vector3.new(189.001465, 4.4047308, 187.000488) |
6351 | + | Part369.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20) |
6352 | - | Part496.Rotation = Vector3.new(-80.2599945, -0.099999994, -179.979996) |
6352 | + | Part369.Size = Vector3.new(1, 2, 1) |
6353 | - | Part496.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6353 | + | Part369.BottomSurface = Enum.SurfaceType.Smooth |
6354 | - | Part496.Velocity = Vector3.new(0.171176866, -0.0214543119, 2.03022385) |
6354 | + | Part369.BrickColor = BrickColor.new("Reddish brown") |
6355 | - | Part496.Size = Vector3.new(4, 4, 4) |
6355 | + | Part369.CanCollide = false |
6356 | - | Part496.BottomSurface = Enum.SurfaceType.Smooth |
6356 | + | Part369.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
6357 | - | Part496.BrickColor = BrickColor.new("Really black") |
6357 | + | Part369.brickColor = BrickColor.new("Reddish brown") |
6358 | - | Part496.Friction = 0.89999997615814 |
6358 | + | Part369.FormFactor = Enum.FormFactor.Symmetric |
6359 | - | Part496.LeftSurface = Enum.SurfaceType.Weld |
6359 | + | Part369.formFactor = Enum.FormFactor.Symmetric |
6360 | - | Part496.RightParamA = 0 |
6360 | + | Humanoid370.Parent = Model363 |
6361 | - | Part496.RightParamB = 0 |
6361 | + | Humanoid370.LeftLeg = Part368 |
6362 | - | Part496.RightSurface = Enum.SurfaceType.Hinge |
6362 | + | Humanoid370.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
6363 | - | Part496.RotVelocity = Vector3.new(0.124701194, -0.286018133, 0.0738932714) |
6363 | + | Humanoid370.RightLeg = Part369 |
6364 | - | Part496.TopSurface = Enum.SurfaceType.Smooth |
6364 | + | Humanoid370.Torso = Part367 |
6365 | - | Part496.brickColor = BrickColor.new("Really black") |
6365 | + | Part371.Name = "zarm" |
6366 | - | Part496.FormFactor = Enum.FormFactor.Symmetric |
6366 | + | Part371.Parent = Model363 |
6367 | - | Part496.formFactor = Enum.FormFactor.Symmetric |
6367 | + | Part371.CFrame = CFrame.new(182.108551, 5.09995508, 237.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
6368 | - | Part496.Shape = Enum.PartType.Cylinder |
6368 | + | Part371.Orientation = Vector3.new(0, 180, 0) |
6369 | - | Part497.Name = "Smooth Block Model" |
6369 | + | Part371.Position = Vector3.new(182.108551, 5.09995508, 237.013428) |
6370 | - | Part497.Parent = Model480 |
6370 | + | Part371.Rotation = Vector3.new(-180, 0, -180) |
6371 | - | Part497.CFrame = CFrame.new(185.5, 4.80000782, 194, 1, 0, 0, 0, 1, -0, 0, 0, 1) |
6371 | + | Part371.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6372 | - | Part497.Position = Vector3.new(185.5, 4.80000782, 194) |
6372 | + | Part371.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20) |
6373 | - | Part497.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6373 | + | Part371.Size = Vector3.new(2, 1, 1) |
6374 | - | Part497.Velocity = Vector3.new(0.161834314, -0.0175965577, -0.587733448) |
6374 | + | Part371.BottomSurface = Enum.SurfaceType.Smooth |
6375 | - | Part497.Size = Vector3.new(3, 1.20000005, 20) |
6375 | + | Part371.BrickColor = BrickColor.new("Medium green") |
6376 | - | Part497.BottomSurface = Enum.SurfaceType.Smooth |
6376 | + | Part371.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
6377 | - | Part497.BrickColor = BrickColor.new("Really black") |
6377 | + | Part371.TopSurface = Enum.SurfaceType.Smooth |
6378 | - | Part497.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6378 | + | Part371.brickColor = BrickColor.new("Medium green") |
6379 | - | Part497.TopSurface = Enum.SurfaceType.Smooth |
6379 | + | Part371.FormFactor = Enum.FormFactor.Symmetric |
6380 | - | Part497.brickColor = BrickColor.new("Really black") |
6380 | + | Part371.formFactor = Enum.FormFactor.Symmetric |
6381 | - | Part497.FormFactor = Enum.FormFactor.Plate |
6381 | + | Script372.Parent = Part371 |
6382 | - | Part497.formFactor = Enum.FormFactor.Plate |
6382 | + | table.insert(cors,sandbox(Script372,function() |
6383 | - | Part498.Name = "Smooth Block Model" |
6383 | + | wait(1) |
6384 | - | Part498.Parent = Model480 |
6384 | + | owner=script.Parent.Parent.Name |
6385 | - | Part498.CFrame = CFrame.new(185.5, 6.40000582, 201, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6385 | + | |
6386 | - | Part498.Orientation = Vector3.new(0, 90, 0) |
6386 | + | function onTouched(part) |
6387 | - | Part498.Position = Vector3.new(185.5, 6.40000582, 201) |
6387 | + | if part.Parent ~= nil then |
6388 | - | Part498.Rotation = Vector3.new(0, 90, 0) |
6388 | + | local h = part.Parent:findFirstChild("Humanoid") |
6389 | - | Part498.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6389 | + | if h~=nil then |
6390 | - | Part498.Velocity = Vector3.new(0.255758941, -0.296295524, -0.524030924) |
6390 | + | if cantouch~=0 then |
6391 | - | Part498.Size = Vector3.new(6, 2, 3) |
6391 | + | if h.Parent.Name~=owner then |
6392 | - | Part498.BottomSurface = Enum.SurfaceType.Weld |
6392 | + | |
6393 | - | Part498.BrickColor = BrickColor.new("Really black") |
6393 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
6394 | - | Part498.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6394 | + | |
6395 | - | Part498.TopSurface = Enum.SurfaceType.Smooth |
6395 | + | cantouch=0 |
6396 | - | Part498.brickColor = BrickColor.new("Really black") |
6396 | + | |
6397 | - | Part498.FormFactor = Enum.FormFactor.Plate |
6397 | + | local larm=h.Parent:findFirstChild("Left Arm") |
6398 | - | Part498.formFactor = Enum.FormFactor.Plate |
6398 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
6399 | - | Part499.Name = "Smooth Block Model" |
6399 | + | |
6400 | - | Part499.Parent = Model480 |
6400 | + | if larm~=nil then |
6401 | - | Part499.CFrame = CFrame.new(182, 5.00000572, 194, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6401 | + | larm:remove() |
6402 | - | Part499.Position = Vector3.new(182, 5.00000572, 194) |
6402 | + | end |
6403 | - | Part499.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6403 | + | if rarm~=nil then |
6404 | - | Part499.Velocity = Vector3.new(0.161965296, -0.0153043102, -0.533332348) |
6404 | + | rarm:remove() |
6405 | - | Part499.Size = Vector3.new(4, 0.800000012, 8) |
6405 | + | end |
6406 | - | Part499.BackSurface = Enum.SurfaceType.Weld |
6406 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
6407 | - | Part499.BottomParamA = -0.30000001192093 |
6407 | + | if zee~=nil then |
6408 | - | Part499.BottomParamB = 0.30000001192093 |
6408 | + | local zlarm=zee:clone() |
6409 | - | Part499.BottomSurface = Enum.SurfaceType.Smooth |
6409 | + | local zrarm=zee:clone() |
6410 | - | Part499.BrickColor = BrickColor.new("Earth green") |
6410 | + | if zlarm~=nil then |
6411 | - | Part499.FrontSurface = Enum.SurfaceType.Weld |
6411 | + | |
6412 | - | Part499.RightSurface = Enum.SurfaceType.Weld |
6412 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6413 | - | Part499.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6413 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
6414 | - | Part499.TopSurface = Enum.SurfaceType.Smooth |
6414 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
6415 | - | Part499.brickColor = BrickColor.new("Earth green") |
6415 | + | zlarm.Parent=h.Parent |
6416 | - | Part499.FormFactor = Enum.FormFactor.Plate |
6416 | + | zrarm.Parent=h.Parent |
6417 | - | Part499.formFactor = Enum.FormFactor.Plate |
6417 | + | zlarm:makeJoints() |
6418 | - | Part500.Name = "Smooth Block Model" |
6418 | + | zrarm:makeJoints() |
6419 | - | Part500.Parent = Model480 |
6419 | + | zlarm.Anchored=false |
6420 | - | Part500.CFrame = CFrame.new(185.5, 5.60000467, 194.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6420 | + | zrarm.Anchored=false |
6421 | - | Part500.Position = Vector3.new(185.5, 5.60000467, 194.5) |
6421 | + | wait(0.1) |
6422 | - | Part500.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6422 | + | h.Parent.Head.Color=zee.Color |
6423 | - | Part500.Velocity = Vector3.new(0.168992311, -0.0375036225, -0.555882275) |
6423 | + | else print("no zee"); return end |
6424 | - | Part500.Size = Vector3.new(11, 0.400000006, 7) |
6424 | + | end |
6425 | - | Part500.BackSurface = Enum.SurfaceType.Weld |
6425 | + | wait(1) |
6426 | - | Part500.BottomParamA = -0.30000001192093 |
6426 | + | cantouch=1 |
6427 | - | Part500.BottomParamB = 0.30000001192093 |
6427 | + | end |
6428 | - | Part500.BottomSurface = Enum.SurfaceType.Smooth |
6428 | + | end |
6429 | - | Part500.BrickColor = BrickColor.new("Earth green") |
6429 | + | |
6430 | - | Part500.FrontSurface = Enum.SurfaceType.Weld |
6430 | + | |
6431 | - | Part500.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6431 | + | |
6432 | - | Part500.TopSurface = Enum.SurfaceType.Weld |
6432 | + | |
6433 | - | Part500.brickColor = BrickColor.new("Earth green") |
6433 | + | |
6434 | - | Part500.FormFactor = Enum.FormFactor.Plate |
6434 | + | |
6435 | - | Part500.formFactor = Enum.FormFactor.Plate |
6435 | + | Part373.Name = "zarm" |
6436 | - | Part501.Name = "Smooth Block Model" |
6436 | + | Part373.Parent = Model363 |
6437 | - | Part501.Parent = Model480 |
6437 | + | Part373.CFrame = CFrame.new(182.108551, 5.09995508, 234.013428, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
6438 | - | Part501.CFrame = CFrame.new(187, 10.8000002, 197, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6438 | + | Part373.Orientation = Vector3.new(0, 180, 0) |
6439 | - | Part501.Orientation = Vector3.new(0, 90, 0) |
6439 | + | Part373.Position = Vector3.new(182.108551, 5.09995508, 234.013428) |
6440 | - | Part501.Position = Vector3.new(187, 10.8000002, 197) |
6440 | + | Part373.Rotation = Vector3.new(-180, 0, -180) |
6441 | - | Part501.Rotation = Vector3.new(0, 90, 0) |
6441 | + | Part373.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6442 | - | Part501.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6442 | + | Part373.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20) |
6443 | - | Part501.Velocity = Vector3.new(0.205568194, -0.13802135, -0.368751109) |
6443 | + | Part373.Size = Vector3.new(2, 1, 1) |
6444 | - | Part501.Size = Vector3.new(4, 0.400000006, 6) |
6444 | + | Part373.BottomSurface = Enum.SurfaceType.Smooth |
6445 | - | Part501.BottomParamA = -0.30000001192093 |
6445 | + | Part373.BrickColor = BrickColor.new("Medium green") |
6446 | - | Part501.BottomParamB = 0.30000001192093 |
6446 | + | Part373.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25) |
6447 | - | Part501.BottomSurface = Enum.SurfaceType.Smooth |
6447 | + | Part373.TopSurface = Enum.SurfaceType.Smooth |
6448 | - | Part501.BrickColor = BrickColor.new("Earth green") |
6448 | + | Part373.brickColor = BrickColor.new("Medium green") |
6449 | - | Part501.CanCollide = false |
6449 | + | Part373.FormFactor = Enum.FormFactor.Symmetric |
6450 | - | Part501.LeftSurface = Enum.SurfaceType.Weld |
6450 | + | Part373.formFactor = Enum.FormFactor.Symmetric |
6451 | - | Part501.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6451 | + | Script374.Parent = Part373 |
6452 | - | Part501.TopSurface = Enum.SurfaceType.Smooth |
6452 | + | |
6453 | - | Part501.brickColor = BrickColor.new("Earth green") |
6453 | + | wait(1) |
6454 | - | Part501.FormFactor = Enum.FormFactor.Plate |
6454 | + | owner=script.Parent.Parent.Name |
6455 | - | Part501.formFactor = Enum.FormFactor.Plate |
6455 | + | |
6456 | - | Part502.Name = "Smooth Block Model" |
6456 | + | function onTouched(part) |
6457 | - | Part502.Parent = Model480 |
6457 | + | if part.Parent ~= nil then |
6458 | - | Part502.CFrame = CFrame.new(187.5, 9.40000343, 198.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6458 | + | local h = part.Parent:findFirstChild("Humanoid") |
6459 | - | Part502.Orientation = Vector3.new(0, 90, 0) |
6459 | + | if h~=nil then |
6460 | - | Part502.Position = Vector3.new(187.5, 9.40000343, 198.5) |
6460 | + | if cantouch~=0 then |
6461 | - | Part502.Rotation = Vector3.new(0, 90, 0) |
6461 | + | if h.Parent.Name~=owner then |
6462 | - | Part502.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6462 | + | |
6463 | - | Part502.Velocity = Vector3.new(0.224553451, -0.198070019, -0.431124836) |
6463 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
6464 | - | Part502.Size = Vector3.new(1, 2.4000001, 5) |
6464 | + | |
6465 | - | Part502.BottomSurface = Enum.SurfaceType.Weld |
6465 | + | cantouch=0 |
6466 | - | Part502.BrickColor = BrickColor.new("Earth green") |
6466 | + | |
6467 | - | Part502.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6467 | + | local larm=h.Parent:findFirstChild("Left Arm") |
6468 | - | Part502.TopSurface = Enum.SurfaceType.Weld |
6468 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
6469 | - | Part502.brickColor = BrickColor.new("Earth green") |
6469 | + | |
6470 | - | Part502.FormFactor = Enum.FormFactor.Plate |
6470 | + | if larm~=nil then |
6471 | - | Part502.formFactor = Enum.FormFactor.Plate |
6471 | + | larm:remove() |
6472 | - | VehicleSeat503.Parent = Model480 |
6472 | + | end |
6473 | - | VehicleSeat503.CFrame = CFrame.new(185.5, 6.30000782, 193, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6473 | + | if rarm~=nil then |
6474 | - | VehicleSeat503.Position = Vector3.new(185.5, 6.30000782, 193) |
6474 | + | rarm:remove() |
6475 | - | VehicleSeat503.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6475 | + | end |
6476 | - | VehicleSeat503.Velocity = Vector3.new(0.149548605, 0.0222175829, -0.528012276) |
6476 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
6477 | - | VehicleSeat503.MaxSpeed = 50 |
6477 | + | if zee~=nil then |
6478 | - | VehicleSeat503.Size = Vector3.new(3, 1, 2) |
6478 | + | local zlarm=zee:clone() |
6479 | - | VehicleSeat503.Torque = 25 |
6479 | + | local zrarm=zee:clone() |
6480 | - | VehicleSeat503.BottomSurface = Enum.SurfaceType.Weld |
6480 | + | if zlarm~=nil then |
6481 | - | VehicleSeat503.BrickColor = BrickColor.new("Really black") |
6481 | + | |
6482 | - | VehicleSeat503.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6482 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6483 | - | VehicleSeat503.TopSurface = Enum.SurfaceType.Smooth |
6483 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
6484 | - | VehicleSeat503.brickColor = BrickColor.new("Really black") |
6484 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
6485 | - | VehicleSeat503.TurnSpeed = 2 |
6485 | + | zlarm.Parent=h.Parent |
6486 | - | Part504.Name = "Smooth Block Model" |
6486 | + | zrarm.Parent=h.Parent |
6487 | - | Part504.Parent = Model480 |
6487 | + | zlarm:makeJoints() |
6488 | - | Part504.CFrame = CFrame.new(189, 5.00000572, 194, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6488 | + | zrarm:makeJoints() |
6489 | - | Part504.Position = Vector3.new(189, 5.00000572, 194) |
6489 | + | zlarm.Anchored=false |
6490 | - | Part504.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6490 | + | zrarm.Anchored=false |
6491 | - | Part504.Velocity = Vector3.new(0.161965296, -0.0198888052, -0.62620908) |
6491 | + | wait(0.1) |
6492 | - | Part504.Size = Vector3.new(4, 0.800000012, 8) |
6492 | + | h.Parent.Head.Color=zee.Color |
6493 | - | Part504.BackSurface = Enum.SurfaceType.Weld |
6493 | + | else print("no zee"); return end |
6494 | - | Part504.BottomParamA = -0.30000001192093 |
6494 | + | end |
6495 | - | Part504.BottomParamB = 0.30000001192093 |
6495 | + | wait(1) |
6496 | - | Part504.BottomSurface = Enum.SurfaceType.Smooth |
6496 | + | cantouch=1 |
6497 | - | Part504.BrickColor = BrickColor.new("Earth green") |
6497 | + | end |
6498 | - | Part504.FrontSurface = Enum.SurfaceType.Weld |
6498 | + | end |
6499 | - | Part504.LeftSurface = Enum.SurfaceType.Weld |
6499 | + | |
6500 | - | Part504.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6500 | + | |
6501 | - | Part504.TopSurface = Enum.SurfaceType.Smooth |
6501 | + | |
6502 | - | Part504.brickColor = BrickColor.new("Earth green") |
6502 | + | |
6503 | - | Part504.FormFactor = Enum.FormFactor.Plate |
6503 | + | |
6504 | - | Part504.formFactor = Enum.FormFactor.Plate |
6504 | + | |
6505 | - | Seat505.Parent = Model480 |
6505 | + | ObjectValue375.Name = "IsNZ" |
6506 | - | Seat505.CFrame = CFrame.new(188.5, 6.20000696, 197, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6506 | + | ObjectValue375.Parent = Model363 |
6507 | - | Seat505.Position = Vector3.new(188.5, 6.20000696, 197) |
6507 | + | IntValue376.Name = "Mode" |
6508 | - | Seat505.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6508 | + | IntValue376.Parent = Model363 |
6509 | - | Seat505.Velocity = Vector3.new(0.202555537, -0.139003754, -0.571798027) |
6509 | + | Script377.Parent = Model363 |
6510 | - | Seat505.Size = Vector3.new(3, 0.800000012, 2) |
6510 | + | table.insert(cors,sandbox(Script377,function() |
6511 | - | Seat505.BrickColor = BrickColor.new("Really black") |
6511 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
6512 | - | Seat505.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6512 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
6513 | - | Seat505.TopSurface = Enum.SurfaceType.Smooth |
6513 | + | |
6514 | - | Seat505.brickColor = BrickColor.new("Really black") |
6514 | + | function findNearestTorso(pos) |
6515 | - | Seat505.FormFactor = Enum.FormFactor.Plate |
6515 | + | local list = game.Workspace:children() |
6516 | - | Seat505.formFactor = Enum.FormFactor.Plate |
6516 | + | local torso = nil |
6517 | - | Part506.Name = "Smooth Block Model" |
6517 | + | local dist = 1000 |
6518 | - | Part506.Parent = Model480 |
6518 | + | local temp = nil |
6519 | - | Part506.CFrame = CFrame.new(185.5, 10.8000002, 193, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6519 | + | local human = nil |
6520 | - | Part506.Position = Vector3.new(185.5, 10.8000002, 193) |
6520 | + | local temp2 = nil |
6521 | - | Part506.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6521 | + | for x = 1, #list do |
6522 | - | Part506.Velocity = Vector3.new(0.152495772, 0.0222175866, -0.348848939) |
6522 | + | temp2 = list[x] |
6523 | - | Part506.Size = Vector3.new(9, 0.400000006, 4) |
6523 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
6524 | - | Part506.BottomParamA = -0.30000001192093 |
6524 | + | temp = temp2:findFirstChild("Right Arm") |
6525 | - | Part506.BottomParamB = 0.30000001192093 |
6525 | + | human = temp2:findFirstChild("Humanoid") |
6526 | - | Part506.BottomSurface = Enum.SurfaceType.Smooth |
6526 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
6527 | - | Part506.BrickColor = BrickColor.new("Earth green") |
6527 | + | if (temp.Position - pos).magnitude < dist then |
6528 | - | Part506.CanCollide = false |
6528 | + | torso = temp |
6529 | - | Part506.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6529 | + | dist = (temp.Position - pos).magnitude |
6530 | - | Part506.TopSurface = Enum.SurfaceType.Smooth |
6530 | + | end |
6531 | - | Part506.brickColor = BrickColor.new("Earth green") |
6531 | + | |
6532 | - | Part506.FormFactor = Enum.FormFactor.Plate |
6532 | + | |
6533 | - | Part506.formFactor = Enum.FormFactor.Plate |
6533 | + | |
6534 | - | Part507.Name = "Smooth Block Model" |
6534 | + | return torso |
6535 | - | Part507.Parent = Model480 |
6535 | + | |
6536 | - | Part507.CFrame = CFrame.new(189, 6.00000668, 198.5, 1, 0, 0, 0, -1, 0, 0, 0, -1) |
6536 | + | |
6537 | - | Part507.Orientation = Vector3.new(0, 180, 180) |
6537 | + | |
6538 | - | Part507.Position = Vector3.new(189, 6.00000668, 198.5) |
6538 | + | |
6539 | - | Part507.Rotation = Vector3.new(-180, 0, 0) |
6539 | + | |
6540 | - | Part507.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6540 | + | |
6541 | - | Part507.Velocity = Vector3.new(0.222326711, -0.199052423, -0.586394906) |
6541 | + | wait(math.random(1,5)) |
6542 | - | Part507.Size = Vector3.new(4, 2, 1) |
6542 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
6543 | - | Part507.BottomSurface = Enum.SurfaceType.Weld |
6543 | + | if target ~= nil then |
6544 | - | Part507.BrickColor = BrickColor.new("Earth green") |
6544 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
6545 | - | Part507.LeftSurface = Enum.SurfaceType.Weld |
6545 | + | |
6546 | - | Part507.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6546 | + | |
6547 | - | Part507.TopSurface = Enum.SurfaceType.Smooth |
6547 | + | |
6548 | - | Part507.brickColor = BrickColor.new("Earth green") |
6548 | + | |
6549 | - | Part507.FormFactor = Enum.FormFactor.Symmetric |
6549 | + | |
6550 | - | Part507.formFactor = Enum.FormFactor.Symmetric |
6550 | + | Script378.Name = "Health" |
6551 | - | SpecialMesh508.Parent = Part507 |
6551 | + | Script378.Parent = Model363 |
6552 | - | SpecialMesh508.MeshType = Enum.MeshType.Wedge |
6552 | + | table.insert(cors,sandbox(Script378,function() |
6553 | - | Part509.Name = "Smooth Block Model" |
6553 | + | function waitForChild(parent, childName) |
6554 | - | Part509.Parent = Model480 |
6554 | + | while true do |
6555 | - | Part509.CFrame = CFrame.new(189, 7.20000696, 201, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6555 | + | local child = parent:findFirstChild(childName) |
6556 | - | Part509.Position = Vector3.new(189, 7.20000696, 201) |
6556 | + | if child then |
6557 | - | Part509.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6557 | + | |
6558 | - | Part509.Velocity = Vector3.new(0.256282896, -0.298587769, -0.538617969) |
6558 | + | |
6559 | - | Part509.Size = Vector3.new(4, 0.400000006, 6) |
6559 | + | parent.ChildAdded:wait() |
6560 | - | Part509.BottomParamA = -0.30000001192093 |
6560 | + | |
6561 | - | Part509.BottomParamB = 0.30000001192093 |
6561 | + | |
6562 | - | Part509.BottomSurface = Enum.SurfaceType.Smooth |
6562 | + | |
6563 | - | Part509.BrickColor = BrickColor.new("Earth green") |
6563 | + | -- declarations |
6564 | - | Part509.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6564 | + | |
6565 | - | Part509.TopSurface = Enum.SurfaceType.Smooth |
6565 | + | local Figure = script.Parent |
6566 | - | Part509.brickColor = BrickColor.new("Earth green") |
6566 | + | local Head = waitForChild(Figure, "Head") |
6567 | - | Part509.FormFactor = Enum.FormFactor.Plate |
6567 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
6568 | - | Part509.formFactor = Enum.FormFactor.Plate |
6568 | + | Humanoid.Health=500 |
6569 | - | Part510.Name = "Smooth Block Model" |
6569 | + | -- regeneration |
6570 | - | Part510.Parent = Model480 |
6570 | + | |
6571 | - | Part510.CFrame = CFrame.new(180.5, 6.60000467, 190.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6571 | + | local s = wait(4) |
6572 | - | Part510.Orientation = Vector3.new(0, 90, 0) |
6572 | + | local health = Humanoid.Health |
6573 | - | Part510.Position = Vector3.new(180.5, 6.60000467, 190.5) |
6573 | + | if health > 0 and health < Humanoid.MaxHealth then |
6574 | - | Part510.Rotation = Vector3.new(0, 90, 0) |
6574 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
6575 | - | Part510.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6575 | + | if health * 1.05 < Humanoid.MaxHealth then |
6576 | - | Part510.Velocity = Vector3.new(0.116574809, 0.125027567, -0.449727595) |
6576 | + | Humanoid.Health = health |
6577 | - | Part510.Size = Vector3.new(1, 2.4000001, 1) |
6577 | + | else |
6578 | - | Part510.BottomSurface = Enum.SurfaceType.Weld |
6578 | + | Humanoid.Health = Humanoid.MaxHealth |
6579 | - | Part510.BrickColor = BrickColor.new("Earth green") |
6579 | + | |
6580 | - | Part510.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6580 | + | |
6581 | - | Part510.TopSurface = Enum.SurfaceType.Weld |
6581 | + | |
6582 | - | Part510.brickColor = BrickColor.new("Earth green") |
6582 | + | |
6583 | - | Part510.FormFactor = Enum.FormFactor.Plate |
6583 | + | |
6584 | - | Part510.formFactor = Enum.FormFactor.Plate |
6584 | + | Script379.Name = "Respawn" |
6585 | - | Part511.Name = "Smooth Block Model" |
6585 | + | Script379.Parent = Model363 |
6586 | - | Part511.Parent = Model480 |
6586 | + | |
6587 | - | Part511.CFrame = CFrame.new(190.5, 9.60000038, 194.5, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
6587 | + | name="Humanoid" |
6588 | - | Part511.Orientation = Vector3.new(0, -90, 0) |
6588 | + | |
6589 | - | Part511.Position = Vector3.new(190.5, 9.60000038, 194.5) |
6589 | + | robo=script.Parent:clone() |
6590 | - | Part511.Rotation = Vector3.new(0, -90, 0) |
6590 | + | |
6591 | - | Part511.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6591 | + | |
6592 | - | Part511.Velocity = Vector3.new(0.171612024, -0.0407782607, -0.462966412) |
6592 | + | wait(1) |
6593 | - | Part511.Size = Vector3.new(1, 2.79999995, 1) |
6593 | + | if script.Parent.Humanoid.Health<1 then |
6594 | - | Part511.BottomSurface = Enum.SurfaceType.Weld |
6594 | + | robot=robo:clone() |
6595 | - | Part511.BrickColor = BrickColor.new("Earth green") |
6595 | + | robot.Parent=script.Parent.Parent |
6596 | - | Part511.CanCollide = false |
6596 | + | robot:makeJoints() |
6597 | - | Part511.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6597 | + | script.Parent:remove() |
6598 | - | Part511.TopSurface = Enum.SurfaceType.Weld |
6598 | + | |
6599 | - | Part511.brickColor = BrickColor.new("Earth green") |
6599 | + | |
6600 | - | Part511.FormFactor = Enum.FormFactor.Plate |
6600 | + | |
6601 | - | Part511.formFactor = Enum.FormFactor.Plate |
6601 | + | |
6602 | - | SpecialMesh512.Parent = Part511 |
6602 | + | |
6603 | - | SpecialMesh512.MeshType = Enum.MeshType.Wedge |
6603 | + | |
6604 | - | Part513.Name = "Smooth Block Model" |
6604 | + | |
6605 | - | Part513.Parent = Model480 |
6605 | + | Part380.Name = "Spawn Location" |
6606 | - | Part513.CFrame = CFrame.new(181.5, 9.59999943, 190.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6606 | + | Part380.Parent = Model362 |
6607 | - | Part513.Position = Vector3.new(181.5, 9.59999943, 190.5) |
6607 | + | Part380.CFrame = CFrame.new(182.113556, 0.603015006, 235.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
6608 | - | Part513.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6608 | + | |
6609 | - | Part513.Velocity = Vector3.new(0.118539587, 0.124372646, -0.343553513) |
6609 | + | Part380.Position = Vector3.new(182.113556, 0.603015006, 235.491455) |
6610 | - | Part513.Size = Vector3.new(1, 2.79999995, 1) |
6610 | + | |
6611 | - | Part513.BackSurface = Enum.SurfaceType.Weld |
6611 | + | Part380.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6612 | - | Part513.BottomSurface = Enum.SurfaceType.Weld |
6612 | + | Part380.Size = Vector3.new(6, 1.20000005, 6) |
6613 | - | Part513.BrickColor = BrickColor.new("Earth green") |
6613 | + | Part380.BottomSurface = Enum.SurfaceType.Weld |
6614 | - | Part513.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6614 | + | Part380.BrickColor = BrickColor.new("Medium green") |
6615 | - | Part513.TopSurface = Enum.SurfaceType.Weld |
6615 | + | |
6616 | - | Part513.brickColor = BrickColor.new("Earth green") |
6616 | + | Part380.brickColor = BrickColor.new("Medium green") |
6617 | - | Part513.FormFactor = Enum.FormFactor.Plate |
6617 | + | Decal381.Parent = Part380 |
6618 | - | Part513.formFactor = Enum.FormFactor.Plate |
6618 | + | Decal381.Texture = "http://www.roblox.com/asset/?id=34541722" |
6619 | - | SpecialMesh514.Parent = Part513 |
6619 | + | Decal381.Face = Enum.NormalId.Top |
6620 | - | SpecialMesh514.MeshType = Enum.MeshType.Wedge |
6620 | + | Model382.Parent = Model201 |
6621 | - | Part515.Name = "Smooth Block Model" |
6621 | + | Model383.Name = "Zombie" |
6622 | - | Part515.Parent = Model480 |
6622 | + | Model383.Parent = Model382 |
6623 | - | Part515.CFrame = CFrame.new(190.5, 7.00000572, 194.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6623 | + | Model383.PrimaryPart = Part384 |
6624 | - | Part515.Orientation = Vector3.new(0, 90, 0) |
6624 | + | Part384.Name = "Head" |
6625 | - | Part515.Position = Vector3.new(190.5, 7.00000572, 194.5) |
6625 | + | Part384.Parent = Model383 |
6626 | - | Part515.Rotation = Vector3.new(0, 90, 0) |
6626 | + | Part384.CFrame = CFrame.new(182.591461, 6.09995508, 247.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
6627 | - | Part515.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6627 | + | Part384.Orientation = Vector3.new(0, 90, 0) |
6628 | - | Part515.Velocity = Vector3.new(0.169909209, -0.0407782607, -0.566482961) |
6628 | + | Part384.Position = Vector3.new(182.591461, 6.09995508, 247.48645) |
6629 | - | Part515.Size = Vector3.new(1, 2.4000001, 1) |
6629 | + | Part384.Rotation = Vector3.new(0, 90, 0) |
6630 | - | Part515.BottomSurface = Enum.SurfaceType.Weld |
6630 | + | Part384.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6631 | - | Part515.BrickColor = BrickColor.new("Earth green") |
6631 | + | Part384.Size = Vector3.new(2, 1, 1) |
6632 | - | Part515.CanCollide = false |
6632 | + | Part384.BrickColor = BrickColor.new("Medium green") |
6633 | - | Part515.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6633 | + | Part384.TopSurface = Enum.SurfaceType.Smooth |
6634 | - | Part515.TopSurface = Enum.SurfaceType.Weld |
6634 | + | Part384.brickColor = BrickColor.new("Medium green") |
6635 | - | Part515.brickColor = BrickColor.new("Earth green") |
6635 | + | Part384.FormFactor = Enum.FormFactor.Symmetric |
6636 | - | Part515.FormFactor = Enum.FormFactor.Plate |
6636 | + | Part384.formFactor = Enum.FormFactor.Symmetric |
6637 | - | Part515.formFactor = Enum.FormFactor.Plate |
6637 | + | SpecialMesh385.Parent = Part384 |
6638 | - | Part516.Name = "Smooth Block Model" |
6638 | + | SpecialMesh385.Scale = Vector3.new(1.25, 1.25, 1.25) |
6639 | - | Part516.Parent = Model480 |
6639 | + | Decal386.Name = "face" |
6640 | - | Part516.CFrame = CFrame.new(182, 6.00000668, 189.5, -1, 0, 0, 0, -1, 0, 0, 0, 1) |
6640 | + | Decal386.Parent = Part384 |
6641 | - | Part516.Orientation = Vector3.new(0, 0, 180) |
6641 | + | Part387.Name = "Torso" |
6642 | - | Part516.Position = Vector3.new(182, 6.00000668, 189.5) |
6642 | + | Part387.Parent = Model383 |
6643 | - | Part516.Rotation = Vector3.new(0, 0, -180) |
6643 | + | Part387.CFrame = CFrame.new(182.591461, 4.59995508, 247.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0) |
6644 | - | Part516.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6644 | + | Part387.Orientation = Vector3.new(0, 90, 0) |
6645 | - | Part516.Velocity = Vector3.new(0.102913752, 0.163859308, -0.493518174) |
6645 | + | Part387.Position = Vector3.new(182.591461, 4.59995508, 247.48645) |
6646 | - | Part516.Size = Vector3.new(4, 2, 1) |
6646 | + | Part387.Rotation = Vector3.new(0, 90, 0) |
6647 | - | Part516.BottomSurface = Enum.SurfaceType.Weld |
6647 | + | Part387.Color = Color3.new(0.411765, 0.25098, 0.156863) |
6648 | - | Part516.BrickColor = BrickColor.new("Earth green") |
6648 | + | Part387.Size = Vector3.new(2, 2, 1) |
6649 | - | Part516.LeftSurface = Enum.SurfaceType.Weld |
6649 | + | Part387.BrickColor = BrickColor.new("Reddish brown") |
6650 | - | Part516.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6650 | + | Part387.LeftParamA = 0 |
6651 | - | Part516.TopSurface = Enum.SurfaceType.Smooth |
6651 | + | Part387.LeftParamB = 0 |
6652 | - | Part516.brickColor = BrickColor.new("Earth green") |
6652 | + | Part387.LeftSurface = Enum.SurfaceType.Weld |
6653 | - | Part516.FormFactor = Enum.FormFactor.Symmetric |
6653 | + | Part387.RightParamA = 0 |
6654 | - | Part516.formFactor = Enum.FormFactor.Symmetric |
6654 | + | Part387.RightParamB = 0 |
6655 | - | SpecialMesh517.Parent = Part516 |
6655 | + | Part387.RightSurface = Enum.SurfaceType.Weld |
6656 | - | SpecialMesh517.MeshType = Enum.MeshType.Wedge |
6656 | + | Part387.brickColor = BrickColor.new("Reddish brown") |
6657 | - | Part518.Name = "Smooth Block Model" |
6657 | + | Part387.FormFactor = Enum.FormFactor.Symmetric |
6658 | - | Part518.Parent = Model480 |
6658 | + | Part387.formFactor = Enum.FormFactor.Symmetric |
6659 | - | Part518.CFrame = CFrame.new(185.5, 8.00000381, 190.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6659 | + | Part388.Name = "Left Leg" |
6660 | - | Part518.Orientation = Vector3.new(0, 90, 0) |
6660 | + | Part388.Parent = Model383 |
6661 | - | Part518.Position = Vector3.new(185.5, 8.00000381, 190.5) |
6661 | + | Part388.CFrame = CFrame.new(182.591461, 2.59995508, 247.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
6662 | - | Part518.Rotation = Vector3.new(0, 90, 0) |
6662 | + | Part388.Orientation = Vector3.new(0, 90, 0) |
6663 | - | Part518.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6663 | + | Part388.Position = Vector3.new(182.591461, 2.59995508, 247.98645) |
6664 | - | Part518.Velocity = Vector3.new(0.117491707, 0.121752933, -0.46032837) |
6664 | + | Part388.Rotation = Vector3.new(0, 90, 0) |
6665 | - | Part518.Size = Vector3.new(1, 0.400000006, 11) |
6665 | + | Part388.Color = Color3.new(0.411765, 0.25098, 0.156863) |
6666 | - | Part518.BottomSurface = Enum.SurfaceType.Weld |
6666 | + | Part388.Size = Vector3.new(1, 2, 1) |
6667 | - | Part518.BrickColor = BrickColor.new("Earth green") |
6667 | + | Part388.BottomSurface = Enum.SurfaceType.Smooth |
6668 | - | Part518.RightSurface = Enum.SurfaceType.Weld |
6668 | + | Part388.BrickColor = BrickColor.new("Reddish brown") |
6669 | - | Part518.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6669 | + | Part388.CanCollide = false |
6670 | - | Part518.TopSurface = Enum.SurfaceType.Smooth |
6670 | + | Part388.brickColor = BrickColor.new("Reddish brown") |
6671 | - | Part518.brickColor = BrickColor.new("Earth green") |
6671 | + | Part388.FormFactor = Enum.FormFactor.Symmetric |
6672 | - | Part518.FormFactor = Enum.FormFactor.Plate |
6672 | + | Part388.formFactor = Enum.FormFactor.Symmetric |
6673 | - | Part518.formFactor = Enum.FormFactor.Plate |
6673 | + | Part389.Name = "Right Leg" |
6674 | - | Part519.Name = "Smooth Block Model" |
6674 | + | Part389.Parent = Model383 |
6675 | - | Part519.Parent = Model480 |
6675 | + | Part389.CFrame = CFrame.new(182.591461, 2.59995508, 246.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0) |
6676 | - | Part519.CFrame = CFrame.new(190.5, 9.59999943, 198.5, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
6676 | + | Part389.Orientation = Vector3.new(0, 90, 0) |
6677 | - | Part519.Orientation = Vector3.new(0, -90, 0) |
6677 | + | Part389.Position = Vector3.new(182.591461, 2.59995508, 246.98645) |
6678 | - | Part519.Position = Vector3.new(190.5, 9.59999943, 198.5) |
6678 | + | Part389.Rotation = Vector3.new(0, 90, 0) |
6679 | - | Part519.Rotation = Vector3.new(0, -90, 0) |
6679 | + | Part389.Color = Color3.new(0.411765, 0.25098, 0.156863) |
6680 | - | Part519.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6680 | + | Part389.Size = Vector3.new(1, 2, 1) |
6681 | - | Part519.Velocity = Vector3.new(0.224684447, -0.200034827, -0.462966502) |
6681 | + | Part389.BottomSurface = Enum.SurfaceType.Smooth |
6682 | - | Part519.Size = Vector3.new(1, 2.79999995, 1) |
6682 | + | Part389.BrickColor = BrickColor.new("Reddish brown") |
6683 | - | Part519.BottomSurface = Enum.SurfaceType.Weld |
6683 | + | Part389.CanCollide = false |
6684 | - | Part519.BrickColor = BrickColor.new("Earth green") |
6684 | + | Part389.brickColor = BrickColor.new("Reddish brown") |
6685 | - | Part519.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6685 | + | Part389.FormFactor = Enum.FormFactor.Symmetric |
6686 | - | Part519.TopSurface = Enum.SurfaceType.Weld |
6686 | + | Part389.formFactor = Enum.FormFactor.Symmetric |
6687 | - | Part519.brickColor = BrickColor.new("Earth green") |
6687 | + | Humanoid390.Parent = Model383 |
6688 | - | Part519.FormFactor = Enum.FormFactor.Plate |
6688 | + | Humanoid390.LeftLeg = Part388 |
6689 | - | Part519.formFactor = Enum.FormFactor.Plate |
6689 | + | Humanoid390.NameOcclusion = Enum.NameOcclusion.NoOcclusion |
6690 | - | SpecialMesh520.Parent = Part519 |
6690 | + | Humanoid390.RightLeg = Part389 |
6691 | - | SpecialMesh520.MeshType = Enum.MeshType.Wedge |
6691 | + | Humanoid390.Torso = Part387 |
6692 | - | Part521.Name = "Smooth Block Model" |
6692 | + | Part391.Name = "zarm" |
6693 | - | Part521.Parent = Model480 |
6693 | + | Part391.Parent = Model383 |
6694 | - | Part521.CFrame = CFrame.new(189, 6.00000668, 203.5, -1, 0, 0, 0, -1, 0, 0, 0, 1) |
6694 | + | Part391.CFrame = CFrame.new(182.091461, 5.09995508, 248.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
6695 | - | Part521.Orientation = Vector3.new(0, 0, 180) |
6695 | + | Part391.Orientation = Vector3.new(0, 180, 0) |
6696 | - | Part521.Position = Vector3.new(189, 6.00000668, 203.5) |
6696 | + | Part391.Position = Vector3.new(182.091461, 5.09995508, 248.98645) |
6697 | - | Part521.Rotation = Vector3.new(0, 0, -180) |
6697 | + | Part391.Rotation = Vector3.new(-180, 0, -180) |
6698 | - | Part521.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6698 | + | Part391.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6699 | - | Part521.Velocity = Vector3.new(0.288667262, -0.398123085, -0.586394906) |
6699 | + | Part391.Size = Vector3.new(2, 1, 1) |
6700 | - | Part521.Size = Vector3.new(4, 2, 1) |
6700 | + | Part391.BottomSurface = Enum.SurfaceType.Smooth |
6701 | - | Part521.BottomSurface = Enum.SurfaceType.Weld |
6701 | + | Part391.BrickColor = BrickColor.new("Medium green") |
6702 | - | Part521.BrickColor = BrickColor.new("Earth green") |
6702 | + | Part391.TopSurface = Enum.SurfaceType.Smooth |
6703 | - | Part521.RightSurface = Enum.SurfaceType.Weld |
6703 | + | Part391.brickColor = BrickColor.new("Medium green") |
6704 | - | Part521.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6704 | + | Part391.FormFactor = Enum.FormFactor.Symmetric |
6705 | - | Part521.TopSurface = Enum.SurfaceType.Smooth |
6705 | + | Part391.formFactor = Enum.FormFactor.Symmetric |
6706 | - | Part521.brickColor = BrickColor.new("Earth green") |
6706 | + | Script392.Parent = Part391 |
6707 | - | Part521.FormFactor = Enum.FormFactor.Symmetric |
6707 | + | table.insert(cors,sandbox(Script392,function() |
6708 | - | Part521.formFactor = Enum.FormFactor.Symmetric |
6708 | + | wait(1) |
6709 | - | SpecialMesh522.Parent = Part521 |
6709 | + | owner=script.Parent.Parent.Name |
6710 | - | SpecialMesh522.MeshType = Enum.MeshType.Wedge |
6710 | + | |
6711 | - | Part523.Name = "Smooth Block Model" |
6711 | + | function onTouched(part) |
6712 | - | Part523.Parent = Model480 |
6712 | + | if part.Parent ~= nil then |
6713 | - | Part523.CFrame = CFrame.new(185.5, 9.59999943, 190.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6713 | + | local h = part.Parent:findFirstChild("Humanoid") |
6714 | - | Part523.Position = Vector3.new(185.5, 9.59999943, 190.5) |
6714 | + | if h~=nil then |
6715 | - | Part523.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6715 | + | if cantouch~=0 then |
6716 | - | Part523.Velocity = Vector3.new(0.118539587, 0.121752933, -0.396625936) |
6716 | + | if h.Parent.Name~=owner then |
6717 | - | Part523.Size = Vector3.new(1, 2.79999995, 1) |
6717 | + | |
6718 | - | Part523.BackSurface = Enum.SurfaceType.Weld |
6718 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
6719 | - | Part523.BottomSurface = Enum.SurfaceType.Weld |
6719 | + | |
6720 | - | Part523.BrickColor = BrickColor.new("Earth green") |
6720 | + | cantouch=0 |
6721 | - | Part523.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6721 | + | |
6722 | - | Part523.TopSurface = Enum.SurfaceType.Weld |
6722 | + | local larm=h.Parent:findFirstChild("Left Arm") |
6723 | - | Part523.brickColor = BrickColor.new("Earth green") |
6723 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
6724 | - | Part523.FormFactor = Enum.FormFactor.Plate |
6724 | + | |
6725 | - | Part523.formFactor = Enum.FormFactor.Plate |
6725 | + | if larm~=nil then |
6726 | - | SpecialMesh524.Parent = Part523 |
6726 | + | larm:remove() |
6727 | - | SpecialMesh524.MeshType = Enum.MeshType.Wedge |
6727 | + | end |
6728 | - | Part525.Name = "Smooth Block Model" |
6728 | + | if rarm~=nil then |
6729 | - | Part525.Parent = Model480 |
6729 | + | rarm:remove() |
6730 | - | Part525.CFrame = CFrame.new(188.995117, 4.40564442, 201.000244, -0.999996722, 0.00183816976, -0.00167570391, -0.00248589041, -0.761871874, 0.647722661, -8.62044035e-05, 0.647724807, 0.76187408) |
6730 | + | end |
6731 | - | Part525.Orientation = Vector3.new(-40.3699989, -0.129999995, -179.809998) |
6731 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
6732 | - | Part525.Position = Vector3.new(188.995117, 4.40564442, 201.000244) |
6732 | + | if zee~=nil then |
6733 | - | Part525.Rotation = Vector3.new(-40.3699989, -0.099999994, -179.889999) |
6733 | + | local zlarm=zee:clone() |
6734 | - | Part525.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6734 | + | local zrarm=zee:clone() |
6735 | - | Part525.Velocity = Vector3.new(0.768670738, 0.335423052, 2.91099596) |
6735 | + | if zlarm~=nil then |
6736 | - | Part525.Size = Vector3.new(4, 4, 4) |
6736 | + | |
6737 | - | Part525.BottomSurface = Enum.SurfaceType.Smooth |
6737 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6738 | - | Part525.BrickColor = BrickColor.new("Really black") |
6738 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
6739 | - | Part525.Friction = 0.89999997615814 |
6739 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
6740 | - | Part525.LeftSurface = Enum.SurfaceType.Weld |
6740 | + | zlarm.Parent=h.Parent |
6741 | - | Part525.RightParamA = 0 |
6741 | + | zrarm.Parent=h.Parent |
6742 | - | Part525.RightParamB = 0 |
6742 | + | zlarm:makeJoints() |
6743 | - | Part525.RightSurface = Enum.SurfaceType.Hinge |
6743 | + | zrarm:makeJoints() |
6744 | - | Part525.RotVelocity = Vector3.new(-0.0236247573, -1.16637421, 0.0850294679) |
6744 | + | zlarm.Anchored=false |
6745 | - | Part525.TopSurface = Enum.SurfaceType.Smooth |
6745 | + | zrarm.Anchored=false |
6746 | - | Part525.brickColor = BrickColor.new("Really black") |
6746 | + | wait(0.1) |
6747 | - | Part525.FormFactor = Enum.FormFactor.Symmetric |
6747 | + | h.Parent.Head.Color=zee.Color |
6748 | - | Part525.formFactor = Enum.FormFactor.Symmetric |
6748 | + | else print("no zee"); return end |
6749 | - | Part525.Shape = Enum.PartType.Cylinder |
6749 | + | end |
6750 | - | Part526.Name = "Smooth Block Model" |
6750 | + | wait(1) |
6751 | - | Part526.Parent = Model480 |
6751 | + | cantouch=1 |
6752 | - | Part526.CFrame = CFrame.new(189.5, 9.59999943, 190.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6752 | + | end |
6753 | - | Part526.Position = Vector3.new(189.5, 9.59999943, 190.5) |
6753 | + | end |
6754 | - | Part526.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6754 | + | |
6755 | - | Part526.Velocity = Vector3.new(0.118539587, 0.119133219, -0.449698359) |
6755 | + | |
6756 | - | Part526.Size = Vector3.new(1, 2.79999995, 1) |
6756 | + | |
6757 | - | Part526.BackSurface = Enum.SurfaceType.Weld |
6757 | + | |
6758 | - | Part526.BottomSurface = Enum.SurfaceType.Weld |
6758 | + | |
6759 | - | Part526.BrickColor = BrickColor.new("Earth green") |
6759 | + | |
6760 | - | Part526.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6760 | + | Part393.Name = "zarm" |
6761 | - | Part526.TopSurface = Enum.SurfaceType.Weld |
6761 | + | Part393.Parent = Model383 |
6762 | - | Part526.brickColor = BrickColor.new("Earth green") |
6762 | + | Part393.CFrame = CFrame.new(182.091461, 5.09995508, 245.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072) |
6763 | - | Part526.FormFactor = Enum.FormFactor.Plate |
6763 | + | Part393.Orientation = Vector3.new(0, 180, 0) |
6764 | - | Part526.formFactor = Enum.FormFactor.Plate |
6764 | + | Part393.Position = Vector3.new(182.091461, 5.09995508, 245.98645) |
6765 | - | SpecialMesh527.Parent = Part526 |
6765 | + | Part393.Rotation = Vector3.new(-180, 0, -180) |
6766 | - | SpecialMesh527.MeshType = Enum.MeshType.Wedge |
6766 | + | Part393.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6767 | - | Part528.Name = "Smooth Block Model" |
6767 | + | Part393.Size = Vector3.new(2, 1, 1) |
6768 | - | Part528.Parent = Model480 |
6768 | + | Part393.BottomSurface = Enum.SurfaceType.Smooth |
6769 | - | Part528.CFrame = CFrame.new(190.5, 6.60000467, 190.5, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6769 | + | Part393.BrickColor = BrickColor.new("Medium green") |
6770 | - | Part528.Orientation = Vector3.new(0, 90, 0) |
6770 | + | Part393.TopSurface = Enum.SurfaceType.Smooth |
6771 | - | Part528.Position = Vector3.new(190.5, 6.60000467, 190.5) |
6771 | + | Part393.brickColor = BrickColor.new("Medium green") |
6772 | - | Part528.Rotation = Vector3.new(0, 90, 0) |
6772 | + | Part393.FormFactor = Enum.FormFactor.Symmetric |
6773 | - | Part528.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6773 | + | Part393.formFactor = Enum.FormFactor.Symmetric |
6774 | - | Part528.Velocity = Vector3.new(0.116574809, 0.118478291, -0.582408667) |
6774 | + | Script394.Parent = Part393 |
6775 | - | Part528.Size = Vector3.new(1, 2.4000001, 1) |
6775 | + | |
6776 | - | Part528.BottomSurface = Enum.SurfaceType.Weld |
6776 | + | wait(1) |
6777 | - | Part528.BrickColor = BrickColor.new("Earth green") |
6777 | + | owner=script.Parent.Parent.Name |
6778 | - | Part528.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6778 | + | |
6779 | - | Part528.TopSurface = Enum.SurfaceType.Weld |
6779 | + | function onTouched(part) |
6780 | - | Part528.brickColor = BrickColor.new("Earth green") |
6780 | + | if part.Parent ~= nil then |
6781 | - | Part528.FormFactor = Enum.FormFactor.Plate |
6781 | + | local h = part.Parent:findFirstChild("Humanoid") |
6782 | - | Part528.formFactor = Enum.FormFactor.Plate |
6782 | + | if h~=nil then |
6783 | - | Part529.Name = "Smooth Block Model" |
6783 | + | if cantouch~=0 then |
6784 | - | Part529.Parent = Model480 |
6784 | + | if h.Parent.Name~=owner then |
6785 | - | Part529.CFrame = CFrame.new(190.5, 7.80000305, 201, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6785 | + | |
6786 | - | Part529.Orientation = Vector3.new(0, 90, 0) |
6786 | + | if h.Parent:findFirstChild("zarm")~=nil then return end |
6787 | - | Part529.Position = Vector3.new(190.5, 7.80000305, 201) |
6787 | + | |
6788 | - | Part529.Rotation = Vector3.new(0, 90, 0) |
6788 | + | cantouch=0 |
6789 | - | Part529.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6789 | + | |
6790 | - | Part529.Velocity = Vector3.new(0.256675839, -0.299570173, -0.534631789) |
6790 | + | local larm=h.Parent:findFirstChild("Left Arm") |
6791 | - | Part529.Size = Vector3.new(6, 0.800000012, 1) |
6791 | + | local rarm=h.Parent:findFirstChild("Right Arm") |
6792 | - | Part529.BottomSurface = Enum.SurfaceType.Weld |
6792 | + | |
6793 | - | Part529.BrickColor = BrickColor.new("Earth green") |
6793 | + | if larm~=nil then |
6794 | - | Part529.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6794 | + | larm:remove() |
6795 | - | Part529.TopSurface = Enum.SurfaceType.Smooth |
6795 | + | end |
6796 | - | Part529.brickColor = BrickColor.new("Earth green") |
6796 | + | if rarm~=nil then |
6797 | - | Part529.FormFactor = Enum.FormFactor.Plate |
6797 | + | rarm:remove() |
6798 | - | Part529.formFactor = Enum.FormFactor.Plate |
6798 | + | end |
6799 | - | Part530.Name = "Smooth Block Model" |
6799 | + | local zee=script.Parent.Parent:findFirstChild("zarm") |
6800 | - | Part530.Parent = Model480 |
6800 | + | if zee~=nil then |
6801 | - | Part530.CFrame = CFrame.new(182, 7.40000582, 187, 1, 0, 0, 0, 1, 0, 0, -0, 1) |
6801 | + | local zlarm=zee:clone() |
6802 | - | Part530.Position = Vector3.new(182, 7.40000582, 187) |
6802 | + | local zrarm=zee:clone() |
6803 | - | Part530.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6803 | + | if zlarm~=nil then |
6804 | - | Part530.Velocity = Vector3.new(0.0706603825, 0.263394654, -0.437778413) |
6804 | + | |
6805 | - | Part530.Size = Vector3.new(4, 0.800000012, 6) |
6805 | + | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6806 | - | Part530.BottomParamA = -0.30000001192093 |
6806 | + | zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot |
6807 | - | Part530.BottomParamB = 0.30000001192093 |
6807 | + | zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot |
6808 | - | Part530.BottomSurface = Enum.SurfaceType.Smooth |
6808 | + | zlarm.Parent=h.Parent |
6809 | - | Part530.BrickColor = BrickColor.new("Earth green") |
6809 | + | zrarm.Parent=h.Parent |
6810 | - | Part530.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6810 | + | zlarm:makeJoints() |
6811 | - | Part530.TopSurface = Enum.SurfaceType.Smooth |
6811 | + | zrarm:makeJoints() |
6812 | - | Part530.brickColor = BrickColor.new("Earth green") |
6812 | + | zlarm.Anchored=false |
6813 | - | Part530.FormFactor = Enum.FormFactor.Plate |
6813 | + | zrarm.Anchored=false |
6814 | - | Part530.formFactor = Enum.FormFactor.Plate |
6814 | + | wait(0.1) |
6815 | - | Part531.Name = "Smooth Block Model" |
6815 | + | h.Parent.Head.Color=zee.Color |
6816 | - | Part531.Parent = Model480 |
6816 | + | else print("no zee"); return end |
6817 | - | Part531.CFrame = CFrame.new(189, 6.00000668, 189.5, -1, 0, 0, 0, -1, 0, 0, 0, 1) |
6817 | + | end |
6818 | - | Part531.Orientation = Vector3.new(0, 0, 180) |
6818 | + | wait(1) |
6819 | - | Part531.Position = Vector3.new(189, 6.00000668, 189.5) |
6819 | + | cantouch=1 |
6820 | - | Part531.Rotation = Vector3.new(0, 0, -180) |
6820 | + | end |
6821 | - | Part531.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6821 | + | end |
6822 | - | Part531.Velocity = Vector3.new(0.102913752, 0.159274817, -0.586394906) |
6822 | + | |
6823 | - | Part531.Size = Vector3.new(4, 2, 1) |
6823 | + | |
6824 | - | Part531.BottomSurface = Enum.SurfaceType.Weld |
6824 | + | |
6825 | - | Part531.BrickColor = BrickColor.new("Earth green") |
6825 | + | |
6826 | - | Part531.RightSurface = Enum.SurfaceType.Weld |
6826 | + | |
6827 | - | Part531.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6827 | + | |
6828 | - | Part531.TopSurface = Enum.SurfaceType.Smooth |
6828 | + | ObjectValue395.Name = "IsNZ" |
6829 | - | Part531.brickColor = BrickColor.new("Earth green") |
6829 | + | ObjectValue395.Parent = Model383 |
6830 | - | Part531.FormFactor = Enum.FormFactor.Symmetric |
6830 | + | IntValue396.Name = "Mode" |
6831 | - | Part531.formFactor = Enum.FormFactor.Symmetric |
6831 | + | IntValue396.Parent = Model383 |
6832 | - | SpecialMesh532.Parent = Part531 |
6832 | + | Script397.Parent = Model383 |
6833 | - | SpecialMesh532.MeshType = Enum.MeshType.Wedge |
6833 | + | table.insert(cors,sandbox(Script397,function() |
6834 | - | Part533.Name = "Smooth Block Model" |
6834 | + | local larm = script.Parent:FindFirstChild("Left Arm") |
6835 | - | Part533.Parent = Model480 |
6835 | + | local rarm = script.Parent:FindFirstChild("Right Arm") |
6836 | - | Part533.CFrame = CFrame.new(181.999512, 4.40532494, 186.999146, 0.999997914, -0.00172762445, 0.000960616744, -0.00197420339, -0.897304595, 0.441407144, 9.92550922e-05, -0.441408157, -0.897306323) |
6836 | + | |
6837 | - | Part533.Orientation = Vector3.new(-26.1899986, 179.940002, -179.869995) |
6837 | + | function findNearestTorso(pos) |
6838 | - | Part533.Position = Vector3.new(181.999512, 4.40532494, 186.999146) |
6838 | + | local list = game.Workspace:children() |
6839 | - | Part533.Rotation = Vector3.new(-153.809998, 0.0599999987, 0.099999994) |
6839 | + | local torso = nil |
6840 | - | Part533.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6840 | + | local dist = 1000 |
6841 | - | Part533.Velocity = Vector3.new(0.0873932913, -0.0895851403, 0.11389707) |
6841 | + | local temp = nil |
6842 | - | Part533.Size = Vector3.new(4, 4, 4) |
6842 | + | local human = nil |
6843 | - | Part533.BottomSurface = Enum.SurfaceType.Smooth |
6843 | + | local temp2 = nil |
6844 | - | Part533.BrickColor = BrickColor.new("Really black") |
6844 | + | for x = 1, #list do |
6845 | - | Part533.Friction = 0.89999997615814 |
6845 | + | temp2 = list[x] |
6846 | - | Part533.LeftSurface = Enum.SurfaceType.Weld |
6846 | + | if (temp2.className == "Model") and (temp2 ~= script.Parent) then |
6847 | - | Part533.RightParamA = 0 |
6847 | + | temp = temp2:findFirstChild("Right Arm") |
6848 | - | Part533.RightParamB = 0 |
6848 | + | human = temp2:findFirstChild("Humanoid") |
6849 | - | Part533.RightSurface = Enum.SurfaceType.Hinge |
6849 | + | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then |
6850 | - | Part533.RotVelocity = Vector3.new(-0.00808374118, 0.0488550216, -0.0830192044) |
6850 | + | if (temp.Position - pos).magnitude < dist then |
6851 | - | Part533.TopSurface = Enum.SurfaceType.Smooth |
6851 | + | torso = temp |
6852 | - | Part533.brickColor = BrickColor.new("Really black") |
6852 | + | dist = (temp.Position - pos).magnitude |
6853 | - | Part533.FormFactor = Enum.FormFactor.Symmetric |
6853 | + | end |
6854 | - | Part533.formFactor = Enum.FormFactor.Symmetric |
6854 | + | |
6855 | - | Part533.Shape = Enum.PartType.Cylinder |
6855 | + | |
6856 | - | Part534.Name = "Smooth Block Model" |
6856 | + | |
6857 | - | Part534.Parent = Model480 |
6857 | + | return torso |
6858 | - | Part534.CFrame = CFrame.new(189, 6.00000668, 184.5, 1, 0, 0, 0, -1, 0, 0, 0, -1) |
6858 | + | |
6859 | - | Part534.Orientation = Vector3.new(0, 180, 180) |
6859 | + | |
6860 | - | Part534.Position = Vector3.new(189, 6.00000668, 184.5) |
6860 | + | |
6861 | - | Part534.Rotation = Vector3.new(-180, 0, 0) |
6861 | + | |
6862 | - | Part534.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6862 | + | |
6863 | - | Part534.Velocity = Vector3.new(0.0365732163, 0.358345509, -0.586394906) |
6863 | + | |
6864 | - | Part534.Size = Vector3.new(4, 2, 1) |
6864 | + | wait(math.random(1,5)) |
6865 | - | Part534.BottomSurface = Enum.SurfaceType.Weld |
6865 | + | local target = findNearestTorso(script.Parent.Torso.Position) |
6866 | - | Part534.BrickColor = BrickColor.new("Earth green") |
6866 | + | if target ~= nil then |
6867 | - | Part534.LeftSurface = Enum.SurfaceType.Weld |
6867 | + | script.Parent.Humanoid:MoveTo(target.Position, target) |
6868 | - | Part534.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6868 | + | |
6869 | - | Part534.TopSurface = Enum.SurfaceType.Smooth |
6869 | + | |
6870 | - | Part534.brickColor = BrickColor.new("Earth green") |
6870 | + | |
6871 | - | Part534.FormFactor = Enum.FormFactor.Symmetric |
6871 | + | |
6872 | - | Part534.formFactor = Enum.FormFactor.Symmetric |
6872 | + | |
6873 | - | SpecialMesh535.Parent = Part534 |
6873 | + | Script398.Name = "Health" |
6874 | - | SpecialMesh535.MeshType = Enum.MeshType.Wedge |
6874 | + | Script398.Parent = Model383 |
6875 | - | Part536.Name = "Smooth Block Model" |
6875 | + | table.insert(cors,sandbox(Script398,function() |
6876 | - | Part536.Parent = Model480 |
6876 | + | function waitForChild(parent, childName) |
6877 | - | Part536.CFrame = CFrame.new(189, 7.40000582, 187, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
6877 | + | while true do |
6878 | - | Part536.Position = Vector3.new(189, 7.40000582, 187) |
6878 | + | local child = parent:findFirstChild(childName) |
6879 | - | Part536.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6879 | + | if child then |
6880 | - | Part536.Velocity = Vector3.new(0.0706603825, 0.258810163, -0.530655146) |
6880 | + | |
6881 | - | Part536.Size = Vector3.new(4, 0.800000012, 6) |
6881 | + | |
6882 | - | Part536.BottomParamA = -0.30000001192093 |
6882 | + | parent.ChildAdded:wait() |
6883 | - | Part536.BottomParamB = 0.30000001192093 |
6883 | + | |
6884 | - | Part536.BottomSurface = Enum.SurfaceType.Smooth |
6884 | + | |
6885 | - | Part536.BrickColor = BrickColor.new("Earth green") |
6885 | + | |
6886 | - | Part536.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6886 | + | -- declarations |
6887 | - | Part536.TopSurface = Enum.SurfaceType.Smooth |
6887 | + | |
6888 | - | Part536.brickColor = BrickColor.new("Earth green") |
6888 | + | local Figure = script.Parent |
6889 | - | Part536.FormFactor = Enum.FormFactor.Plate |
6889 | + | local Head = waitForChild(Figure, "Head") |
6890 | - | Part536.formFactor = Enum.FormFactor.Plate |
6890 | + | local Humanoid = waitForChild(Figure, "Humanoid") |
6891 | - | Part537.Name = "Smooth Block Model" |
6891 | + | Humanoid.Health=500 |
6892 | - | Part537.Parent = Model480 |
6892 | + | -- regeneration |
6893 | - | Part537.CFrame = CFrame.new(185.5, 6.60000467, 187, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
6893 | + | |
6894 | - | Part537.Orientation = Vector3.new(0, 90, 0) |
6894 | + | local s = wait(4) |
6895 | - | Part537.Position = Vector3.new(185.5, 6.60000467, 187) |
6895 | + | local health = Humanoid.Health |
6896 | - | Part537.Rotation = Vector3.new(0, 90, 0) |
6896 | + | if health > 0 and health < Humanoid.MaxHealth then |
6897 | - | Part537.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
6897 | + | health = health + 0.08 * s * Humanoid.MaxHealth |
6898 | - | Part537.Velocity = Vector3.new(0.0701364353, 0.261102378, -0.516068101) |
6898 | + | if health * 1.05 < Humanoid.MaxHealth then |
6899 | - | Part537.Size = Vector3.new(6, 2.4000001, 3) |
6899 | + | Humanoid.Health = health |
6900 | - | Part537.BottomSurface = Enum.SurfaceType.Weld |
6900 | + | else |
6901 | - | Part537.BrickColor = BrickColor.new("Really black") |
6901 | + | Humanoid.Health = Humanoid.MaxHealth |
6902 | - | Part537.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6902 | + | |
6903 | - | Part537.TopSurface = Enum.SurfaceType.Smooth |
6903 | + | |
6904 | - | Part537.brickColor = BrickColor.new("Really black") |
6904 | + | |
6905 | - | Part537.FormFactor = Enum.FormFactor.Plate |
6905 | + | |
6906 | - | Part537.formFactor = Enum.FormFactor.Plate |
6906 | + | |
6907 | - | Part538.Name = "Smooth Block Model" |
6907 | + | Script399.Name = "Respawn" |
6908 | - | Part538.Parent = Model480 |
6908 | + | Script399.Parent = Model383 |
6909 | - | Part538.CFrame = CFrame.new(182, 6.00000668, 184.5, 1, 0, 0, 0, -1, 0, 0, 0, -1) |
6909 | + | |
6910 | - | Part538.Orientation = Vector3.new(0, 180, 180) |
6910 | + | name="Humanoid" |
6911 | - | Part538.Position = Vector3.new(182, 6.00000668, 184.5) |
6911 | + | |
6912 | - | Part538.Rotation = Vector3.new(-180, 0, 0) |
6912 | + | robo=script.Parent:clone() |
6913 | - | Part538.Color = Color3.new(0.152941, 0.27451, 0.176471) |
6913 | + | |
6914 | - | Part538.Velocity = Vector3.new(0.0365732163, 0.36293, -0.493518174) |
6914 | + | |
6915 | - | Part538.Size = Vector3.new(4, 2, 1) |
6915 | + | wait(1) |
6916 | - | Part538.BottomSurface = Enum.SurfaceType.Weld |
6916 | + | if script.Parent.Humanoid.Health<1 then |
6917 | - | Part538.BrickColor = BrickColor.new("Earth green") |
6917 | + | robot=robo:clone() |
6918 | - | Part538.RightSurface = Enum.SurfaceType.Weld |
6918 | + | robot.Parent=script.Parent.Parent |
6919 | - | Part538.RotVelocity = Vector3.new(0.0398141369, 0.0132681066, -0.000654927688) |
6919 | + | robot:makeJoints() |
6920 | - | Part538.TopSurface = Enum.SurfaceType.Smooth |
6920 | + | script.Parent:remove() |
6921 | - | Part538.brickColor = BrickColor.new("Earth green") |
6921 | + | |
6922 | - | Part538.FormFactor = Enum.FormFactor.Symmetric |
6922 | + | |
6923 | - | Part538.formFactor = Enum.FormFactor.Symmetric |
6923 | + | |
6924 | - | SpecialMesh539.Parent = Part538 |
6924 | + | |
6925 | - | SpecialMesh539.MeshType = Enum.MeshType.Wedge |
6925 | + | |
6926 | - | Part540.Name = "Regen Button" |
6926 | + | |
6927 | - | Part540.Parent = Model479 |
6927 | + | |
6928 | - | Part540.CFrame = CFrame.new(175.996582, 3.81911373, 192.982544, -3.33786011e-06, 7.3791387e-05, 0.999999881, -0.000226579898, 1, -7.37921728e-05, -0.999999881, -0.00022658016, -3.33786011e-06) |
6928 | + | Part400.Name = "Spawn Location" |
6929 | - | Part540.Orientation = Vector3.new(0, 90, -0.00999999978) |
6929 | + | Part400.Parent = Model382 |
6930 | - | Part540.Position = Vector3.new(175.996582, 3.81911373, 192.982544) |
6930 | + | Part400.CFrame = CFrame.new(182.091431, 0.600017011, 247.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024) |
6931 | - | Part540.Rotation = Vector3.new(92.5899963, 89.9700012, -92.5899963) |
6931 | + | Part400.Orientation = Vector3.new(0, 180, 0) |
6932 | - | Part540.Color = Color3.new(0.419608, 0.196078, 0.486275) |
6932 | + | Part400.Position = Vector3.new(182.091431, 0.600017011, 247.48645) |
6933 | - | Part540.Size = Vector3.new(6, 1.20000005, 6) |
6933 | + | Part400.Rotation = Vector3.new(-180, 0, -180) |
6934 | - | Part540.Anchored = true |
6934 | + | Part400.Color = Color3.new(0.631373, 0.768628, 0.54902) |
6935 | - | Part540.BottomSurface = Enum.SurfaceType.Smooth |
6935 | + | Part400.Size = Vector3.new(6, 1.20000005, 6) |
6936 | - | Part540.BrickColor = BrickColor.new("Bright violet") |
6936 | + | Part400.BottomSurface = Enum.SurfaceType.Weld |
6937 | - | Part540.TopSurface = Enum.SurfaceType.Smooth |
6937 | + | Part400.BrickColor = BrickColor.new("Medium green") |
6938 | - | Part540.brickColor = BrickColor.new("Bright violet") |
6938 | + | |
6939 | - | Script541.Name = "Regen" |
6939 | + | Part400.brickColor = BrickColor.new("Medium green") |
6940 | - | Script541.Parent = Part540 |
6940 | + | Decal401.Parent = Part400 |
6941 | - | table.insert(cors,sandbox(Script541,function() |
6941 | + | Decal401.Texture = "http://www.roblox.com/asset/?id=34541722" |
6942 | - | --Made by arealydeadman, just group with the model to get it to work. This button also works for planes. |
6942 | + | Decal401.Face = Enum.NormalId.Top |
6943 | - | --Do not change anything besides the lines mentioned below. |
6943 | + | |
6944 | v.Parent = workspace | |
6945 | - | model = script.Parent.Parent--Indicates that the script interacts with the model the button is grouped with. |
6945 | + | |
6946 | - | messageText = ""--If you want a message to appear upon pressing, type it here. |
6946 | + | |
6947 | mas:Destroy() | |
6948 | - | message = Instance.new("Message") |
6948 | + | |
6949 | - | message.Text = messageText |
6949 | + | |
6950 | - | backup = model:clone() |
6950 | + | |
6951 | - | enabled = true |
6951 | + | |
6952 | end |