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