SHOW:
|
|
- or go back to the newest paste.
1 | - | User = "VincentRR" |
1 | + | User = "SmokeDelsin" |
2 | ||
3 | ||
4 | ||
5 | ||
6 | if script.Parent.className ~= "HopperBin" then | |
7 | User2 = game.Players:FindFirstChild(User) | |
8 | hop = Instance.new("HopperBin") | |
9 | hop.Parent = User2.Backpack | |
10 | hop.Name = "UltimateTool" | |
11 | hop.TextureId = "http://www.roblox.com/asset/?id=31905069" | |
12 | wait() | |
13 | script.Parent = hop | |
14 | wait() | |
15 | end | |
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | selection = "Nothing" | |
22 | ||
23 | debuggeriscool = false | |
24 | debuggerislame = false | |
25 | ||
26 | ||
27 | ||
28 | function onGui() | |
29 | if script.Parent.Parent.Parent.className == "Player" then | |
30 | a = script.Parent.Parent.Parent | |
31 | dronenamelol = a.Name .. "'s Drone" | |
32 | dronelol = game.Workspace:FindFirstChild(dronenamelol) | |
33 | lassolol = a.Name .. "'s Lasso" | |
34 | if a.PlayerGui:FindFirstChild("DroneGui") == nil then | |
35 | Gui1 = Instance.new("ScreenGui") | |
36 | Gui1.Parent = a.PlayerGui | |
37 | Gui1.Name = "DroneGui" | |
38 | wait() | |
39 | Gui2 = Instance.new("Frame") | |
40 | Gui2.Parent = Gui1 | |
41 | Gui2.Name = "Cool" | |
42 | Gui2.BorderColor3 = Color3.new(1, 1, 1) | |
43 | Gui2.BackgroundColor3 = Color3.new(0, 0, 0) | |
44 | Gui2.Position = UDim2.new(0, 0, 0, -20) | |
45 | Gui2.Size = UDim2.new(0, 500, 0, 20) | |
46 | ||
47 | Gui3 = Instance.new("TextBox") | |
48 | Gui3.Parent = Gui1 | |
49 | Gui3.Name = "CommandBar" | |
50 | Gui3.BorderColor3 = Color3.new(1, 1, 1) | |
51 | Gui3.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3) | |
52 | Gui3.Position = UDim2.new(0, 0, 0.9, 0) | |
53 | Gui3.Size = UDim2.new(0, 400, 0, 30) | |
54 | Gui3.TextColor3 = Color3.new(1, 1, 1) | |
55 | Gui3.Text = "Command Bar" | |
56 | ||
57 | Gui4 = Instance.new("TextButton") | |
58 | Gui4.Parent = Gui1 | |
59 | Gui4.Name = "Help" | |
60 | Gui4.BorderColor3 = Color3.new(1, 1, 1) | |
61 | Gui4.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3) | |
62 | Gui4.Position = UDim2.new(0, 440, 0.9, 0) | |
63 | Gui4.Size = UDim2.new(0, 40, 0, 30) | |
64 | Gui4.TextColor3 = Color3.new(1, 1, 1) | |
65 | Gui4.Text = "Help" | |
66 | ||
67 | Gui5 = Instance.new("TextButton") | |
68 | Gui5.Parent = Gui1 | |
69 | Gui5.Name = "Activate" | |
70 | Gui5.BorderColor3 = Color3.new(1, 1, 1) | |
71 | Gui5.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3) | |
72 | Gui5.Position = UDim2.new(0, 400, 0.9, 0) | |
73 | Gui5.Size = UDim2.new(0, 40, 0, 30) | |
74 | Gui5.TextColor3 = Color3.new(1, 1, 1) | |
75 | Gui5.Text = "Activate" | |
76 | end | |
77 | end | |
78 | end | |
79 | ||
80 | ||
81 | ||
82 | function onActivated() | |
83 | a = script.Parent.Parent.Parent | |
84 | if a.PlayerGui:FindFirstChild("DroneGui") ~= nil then | |
85 | if a.PlayerGui.DroneGui:FindFirstChild("Activate") ~= nil then | |
86 | if a.PlayerGui.DroneGui:FindFirstChild("CommandBar") ~= nil then | |
87 | ||
88 | ||
89 | ||
90 | if a.PlayerGui.DroneGui.CommandBar.Text == "kill others" then | |
91 | selection = "Nothing" | |
92 | game.Workspace:BreakJoints() | |
93 | ||
94 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "day"then | |
95 | selection = "Nothing" | |
96 | game.Lighting.TimeOfDay = "12:00:00" | |
97 | ||
98 | ||
99 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "kill ray" then | |
100 | selection = "Kill" | |
101 | ||
102 | ||
103 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "moustache ray" then | |
104 | selection = "Moustache" | |
105 | ||
106 | ||
107 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "corrode ray" then | |
108 | selection = "CorrodeRay" | |
109 | ||
110 | ||
111 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "wood ray" then | |
112 | selection = "WoodRay" | |
113 | ||
114 | ||
115 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "grass ray" then | |
116 | selection = "GrassRay" | |
117 | ||
118 | ||
119 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "shaggy hair ray" then | |
120 | selection = "HairRay" | |
121 | ||
122 | ||
123 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "glass ray" then | |
124 | selection = "GlassRay" | |
125 | ||
126 | ||
127 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "pri on" then | |
128 | primode = "On" | |
129 | ||
130 | ||
131 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "pri off" then | |
132 | primode = "Off" | |
133 | ||
134 | ||
135 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "reverse gravity ray" then | |
136 | selection = "Degravitise" | |
137 | ||
138 | ||
139 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "delete ray" then | |
140 | selection = "Delete" | |
141 | ||
142 | ||
143 | ||
144 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "freeze ray" then | |
145 | selection = "Freeze" | |
146 | ||
147 | ||
148 | ||
149 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "defence mode" then | |
150 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
151 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
152 | selection = "Nothing" | |
153 | defence = Instance.new("Explosion") | |
154 | defence.Parent = game.Workspace | |
155 | defence.Position = dronelol.Flyer.Torso.Position | |
156 | end | |
157 | end | |
158 | ||
159 | ||
160 | ||
161 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "move" then | |
162 | selection = "Move" | |
163 | ||
164 | ||
165 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "shrink bricks ray" then | |
166 | selection = "Shrinker" | |
167 | ||
168 | ||
169 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "seat gun" then | |
170 | selection = "Seatgun" | |
171 | ||
172 | ||
173 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "rage explode ray" then | |
174 | selection = "RageExplode" | |
175 | ||
176 | ||
177 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "spin ray" then | |
178 | selection = "SpinPeople" | |
179 | ||
180 | ||
181 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "impale mode" then | |
182 | selection = "Sword" | |
183 | ||
184 | ||
185 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "limb displace ray" then | |
186 | selection = "LimbDisplacement" | |
187 | ||
188 | ||
189 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "corpse ray" then | |
190 | selection = "Corpse" | |
191 | ||
192 | ||
193 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "black hole ray" then | |
194 | selection = "BlackHole" | |
195 | ||
196 | ||
197 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "purple ray" then | |
198 | selection = "PurpleRay" | |
199 | ||
200 | ||
201 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "green ray" then | |
202 | selection = "GreenRay" | |
203 | ||
204 | ||
205 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "yellow ray" then | |
206 | selection = "YellowRay" | |
207 | ||
208 | ||
209 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "red ray" then | |
210 | selection = "RedRay" | |
211 | ||
212 | ||
213 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "blue ray" then | |
214 | selection = "BlueRay" | |
215 | ||
216 | ||
217 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "giant ray" then | |
218 | selection = "Giant" | |
219 | ||
220 | ||
221 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "crush mode" then | |
222 | selection = "Crush" | |
223 | ||
224 | ||
225 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "sit ray" then | |
226 | selection = "Sit" | |
227 | ||
228 | ||
229 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "head rocket ray" then | |
230 | selection = "HeadRocket" | |
231 | ||
232 | ||
233 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "thaw ray" then | |
234 | selection = "Thaw" | |
235 | ||
236 | ||
237 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "forcefield ray" then | |
238 | selection = "Forcefield" | |
239 | ||
240 | ||
241 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "mesh ray" then | |
242 | selection = "MeshInsert" | |
243 | ||
244 | ||
245 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "disorient ray" then | |
246 | selection = "Backwards" | |
247 | ||
248 | ||
249 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "limb remove ray" then | |
250 | selection = "Limbremove" | |
251 | ||
252 | ||
253 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "duck ray" then | |
254 | selection = "DuckRay" | |
255 | ||
256 | ||
257 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "fire ray" then | |
258 | selection = "Setonfiar" | |
259 | ||
260 | ||
261 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "kick ray" then | |
262 | selection = "Kick" | |
263 | ||
264 | ||
265 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "shrink ray" then | |
266 | selection = "Shrink" | |
267 | ||
268 | ||
269 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "up" then | |
270 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
271 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
272 | selection = "Nothing" | |
273 | cframe = dronelol.Flyer.Torso.CFrame | |
274 | dronelol.Flyer.Torso.CFrame = CFrame.new(cframe.x, cframe.y + 8, cframe.z) | |
275 | end | |
276 | end | |
277 | ||
278 | ||
279 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "down" then | |
280 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
281 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
282 | selection = "Nothing" | |
283 | cframe = dronelol.Flyer.Torso.CFrame | |
284 | dronelol.Flyer.Torso.CFrame = CFrame.new(cframe.x, cframe.y - 8, cframe.z) | |
285 | end | |
286 | end | |
287 | ||
288 | ||
289 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "night" then | |
290 | selection = "Nothing" | |
291 | game.Lighting.TimeOfDay = "00:00:00" | |
292 | ||
293 | ||
294 | ||
295 | ||
296 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "kick others" then | |
297 | selection = "Nothing" | |
298 | a = script.Parent.Parent.Parent | |
299 | p = game.Players:GetChildren() | |
300 | for i = 1, #p do | |
301 | if p.Name ~= a.Name then | |
302 | p:remove() | |
303 | end | |
304 | end | |
305 | ||
306 | ||
307 | ||
308 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "become drone" or a.PlayerGui.DroneGui.CommandBar.Text == "b" then | |
309 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
310 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
311 | selection = "Nothing" | |
312 | a = script.Parent.Parent.Parent | |
313 | game.Workspace.CurrentCamera.CameraType = 3 | |
314 | game.Workspace.CurrentCamera.CameraSubject = dronelol.Flyer.Torso | |
315 | guy = game.Workspace:FindFirstChild(a.Name) | |
316 | if guy ~= nil then | |
317 | guy:Remove() | |
318 | end | |
319 | end | |
320 | end | |
321 | ||
322 | ||
323 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "turn black" then | |
324 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
325 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
326 | selection = "Nothing" | |
327 | dronelol.Flyer.Torso.BrickColor = BrickColor.new("Really black") | |
328 | end | |
329 | end | |
330 | ||
331 | ||
332 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "turn white" then | |
333 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
334 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
335 | selection = "Nothing" | |
336 | dronelol.Flyer.Torso.BrickColor = BrickColor.new("Institutional white") | |
337 | end | |
338 | end | |
339 | ||
340 | ||
341 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "turn red" then | |
342 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
343 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
344 | selection = "Nothing" | |
345 | dronelol.Flyer.Torso.BrickColor = BrickColor.new("Really red") | |
346 | end | |
347 | end | |
348 | ||
349 | ||
350 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "turn green" then | |
351 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
352 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
353 | selection = "Nothing" | |
354 | dronelol.Flyer.Torso.BrickColor = BrickColor.new("Lime green") | |
355 | end | |
356 | end | |
357 | ||
358 | ||
359 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "turn purple" then | |
360 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
361 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
362 | selection = "Nothing" | |
363 | dronelol.Flyer.Torso.BrickColor = BrickColor.new("Royal purple") | |
364 | end | |
365 | end | |
366 | ||
367 | ||
368 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "turn blue" then | |
369 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
370 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
371 | selection = "Nothing" | |
372 | dronelol.Flyer.Torso.BrickColor = BrickColor.new("Really blue") | |
373 | end | |
374 | end | |
375 | ||
376 | ||
377 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "turn invisible" then | |
378 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
379 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
380 | dronelol.Flyer.Torso.Transparency = 1 | |
381 | dronelol.Flyer.Torso.Sparkles.Enabled = false | |
382 | selection = "Nothing" | |
383 | dronelol.Flyer.Torso.Fire.Enabled = false | |
384 | end | |
385 | end | |
386 | ||
387 | ||
388 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "create drone" or a.PlayerGui.DroneGui.CommandBar.Text == "c" then | |
389 | selection = "CreateDrone" | |
390 | ||
391 | ||
392 | ||
393 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "turn visible" then | |
394 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
395 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
396 | dronelol.Flyer.Torso.Transparency = 0.1 | |
397 | dronelol.Flyer.Torso.Sparkles.Enabled = true | |
398 | selection = "Nothing" | |
399 | dronelol.Flyer.Torso.Fire.Enabled = true | |
400 | end | |
401 | end | |
402 | ||
403 | ||
404 | ||
405 | elseif a.PlayerGui.DroneGui.CommandBar.Text == "dispense duck" then | |
406 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
407 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
408 | selection = "Nothing" | |
409 | duck = Instance.new("Part") | |
410 | duck.Parent = game.Workspace | |
411 | droneduckcframe = dronelol.Flyer.Torso.CFrame | |
412 | duck.CFrame = CFrame.new(droneduckcframe.x, droneduckcframe.y -4, droneduckcframe.z) | |
413 | duck.Size = Vector3.new(1, 1, 1) | |
414 | duck.Name = "Duck" | |
415 | duckmesh = Instance.new("SpecialMesh") | |
416 | duckmesh.Parent = duck | |
417 | duckmesh.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
418 | duckmesh.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
419 | end | |
420 | end | |
421 | ||
422 | ||
423 | ||
424 | ||
425 | ||
426 | end | |
427 | end | |
428 | end | |
429 | end | |
430 | end | |
431 | ||
432 | ||
433 | ||
434 | function onButton1Down(mouse) | |
435 | ||
436 | if (selection == "Move") then | |
437 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
438 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
439 | targ = mouse.Hit.p | |
440 | dronelol.Flyer.Torso.Size = Vector3.new(2, 2, 2) | |
441 | wait(0.01) | |
442 | dronelol.Flyer.Torso.Size = Vector3.new(1, 1, 1) | |
443 | wait(0.01) | |
444 | dronelol.Flyer.Torso.CFrame = CFrame.new(targ.x, targ.y + 10, targ.z) | |
445 | wait(0.01) | |
446 | dronelol.Flyer.Torso.Size = Vector3.new(2, 2, 2) | |
447 | wait(0.01) | |
448 | dronelol.Flyer.Torso.Size = Vector3.new(3, 3, 3) | |
449 | end | |
450 | end | |
451 | ||
452 | ||
453 | ||
454 | ||
455 | ||
456 | ||
457 | elseif (selection == "CreateDrone") then | |
458 | dronelol = game.Workspace:FindFirstChild(dronenamelol) | |
459 | if game.Workspace:FindFirstChild(dronenamelol) == nil or dronelol.Flyer:FindFirstChild("Torso") == nil then | |
460 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
461 | if dronelol.Flyer:FindFirstChild("Torso") == nil then | |
462 | dronelol:Remove() | |
463 | wait() | |
464 | end | |
465 | end | |
466 | targ = mouse.Hit.p | |
467 | part = Instance.new("Part") | |
468 | part.Parent = game.Workspace | |
469 | part.Size = Vector3.new(3,3,3) | |
470 | part.CFrame = CFrame.new(targ.x, targ.y + 10, targ.z) | |
471 | part.Anchored = true | |
472 | part.CanCollide = false | |
473 | part.Locked = true | |
474 | part.Name = "Torso" | |
475 | part.Shape = "Ball" | |
476 | sp = Instance.new("Sparkles") | |
477 | sp.Parent = part | |
478 | part.BrickColor = BrickColor.new("Really black") | |
479 | part.Transparency = 0.1 | |
480 | part.TopSurface = "Smooth" | |
481 | part.BottomSurface = "Smooth" | |
482 | fiar = Instance.new("Fire") | |
483 | fiar.Heat = 9 | |
484 | fiar.Size = 7 | |
485 | fiar.Parent = part | |
486 | fiar.Color = Color3.new(0, 0, 1) | |
487 | fiar.SecondaryColor = Color3.new(55, 0, 1) | |
488 | blalol = Instance.new("Model") | |
489 | blalol.Name = dronenamelol | |
490 | blalol.Parent = game.Workspace | |
491 | dronelol = game.Workspace:FindFirstChild(dronenamelol) | |
492 | blaaaaa = Instance.new("Model") | |
493 | blaaaaa.Name = "Flyer" | |
494 | blaaaaa.Parent = dronelol | |
495 | orly = Instance.new("Humanoid") | |
496 | orly.Parent = blaaaaa | |
497 | orly.MaxHealth = 0 | |
498 | orly.Health = 0 | |
499 | part.Parent = blaaaaa | |
500 | end | |
501 | ||
502 | ||
503 | ||
504 | ||
505 | ||
506 | ||
507 | ||
508 | elseif (selection == "Kill") then | |
509 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
510 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
511 | targ = mouse.Target | |
512 | if targ == nil then return end | |
513 | lol = Instance.new("Explosion") | |
514 | lol.Parent = game.Workspace | |
515 | lol.Position = targ.Position | |
516 | bla = Instance.new("SelectionPartLasso") | |
517 | bla.Parent = game.Workspace | |
518 | bla.Humanoid = dronelol.Flyer.Humanoid | |
519 | bla.Part = targ | |
520 | bla.Name = lassolol | |
521 | bla.Color = BrickColor.new("Really black") | |
522 | wait() | |
523 | targ:BreakJoints() | |
524 | end | |
525 | end | |
526 | ||
527 | ||
528 | elseif (selection == "Forcefield") then | |
529 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
530 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
531 | targ = mouse.Target | |
532 | if targ == nil then return end | |
533 | force = Instance.new("ForceField") | |
534 | force.Parent = targ | |
535 | bla = Instance.new("SelectionPartLasso") | |
536 | bla.Parent = game.Workspace | |
537 | bla.Humanoid = dronelol.Flyer.Humanoid | |
538 | bla.Part = targ | |
539 | bla.Name = lassolol | |
540 | bla.Color = BrickColor.new("New Yeller") | |
541 | end | |
542 | end | |
543 | ||
544 | ||
545 | ||
546 | ||
547 | elseif (selection == "MeshInsert") then | |
548 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
549 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
550 | targ = mouse.Target | |
551 | if targ == nil then return end | |
552 | mesh = Instance.new("SpecialMesh") | |
553 | mesh.Parent = targ | |
554 | mesh.MeshId = "http://www.roblox.com/asset/?id=25684446" | |
555 | mesh.TextureId = "http://www.roblox.com/asset/?id=25684434" | |
556 | mesh.Scale = Vector3.new(9, 9, 9) | |
557 | bla = Instance.new("SelectionPartLasso") | |
558 | bla.Parent = game.Workspace | |
559 | bla.Humanoid = dronelol.Flyer.Humanoid | |
560 | bla.Part = targ | |
561 | bla.Name = lassolol | |
562 | bla.Color = BrickColor.new("New Yeller") | |
563 | end | |
564 | end | |
565 | ||
566 | ||
567 | elseif (selection == "CorrodeRay") then | |
568 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
569 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
570 | targ = mouse.Target | |
571 | if targ == nil then return end | |
572 | targ.Material = "CorrodedMetal" | |
573 | bla = Instance.new("SelectionPartLasso") | |
574 | bla.Parent = game.Workspace | |
575 | bla.Humanoid = dronelol.Flyer.Humanoid | |
576 | bla.Part = targ | |
577 | bla.Name = lassolol | |
578 | bla.Color = BrickColor.new("Bright green") | |
579 | end | |
580 | end | |
581 | ||
582 | ||
583 | elseif (selection == "WoodRay") then | |
584 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
585 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
586 | targ = mouse.Target | |
587 | if targ == nil then return end | |
588 | targ.Material = "Wood" | |
589 | bla = Instance.new("SelectionPartLasso") | |
590 | bla.Parent = game.Workspace | |
591 | bla.Humanoid = dronelol.Flyer.Humanoid | |
592 | bla.Part = targ | |
593 | bla.Name = lassolol | |
594 | bla.Color = BrickColor.new("Bright blue") | |
595 | end | |
596 | end | |
597 | ||
598 | ||
599 | ||
600 | elseif (selection == "GlassRay") then | |
601 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
602 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
603 | targ = mouse.Target | |
604 | if targ == nil then return end | |
605 | targ.Material = "Plastic" | |
606 | targ.Transparency = 0.4 | |
607 | bla = Instance.new("SelectionPartLasso") | |
608 | bla.Parent = game.Workspace | |
609 | bla.Humanoid = dronelol.Flyer.Humanoid | |
610 | bla.Part = targ | |
611 | bla.Name = lassolol | |
612 | bla.Color = BrickColor.new("Bright blue") | |
613 | end | |
614 | end | |
615 | ||
616 | ||
617 | ||
618 | elseif (selection == "GrassRay") then | |
619 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
620 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
621 | targ = mouse.Target | |
622 | if targ == nil then return end | |
623 | targ.Material = "Grass" | |
624 | bla = Instance.new("SelectionPartLasso") | |
625 | bla.Parent = game.Workspace | |
626 | bla.Humanoid = dronelol.Flyer.Humanoid | |
627 | bla.Part = targ | |
628 | bla.Name = lassolol | |
629 | bla.Color = BrickColor.new("Bright green") | |
630 | end | |
631 | end | |
632 | ||
633 | ||
634 | ||
635 | ||
636 | elseif (selection == "BlueRay") then | |
637 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
638 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
639 | targ = mouse.Target | |
640 | if targ == nil then return end | |
641 | targ.BrickColor = BrickColor.new("Bright blue") | |
642 | bla = Instance.new("SelectionPartLasso") | |
643 | bla.Parent = game.Workspace | |
644 | bla.Humanoid = dronelol.Flyer.Humanoid | |
645 | bla.Part = targ | |
646 | bla.Name = lassolol | |
647 | bla.Color = BrickColor.new("Bright blue") | |
648 | end | |
649 | end | |
650 | ||
651 | ||
652 | ||
653 | elseif (selection == "RedRay") then | |
654 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
655 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
656 | targ = mouse.Target | |
657 | if targ == nil then return end | |
658 | targ.BrickColor = BrickColor.new("Bright red") | |
659 | bla = Instance.new("SelectionPartLasso") | |
660 | bla.Parent = game.Workspace | |
661 | bla.Humanoid = dronelol.Flyer.Humanoid | |
662 | bla.Part = targ | |
663 | bla.Name = lassolol | |
664 | bla.Color = BrickColor.new("Bright red") | |
665 | end | |
666 | end | |
667 | ||
668 | ||
669 | elseif (selection == "YellowRay") then | |
670 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
671 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
672 | targ = mouse.Target | |
673 | if targ == nil then return end | |
674 | targ.BrickColor = BrickColor.new("Bright yellow") | |
675 | bla = Instance.new("SelectionPartLasso") | |
676 | bla.Parent = game.Workspace | |
677 | bla.Humanoid = dronelol.Flyer.Humanoid | |
678 | bla.Part = targ | |
679 | bla.Name = lassolol | |
680 | bla.Color = BrickColor.new("Bright yellow") | |
681 | end | |
682 | end | |
683 | ||
684 | ||
685 | elseif (selection == "GreenRay") then | |
686 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
687 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
688 | targ = mouse.Target | |
689 | if targ == nil then return end | |
690 | targ.BrickColor = BrickColor.new("Bright green") | |
691 | bla = Instance.new("SelectionPartLasso") | |
692 | bla.Parent = game.Workspace | |
693 | bla.Humanoid = dronelol.Flyer.Humanoid | |
694 | bla.Part = targ | |
695 | bla.Name = lassolol | |
696 | bla.Color = BrickColor.new("Bright green") | |
697 | end | |
698 | end | |
699 | ||
700 | ||
701 | elseif (selection == "PurpleRay") then | |
702 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
703 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
704 | targ = mouse.Target | |
705 | if targ == nil then return end | |
706 | targ.BrickColor = BrickColor.new("Royal purple") | |
707 | bla = Instance.new("SelectionPartLasso") | |
708 | bla.Parent = game.Workspace | |
709 | bla.Humanoid = dronelol.Flyer.Humanoid | |
710 | bla.Part = targ | |
711 | bla.Name = lassolol | |
712 | bla.Color = BrickColor.new("Royal purple") | |
713 | end | |
714 | end | |
715 | ||
716 | ||
717 | ||
718 | ||
719 | elseif (selection == "Setonfiar") then | |
720 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
721 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
722 | targ = mouse.Target | |
723 | if targ == nil then return end | |
724 | firee = Instance.new("Fire") | |
725 | firee.Parent = targ | |
726 | firee.Heat = 9 | |
727 | firee.Size = 9 | |
728 | bla = Instance.new("SelectionPartLasso") | |
729 | bla.Parent = game.Workspace | |
730 | bla.Humanoid = dronelol.Flyer.Humanoid | |
731 | bla.Part = targ | |
732 | bla.Name = lassolol | |
733 | bla.Color = BrickColor.new("New Yeller") | |
734 | end | |
735 | end | |
736 | ||
737 | ||
738 | elseif (selection == "Degravitise") then | |
739 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
740 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
741 | targ = mouse.Target | |
742 | if targ == nil then return end | |
743 | flying = Instance.new("BodyVelocity") | |
744 | flying.Parent = targ | |
745 | flying.maxForce = Vector3.new(4000, 99999, 4000) | |
746 | flying.velocity = Vector3.new(0, 99999, 0) | |
747 | bla = Instance.new("SelectionPartLasso") | |
748 | bla.Parent = game.Workspace | |
749 | bla.Humanoid = dronelol.Flyer.Humanoid | |
750 | bla.Part = targ | |
751 | bla.Name = lassolol | |
752 | bla.Color = BrickColor.new("Bright yellow") | |
753 | end | |
754 | end | |
755 | ||
756 | ||
757 | ||
758 | elseif (selection == "Shrinker") then | |
759 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
760 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
761 | targ = mouse.Target | |
762 | if targ == nil then return end | |
763 | if targ.Name ~= "Base" then | |
764 | bla = Instance.new("SelectionPartLasso") | |
765 | bla.Parent = game.Workspace | |
766 | bla.Humanoid = dronelol.Flyer.Humanoid | |
767 | bla.Part = targ | |
768 | bla.Name = lassolol | |
769 | bla.Color = BrickColor.new("Black") | |
770 | targ.Size = Vector3.new(1, 1, 1) | |
771 | end | |
772 | end | |
773 | end | |
774 | ||
775 | ||
776 | elseif (selection == "Delete") then | |
777 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
778 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
779 | targ = mouse.Target | |
780 | if targ == nil then return end | |
781 | if targ.Name ~= "Base" then | |
782 | if debuggeriscool == false then | |
783 | debuggeriscool = true | |
784 | bla = Instance.new("SelectionPartLasso") | |
785 | bla.Parent = game.Workspace | |
786 | bla.Humanoid = dronelol.Flyer.Humanoid | |
787 | bla.Part = targ | |
788 | bla.Name = lassolol | |
789 | bla.Color = BrickColor.new("Really red") | |
790 | targ.Material = "Plastic" | |
791 | wait(0.1) | |
792 | targ.Transparency = 0.1 | |
793 | wait(0.1) | |
794 | targ.Transparency = 0.2 | |
795 | wait(0.1) | |
796 | targ.Transparency = 0.3 | |
797 | wait(0.1) | |
798 | targ.Transparency = 0.4 | |
799 | wait(0.1) | |
800 | targ.Transparency = 0.5 | |
801 | wait(0.1) | |
802 | targ.Transparency = 0.6 | |
803 | wait(0.1) | |
804 | targ.Transparency = 0.7 | |
805 | wait(0.1) | |
806 | targ.Transparency = 0.8 | |
807 | wait(0.1) | |
808 | targ.Transparency = 0.9 | |
809 | wait(0.1) | |
810 | targ:Remove() | |
811 | debuggeriscool = false | |
812 | end | |
813 | end | |
814 | end | |
815 | end | |
816 | ||
817 | ||
818 | elseif (selection == "Limbremove") then | |
819 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
820 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
821 | targ = mouse.Target | |
822 | if targ == nil then return end | |
823 | if targ.Parent.className ~= "Model" then return end | |
824 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
825 | b = targ.Parent | |
826 | if b:FindFirstChild("Torso") ~= nil then | |
827 | bla = Instance.new("SelectionPartLasso") | |
828 | bla.Parent = game.Workspace | |
829 | bla.Humanoid = dronelol.Flyer.Humanoid | |
830 | bla.Part = b.Torso | |
831 | bla.Name = lassolol | |
832 | bla.Color = BrickColor.new("Bright blue") | |
833 | end | |
834 | if b:FindFirstChild("Left Arm") ~= nil then | |
835 | b["Left Arm"]:Remove() | |
836 | end | |
837 | if b:FindFirstChild("Right Arm") ~= nil then | |
838 | b["Right Arm"]:Remove() | |
839 | end | |
840 | if b:FindFirstChild("Right Leg") ~= nil then | |
841 | b["Right Leg"]:Remove() | |
842 | end | |
843 | if b:FindFirstChild("Left Leg") ~= nil then | |
844 | b["Left Leg"]:Remove() | |
845 | end | |
846 | end | |
847 | end | |
848 | end | |
849 | ||
850 | ||
851 | elseif (selection == "BlackHole") then | |
852 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
853 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
854 | targ = mouse.Target | |
855 | if targ == nil then return end | |
856 | if targ.Parent.className ~= "Model" then return end | |
857 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
858 | b = targ.Parent | |
859 | if b:FindFirstChild("Torso") ~= nil then | |
860 | if b:FindFirstChild("Head") ~= nil then | |
861 | if debuggeriscool == false then | |
862 | debuggeriscool = true | |
863 | bla = Instance.new("SelectionPartLasso") | |
864 | bla.Parent = game.Workspace | |
865 | bla.Humanoid = dronelol.Flyer.Humanoid | |
866 | bla.Part = targ | |
867 | bla.Name = lassolol | |
868 | bla.Color = BrickColor.new("Royal purple") | |
869 | b.Head.BrickColor = BrickColor.new(104) | |
870 | b.Head.face:Remove() | |
871 | b.Head.Mesh.MeshType = "Sphere" | |
872 | b.Head.Mesh.Scale = Vector3.new(1.5,3,3) | |
873 | b.Head.Anchored = true | |
874 | b.Head.CanCollide = false | |
875 | if b:FindFirstChild("Right Arm") ~= nil then | |
876 | b["Right Arm"]:Remove() | |
877 | end | |
878 | if b:FindFirstChild("Left Arm") ~= nil then | |
879 | b["Left Arm"]:Remove() | |
880 | end | |
881 | if b:FindFirstChild("Right Leg") ~= nil then | |
882 | b["Right Leg"]:Remove() | |
883 | end | |
884 | if b:FindFirstChild("Left Leg") ~= nil then | |
885 | b["Left Leg"]:Remove() | |
886 | end | |
887 | b.Torso:Remove() | |
888 | wait(1) | |
889 | b.Head:Remove() | |
890 | debuggeriscool = false | |
891 | end | |
892 | end | |
893 | end | |
894 | end | |
895 | end | |
896 | end | |
897 | ||
898 | ||
899 | elseif (selection == "RageExplode") then | |
900 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
901 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
902 | targ = mouse.Target | |
903 | if targ == nil then return end | |
904 | if targ.Parent.className ~= "Model" then return end | |
905 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
906 | b = targ.Parent | |
907 | if b:FindFirstChild("Torso") ~= nil then | |
908 | if b:FindFirstChild("Head") ~= nil then | |
909 | if debuggeriscool == false then | |
910 | debuggeriscool = true | |
911 | b.Head.BrickColor = BrickColor.new(21) | |
912 | s = Instance.new("Smoke") | |
913 | s.Parent = b.Head | |
914 | s.RiseVelocity = 8 | |
915 | b.Head.face.Texture = "http://www.roblox.com/asset/?id=17058440" | |
916 | bla = Instance.new("SelectionPartLasso") | |
917 | bla.Parent = game.Workspace | |
918 | bla.Humanoid = dronelol.Flyer.Humanoid | |
919 | bla.Part = targ | |
920 | bla.Name = lassolol | |
921 | bla.Color = BrickColor.new("Black") | |
922 | wait(5) | |
923 | b.Head.Mesh.Scale = Vector3.new(2,2,2) | |
924 | wait(0.05) | |
925 | b.Head.Mesh.Scale = Vector3.new(3,3,3) | |
926 | wait(0.05) | |
927 | b.Head.Mesh.Scale = Vector3.new(4,4,4) | |
928 | wait(0.05) | |
929 | b.Head.Mesh.Scale = Vector3.new(5,5,5) | |
930 | wait(0.05) | |
931 | b.Head.Mesh.Scale = Vector3.new(6,6,6) | |
932 | wait(0.05) | |
933 | b.Head.Mesh.Scale = Vector3.new(7,7,7) | |
934 | wait(0.05) | |
935 | b.Head.Mesh.Scale = Vector3.new(8,8,8) | |
936 | wait(0.05) | |
937 | b.Head.Mesh.Scale = Vector3.new(9,9,9) | |
938 | wait(0.2) | |
939 | w = b.Head.Position | |
940 | c = Instance.new("Explosion") | |
941 | c.Position = Vector3.new(w.x,w.y,w.z) | |
942 | c.Parent = game.Workspace | |
943 | c.BlastRadius = 5 | |
944 | c.BlastPressure = 5 | |
945 | b.Head:Remove() | |
946 | debuggeriscool = false | |
947 | end | |
948 | end | |
949 | end | |
950 | end | |
951 | end | |
952 | end | |
953 | ||
954 | ||
955 | ||
956 | ||
957 | ||
958 | ||
959 | elseif (selection == "Corpse") then | |
960 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
961 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
962 | targ = mouse.Target | |
963 | if targ == nil then return end | |
964 | if targ.Parent.className ~= "Model" then return end | |
965 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
966 | b = targ.Parent | |
967 | if b:FindFirstChild("Torso") ~= nil then | |
968 | if b:FindFirstChild("Head") ~= nil then | |
969 | bla = Instance.new("SelectionPartLasso") | |
970 | bla.Parent = game.Workspace | |
971 | bla.Humanoid = dronelol.Flyer.Humanoid | |
972 | bla.Part = targ | |
973 | bla.Name = lassolol | |
974 | bla.Color = BrickColor.new("Really red") | |
975 | b.Head.face.Texture = "http://www.roblox.com/asset/?id=22823614" | |
976 | wait(0.01) | |
977 | d = Instance.new("Model") | |
978 | d.Parent = game.Workspace | |
979 | d.Name = "Statue" | |
980 | g = Instance.new("Humanoid") | |
981 | g.Parent = d | |
982 | if b:FindFirstChild("Shirt") ~= nil then | |
983 | b.Shirt.Parent = d | |
984 | end | |
985 | if b:FindFirstChild("Pants") ~= nil then | |
986 | b.Pants.Parent = d | |
987 | end | |
988 | wait(0.01) | |
989 | b:BreakJoints() | |
990 | b.Head.Anchored = true | |
991 | b.Head.CanCollide = true | |
992 | b.Head.Parent = d | |
993 | b.Torso.Anchored = true | |
994 | b.Torso.CanCollide = true | |
995 | b.Torso.Parent = d | |
996 | if b:FindFirstChild("Right Arm") ~= nil then | |
997 | b["Right Arm"].Anchored = true | |
998 | b["Right Arm"].CanCollide = true | |
999 | b["Right Arm"].Parent = d | |
1000 | end | |
1001 | if b:FindFirstChild("Left Arm") ~= nil then | |
1002 | b["Left Arm"].Anchored = true | |
1003 | b["Left Arm"].CanCollide = true | |
1004 | b["Left Arm"].Parent = d | |
1005 | end | |
1006 | if b:FindFirstChild("Left Leg") ~= nil then | |
1007 | b["Left Leg"].Anchored = true | |
1008 | b["Left Leg"].CanCollide = true | |
1009 | b["Left Leg"].Parent = d | |
1010 | end | |
1011 | if b:FindFirstChild("Right Leg") ~= nil then | |
1012 | b["Right Leg"].Anchored = true | |
1013 | b["Right Leg"].CanCollide = true | |
1014 | b["Right Leg"].Parent = d | |
1015 | end | |
1016 | p= b:GetChildren() | |
1017 | for i= 1, #p do | |
1018 | if p.className == "Hat" then | |
1019 | hat = p:FindFirstChild("Handle") | |
1020 | if hat ~= nil then | |
1021 | hat.Parent = d | |
1022 | hat.Anchored = true | |
1023 | end | |
1024 | end | |
1025 | end | |
1026 | end | |
1027 | end | |
1028 | end | |
1029 | end | |
1030 | end | |
1031 | ||
1032 | ||
1033 | ||
1034 | elseif (selection == "HeadRocket") then | |
1035 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1036 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1037 | targ = mouse.Target | |
1038 | if targ == nil then return end | |
1039 | if targ.Parent.className ~= "Model" then return end | |
1040 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1041 | b = targ.Parent | |
1042 | if b:FindFirstChild("Torso") ~= nil then | |
1043 | if b:FindFirstChild("Head") ~= nil then | |
1044 | if debuggeriscool == false then | |
1045 | debuggeriscool = true | |
1046 | bla = Instance.new("SelectionPartLasso") | |
1047 | bla.Parent = game.Workspace | |
1048 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1049 | bla.Part = targ | |
1050 | bla.Name = lassolol | |
1051 | bla.Color = BrickColor.new("Really blue") | |
1052 | b.Head.face.Texture = "http://www.roblox.com/asset/?id=22823614" | |
1053 | g=Instance.new("Smoke") | |
1054 | g.Parent=b.Head | |
1055 | g.RiseVelocity = 8 | |
1056 | wait(4) | |
1057 | b.Torso.Neck.C0 = CFrame.fromEulerAnglesXYZ(-1.57, 0, -3.14) + Vector3.new(0, 1.5, 0) | |
1058 | k=Instance.new("Sparkles") | |
1059 | k.Parent=b.Head | |
1060 | k.Color = Color3.new(255,0,0) | |
1061 | g.RiseVelocity = -8 | |
1062 | g.Color = Color3.new(0,0,0) | |
1063 | wait(0.01) | |
1064 | w = b.Head.Position | |
1065 | s = Instance.new("Explosion") | |
1066 | s.Position = Vector3.new(w.x,w.y,w.z) | |
1067 | s.Parent = game.Workspace | |
1068 | s.BlastRadius = 5 | |
1069 | s.BlastPressure = 0 | |
1070 | c=Instance.new("BodyVelocity") | |
1071 | c.Parent=b.Head | |
1072 | c.velocity = Vector3.new(0,50,0) | |
1073 | b.Humanoid.Health = 0 | |
1074 | wait(5) | |
1075 | debuggeriscool = false | |
1076 | end | |
1077 | end | |
1078 | end | |
1079 | end | |
1080 | end | |
1081 | end | |
1082 | ||
1083 | ||
1084 | ||
1085 | ||
1086 | ||
1087 | ||
1088 | elseif (selection == "LimbDisplacement") then | |
1089 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1090 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1091 | targ = mouse.Target | |
1092 | if targ == nil then return end | |
1093 | if targ.Parent.className ~= "Model" then return end | |
1094 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1095 | b = targ.Parent | |
1096 | if b:FindFirstChild("Torso") ~= nil then | |
1097 | if b:FindFirstChild("Head") ~= nil then | |
1098 | bla = Instance.new("SelectionPartLasso") | |
1099 | bla.Parent = game.Workspace | |
1100 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1101 | bla.Part = targ | |
1102 | bla.Name = lassolol | |
1103 | bla.Color = BrickColor.new("New Yeller") | |
1104 | b.Torso.Neck.C0 = CFrame.fromEulerAnglesXYZ(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) | |
1105 | if b:FindFirstChild("Right Arm") ~= nil then | |
1106 | b.Torso["Right Shoulder"].C0 = CFrame.fromEulerAnglesXYZ(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) | |
1107 | end | |
1108 | if b:FindFirstChild("Left Arm") ~= nil then | |
1109 | b.Torso["Left Shoulder"].C0 = CFrame.fromEulerAnglesXYZ(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) | |
1110 | end | |
1111 | if b:FindFirstChild("Right Leg") ~= nil then | |
1112 | b.Torso["Right Hip"].C0 = CFrame.fromEulerAnglesXYZ(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) | |
1113 | end | |
1114 | if b:FindFirstChild("Left Leg") ~= nil then | |
1115 | b.Torso["Left Hip"].C0 = CFrame.fromEulerAnglesXYZ(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) | |
1116 | end | |
1117 | end | |
1118 | end | |
1119 | end | |
1120 | end | |
1121 | end | |
1122 | ||
1123 | ||
1124 | elseif (selection == "Sword") then | |
1125 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1126 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1127 | targ = mouse.Target | |
1128 | if targ == nil then return end | |
1129 | if targ.Parent.className ~= "Model" then return end | |
1130 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1131 | d = targ.Parent | |
1132 | if d:FindFirstChild("Head") ~= nil then | |
1133 | if d:FindFirstChild("Torso") ~= nil then | |
1134 | if debuggeriscool == false then | |
1135 | debuggeriscool = true | |
1136 | bla = Instance.new("SelectionPartLasso") | |
1137 | bla.Parent = game.Workspace | |
1138 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1139 | bla.Part = targ | |
1140 | bla.Name = lassolol | |
1141 | bla.Color = BrickColor.new("Reddish brown") | |
1142 | g = Instance.new("Part") | |
1143 | g.Parent = game.Workspace | |
1144 | g.Size = Vector3.new(1,1,1) | |
1145 | b = d.Torso.Position | |
1146 | g.Position = Vector3.new(b.x,b.y,b.z + -20) | |
1147 | g.Anchored = true | |
1148 | g.CanCollide = true | |
1149 | g.Locked = true | |
1150 | g.Name = "Sword" | |
1151 | lol = Instance.new("SpecialMesh") | |
1152 | lol.Parent = g | |
1153 | lol.MeshId = "rbxasset://fonts/sword.mesh" | |
1154 | lol.TextureId = "rbxasset://textures/SwordTexture.png" | |
1155 | wait(1) | |
1156 | b2 = d.Torso.Position | |
1157 | g.Position = Vector3.new(b2.x,b2.y,b2.z + -20) | |
1158 | wait(0.01) | |
1159 | b3 = d.Torso.Position | |
1160 | g.Position = Vector3.new(b3.x,b3.y,b3.z + -19) | |
1161 | wait(0.01) | |
1162 | b4 = d.Torso.Position | |
1163 | g.Position = Vector3.new(b4.x,b4.y,b4.z + -18) | |
1164 | wait(0.01) | |
1165 | b5 = d.Torso.Position | |
1166 | g.Position = Vector3.new(b5.x,b5.y,b5.z + -17) | |
1167 | wait(0.01) | |
1168 | b6 = d.Torso.Position | |
1169 | g.Position = Vector3.new(b6.x,b6.y,b6.z + -16) | |
1170 | wait(0.01) | |
1171 | b7 = d.Torso.Position | |
1172 | g.Position = Vector3.new(b7.x,b7.y,b7.z + -15) | |
1173 | wait(0.01) | |
1174 | b8 = d.Torso.Position | |
1175 | g.Position = Vector3.new(b8.x,b8.y,b8.z + -14) | |
1176 | wait(0.01) | |
1177 | b9 = d.Torso.Position | |
1178 | g.Position = Vector3.new(b9.x,b9.y,b9.z + -13) | |
1179 | wait(0.01) | |
1180 | b10 = d.Torso.Position | |
1181 | g.Position = Vector3.new(b10.x,b10.y,b10.z + -12) | |
1182 | wait(0.01) | |
1183 | b11 = d.Torso.Position | |
1184 | g.Position = Vector3.new(b11.x,b11.y,b11.z + -11) | |
1185 | wait(0.01) | |
1186 | b12 = d.Torso.Position | |
1187 | g.Position = Vector3.new(b12.x,b12.y,b12.z + -10) | |
1188 | wait(0.01) | |
1189 | b13 = d.Torso.Position | |
1190 | g.Position = Vector3.new(b13.x,b13.y,b13.z + -9) | |
1191 | wait(0.01) | |
1192 | b14 = d.Torso.Position | |
1193 | g.Position = Vector3.new(b14.x,b14.y,b14.z + -8) | |
1194 | wait(0.01) | |
1195 | b15 = d.Torso.Position | |
1196 | g.Position = Vector3.new(b15.x,b15.y,b15.z + -7) | |
1197 | wait(0.01) | |
1198 | b16 = d.Torso.Position | |
1199 | g.Position = Vector3.new(b16.x,b16.y,b16.z + -6) | |
1200 | wait(0.01) | |
1201 | b17 = d.Torso.Position | |
1202 | g.Position = Vector3.new(b17.x,b17.y,b17.z + -5) | |
1203 | wait(0.01) | |
1204 | b18 = d.Torso.Position | |
1205 | g.Position = Vector3.new(b18.x,b18.y,b18.z + -4) | |
1206 | wait(0.01) | |
1207 | b19 = d.Torso.Position | |
1208 | g.Position = Vector3.new(b19.x,b19.y,b19.z + -3) | |
1209 | wait(0.01) | |
1210 | b20 = d.Torso.Position | |
1211 | g.Position = Vector3.new(b20.x,b20.y,b20.z + -2) | |
1212 | wait(0.01) | |
1213 | b21 = d.Torso.Position | |
1214 | g.Position = Vector3.new(b21.x,b21.y,b21.z + -1) | |
1215 | wait(0.01) | |
1216 | d:BreakJoints() | |
1217 | wait(3) | |
1218 | g:Remove() | |
1219 | debuggeriscool = false | |
1220 | end | |
1221 | end | |
1222 | end | |
1223 | end | |
1224 | end | |
1225 | end | |
1226 | ||
1227 | ||
1228 | ||
1229 | ||
1230 | elseif (selection == "Thaw") then | |
1231 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1232 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1233 | targ = mouse.Target | |
1234 | if targ == nil then return end | |
1235 | if targ.Parent.className ~= "Model" then return end | |
1236 | if targ.Parent:FindFirstChild("Humanoid") ~= nil | |
1237 | then | |
1238 | b = targ.Parent | |
1239 | b.Humanoid.MaxHealth = 100 | |
1240 | b.Humanoid.WalkSpeed = 16 | |
1241 | if b:FindFirstChild("Head") ~= nil | |
1242 | then b.Head.Anchored = false | |
1243 | b.Head.Material = "Plastic" | |
1244 | b.Head.BrickColor = BrickColor.new(24) | |
1245 | end | |
1246 | if b:FindFirstChild("Torso") ~= nil | |
1247 | then b.Torso.Anchored = false | |
1248 | b.Torso.Material = "Plastic" | |
1249 | b.Torso.BrickColor = BrickColor.new(math.random(),math.random(),math.random()) | |
1250 | if b.Torso:FindFirstChild("Smoke") ~= nil then a.Torso.Smoke:Remove() end | |
1251 | if b.Torso:FindFirstChild("BodyPosition") ~= nil then a.Torso.BodyPosition:Remove() end | |
1252 | bla = Instance.new("SelectionPartLasso") | |
1253 | bla.Parent = game.Workspace | |
1254 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1255 | bla.Part = b.Torso | |
1256 | bla.Name = lassolol | |
1257 | bla.Color = BrickColor.new("Bright green") | |
1258 | end | |
1259 | if b:FindFirstChild("Left Arm") ~= nil | |
1260 | then b["Left Arm"].Anchored = false | |
1261 | b["Left Arm"].Material = "Plastic" | |
1262 | b["Left Arm"].BrickColor = BrickColor.new(24) | |
1263 | end | |
1264 | if b:FindFirstChild("Right Arm") ~= nil | |
1265 | then b["Right Arm"].Anchored = false | |
1266 | b["Right Arm"].Material = "Plastic" | |
1267 | b["Right Arm"].BrickColor = BrickColor.new(24) | |
1268 | end | |
1269 | if b:FindFirstChild("Right Leg") ~= nil | |
1270 | then b["Right Leg"].Anchored = false | |
1271 | b["Right Leg"].Material = "Plastic" | |
1272 | b["Right Leg"].BrickColor = BrickColor.new(23) | |
1273 | end | |
1274 | if b:FindFirstChild("Left Leg") ~= nil | |
1275 | then b["Left Leg"].Anchored = false | |
1276 | b["Left Leg"].Material = "Plastic" | |
1277 | b["Left Leg"].BrickColor = BrickColor.new(23) | |
1278 | end | |
1279 | if b.Head:FindFirstChild("face") ~= nil | |
1280 | then b.Head.face.Texture = "http://www.roblox.com/asset/?id=10377544" | |
1281 | end | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | ||
1286 | ||
1287 | ||
1288 | elseif (selection == "SpinPeople") then | |
1289 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1290 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1291 | targ = mouse.Target | |
1292 | if targ == nil then return end | |
1293 | if targ.Parent.className ~= "Model" then return end | |
1294 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1295 | b = targ.Parent | |
1296 | if b:FindFirstChild("Torso") ~= nil then | |
1297 | bla = Instance.new("SelectionPartLasso") | |
1298 | bla.Parent = game.Workspace | |
1299 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1300 | bla.Part = targ | |
1301 | bla.Name = lassolol | |
1302 | bla.Color = BrickColor.new("Lavender") | |
1303 | stay = Instance.new("BodyPosition") | |
1304 | stay.position = b.Torso.Position | |
1305 | stay.Parent = b.Torso | |
1306 | stay.maxForce = Vector3.new(math.huge * math.huge, math.huge * math.huge, math.huge * math.huge) | |
1307 | spin = Instance.new("BodyAngularVelocity") | |
1308 | spin.Parent = b.Torso | |
1309 | spin.maxTorque = Vector3.new(4000, 9999999, 4000) | |
1310 | spin.angularvelocity = Vector3.new(0, 20, 0) | |
1311 | wait() | |
1312 | end | |
1313 | end | |
1314 | end | |
1315 | end | |
1316 | ||
1317 | ||
1318 | ||
1319 | ||
1320 | ||
1321 | ||
1322 | ||
1323 | elseif (selection == "Moustache") then | |
1324 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1325 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1326 | targ = mouse.Target | |
1327 | if targ == nil then return end | |
1328 | if targ.Parent.className ~= "Model" then return end | |
1329 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1330 | b = targ.Parent | |
1331 | if b:FindFirstChild("Torso") ~= nil then | |
1332 | bla = Instance.new("SelectionPartLasso") | |
1333 | bla.Parent = game.Workspace | |
1334 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1335 | bla.Part = b.Torso | |
1336 | bla.Name = lassolol | |
1337 | bla.Color = BrickColor.new("Bright blue") | |
1338 | end | |
1339 | if b:FindFirstChild("Head") ~= nil then | |
1340 | if b.Head:FindFirstChild("face") ~= nil then | |
1341 | b.Head.face.Texture = "http://www.roblox.com/asset/?id=25653417" | |
1342 | end | |
1343 | end | |
1344 | end | |
1345 | end | |
1346 | end | |
1347 | ||
1348 | ||
1349 | ||
1350 | elseif (selection == "Giant") then | |
1351 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1352 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1353 | targ = mouse.Target | |
1354 | if targ == nil then return end | |
1355 | if targ.Parent.className ~= "Model" then return end | |
1356 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1357 | b = targ.Parent | |
1358 | b.Humanoid.WalkSpeed = 22 | |
1359 | if b:FindFirstChild("Head") ~= nil then | |
1360 | b.Head.Mesh.Scale = Vector3.new(2.5, 2.5, 2.5) | |
1361 | b.Torso.Neck.C0 = CFrame.fromEulerAnglesXYZ(-1.57, 0, -3.14) + Vector3.new(0, 5.6, 0) | |
1362 | b.Head.BrickColor = BrickColor.new(24) | |
1363 | end | |
1364 | if b:FindFirstChild("Torso") ~= nil then | |
1365 | m1 = Instance.new("BlockMesh") | |
1366 | m1.Parent = b.Torso | |
1367 | m1.Scale = Vector3.new(2, 2, 2) | |
1368 | m1.Offset = Vector3.new(0, 3, 0) | |
1369 | b.Torso.BrickColor = BrickColor.new(math.random(),math.random(),math.random()) | |
1370 | bla = Instance.new("SelectionPartLasso") | |
1371 | bla.Parent = game.Workspace | |
1372 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1373 | bla.Part = b.Torso | |
1374 | bla.Name = lassolol | |
1375 | end | |
1376 | if b:FindFirstChild("Left Arm") ~= nil then | |
1377 | m3 = Instance.new("BlockMesh") | |
1378 | m3.Parent = b["Left Arm"] | |
1379 | m3.Scale = Vector3.new(2, 2, 2) | |
1380 | m3.Offset = Vector3.new(0, -1, 0) | |
1381 | b.Torso["Left Shoulder"].C0 = CFrame.fromEulerAnglesXYZ(3.14, 4.71, -3.14) + Vector3.new(-2.5, 4.5, 0) | |
1382 | b["Left Arm"].BrickColor = BrickColor.new(24) | |
1383 | end | |
1384 | if b:FindFirstChild("Right Arm") ~= nil then | |
1385 | m2 = Instance.new("BlockMesh") | |
1386 | m2.Parent = b["Right Arm"] | |
1387 | m2.Scale = Vector3.new(2, 2, 2) | |
1388 | m2.Offset = Vector3.new(0, -1, 0) | |
1389 | b.Torso["Right Shoulder"].C0 = CFrame.fromEulerAnglesXYZ(-3.14, -4.71, 3.14) + Vector3.new(2.5, 4.5, 0) | |
1390 | b["Right Arm"].BrickColor = BrickColor.new(24) | |
1391 | end | |
1392 | if b:FindFirstChild("Right Leg") ~= nil then | |
1393 | m5 = Instance.new("BlockMesh") | |
1394 | m5.Parent = b["Right Leg"] | |
1395 | m5.Scale = Vector3.new(2, 2, 2) | |
1396 | m5.Offset = Vector3.new(0, -1, 0) | |
1397 | b.Torso["Right Hip"].C0 = CFrame.fromEulerAnglesXYZ(3.14, -4.71, 3.14) + Vector3.new(1.5, 1, 0) | |
1398 | b["Right Leg"].BrickColor = BrickColor.new(23) | |
1399 | end | |
1400 | if b:FindFirstChild("Left Leg") ~= nil then | |
1401 | m4 = Instance.new("BlockMesh") | |
1402 | m4.Parent = b["Left Leg"] | |
1403 | m4.Scale = Vector3.new(2, 2, 2) | |
1404 | m4.Offset = Vector3.new(0, -1, 0) | |
1405 | b.Torso["Left Hip"].C0 = CFrame.fromEulerAnglesXYZ(3.14, 4.71, 3.14) + Vector3.new(-1.5, 1, 0) | |
1406 | b["Left Leg"].BrickColor = BrickColor.new(23) | |
1407 | end | |
1408 | if b.Torso:FindFirstChild("roblox") ~= nil | |
1409 | then b.Torso.roblox:Remove() | |
1410 | end | |
1411 | if b.Torso:FindFirstChild("Shirt Graphic") ~= nil | |
1412 | then b["Shirt Graphic"]:Remove() | |
1413 | end | |
1414 | if b:FindFirstChild("Shirt") ~= nil | |
1415 | then b.Shirt:Remove() | |
1416 | end | |
1417 | if b:FindFirstChild("Pants") ~= nil | |
1418 | then b.Pants:Remove() | |
1419 | end | |
1420 | c= b:GetChildren() | |
1421 | for i= 1, #c do | |
1422 | if c.className == "Hat" then | |
1423 | lol = c:FindFirstChild("Handle") | |
1424 | if lol ~= nil then | |
1425 | lol:Remove() | |
1426 | end | |
1427 | end | |
1428 | end | |
1429 | end | |
1430 | end | |
1431 | end | |
1432 | ||
1433 | ||
1434 | ||
1435 | elseif (selection == "Freeze") then | |
1436 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1437 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1438 | targ = mouse.Target | |
1439 | if targ == nil then return end | |
1440 | if targ.Parent.className ~= "Model" then return end | |
1441 | if targ.Parent:FindFirstChild("Humanoid") ~= nil | |
1442 | then | |
1443 | b = targ.Parent | |
1444 | b.Humanoid.MaxHealth = 0 | |
1445 | b.Humanoid.WalkSpeed = 0.0000000000000000000001 | |
1446 | if b:FindFirstChild("Head") ~= nil | |
1447 | then b.Head.Anchored = true | |
1448 | b.Head.Material = "Ice" | |
1449 | b.Head.BrickColor = BrickColor.new(1) | |
1450 | end | |
1451 | if b:FindFirstChild("Torso") ~= nil | |
1452 | then b.Torso.Anchored = true | |
1453 | b.Torso.Material = "Ice" | |
1454 | b.Torso.BrickColor = BrickColor.new(1) | |
1455 | uhoh = Instance.new("Smoke") | |
1456 | uhoh.Parent = b.Torso | |
1457 | uhoh.Opacity = 0.3 | |
1458 | stuck = Instance.new("BodyPosition") | |
1459 | stuck.Parent = b.Torso | |
1460 | stuck.position = b.Torso.Position | |
1461 | stuck.maxForce = Vector3.new(math.huge*math.huge,math.huge*math.huge,math.huge*math.huge) | |
1462 | bla = Instance.new("SelectionPartLasso") | |
1463 | bla.Parent = game.Workspace | |
1464 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1465 | bla.Part = b.Torso | |
1466 | bla.Name = lassolol | |
1467 | bla.Color = BrickColor.new("Toothpaste") | |
1468 | end | |
1469 | if b:FindFirstChild("Left Arm") ~= nil | |
1470 | then b["Left Arm"].Anchored = true | |
1471 | b["Left Arm"].Material = "Ice" | |
1472 | b["Left Arm"].BrickColor = BrickColor.new(1) | |
1473 | end | |
1474 | if b:FindFirstChild("Right Arm") ~= nil | |
1475 | then b["Right Arm"].Anchored = true | |
1476 | b["Right Arm"].Material = "Ice" | |
1477 | b["Right Arm"].BrickColor = BrickColor.new(1) | |
1478 | end | |
1479 | if b:FindFirstChild("Right Leg") ~= nil | |
1480 | then b["Right Leg"].Anchored = true | |
1481 | b["Right Leg"].Material = "Ice" | |
1482 | b["Right Leg"].BrickColor = BrickColor.new(1) | |
1483 | end | |
1484 | if b:FindFirstChild("Left Leg") ~= nil | |
1485 | then b["Left Leg"].Anchored = true | |
1486 | b["Left Leg"].Material = "Ice" | |
1487 | b["Left Leg"].BrickColor = BrickColor.new(1) | |
1488 | end | |
1489 | if b.Torso:FindFirstChild("roblox") ~= nil | |
1490 | then b.Torso.roblox:Remove() | |
1491 | end | |
1492 | if b.Torso:FindFirstChild("Shirt Graphic") ~= nil | |
1493 | then b["Shirt Graphic"]:Remove() | |
1494 | end | |
1495 | if b:FindFirstChild("Shirt") ~= nil | |
1496 | then b.Shirt:Remove() | |
1497 | end | |
1498 | if b:FindFirstChild("Pants") ~= nil | |
1499 | then b.Pants:Remove() | |
1500 | end | |
1501 | if b.Head:FindFirstChild("face") ~= nil | |
1502 | then b.Head.face.Texture = "http://www.roblox.com/asset/?id=11206744" | |
1503 | end | |
1504 | end | |
1505 | end | |
1506 | end | |
1507 | ||
1508 | ||
1509 | elseif (selection == "DuckRay") then | |
1510 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1511 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1512 | targ = mouse.Target | |
1513 | if targ == nil then return end | |
1514 | if targ.Parent.className ~= "Model" then return end | |
1515 | if targ.Parent:FindFirstChild("Humanoid") ~= nil | |
1516 | then | |
1517 | b = targ.Parent | |
1518 | if b:FindFirstChild("Head") ~= nil then | |
1519 | b.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
1520 | b.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
1521 | b.Head.Mesh.Scale = Vector3.new(10,10,10) | |
1522 | bla = Instance.new("SelectionPartLasso") | |
1523 | bla.Parent = game.Workspace | |
1524 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1525 | bla.Part = targ.Parent.Torso | |
1526 | bla.Name = lassolol | |
1527 | bla.Color = BrickColor.new("Bright yellow") | |
1528 | end | |
1529 | if a:FindFirstChild("Right Arm") ~= nil then | |
1530 | b["Right Arm"].Transparency = 1 | |
1531 | end | |
1532 | if a:FindFirstChild("Left Arm") ~= nil then | |
1533 | b["Left Arm"].Transparency = 1 | |
1534 | end | |
1535 | if a:FindFirstChild("Right Leg") ~= nil then | |
1536 | b["Right Leg"].Transparency = 1 | |
1537 | end | |
1538 | if a:FindFirstChild("Left Leg") ~= nil then | |
1539 | b["Left Leg"].Transparency = 1 | |
1540 | end | |
1541 | if a:FindFirstChild("Torso") ~= nil then | |
1542 | b.Torso.Transparency = 1 | |
1543 | end | |
1544 | c= b:GetChildren() | |
1545 | for i= 1, #c do | |
1546 | if c.className == "Hat" then | |
1547 | lol = c:FindFirstChild("Handle") | |
1548 | if lol ~= nil then | |
1549 | lol:Remove() | |
1550 | end | |
1551 | end | |
1552 | end | |
1553 | end | |
1554 | end | |
1555 | end | |
1556 | ||
1557 | ||
1558 | ||
1559 | elseif (selection == "HairRay") then | |
1560 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1561 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1562 | targ = mouse.Target | |
1563 | if targ == nil then return end | |
1564 | if targ.Parent.className ~= "Model" then return end | |
1565 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1566 | b = targ.Parent | |
1567 | if a:FindFirstChild("Torso") ~= nil then | |
1568 | bla = Instance.new("SelectionPartLasso") | |
1569 | bla.Parent = game.Workspace | |
1570 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1571 | bla.Part = targ.Parent.Torso | |
1572 | bla.Name = lassolol | |
1573 | bla.Color = BrickColor.new("Bright yellow") | |
1574 | end | |
1575 | c= b:GetChildren() | |
1576 | for i= 1, #c do | |
1577 | if c.className == "Hat" then | |
1578 | lol = c:FindFirstChild("Handle") | |
1579 | if lol ~= nil then | |
1580 | mesh = lol:FindFirstChild("Mesh") | |
1581 | if mesh ~= nil then | |
1582 | mesh.MeshId = "http://www.roblox.com/asset/?id=19999424" | |
1583 | mesh.TextureId = "http://www.roblox.com/asset/?id=20571982" | |
1584 | mesh.Scale = Vector3.new(1.07, 1.07, 1.07) | |
1585 | mesh.Parent.Parent.AttachmentForward = Vector3.new(0.196, -0, -0.981) | |
1586 | mesh.Parent.Parent.AttachmentPos = Vector3.new(0.12, 0.3, -0.07) | |
1587 | mesh.Parent.Parent.AttachmentRight = Vector3.new(0.981, 0, 0.196) | |
1588 | mesh.Parent.Parent.AttachmentUp = Vector3.new(0, 1, -0) | |
1589 | end | |
1590 | end | |
1591 | end | |
1592 | end | |
1593 | end | |
1594 | end | |
1595 | end | |
1596 | ||
1597 | ||
1598 | ||
1599 | elseif (selection == "Crush") then | |
1600 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1601 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1602 | targ = mouse.Target | |
1603 | if targ == nil then return end | |
1604 | if targ.Parent.className ~= "Model" then return end | |
1605 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1606 | if debuggeriscool == false then | |
1607 | debuggeriscool = true | |
1608 | bla = Instance.new("SelectionPartLasso") | |
1609 | bla.Parent = game.Workspace | |
1610 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1611 | bla.Part = targ.Parent.Torso | |
1612 | bla.Name = lassolol | |
1613 | bla.Color = BrickColor.new("Royal purple") | |
1614 | d = targ.Parent | |
1615 | dai = Instance.new("Part") | |
1616 | dai.Parent = game.Workspace | |
1617 | dai.Size = Vector3.new(10,100,10) | |
1618 | b = d.Head.Position | |
1619 | dai.Position = Vector3.new(b.x,b.y + 100,b.z) | |
1620 | dai.Anchored = false | |
1621 | dai.CanCollide = true | |
1622 | dai.BrickColor = BrickColor.new(math.random(),math.random(),math.random()) | |
1623 | dai.Locked = true | |
1624 | dai.Name = "DAI" | |
1625 | dai.TopSurface = "Smooth" | |
1626 | dai.BottomSurface = "Smooth" | |
1627 | wait(1) | |
1628 | d:BreakJoints() | |
1629 | wait(4) | |
1630 | dai:Remove() | |
1631 | debuggeriscool = false | |
1632 | end | |
1633 | end | |
1634 | end | |
1635 | end | |
1636 | ||
1637 | ||
1638 | ||
1639 | elseif (selection == "Seatgun") then | |
1640 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1641 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1642 | targ = mouse.Target | |
1643 | if targ == nil then return end | |
1644 | if targ.Parent.className ~= "Model" then return end | |
1645 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1646 | targ.Parent.Humanoid.Sit = true | |
1647 | flying = Instance.new("BodyVelocity") | |
1648 | flying.Parent = targ | |
1649 | flying.maxForce = Vector3.new(99999, 4000, 4000) | |
1650 | flying.velocity = Vector3.new(99999, 0, 0) | |
1651 | bla = Instance.new("SelectionPartLasso") | |
1652 | bla.Parent = game.Workspace | |
1653 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1654 | bla.Part = targ.Parent.Torso | |
1655 | bla.Name = lassolol | |
1656 | bla.Color = BrickColor.new("Earth green") | |
1657 | end | |
1658 | end | |
1659 | end | |
1660 | ||
1661 | ||
1662 | elseif (selection == "Sit") then | |
1663 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1664 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1665 | targ = mouse.Target | |
1666 | if targ == nil then return end | |
1667 | if targ.Parent.className ~= "Model" then return end | |
1668 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1669 | targ.Parent.Humanoid.Sit = true | |
1670 | bla = Instance.new("SelectionPartLasso") | |
1671 | bla.Parent = game.Workspace | |
1672 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1673 | bla.Part = targ.Parent.Torso | |
1674 | bla.Name = lassolol | |
1675 | bla.Color = BrickColor.new("Camo") | |
1676 | end | |
1677 | end | |
1678 | end | |
1679 | ||
1680 | ||
1681 | elseif (selection == "Backwards") then | |
1682 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1683 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1684 | targ = mouse.Target | |
1685 | if targ == nil then return end | |
1686 | if targ.Parent.className ~= "Model" then return end | |
1687 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1688 | targ.Parent.Humanoid.WalkSpeed = -16 | |
1689 | bla = Instance.new("SelectionPartLasso") | |
1690 | bla.Parent = game.Workspace | |
1691 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1692 | bla.Part = targ.Parent.Torso | |
1693 | bla.Name = lassolol | |
1694 | bla.Color = BrickColor.new("Bright red") | |
1695 | end | |
1696 | end | |
1697 | end | |
1698 | ||
1699 | ||
1700 | elseif (selection == "Shrink") then | |
1701 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1702 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1703 | targ = mouse.Target | |
1704 | if targ == nil then return end | |
1705 | if targ.Parent.className ~= "Model" then return end | |
1706 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1707 | b = targ.Parent | |
1708 | b.Humanoid.WalkSpeed = 6 | |
1709 | if b:FindFirstChild("Head") ~= nil | |
1710 | then b.Head.Mesh.Scale = Vector3.new(0.3125, 0.3125, 0.3125) | |
1711 | b.Torso.Neck.C0 = CFrame.fromEulerAnglesXYZ(-1.57, 0, -3.14) + Vector3.new(0, -2.21, 0) | |
1712 | b.Head.BrickColor = BrickColor.new(24) | |
1713 | end | |
1714 | if b:FindFirstChild("Torso") ~= nil | |
1715 | then m1 = Instance.new("BlockMesh") | |
1716 | m1.Parent = b.Torso | |
1717 | m1.Scale = Vector3.new(0.25, 0.25, 0.25) | |
1718 | m1.Offset = Vector3.new(0, -2.1, 0) | |
1719 | velo = Instance.new("BodyVelocity") | |
1720 | velo.Parent = b.Torso | |
1721 | velo.velocity = Vector3.new(0, -99999, 0) | |
1722 | b.Torso.BrickColor = BrickColor.new(math.random(),math.random(),math.random()) | |
1723 | b.Torso.CanCollide = false | |
1724 | bla = Instance.new("SelectionPartLasso") | |
1725 | bla.Parent = game.Workspace | |
1726 | bla.Humanoid = dronelol.Flyer.Humanoid | |
1727 | bla.Part = b.Torso | |
1728 | bla.Name = lassolol | |
1729 | bla.Color = BrickColor.new("White") | |
1730 | end | |
1731 | if b:FindFirstChild("Left Arm") ~= nil | |
1732 | then m3 = Instance.new("BlockMesh") | |
1733 | m3.Parent = b["Left Arm"] | |
1734 | m3.Scale = Vector3.new(0.25, 0.25, 0.25) | |
1735 | m3.Offset = Vector3.new(0, 0.3, 0) | |
1736 | b.Torso["Left Shoulder"].C0 = CFrame.fromEulerAnglesXYZ(3.14, 4.71, -3.14) + Vector3.new(0.12, -1.9, 0) | |
1737 | b["Left Arm"].BrickColor = BrickColor.new(24) | |
1738 | end | |
1739 | if b:FindFirstChild("Right Arm") ~= nil | |
1740 | then m2 = Instance.new("BlockMesh") | |
1741 | m2.Parent = b["Right Arm"] | |
1742 | m2.Scale = Vector3.new(0.25, 0.25, 0.25) | |
1743 | m2.Offset = Vector3.new(0, 0.3, 0) | |
1744 | b.Torso["Right Shoulder"].C0 = CFrame.fromEulerAnglesXYZ(-3.14, -4.71, 3.14) + Vector3.new(-0.12, -1.9, 0) | |
1745 | b["Right Arm"].BrickColor = BrickColor.new(24) | |
1746 | end | |
1747 | if b:FindFirstChild("Right Leg") ~= nil | |
1748 | then m5 = Instance.new("BlockMesh") | |
1749 | m5.Parent = b["Right Leg"] | |
1750 | m5.Scale = Vector3.new(0.25, 0.25, 0.25) | |
1751 | m5.Offset = Vector3.new(0, 0.7, 0) | |
1752 | b.Torso["Right Hip"].C0 = CFrame.fromEulerAnglesXYZ(3.14, -4.71, 3.14) + Vector3.new(0.625, -2.3, 0) | |
1753 | b["Right Leg"].BrickColor = BrickColor.new(23) | |
1754 | end | |
1755 | if b:FindFirstChild("Left Leg") ~= nil | |
1756 | then m4 = Instance.new("BlockMesh") | |
1757 | m4.Parent = b["Left Leg"] | |
1758 | m4.Scale = Vector3.new(0.25, 0.25, 0.25) | |
1759 | m4.Offset = Vector3.new(0, 0.7, 0) | |
1760 | b.Torso["Left Hip"].C0 = CFrame.fromEulerAnglesXYZ(3.14, 4.71, 3.14) + Vector3.new(-0.625, -2.3, 0) | |
1761 | b["Left Leg"].BrickColor = BrickColor.new(23) | |
1762 | end | |
1763 | if b.Torso:FindFirstChild("roblox") ~= nil | |
1764 | then b.Torso.roblox:Remove() | |
1765 | end | |
1766 | if b.Torso:FindFirstChild("Shirt Graphic") ~= nil | |
1767 | then b["Shirt Graphic"]:Remove() | |
1768 | end | |
1769 | if b:FindFirstChild("Shirt") ~= nil | |
1770 | then b.Shirt:Remove() | |
1771 | end | |
1772 | if b:FindFirstChild("Pants") ~= nil | |
1773 | then b.Pants:Remove() | |
1774 | end | |
1775 | c= b:GetChildren() | |
1776 | for i= 1, #c do | |
1777 | if c.className == "Hat" then | |
1778 | lol = c:FindFirstChild("Handle") | |
1779 | if lol ~= nil then | |
1780 | lol:Remove() | |
1781 | end | |
1782 | end | |
1783 | end | |
1784 | end | |
1785 | end | |
1786 | end | |
1787 | ||
1788 | ||
1789 | ||
1790 | ||
1791 | ||
1792 | elseif (selection == "Kick") then | |
1793 | if game.Workspace:FindFirstChild(dronenamelol) ~= nil then | |
1794 | if dronelol.Flyer:FindFirstChild("Torso") ~= nil then | |
1795 | targ = mouse.Target | |
1796 | if targ == nil then return end | |
1797 | if targ.Parent.className ~= "Model" then return end | |
1798 | if targ.Parent:FindFirstChild("Humanoid") ~= nil then | |
1799 | if game.Players:FindFirstChild(targ.Parent.Name) ~= nil then | |
1800 | b = targ.Parent | |
1801 | evilnoob = game.Players:FindFirstChild(b.Name) | |
1802 | wait() | |
1803 | evilnoob:Remove() | |
1804 | end | |
1805 | end | |
1806 | end | |
1807 | end | |
1808 | ||
1809 | ||
1810 | end | |
1811 | end | |
1812 | ||
1813 | ||
1814 | function onButton1Up(mouse) | |
1815 | if game.Workspace:FindFirstChild(lassolol) ~= nil then | |
1816 | deletelasso = game.Workspace:FindFirstChild(lassolol) | |
1817 | deletelasso:Remove() | |
1818 | end | |
1819 | end | |
1820 | ||
1821 | ||
1822 | ||
1823 | function onHelp() | |
1824 | if script.Parent.Parent.Parent.className == "Player" then | |
1825 | a = script.Parent.Parent.Parent | |
1826 | if a.PlayerGui:FindFirstChild("HelpGui") == nil then | |
1827 | Gui1 = Instance.new("ScreenGui") | |
1828 | Gui1.Parent = a.PlayerGui | |
1829 | Gui1.Name = "HelpGui" | |
1830 | wait() | |
1831 | Gui2 = Instance.new("Frame") | |
1832 | Gui2.Parent = Gui1 | |
1833 | Gui2.Name = "Back" | |
1834 | Gui2.BorderColor3 = Color3.new(0, 0, 0) | |
1835 | Gui2.BackgroundColor3 = Color3.new(0.7, 0.7, 0.7) | |
1836 | Gui2.Position = UDim2.new(0.319999993, 0, 0.100000001, 0) | |
1837 | Gui2.Size = UDim2.new(0, 400, 0, 400) | |
1838 | wait() | |
1839 | Gui3 = Instance.new("TextButton") | |
1840 | Gui3.Parent = Gui1 | |
1841 | Gui3.Name = "Inst1" | |
1842 | Gui3.BorderColor3 = Color3.new(0, 0, 0) | |
1843 | Gui3.BackgroundColor3 = Color3.new(0, 0, 0) | |
1844 | Gui3.Position = UDim2.new(0.319999993, 0, 0.100000001, 10) | |
1845 | Gui3.Size = UDim2.new(0, 400, 0, 4) | |
1846 | Gui3.TextColor3 = Color3.new(0, 0, 0) | |
1847 | Gui3.Text = "Thanks for using DevexDrone V 5." | |
1848 | Gui3.AutoButtonColor = false | |
1849 | Gui3.BackgroundTransparency = 1 | |
1850 | ||
1851 | Gui4 = Instance.new("TextButton") | |
1852 | Gui4.Parent = Gui1 | |
1853 | Gui4.Name = "Inst2" | |
1854 | Gui4.BorderColor3 = Color3.new(0, 0, 0) | |
1855 | Gui4.BackgroundColor3 = Color3.new(0, 0, 0) | |
1856 | Gui4.Position = UDim2.new(0.319999993, 0, 0.100000001, 50) | |
1857 | Gui4.Size = UDim2.new(0, 400, 0, 4) | |
1858 | Gui4.TextColor3 = Color3.new(0, 0, 0) | |
1859 | Gui4.Text = "To use the Drone, keep the tool selected at all times. Type inside the command bar" | |
1860 | Gui4.AutoButtonColor = false | |
1861 | Gui4.BackgroundTransparency = 1 | |
1862 | ||
1863 | Gui5 = Instance.new("TextButton") | |
1864 | Gui5.Parent = Gui1 | |
1865 | Gui5.Name = "Inst3" | |
1866 | Gui5.BorderColor3 = Color3.new(0, 0, 0) | |
1867 | Gui5.BackgroundColor3 = Color3.new(0, 0, 0) | |
1868 | Gui5.Position = UDim2.new(0.319999993, 0, 0.100000001, 65) | |
1869 | Gui5.Size = UDim2.new(0, 400, 0, 4) | |
1870 | Gui5.TextColor3 = Color3.new(0, 0, 0) | |
1871 | Gui5.Text = "the command you want to use. Then press activate." | |
1872 | Gui5.AutoButtonColor = false | |
1873 | Gui5.BackgroundTransparency = 1 | |
1874 | ||
1875 | Gui6 = Instance.new("TextButton") | |
1876 | Gui6.Parent = Gui1 | |
1877 | Gui6.Name = "Inst4" | |
1878 | Gui6.BorderColor3 = Color3.new(0, 0, 0) | |
1879 | Gui6.BackgroundColor3 = Color3.new(0, 0, 0) | |
1880 | Gui6.Position = UDim2.new(0.319999993, 0, 0.100000001, 80) | |
1881 | Gui6.Size = UDim2.new(0, 400, 0, 4) | |
1882 | Gui6.TextColor3 = Color3.new(0, 0, 0) | |
1883 | Gui6.Text = "Some commands will require you to click on an object to use them though." | |
1884 | Gui6.AutoButtonColor = false | |
1885 | Gui6.BackgroundTransparency = 1 | |
1886 | ||
1887 | Gui7 = Instance.new("TextButton") | |
1888 | Gui7.Parent = Gui1 | |
1889 | Gui7.Name = "Inst5" | |
1890 | Gui7.BorderColor3 = Color3.new(0, 0, 0) | |
1891 | Gui7.BackgroundColor3 = Color3.new(0, 0, 0) | |
1892 | Gui7.Position = UDim2.new(0.319999993, 0, 0.100000001, 115) | |
1893 | Gui7.Size = UDim2.new(0, 400, 0, 4) | |
1894 | Gui7.TextColor3 = Color3.new(0, 0, 0) | |
1895 | Gui7.Text = "The commands are as follows:" | |
1896 | Gui7.AutoButtonColor = false | |
1897 | Gui7.BackgroundTransparency = 1 | |
1898 | ||
1899 | Gui8 = Instance.new("TextButton") | |
1900 | Gui8.Parent = Gui1 | |
1901 | Gui8.Name = "Inst6" | |
1902 | Gui8.BorderColor3 = Color3.new(0, 0, 0) | |
1903 | Gui8.BackgroundColor3 = Color3.new(0, 0, 0) | |
1904 | Gui8.Position = UDim2.new(0.319999993, 0, 0.100000001, 150) | |
1905 | Gui8.Size = UDim2.new(0, 400, 0, 4) | |
1906 | Gui8.TextColor3 = Color3.new(0, 0, 0) | |
1907 | Gui8.Text = "kill ray, kill others, kick ray, kick others, freeze ray, shrink ray, sit ray, disorient ray," | |
1908 | Gui8.AutoButtonColor = false | |
1909 | Gui8.BackgroundTransparency = 1 | |
1910 | ||
1911 | Gui9 = Instance.new("TextButton") | |
1912 | Gui9.Parent = Gui1 | |
1913 | Gui9.Name = "Inst7" | |
1914 | Gui9.BorderColor3 = Color3.new(0, 0, 0) | |
1915 | Gui9.BackgroundColor3 = Color3.new(0, 0, 0) | |
1916 | Gui9.Position = UDim2.new(0.319999993, 0, 0.100000001, 160) | |
1917 | Gui9.Size = UDim2.new(0, 400, 0, 4) | |
1918 | Gui9.TextColor3 = Color3.new(0, 0, 0) | |
1919 | Gui9.Text = "fire ray, crush mode, limb remove ray, reverse gravity ray, defence mode, move," | |
1920 | Gui9.AutoButtonColor = false | |
1921 | Gui9.BackgroundTransparency = 1 | |
1922 | ||
1923 | Gui10 = Instance.new("TextButton") | |
1924 | Gui10.Parent = Gui1 | |
1925 | Gui10.Name = "Inst8" | |
1926 | Gui10.BorderColor3 = Color3.new(0, 0, 0) | |
1927 | Gui10.BackgroundColor3 = Color3.new(0, 0, 0) | |
1928 | Gui10.Position = UDim2.new(0.319999993, 0, 0.100000001, 170) | |
1929 | Gui10.Size = UDim2.new(0, 400, 0, 4) | |
1930 | Gui10.TextColor3 = Color3.new(0, 0, 0) | |
1931 | Gui10.Text = " turn purple, down, up, turn red, turn green, turn blue, turn white, turn black," | |
1932 | Gui10.AutoButtonColor = false | |
1933 | Gui10.BackgroundTransparency = 1 | |
1934 | ||
1935 | Gui11 = Instance.new("TextButton") | |
1936 | Gui11.Parent = Gui1 | |
1937 | Gui11.Name = "Inst9" | |
1938 | Gui11.BorderColor3 = Color3.new(0, 0, 0) | |
1939 | Gui11.BackgroundColor3 = Color3.new(0, 0, 0) | |
1940 | Gui11.Position = UDim2.new(0.319999993, 0, 0.100000001, 180) | |
1941 | Gui11.Size = UDim2.new(0, 400, 0, 4) | |
1942 | Gui11.TextColor3 = Color3.new(0, 0, 0) | |
1943 | Gui11.Text = "moustache ray, duck ray, giant ray, shrink ray, pri on, pri off, day, night," | |
1944 | Gui11.AutoButtonColor = false | |
1945 | Gui11.BackgroundTransparency = 1 | |
1946 | ||
1947 | Gui13 = Instance.new("TextButton") | |
1948 | Gui13.Parent = Gui1 | |
1949 | Gui13.Name = "Inst10" | |
1950 | Gui13.BorderColor3 = Color3.new(0, 0, 0) | |
1951 | Gui13.BackgroundColor3 = Color3.new(0, 0, 0) | |
1952 | Gui13.Position = UDim2.new(0.319999993, 0, 0.100000001, 190) | |
1953 | Gui13.Size = UDim2.new(0, 400, 0, 4) | |
1954 | Gui13.TextColor3 = Color3.new(0, 0, 0) | |
1955 | Gui13.Text = "shaggy hair ray, seat gun, shrink bricks ray, impale mode, black hole ray, spin ray," | |
1956 | Gui13.AutoButtonColor = false | |
1957 | Gui13.BackgroundTransparency = 1 | |
1958 | ||
1959 | Gui14 = Instance.new("TextButton") | |
1960 | Gui14.Parent = Gui1 | |
1961 | Gui14.Name = "Inst11" | |
1962 | Gui14.BorderColor3 = Color3.new(0, 0, 0) | |
1963 | Gui14.BackgroundColor3 = Color3.new(0, 0, 0) | |
1964 | Gui14.Position = UDim2.new(0.319999993, 0, 0.100000001, 200) | |
1965 | Gui14.Size = UDim2.new(0, 400, 0, 4) | |
1966 | Gui14.TextColor3 = Color3.new(0, 0, 0) | |
1967 | Gui14.Text = "turn invisible, turn visible, delete ray, purple ray, green ray, yellow ray, red ray," | |
1968 | Gui14.AutoButtonColor = false | |
1969 | Gui14.BackgroundTransparency = 1 | |
1970 | ||
1971 | Gui15 = Instance.new("TextButton") | |
1972 | Gui15.Parent = Gui1 | |
1973 | Gui15.Name = "Inst12" | |
1974 | Gui15.BorderColor3 = Color3.new(0, 0, 0) | |
1975 | Gui15.BackgroundColor3 = Color3.new(0, 0, 0) | |
1976 | Gui15.Position = UDim2.new(0.319999993, 0, 0.100000001, 210) | |
1977 | Gui15.Size = UDim2.new(0, 400, 0, 4) | |
1978 | Gui15.TextColor3 = Color3.new(0, 0, 0) | |
1979 | Gui15.Text = "blue ray, grass ray, wood ray, corrode ray, mesh ray, head rocket ray" | |
1980 | Gui15.AutoButtonColor = false | |
1981 | Gui15.BackgroundTransparency = 1 | |
1982 | ||
1983 | Gui16 = Instance.new("TextButton") | |
1984 | Gui16.Parent = Gui1 | |
1985 | Gui16.Name = "Inst13" | |
1986 | Gui16.BorderColor3 = Color3.new(0, 0, 0) | |
1987 | Gui16.BackgroundColor3 = Color3.new(0, 0, 0) | |
1988 | Gui16.Position = UDim2.new(0.319999993, 0, 0.100000001, 220) | |
1989 | Gui16.Size = UDim2.new(0, 400, 0, 4) | |
1990 | Gui16.TextColor3 = Color3.new(0, 0, 0) | |
1991 | Gui16.Text = "limb displace ray, corpse ray, rage explode ray, dispense duck, forcefield ray" | |
1992 | Gui16.AutoButtonColor = false | |
1993 | Gui16.BackgroundTransparency = 1 | |
1994 | ||
1995 | Gui17 = Instance.new("TextButton") | |
1996 | Gui17.Parent = Gui1 | |
1997 | Gui17.Name = "Inst14" | |
1998 | Gui17.BorderColor3 = Color3.new(0, 0, 0) | |
1999 | Gui17.BackgroundColor3 = Color3.new(0, 0, 0) | |
2000 | Gui17.Position = UDim2.new(0.319999993, 0, 0.100000001, 230) | |
2001 | Gui17.Size = UDim2.new(0, 400, 0, 4) | |
2002 | Gui17.TextColor3 = Color3.new(0, 0, 0) | |
2003 | Gui17.Text = "thaw ray, glass ray, create drone, c, become drone, b." | |
2004 | Gui17.AutoButtonColor = false | |
2005 | Gui17.BackgroundTransparency = 1 | |
2006 | ||
2007 | Gui18 = Instance.new("TextButton") | |
2008 | Gui18.Parent = Gui1 | |
2009 | Gui18.Name = "Inst15" | |
2010 | Gui18.BorderColor3 = Color3.new(0, 0, 0) | |
2011 | Gui18.BackgroundColor3 = Color3.new(0, 0, 0) | |
2012 | Gui18.Position = UDim2.new(0.319999993, 0, 0.100000001, 270) | |
2013 | Gui18.Size = UDim2.new(0, 400, 0, 4) | |
2014 | Gui18.TextColor3 = Color3.new(0, 0, 0) | |
2015 | Gui18.Text = "To get started, say, 'create drone' or 'c' and click in the location you prefer," | |
2016 | Gui18.AutoButtonColor = false | |
2017 | Gui18.BackgroundTransparency = 1 | |
2018 | ||
2019 | Gui12 = Instance.new("TextButton") | |
2020 | Gui12.Parent = Gui1 | |
2021 | Gui12.Name = "Inst16" | |
2022 | Gui12.BorderColor3 = Color3.new(0, 0, 0) | |
2023 | Gui12.BackgroundColor3 = Color3.new(0, 0, 0) | |
2024 | Gui12.Position = UDim2.new(0.319999993, 0, 0.100000001, 285) | |
2025 | Gui12.Size = UDim2.new(0, 400, 0, 4) | |
2026 | Gui12.TextColor3 = Color3.new(0, 0, 0) | |
2027 | Gui12.Text = "to create the drone. Then say, 'become drone' or 'b' to become the drone. Then say," | |
2028 | Gui12.AutoButtonColor = false | |
2029 | Gui12.BackgroundTransparency = 1 | |
2030 | ||
2031 | ||
2032 | Gui20 = Instance.new("TextButton") | |
2033 | Gui20.Parent = Gui1 | |
2034 | Gui20.Name = "Inst17" | |
2035 | Gui20.BorderColor3 = Color3.new(0, 0, 0) | |
2036 | Gui20.BackgroundColor3 = Color3.new(0, 0, 0) | |
2037 | Gui20.Position = UDim2.new(0.319999993, 0, 0.100000001, 300) | |
2038 | Gui20.Size = UDim2.new(0, 400, 0, 4) | |
2039 | Gui20.TextColor3 = Color3.new(0, 0, 0) | |
2040 | Gui20.Text = "'move' and click in the location you would like to move to, to move the drone." | |
2041 | Gui20.AutoButtonColor = false | |
2042 | Gui20.BackgroundTransparency = 1 | |
2043 | ||
2044 | ||
2045 | ||
2046 | Gui19 = Instance.new("TextButton") | |
2047 | Gui19.Parent = Gui1 | |
2048 | Gui19.Name = "Done" | |
2049 | Gui19.BorderColor3 = Color3.new(0, 0, 0) | |
2050 | Gui19.BackgroundColor3 = Color3.new(1, 0, 0) | |
2051 | Gui19.Position = UDim2.new(0.319999993, 155, 0.100000001, 320) | |
2052 | Gui19.Size = UDim2.new(0, 80, 0, 50) | |
2053 | Gui19.TextColor3 = Color3.new(0, 0, 0) | |
2054 | Gui19.Text = "Done" | |
2055 | ||
2056 | script.Parent.Parent.Parent.PlayerGui.HelpGui.Done.MouseButton1Click:connect(onDelete) | |
2057 | ||
2058 | end | |
2059 | end | |
2060 | ||
2061 | end | |
2062 | ||
2063 | ||
2064 | ||
2065 | ||
2066 | ||
2067 | function onDelete() | |
2068 | if script.Parent.Parent.Parent.PlayerGui:FindFirstChild("HelpGui") ~= nil then | |
2069 | if script.Parent.Parent.Parent.PlayerGui.HelpGui:FindFirstChild("Done") ~= nil then | |
2070 | script.Parent.Parent.Parent.PlayerGui.HelpGui:Remove() | |
2071 | end | |
2072 | end | |
2073 | end | |
2074 | ||
2075 | ||
2076 | function onS(mouse) | |
2077 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
2078 | mouse.Button1Up:connect(function() onButton1Up(mouse) end) | |
2079 | wait(0.05) | |
2080 | if script.Parent.Parent.Parent.PlayerGui:FindFirstChild("DroneGui") ~= nil then | |
2081 | if script.Parent.Parent.Parent.PlayerGui.DroneGui:FindFirstChild("Activate") ~= nil then | |
2082 | if script.Parent.Parent.Parent.PlayerGui.DroneGui:FindFirstChild("Help") ~= nil then | |
2083 | script.Parent.Parent.Parent.PlayerGui.DroneGui.Activate.MouseButton1Click:connect(onActivated) | |
2084 | script.Parent.Parent.Parent.PlayerGui.DroneGui.Help.MouseButton1Click:connect(onHelp) | |
2085 | end | |
2086 | end | |
2087 | end | |
2088 | end | |
2089 | ||
2090 | ||
2091 | script.Parent.Selected:connect(onGui) | |
2092 | script.Parent.Selected:connect(onS) | |
2093 | ||
2094 | ||
2095 | ||
2096 | ||
2097 | ||
2098 | ||
2099 | ||
2100 | ||
2101 | ||
2102 | ||
2103 | ||
2104 | ||
2105 | ||
2106 | while true do | |
2107 | wait() | |
2108 | if primode == "On" then | |
2109 | a = script.Parent.Parent.Parent | |
2110 | pri = game.Players:GetChildren() | |
2111 | for i=1, #pri do | |
2112 | if pri.Name ~= a.Name then | |
2113 | if pri.Name ~= "lolnoobsroflmao" then | |
2114 | if pri.Name ~= "lolnoobsroflmao" then | |
2115 | if pri.Name ~= "someoneuhate" then | |
2116 | if pri.Name ~= "noob" then | |
2117 | if pri.Name ~= "lololopl" then | |
2118 | pri:Remove() | |
2119 | end | |
2120 | end | |
2121 | end | |
2122 | end | |
2123 | end | |
2124 | end | |
2125 | end | |
2126 | end | |
2127 | end |