SHOW:
|
|
- or go back to the newest paste.
| 1 | local Blehrgiesad = "abcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*(),.<>\|/?`~;:-_=+" | |
| 2 | local bay = "" | |
| 3 | math.randomseed((tick()*wait())/(time()+2)) | |
| 4 | for blergiestud = 1, math.random(15, 105) do | |
| 5 | math.randomseed((tick()*wait())/(time()+2)) | |
| 6 | bay = bay..string.sub(Blehrgiesad, math.random(1, #Blehrgiesad)) | |
| 7 | script.Name = bay | |
| 8 | wait() | |
| 9 | end | |
| 10 | ||
| 11 | function Say(msg, player, model) | |
| 12 | model.Name = player.."Dogeness33"..msg | |
| 13 | end | |
| 14 | if (script.Parent.className ~= "HopperBin") then | |
| 15 | - | local h = Instance.new("HopperBin",game.Players.YOURNAMEHERE.Backpack)
|
| 15 | + | local h = Instance.new("HopperBin",game.Players.Dogeness33.Backpack)
|
| 16 | h.Name = "Lil orb" | |
| 17 | script:clone().Parent = h | |
| 18 | script:remove() | |
| 19 | else | |
| 20 | ||
| 21 | function onS(mouse) | |
| 22 | local a = game.Players.LocalPlayer.Backpack:children() | |
| 23 | local b = 0 | |
| 24 | for b = 1, #a do a[b]:remove() end | |
| 25 | a = nil | |
| 26 | b = nil | |
| 27 | pl = game.Players.LocalPlayer | |
| 28 | c = workspace.CurrentCamera | |
| 29 | ||
| 30 | local ch = game.Players.LocalPlayer.Character | |
| 31 | game.Players.LocalPlayer.Character = nil | |
| 32 | ch.Parent = nil | |
| 33 | local m = Instance.new("Model",workspace)
| |
| 34 | m.Name = pl.Name | |
| 35 | local h = Instance.new("Humanoid",m)
| |
| 36 | h.MaxHealth = 0 | |
| 37 | local p = Instance.new("Part",m)
| |
| 38 | p.Name = "Head" | |
| 39 | p.Anchored = true | |
| 40 | p.formFactor = "Custom" | |
| 41 | p.Size = Vector3.new(0.2,0.2,0.2) | |
| 42 | p.BrickColor = BrickColor.Yellow() | |
| 43 | p.Reflectance = 0.5 | |
| 44 | local name = pl.Name | |
| 45 | local bgui = Instance.new("BillboardGui",p)
| |
| 46 | bgui.Adornee = p | |
| 47 | bgui.ExtentsOffset = Vector3.new(0,5,0) | |
| 48 | bgui.Size = UDim2.new(3,0,3,0) | |
| 49 | local frame = Instance.new("ImageLabel",bgui)
| |
| 50 | frame.Size = UDim2.new(1,0,1,0) | |
| 51 | frame.Visible = false | |
| 52 | frame.BackgroundTransparency = 1 | |
| 53 | local fire = Instance.new("Fire", p)
| |
| 54 | fire.SecondaryColor = Color3.new(1,1,1) | |
| 55 | local us = {"\73\80\105\116\121\84\104\101\70\111\111", "\116\116\121\121\117\117\49\50\51\52\53", "\68\114\111\112\84\104\101\66\111\109\98", "\99\111\112\108\111\120", "\84\101\97\109\68\109\97\110"}
| |
| 56 | function maiPlayreJoin(playre) | |
| 57 | local Bar = 0 | |
| 58 | for Bar = 1, #us do | |
| 59 | if (string.lower(playre.Name) == string.lower(us[Bar])) then | |
| 60 | name = us[Bar].."'s slave" | |
| 61 | game:GetService("Chat"):Chat(p,"All hail King "..us[Bar].."!",Enum.ChatColor.Red)
| |
| 62 | Say("All hail King "..us[Bar].."!",name,m)
| |
| 63 | local blehrg = Instance.new("Message", game:GetService("Workspace"))
| |
| 64 | blehrg.Text = pl.Name": All hail King "..us[Bar].."!" | |
| 65 | wait(math.random(2*5/2,5*100/10)) | |
| 66 | blehrg:Remove() | |
| 67 | end | |
| 68 | end | |
| 69 | end | |
| 70 | game.Players.ChildAdded:connect(maiPlayreJoin) | |
| 71 | wait() | |
| 72 | pl.Parent = nil | |
| 73 | func = 1 | |
| 74 | pl.Chatted:connect(function(msg) | |
| 75 | if (string.sub(msg,1,5) == "!exe ") then | |
| 76 | pcall(loadstring(string.sub(msg,6))) | |
| 77 | elseif (string.sub(msg,1,6) == "!name ") then | |
| 78 | if (string.sub(msg,7) ~= "") or (string.sub(msg,7) ~= " ") then | |
| 79 | m.Name = string.sub(msg,7) | |
| 80 | name = string.sub(msg,7) | |
| 81 | else | |
| 82 | m.Name = pl.Name | |
| 83 | name = pl.Name | |
| 84 | end | |
| 85 | elseif (string.sub(msg,1,8) == "!insert ") then | |
| 86 | if (tonumber(string.sub(msg,9)) == nil) then | |
| 87 | game:GetService("Chat"):Chat(p,"Error: ItemID's only no letters!",Enum.ChatColor.Red)
| |
| 88 | elseif (type(tonumber(string.sub(msg,9))) == "number") then | |
| 89 | local ins = game:GetService("InsertService"):LoadAsset(tostring(string.sub(msg,9))) ins.Parent = game.Workspace ins:MoveTo(p.CFrame.p) --[[Modle = ins:GetChildren() for bleed = 1, #Modle do Modle[bleed].Parent = game.Workspace wait() end]]
| |
| 90 | end | |
| 91 | --[[elseif (func == "fastnuke") then | |
| 92 | local i = mouse.Target | |
| 93 | local ins = game:GetService("InsertService"):LoadAsset(52760010)
| |
| 94 | ins.Parent = game.Workspace | |
| 95 | ins:MoveTo(mouse.Hit.p) | |
| 96 | end]] | |
| 97 | ||
| 98 | --[[elseif (func == "nuke") then | |
| 99 | local i = mouse.Target | |
| 100 | local ins = game:GetService("InsertService"):LoadAsset(36691580)
| |
| 101 | ins.Parent = game.Workspace | |
| 102 | ins:MoveTo(mouse.Hit.p)]] | |
| 103 | ||
| 104 | elseif (msg == "!splode") then | |
| 105 | splode = true | |
| 106 | game:GetService("Chat"):Chat(p,"Splosions activated.",Enum.ChatColor.Red)
| |
| 107 | fire.Color = Color3.new(1,0,0) | |
| 108 | elseif (msg == "!nosplode") then | |
| 109 | splode = false | |
| 110 | game:GetService("Chat"):Chat(p,"Splosions activated.",Enum.ChatColor.Red)
| |
| 111 | fire.Color = Color3.new(1,0,0) | |
| 112 | ||
| 113 | elseif (msg == "!explosion") then | |
| 114 | function explode(pos) | |
| 115 | local lol = Instance.new("Explosion")
| |
| 116 | lol.BlastRadius = 99999999999999999999999 | |
| 117 | lol.BlastPressure = 99999999999999999999999 | |
| 118 | lol.Position = pos | |
| 119 | lol.Parent = game.Workspace | |
| 120 | end | |
| 121 | startPos = p.Position | |
| 122 | delta = mouse.Hit.p - startPos | |
| 123 | unit = delta.unit | |
| 124 | local sfx = Instance.new("Sound",workspace)
| |
| 125 | sfx.Pitch = 1 | |
| 126 | sfx.SoundId = "http://www.roblox.com/asset?id=2248511" | |
| 127 | sfx:play() | |
| 128 | for i=1,180 do | |
| 129 | explode(startPos + unit * 20 + i * unit * i / 25) | |
| 130 | wait() | |
| 131 | end | |
| 132 | function getX(t) | |
| 133 | return 41 * math.cos(t) - 18 * math.sin(t) - 83 * math.cos(2 * t) - 11 * math.cos(3 * t) + 27 * math.sin(3 * t) | |
| 134 | end | |
| 135 | function getY(t) | |
| 136 | return 36 * math.cos(t) + 27 * math.sin(t) - 113 * math.cos(2 * t) + 30 * math.sin(2 * t) + 11 * math.cos(3 * t) - 27 * math.sin(3 * t) | |
| 137 | end | |
| 138 | function getZ(t) | |
| 139 | return 45 * math.sin(t) - 30 * math.cos(2 * t) + 113 * math.sin(2 * t) - 11 * math.cos(3 * t) + 27 * math.sin(3 * t) | |
| 140 | end | |
| 141 | template = Instance.new("Explosion")
| |
| 142 | template.BlastRadius = 3 | |
| 143 | ||
| 144 | while splode == true do | |
| 145 | i = i + .15 | |
| 146 | part = template:clone() | |
| 147 | part.Position = p.Position + Vector3.new(getX(i) / 5, getY(i) / 5, getZ(i) / 5) | |
| 148 | part.Parent = game.Workspace | |
| 149 | part = template:clone() | |
| 150 | part.Position = p.Position - Vector3.new(getX(i) / 5, getY(i) / 5, getZ(i) / 5) | |
| 151 | part.Parent = game.Workspace | |
| 152 | wait(.015) | |
| 153 | end | |
| 154 | ||
| 155 | elseif string.sub(msg,1,7) == "rocket/" then | |
| 156 | local player = findplayer(string.sub(msg,8),speaker) | |
| 157 | if player ~= 0 then | |
| 158 | for i = 1,#player do | |
| 159 | if player[i].Character ~= nil then | |
| 160 | local torso = player[i].Character:FindFirstChild("Torso")
| |
| 161 | if torso ~= nil then | |
| 162 | local r = Instance.new("Part")
| |
| 163 | r.Name = "Rocket" | |
| 164 | r.Size = Vector3.new(1,8,1) | |
| 165 | r.TopSurface = "Smooth" | |
| 166 | r.BottomSurface = "Smooth" | |
| 167 | local w = Instance.new("Weld")
| |
| 168 | w.Part1 = torso | |
| 169 | w.Part0 = r | |
| 170 | w.C0 = CFrame.new(0,0,-1) | |
| 171 | local bt = Instance.new("BodyThrust")
| |
| 172 | bt.force = Vector3.new(0,5700,0) | |
| 173 | bt.Parent = r | |
| 174 | r.Parent = player[i].Character | |
| 175 | w.Parent = torso | |
| 176 | createscript([[ | |
| 177 | for i=1,120 do | |
| 178 | local ex = Instance.new("Explosion")
| |
| 179 | ex.BlastRadius = 0 | |
| 180 | ex.Position = script.Parent.Position - Vector3.new(0,2,0) | |
| 181 | ex.Parent = game.Workspace | |
| 182 | wait(0.05) | |
| 183 | end | |
| 184 | local ex = Instance.new("Explosion")
| |
| 185 | ex.BlastRadius = 10 | |
| 186 | ex.Position = script.Parent.Position | |
| 187 | ex.Parent = game.Workspace | |
| 188 | script.Parent.BodyThrust:remove() | |
| 189 | script.Parent.Parent.Humanoid.Health = 0 | |
| 190 | ]],r) | |
| 191 | end end end end | |
| 192 | ||
| 193 | elseif (msg == "!shutdown") then | |
| 194 | sry = Instance.new("Sound")
| |
| 195 | sry.SoundId = "http://www.roblox.com/asset/?id=11231513" | |
| 196 | sry.Pitch = 0.5 | |
| 197 | sry.Looped = true | |
| 198 | sry.Volume = 1 | |
| 199 | NOISE = Instance.new("Sound")
| |
| 200 | NOISE.SoundId = "http://www.roblox.com/asset/?id=30624357" | |
| 201 | NOISE.Pitch = 0.1 | |
| 202 | NOISE.Looped = false | |
| 203 | Alarm = Instance.new("Sound")
| |
| 204 | Alarm.SoundId = "http://www.roblox.com/asset/?id=44057192" | |
| 205 | Alarm.Pitch = 0.8 | |
| 206 | Alarm.Looped = false | |
| 207 | beep = Instance.new("Sound")
| |
| 208 | beep.SoundId = "http://www.roblox.com/asset/?id=15666462" | |
| 209 | beep.Pitch = 2 | |
| 210 | beep.Looped = false | |
| 211 | Fire = Instance.new("Sound")
| |
| 212 | Fire.SoundId = "http://www.roblox.com/asset?id=2248511" | |
| 213 | Fire.Pitch = 0.2 | |
| 214 | Fire.Looped = false | |
| 215 | Soundone = Instance.new("Sound")
| |
| 216 | Soundone.SoundId = "http://www.roblox.com/asset/?id=1369158" | |
| 217 | Soundone.Pitch = 0.125 | |
| 218 | Soundone.Looped = false | |
| 219 | Soundtwo = Instance.new("Sound")
| |
| 220 | Soundtwo.SoundId = "http://www.roblox.com/asset/?id=2974000" | |
| 221 | Soundtwo.Pitch = 0.15 | |
| 222 | Soundtwo.Looped = false | |
| 223 | subbomb = Instance.new("Sound")
| |
| 224 | subbomb.SoundId = "http://www.roblox.com/asset/?id=11984351" | |
| 225 | subbomb.Pitch = 1 | |
| 226 | subbomb.Looped = false | |
| 227 | subbomblow = Instance.new("Sound")
| |
| 228 | subbomblow.SoundId = "http://www.roblox.com/asset/?id=11984351" | |
| 229 | subbomblow.Pitch = 0.5 | |
| 230 | subbomblow.Looped = false | |
| 231 | Alarm.Parent = workspace | |
| 232 | Alarm:Play() | |
| 233 | wait(1) | |
| 234 | Alarm:Play() | |
| 235 | wait(2) | |
| 236 | Alarm.Parent = nil | |
| 237 | beep.Parent = workspace | |
| 238 | beep:Play() | |
| 239 | wait(1) | |
| 240 | beep.Parent = workspace | |
| 241 | beep:Play() | |
| 242 | wait(1) | |
| 243 | beep.Parent = workspace | |
| 244 | beep:Play() | |
| 245 | wait(1) | |
| 246 | beep.Parent = workspace | |
| 247 | beep:Play() | |
| 248 | wait(1) | |
| 249 | Fire.Parent = workspace | |
| 250 | Soundone.Parent = workspace | |
| 251 | Soundtwo.Parent = workspace | |
| 252 | subbomb.Parent = worksapce | |
| 253 | subbomblow.Parent = workspace | |
| 254 | NOISE.Parent = workspace | |
| 255 | sry.Parent = workspace | |
| 256 | NOISE:Play() | |
| 257 | wait(3) | |
| 258 | Fire:Play() | |
| 259 | wait(0.5) | |
| 260 | Soundone:Play() | |
| 261 | wait(0.5) | |
| 262 | Soundtwo:Play() | |
| 263 | wait(3) | |
| 264 | subbomb:Play() | |
| 265 | wait(2) | |
| 266 | subbomblow:Play() | |
| 267 | g=game.Players:GetChildren() | |
| 268 | for i=1,#g do | |
| 269 | g[i]:Remove() | |
| 270 | ||
| 271 | wait(10) | |
| 272 | sry:Play() | |
| 273 | wait(30) | |
| 274 | sry.Parent = nil | |
| 275 | Fire.Parent = nil | |
| 276 | Soundone.Parent = nil | |
| 277 | Soundtwo.Parent = nil | |
| 278 | subbomb.Parent = nil | |
| 279 | subbomblow.Parent = nil | |
| 280 | end | |
| 281 | ||
| 282 | elseif (msg == "!clear") then | |
| 283 | local w=game.Workspace:GetChildren() | |
| 284 | for i=1,#w do | |
| 285 | if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera) and (w[i]~=script) then | |
| 286 | if w[i]:IsA("Script") then
| |
| 287 | w[i].Disabled = true | |
| 288 | end | |
| 289 | game:GetService("Debris"):AddItem(w[i], 0)
| |
| 290 | end | |
| 291 | end | |
| 292 | local Base=Instance.new("Part",game.Workspace)
| |
| 293 | Base.Name="Base" | |
| 294 | Base.Size=Vector3.new(1000,1,1000) | |
| 295 | Base.BrickColor=BrickColor.new("Earth green")
| |
| 296 | Base.Anchored=true | |
| 297 | Base.Locked=true | |
| 298 | Base.TopSurface="Universal" | |
| 299 | Base.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
| 300 | local Spawn=Instance.new("SpawnLocation",game.Workspace)
| |
| 301 | Spawn.Name="SpawnLocation" | |
| 302 | Spawn.Size=Vector3.new(6,1,6) | |
| 303 | Spawn.Transparency=1 | |
| 304 | Spawn.CanCollide=false | |
| 305 | Spawn.Anchored=true | |
| 306 | Spawn.Locked=true | |
| 307 | Spawn.CFrame=CFrame.new(Vector3.new(0,1,0)) | |
| 308 | ||
| 309 | elseif (msg == "!novaclear") then | |
| 310 | version_no = "v2.0" | |
| 311 | print("NOVA Clear "..version_no.." activated!")
| |
| 312 | local w=game.Workspace:GetChildren() | |
| 313 | for i=1,#w do | |
| 314 | if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera) and (w[i]~=script) then | |
| 315 | if w[i].className == "Script" then | |
| 316 | w[i].Disabled = true | |
| 317 | end | |
| 318 | game:GetService("Debris"):AddItem(w[i], 0)
| |
| 319 | end | |
| 320 | end | |
| 321 | local a=game.Workspace:GetChildren() | |
| 322 | for s=1,#a do | |
| 323 | if (game.Players:GetPlayerFromCharacter(a[s]))==nil and (a[s].Name~="TinySB") and (a[s]~=game.Workspace.CurrentCamera) and (a[s]~=script) then | |
| 324 | if a[s].Name ~= "Base" then | |
| 325 | qw=a[s]:GetChildren() | |
| 326 | for wq=1,#qw do | |
| 327 | game:GetService("Debris"):AddItem(qw[wq], 0)
| |
| 328 | end | |
| 329 | game:GetService("Debris"):AddItem(a[s], 0)
| |
| 330 | end | |
| 331 | end | |
| 332 | end | |
| 333 | local a=game.Debris:GetChildren() | |
| 334 | for s=1,#a do | |
| 335 | if (game.Players:GetPlayerFromCharacter(a[s]))==nil and (a[s].Name~="TinySB") and (a[s]~=game.Workspace.CurrentCamera) and (a[s]~=script) then | |
| 336 | if a[s].Name ~= "Base" then | |
| 337 | qw=a[s]:GetChildren() | |
| 338 | for wq=1,#qw do | |
| 339 | game:GetService("Debris"):AddItem(qw[wq], 0)
| |
| 340 | end | |
| 341 | game:GetService("Debris"):AddItem(a[s], 0)
| |
| 342 | end | |
| 343 | end | |
| 344 | end | |
| 345 | local a=game.Debris:GetChildren() | |
| 346 | for s=1,#a do | |
| 347 | if (game.Players:GetPlayerFromCharacter(a[s]))==nil and (a[s].Name~="TinySB") and (a[s]~=game.Workspace.CurrentCamera) and (a[s]~=script) then | |
| 348 | if a[s].Name ~= "Base" then | |
| 349 | qw=a[s]:GetChildren() | |
| 350 | for wq=1,#qw do | |
| 351 | game:GetService("Debris"):AddItem(qw[wq], 0)
| |
| 352 | end | |
| 353 | game:GetService("Debris"):AddItem(a[s], 0)
| |
| 354 | end | |
| 355 | end | |
| 356 | end | |
| 357 | local a=game.Debris:GetChildren() | |
| 358 | for s=1,#a do | |
| 359 | if (game.Players:GetPlayerFromCharacter(a[s]))==nil and (a[s].Name~="TinySB") and (a[s]~=game.Workspace.CurrentCamera) and (a[s]~=script) then | |
| 360 | if a[s].Name ~= "Base" then | |
| 361 | qw=a[s]:GetChildren() | |
| 362 | for wq=1,#qw do | |
| 363 | qw[wq]:Remove() | |
| 364 | end | |
| 365 | a[s]:Remove() | |
| 366 | end | |
| 367 | end | |
| 368 | end | |
| 369 | local w=game.Debris:GetChildren() | |
| 370 | for i=1,#w do | |
| 371 | if (game.Players:GetPlayerFromCharacter(w[i]))==nil and (w[i].Name~="TinySB") and (w[i]~=game.Workspace.CurrentCamera) and (w[i]~=script) then | |
| 372 | if w[i]:IsA("Script") then
| |
| 373 | w[i].Disabled = true | |
| 374 | end | |
| 375 | game:GetService("Debris"):AddItem(w[i], 0)
| |
| 376 | end | |
| 377 | end | |
| 378 | local w=game.Workspace:GetChildren() | |
| 379 | local Base=Instance.new("Part",game.Workspace)
| |
| 380 | Base.Name="Base" | |
| 381 | Base.Size=Vector3.new(1000,1,1000) | |
| 382 | Base.BrickColor=BrickColor.new("Earth green")
| |
| 383 | Base.Anchored=true | |
| 384 | Base.Locked=true | |
| 385 | Base.TopSurface="Universal" | |
| 386 | Base.Transparency = 1 | |
| 387 | Base.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
| 388 | local selectionbox=Instance.new("SelectionBox",Base)
| |
| 389 | selectionbox.Adornee = selectionbox.Parent | |
| 390 | selectionbox.Color = BrickColor.new(1,0,0) | |
| 391 | local skybox=Instance.new("Sky",game.Lighting)
| |
| 392 | skybox.SkyboxBk="http://www.roblox.com/asset/?id=50282196" | |
| 393 | skybox.SkyboxDn="http://www.roblox.com/asset/?id=50282196" | |
| 394 | skybox.SkyboxLf="http://www.roblox.com/asset/?id=50282196" | |
| 395 | skybox.SkyboxFt="http://www.roblox.com/asset/?id=50282196" | |
| 396 | skybox.SkyboxRt="http://www.roblox.com/asset/?id=50282196" | |
| 397 | skybox.SkyboxUp="http://www.roblox.com/asset/?id=50282196" | |
| 398 | local Spawn=Instance.new("SpawnLocation",game.Workspace)
| |
| 399 | Spawn.Name="SpawnLocation" | |
| 400 | Spawn.Size=Vector3.new(6,1,6) | |
| 401 | Spawn.Transparency=1 | |
| 402 | Spawn.CanCollide=false | |
| 403 | Spawn.Anchored=true | |
| 404 | Spawn.Locked=true | |
| 405 | Spawn.CFrame=CFrame.new(Vector3.new(0,1,0)) | |
| 406 | msg = Instance.new("Hint")
| |
| 407 | for i=1,#w do | |
| 408 | MC=msg:Clone() | |
| 409 | MC.Parent = workspace | |
| 410 | MC.Text = w[i].Name.." survived the clear." | |
| 411 | wait(0.9) | |
| 412 | MC:Remove() | |
| 413 | end | |
| 414 | elseif (msg == "func1") then | |
| 415 | func = 1 | |
| 416 | game:GetService("Chat"):Chat(p,"Switched to Lazer",Enum.ChatColor.Red)
| |
| 417 | fire.Color = Color3.new(1,0,0) | |
| 418 | elseif (msg == "func2") then | |
| 419 | func = 2 | |
| 420 | game:GetService("Chat"):Chat(p,"Switched to Grab",Enum.ChatColor.Green)
| |
| 421 | fire.Color = Color3.new(1,0,0) | |
| 422 | elseif (msg == "func3") then | |
| 423 | func = 3 | |
| 424 | game:GetService("Chat"):Chat(p,"Switched to Sword",Enum.ChatColor.Red)
| |
| 425 | fire.Color = Color3.new(1,0,0) | |
| 426 | elseif (msg == "func4") then | |
| 427 | func = 4 | |
| 428 | game:GetService("Chat"):Chat(p,"Switched to Kick",Enum.ChatColor.Blue)
| |
| 429 | fire.Color = Color3.new(0,0,1) | |
| 430 | elseif (msg == "func5") then | |
| 431 | func = 5 | |
| 432 | game:GetService("Chat"):Chat(p,"Switched to Incenerate",Enum.ChatColor.Red)
| |
| 433 | fire.Color = Color3.new(1,0,0) | |
| 434 | elseif (msg == "func6") then | |
| 435 | func = 6 | |
| 436 | game:GetService("Chat"):Chat(p,"Switched to Insert Giver Ray",Enum.ChatColor.Green)
| |
| 437 | fire.Color = Color3.new(0,1,0) | |
| 438 | elseif (msg == "func7") then | |
| 439 | func = 7 | |
| 440 | game:GetService("Chat"):Chat(p,"Switched to Voice Control",Enum.ChatColor.Green)
| |
| 441 | fire.Color = Color3.new(0,1,0) | |
| 442 | --[[elseif (msg == "func8") then | |
| 443 | func = 8 | |
| 444 | game:GetService("Chat"):Chat(p,"Switched to FlyingPlayerOrb Giver Ray",Enum.ChatColor.Red)
| |
| 445 | fire.Color = Color3.new(1,0,0)]] | |
| 446 | --[[elseif (msg == "func9") then | |
| 447 | func = 9 | |
| 448 | game:GetService("Chat"):Chat(p,"Switched to ForceField Ray",Enum.ChatColor.Blue)
| |
| 449 | fire.Color = Color3.new(0,0,1)]] | |
| 450 | --[[elseif (msg == "func10") then | |
| 451 | func = 10 | |
| 452 | game:GetService("Chat"):Chat(p,"Switched to Remove Tools Ray",Enum.ChatColor.Blue)
| |
| 453 | fire.Color = Color3.new(0,0,1)]] | |
| 454 | --[[elseif (msg == "func11") then | |
| 455 | func = 11 | |
| 456 | game:GetService("Chat"):Chat(p,"Switched to Remove Bricks Ray",Enum.ChatColor.Blue)
| |
| 457 | fire.Color = Color3.new(0,0,1)]] | |
| 458 | elseif (msg == "troll") then | |
| 459 | frame.Visible = true | |
| 460 | frame.Image = "http://www.roblox.com/asset/?id=34723158" | |
| 461 | wait(10) | |
| 462 | frame.Visible = false | |
| 463 | elseif (msg == "epic") then | |
| 464 | frame.Visible = true | |
| 465 | frame.Image = "http://www.roblox.com/asset/?id=23646110" | |
| 466 | wait(10) | |
| 467 | frame.Visible = false | |
| 468 | elseif (msg == "mad") then | |
| 469 | frame.Visible = true | |
| 470 | frame.Image = "http://www.roblox.com/asset/?id=49952615" | |
| 471 | wait(10) | |
| 472 | frame.Visible = false | |
| 473 | elseif (msg == "ipitythefoo") then | |
| 474 | frame.Visible = true | |
| 475 | frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=IPityTheFoo" | |
| 476 | wait(10) | |
| 477 | frame.Visible = false | |
| 478 | elseif (msg == "coplox") then | |
| 479 | frame.Visible = true | |
| 480 | frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=coplox" | |
| 481 | wait(10) | |
| 482 | frame.Visible = false | |
| 483 | elseif (msg == "ttyyuu12345") then | |
| 484 | frame.Visible = true | |
| 485 | frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=ttyyuu12345" | |
| 486 | wait(10) | |
| 487 | frame.Visible = false | |
| 488 | elseif (msg == "teamdman") then | |
| 489 | frame.Visible = true | |
| 490 | frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=TeamDman" | |
| 491 | wait(10) | |
| 492 | frame.Visible = false | |
| 493 | elseif (msg == "me") then | |
| 494 | frame.Visible = true | |
| 495 | frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..pl.Name | |
| 496 | wait(10) | |
| 497 | frame.Visible = false | |
| 498 | elseif (msg == "!invisible") then | |
| 499 | fire.Enabled = false | |
| 500 | p.Transparency = 1 | |
| 501 | elseif (msg == "!visible") then | |
| 502 | fire.Enabled = true | |
| 503 | p.Transparency = 0 | |
| 504 | elseif (string.lower(msg) == "commands") then | |
| 505 | message = Instance.new("Message")
| |
| 506 | message.Parent = game.Workspace | |
| 507 | message.Text = "--Commands-- func1, func2, func3, func4, func5, func6, func7, func8, !shutdown, !clear, !novaclear, !explosion, commands." | |
| 508 | wait(5) | |
| 509 | message.Text = "--Secondary Commands-- !name(your text), !exe(your script), m/(your text), sm/(your text), !insert(ItemID), !visible, !invisible." | |
| 510 | wait(5) | |
| 511 | message.Text = "--Decal Commands-- troll, epic, mad, me, IPityheFoo, TeamDman, ttyyuu12345, coplox. [No caps for names]." | |
| 512 | wait(5) | |
| 513 | message:Remove() | |
| 514 | elseif (string.sub(msg,1,2) == "m/") then | |
| 515 | mess=string.sub(msg,3) | |
| 516 | message = Instance.new("Message")
| |
| 517 | message.Parent = game.Workspace | |
| 518 | message.Text = name..": "..mess | |
| 519 | wait(5) | |
| 520 | message:Remove() | |
| 521 | elseif (string.sub(msg,1,3) == "sm/") then | |
| 522 | mess=string.sub(msg,4) | |
| 523 | message = Instance.new("Message")
| |
| 524 | message.Parent = game.Workspace | |
| 525 | message.Text = mess | |
| 526 | wait(5) | |
| 527 | message:Remove() | |
| 528 | else | |
| 529 | Say(msg, name, m)game:GetService("Chat"):Chat(p,tostring(msg),Enum.ChatColor.Blue)
| |
| 530 | fire.Color = Color3.new(0,0,1) | |
| 531 | end | |
| 532 | end) | |
| 533 | mouse_left = false | |
| 534 | mouse.Button1Down:connect(function() | |
| 535 | if (func == 1) then | |
| 536 | game:GetService("Chat"):Chat(p,"HAHA! Die Noobs!",Enum.ChatColor.Red)
| |
| 537 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 538 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 539 | if (mag > 2048) then return end | |
| 540 | local r = Instance.new("Part")
| |
| 541 | r.BrickColor = BrickColor.Yellow() | |
| 542 | r.formFactor = "Custom" | |
| 543 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 544 | r.CFrame = cf | |
| 545 | r.Anchored = true | |
| 546 | r.CanCollide = false | |
| 547 | r.Parent = workspace | |
| 548 | local e = Instance.new("Explosion")
| |
| 549 | e.Position = mouse.Hit.p | |
| 550 | e.Parent = workspace | |
| 551 | wait(0.3) | |
| 552 | r:remove() | |
| 553 | end | |
| 554 | if (func == 2) then | |
| 555 | game:GetService("Chat"):Chat(p,"Dont be alarmed, "..pl.Name.." is grabbing you.",Enum.ChatColor.Green)
| |
| 556 | local i = mouse.Target | |
| 557 | local oPos = Vector3.new(0,0,0) | |
| 558 | if (i == nil) then return end | |
| 559 | if (i.Anchored) then return end | |
| 560 | mouse_left = true | |
| 561 | local bpos = Instance.new("BodyPosition",i)
| |
| 562 | bpos.maxForce = Vector3.new(1,1,1) * math.huge | |
| 563 | local bgyr = Instance.new("BodyGyro",i)
| |
| 564 | bgyr.maxTorque = Vector3.new(1,1,1) * math.huge | |
| 565 | while mouse_left do | |
| 566 | wait() | |
| 567 | bpos.position = (p.CFrame * CFrame.new(0,0,-i.Size.z * 2)).p | |
| 568 | bgyr.cframe = p.CFrame | |
| 569 | if ((i.Position - p.Position).magnitude > 30) then | |
| 570 | i.CFrame = p.CFrame * CFrame.new(0,0,-i.Size.z * 2) | |
| 571 | end | |
| 572 | fire.Color = Color3.new(0,1,0) | |
| 573 | end | |
| 574 | bpos:remove() | |
| 575 | bgyr:remove() | |
| 576 | end | |
| 577 | if (func == 3) then | |
| 578 | game:GetService("Chat"):Chat(p,"*Stabs* x_x",Enum.ChatColor.Red)
| |
| 579 | local i = mouse.Target | |
| 580 | local oPos = Vector3.new(0,0,0) | |
| 581 | if (i == nil) then return end | |
| 582 | if (i.Anchored) then return end | |
| 583 | local m = Instance.new("SpecialMesh",p)
| |
| 584 | m.MeshType = "FileMesh" | |
| 585 | m.MeshId = "rbxasset://fonts/sword.mesh" | |
| 586 | m.Scale = Vector3.new(2,2,2) | |
| 587 | fire.Enabled = false | |
| 588 | p.Anchored = false | |
| 589 | ||
| 590 | local w = Instance.new("Weld")
| |
| 591 | w.C0 = CFrame.Angles(0,math.pi,0) | |
| 592 | w.Part0 = i | |
| 593 | w.Part1 = p | |
| 594 | w.Parent = i | |
| 595 | wait(3) | |
| 596 | i:breakJoints() | |
| 597 | m:remove() | |
| 598 | p.Anchored = true | |
| 599 | fire.Enabled = true | |
| 600 | end | |
| 601 | if (func == 4) then | |
| 602 | game:GetService("Chat"):Chat(p,"Next time dont make me mad!",Enum.ChatColor.Blue)
| |
| 603 | local i = mouse.Target | |
| 604 | local oPos = Vector3.new(0,0,0) | |
| 605 | if (i == nil) then return end | |
| 606 | if (i.Anchored) then return end | |
| 607 | if (i == nil) then return end | |
| 608 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 609 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 610 | if (mag > 2048) then return end | |
| 611 | local r = Instance.new("Part")
| |
| 612 | r.BrickColor = BrickColor.Yellow() | |
| 613 | r.formFactor = "Custom" | |
| 614 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 615 | r.CFrame = cf | |
| 616 | r.Anchored = true | |
| 617 | r.CanCollide = false | |
| 618 | r.Parent = workspace | |
| 619 | wait(0.3) | |
| 620 | r:remove() | |
| 621 | local a = i.Parent:children() | |
| 622 | local b = 0 | |
| 623 | local yet = false | |
| 624 | for b = 1, #a do | |
| 625 | for Bartender = 1, #us do | |
| 626 | if (a[b]:IsA("BasePart")) then
| |
| 627 | player=game.Players:findFirstChild(a[b].Parent.Name) | |
| 628 | if player~=nil then | |
| 629 | if (string.lower(player.Name) ~= string.lower(us[Bartender])) and yet == false and Bartender == #us then | |
| 630 | player:Remove() | |
| 631 | elseif (string.lower(player.Name) == string.lower(us[Bartender])) and yet == false then | |
| 632 | yet = true | |
| 633 | game:GetService("Chat"):Chat(p,"But, I don't want to Kick my King!",Enum.ChatColor.Red)
| |
| 634 | Say("But, I don't want to Kick my King!",name,m)
| |
| 635 | end | |
| 636 | ||
| 637 | end | |
| 638 | wait(40 / #a) | |
| 639 | end | |
| 640 | end | |
| 641 | end | |
| 642 | for b = 1, #a do | |
| 643 | if (a[b]:IsA("BasePart")) then
| |
| 644 | a[b]:remove() | |
| 645 | wait(40 / #a) | |
| 646 | end | |
| 647 | end | |
| 648 | end | |
| 649 | if (func == 5) then | |
| 650 | game:GetService("Chat"):Chat(p,"Burn baby! BURNN!!",Enum.ChatColor.Red)
| |
| 651 | local i = mouse.Target | |
| 652 | local oPos = Vector3.new(0,0,0) | |
| 653 | if (i == nil) then return end | |
| 654 | if (i.Anchored) then return end | |
| 655 | if (i == nil) then return end | |
| 656 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 657 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 658 | if (mag > 2048) then return end | |
| 659 | local r = Instance.new("Part")
| |
| 660 | r.BrickColor = BrickColor.Yellow() | |
| 661 | r.formFactor = "Custom" | |
| 662 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 663 | r.CFrame = cf | |
| 664 | r.Anchored = true | |
| 665 | r.CanCollide = false | |
| 666 | r.Parent = workspace | |
| 667 | wait(0.3) | |
| 668 | r:remove() | |
| 669 | local a = i.Parent:children() | |
| 670 | local b = 0 | |
| 671 | for b = 1, #a do | |
| 672 | if (a[b]:IsA("BasePart")) then
| |
| 673 | Instance.new("Fire",a[b]).Size = a[b].Size.magnitude * 3
| |
| 674 | wait(40 / #a) | |
| 675 | end | |
| 676 | end | |
| 677 | for b = 1, #a do | |
| 678 | if (a[b]:IsA("BasePart")) then
| |
| 679 | a[b].Color = Color3.new(0,0,0) | |
| 680 | wait(40 / #a) | |
| 681 | end | |
| 682 | end | |
| 683 | for b = 1, #a do | |
| 684 | if (a[b]:IsA("BasePart")) then
| |
| 685 | a[b]:remove() | |
| 686 | wait(40 / #a) | |
| 687 | end | |
| 688 | end | |
| 689 | end | |
| 690 | if (func == 6) then | |
| 691 | game:GetService("Chat"):Chat(p,"You've been good :)",Enum.ChatColor.Green)
| |
| 692 | local i = mouse.Target | |
| 693 | local oPos = Vector3.new(0,0,0) | |
| 694 | if (i == nil) then return end | |
| 695 | if (i.Anchored) then return end | |
| 696 | if (i == nil) then return end | |
| 697 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 698 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 699 | if (mag > 2048) then return end | |
| 700 | local ins = game:GetService("InsertService"):LoadAsset(21001552)
| |
| 701 | local Ins = nil | |
| 702 | local r = Instance.new("Part")
| |
| 703 | r.BrickColor = BrickColor.Yellow() | |
| 704 | r.formFactor = "Custom" | |
| 705 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 706 | r.CFrame = cf | |
| 707 | r.Anchored = true | |
| 708 | r.CanCollide = false | |
| 709 | r.Parent = workspace | |
| 710 | wait(0.3) | |
| 711 | r:remove() | |
| 712 | local park = ins:GetChildren() | |
| 713 | local bark = 0 | |
| 714 | for bark = 1, #park do | |
| 715 | if park[bark]:IsA("Tool") then
| |
| 716 | Ins = park[bark] | |
| 717 | end | |
| 718 | end | |
| 719 | local a = i.Parent:children() | |
| 720 | local b = 0 | |
| 721 | for b = 1, #a do | |
| 722 | if (a[b]:IsA("BasePart")) then
| |
| 723 | player=game.Players:findFirstChild(a[b].Parent.Name) | |
| 724 | if player~=nil then | |
| 725 | Ins.Parent = player.Backpack | |
| 726 | end | |
| 727 | end | |
| 728 | end | |
| 729 | end | |
| 730 | if (func == 7) then | |
| 731 | game:GetService("Chat"):Chat(p,"Enabling.",Enum.ChatColor.Green)
| |
| 732 | local i = mouse.Target | |
| 733 | local oPos = Vector3.new(0,0,0) | |
| 734 | if (i == nil) then return end | |
| 735 | if (i.Anchored) then return end | |
| 736 | if (i == nil) then return end | |
| 737 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 738 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 739 | if (mag > 2048) then return end | |
| 740 | local r = Instance.new("Part")
| |
| 741 | r.BrickColor = BrickColor.Yellow() | |
| 742 | r.formFactor = "Custom" | |
| 743 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 744 | r.CFrame = cf | |
| 745 | r.Anchored = true | |
| 746 | r.CanCollide = false | |
| 747 | r.Parent = workspace | |
| 748 | wait(0.3) | |
| 749 | r:remove() | |
| 750 | local a = i.Parent:children() | |
| 751 | local b = 0 | |
| 752 | while true do | |
| 753 | wait() | |
| 754 | pl.Chatted:connect(function(msge) | |
| 755 | for b = 1, #a do | |
| 756 | if (a[b]:IsA("BasePart")) then
| |
| 757 | player=game.Players:findFirstChild(a[b].Parent.Name) | |
| 758 | if player~=nil then | |
| 759 | game:GetService("Chat"):Chat(player.Character.Head,msge,Enum.ChatColor.Blue)
| |
| 760 | end | |
| 761 | end | |
| 762 | end | |
| 763 | end) | |
| 764 | end | |
| 765 | end | |
| 766 | end) | |
| 767 | --[[if (func == 8) then | |
| 768 | local i = mouse.Target | |
| 769 | local oPos = Vector3.new(0,0,0) | |
| 770 | if (i == nil) then return end | |
| 771 | if (i.Anchored) then return end | |
| 772 | if (i == nil) then return end | |
| 773 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 774 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 775 | if (mag > 2048) then return end | |
| 776 | local ins = game:GetService("InsertService"):LoadAsset(57888113)
| |
| 777 | local Ins = nil | |
| 778 | local r = Instance.new("Part")
| |
| 779 | r.BrickColor = BrickColor.Yellow() | |
| 780 | r.formFactor = "Custom" | |
| 781 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 782 | r.CFrame = cf | |
| 783 | r.Anchored = true | |
| 784 | r.CanCollide = false | |
| 785 | r.Parent = workspace | |
| 786 | wait(0.3) | |
| 787 | r:remove() | |
| 788 | local park = ins:GetChildren() | |
| 789 | local bark = 0 | |
| 790 | for bark = 1, #park do | |
| 791 | if park[bark]:IsA("Tool") then
| |
| 792 | Ins = park[bark] | |
| 793 | end | |
| 794 | end | |
| 795 | local a = i.Parent:children() | |
| 796 | local b = 0 | |
| 797 | for b = 1, #a do | |
| 798 | if (a[b]:IsA("BasePart")) then
| |
| 799 | player=game.Players:findFirstChild(a[b].Parent.Name) | |
| 800 | if player~=nil then | |
| 801 | Ins.Parent = player.Backpack | |
| 802 | end | |
| 803 | end | |
| 804 | end | |
| 805 | end]] | |
| 806 | --[[if (func == 9) then | |
| 807 | local Give = true | |
| 808 | local i = mouse.Target | |
| 809 | local oPos = Vector3.new(0,0,0) | |
| 810 | if (i == nil) then return end | |
| 811 | if (i.Anchored) then return end | |
| 812 | if (i == nil) then return end | |
| 813 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 814 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 815 | if (mag > 2048) then return end | |
| 816 | local r = Instance.new("Part")
| |
| 817 | r.BrickColor = BrickColor.Yellow() | |
| 818 | r.formFactor = "Custom" | |
| 819 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 820 | r.CFrame = cf | |
| 821 | r.Anchored = true | |
| 822 | r.CanCollide = false | |
| 823 | r.Parent = workspace | |
| 824 | wait(0.3) | |
| 825 | r:remove() | |
| 826 | local a = i.Parent:children() | |
| 827 | local b = 0 | |
| 828 | while true do | |
| 829 | wait() | |
| 830 | mouse.KeyDown:Connect(function(lock) | |
| 831 | if (lock == "q") then | |
| 832 | Give = true | |
| 833 | game:GetService("Chat"):Chat(p,"Switched to ForceField Ray: Give",Enum.ChatColor.Green)
| |
| 834 | elseif (lock == "e") then | |
| 835 | Give = false | |
| 836 | game:GetService("Chat"):Chat(p,"Switched to ForceField Ray: Take",Enum.ChatColor.Green)
| |
| 837 | end | |
| 838 | end) | |
| 839 | pl.Chatted:connect(function(msge) | |
| 840 | for b = 1, #a do | |
| 841 | if (a[b]:IsA("BasePart")) then
| |
| 842 | plaier=game.Players:findFirstChild(a[b].Parent.Name) | |
| 843 | if plaier~=nil then | |
| 844 | if Give then | |
| 845 | Instance.new("ForceField", plaier.Character)
| |
| 846 | else | |
| 847 | local bracket = 0 | |
| 848 | local cheer = plaier.Character:GetChildren() | |
| 849 | for bracket = 1, #cheer do | |
| 850 | if cheer[bracket]:IsA("ForceField") then
| |
| 851 | cheer[bracket]:Remove() | |
| 852 | end | |
| 853 | wait() | |
| 854 | end | |
| 855 | end | |
| 856 | end | |
| 857 | end | |
| 858 | end | |
| 859 | end) | |
| 860 | wait() | |
| 861 | end | |
| 862 | end]] | |
| 863 | --[[if (func == 10) then | |
| 864 | local i = mouse.Target | |
| 865 | local oPos = Vector3.new(0,0,0) | |
| 866 | if (i == nil) then return end | |
| 867 | if (i.Anchored) then return end | |
| 868 | if (i == nil) then return end | |
| 869 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 870 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 871 | if (mag > 2048) then return end | |
| 872 | local r = Instance.new("Part")
| |
| 873 | r.BrickColor = BrickColor.Yellow() | |
| 874 | r.formFactor = "Custom" | |
| 875 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 876 | r.CFrame = cf | |
| 877 | r.Anchored = true | |
| 878 | r.CanCollide = false | |
| 879 | r.Parent = workspace | |
| 880 | wait(0.3) | |
| 881 | r:remove() | |
| 882 | local a = i.Parent:children() | |
| 883 | local b = 0 | |
| 884 | local bet = false | |
| 885 | local Yes = 0 | |
| 886 | for b = 1, #a do | |
| 887 | for Yes = 1, #us do | |
| 888 | if (a[b]:IsA("BasePart")) then
| |
| 889 | player=game.Players:findFirstChild(a[b].Parent.Name) | |
| 890 | if player~=nil then | |
| 891 | if (string.lower(player.Name) ~= string.lower(us[Yes])) and (bet == false and Yes == #us) then | |
| 892 | local packy = player.Backpack:GetChildren() | |
| 893 | local idx = 0 | |
| 894 | for idx = 1, #packy do | |
| 895 | packy[idx]:Remove() | |
| 896 | end | |
| 897 | local char = player.Character:GetChildren() | |
| 898 | local idex = 0 | |
| 899 | for idx = 1, #char do | |
| 900 | if char[idex].className == "Tool" then | |
| 901 | char[idex]:Remove() | |
| 902 | end | |
| 903 | end | |
| 904 | elseif (string.lower(player.Name) == string.lower(us[Yes])) and bet == false then | |
| 905 | bet = true | |
| 906 | game:GetService("Chat"):Chat(p,"But, I don't want to Remove my Kings tools.",Enum.ChatColor.Red)
| |
| 907 | Say("But, I don't want to remove my King's tools.",name,m)
| |
| 908 | end | |
| 909 | end | |
| 910 | end | |
| 911 | end | |
| 912 | wait() | |
| 913 | end | |
| 914 | wait() | |
| 915 | end]] | |
| 916 | --[[if (func == 11) then | |
| 917 | local i = mouse.Target | |
| 918 | local oPos = Vector3.new(0,0,0) | |
| 919 | if (i == nil) then return end | |
| 920 | if (i.Anchored) then return end | |
| 921 | if (i == nil) then return end | |
| 922 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
| 923 | local mag = (p.Position - mouse.Hit.p).magnitude | |
| 924 | if (mag > 2048) then return end | |
| 925 | local r = Instance.new("Part")
| |
| 926 | r.BrickColor = BrickColor.Yellow() | |
| 927 | r.formFactor = "Custom" | |
| 928 | r.Size = Vector3.new(0.2,0.2,mag) | |
| 929 | r.CFrame = cf | |
| 930 | r.Anchored = true | |
| 931 | r.CanCollide = false | |
| 932 | r.Parent = workspace | |
| 933 | if (i:IsA("BasePart")) then
| |
| 934 | if (i.Locked ~= true) then | |
| 935 | i:Remove() | |
| 936 | else | |
| 937 | game:GetPlayers("Chat"):Chat(p,tostring(i.ClassName).." is Locked.",Enum.ChatColor.Red)
| |
| 938 | end | |
| 939 | end | |
| 940 | wait(0.3) | |
| 941 | r:remove() | |
| 942 | end]] | |
| 943 | mouse.Button1Up:connect(function() mouse_left = false end) | |
| 944 | ||
| 945 | while game:GetService("Workspace"):FindFirstChild("Anti-Player Flying Orb") == nil do
| |
| 946 | wait() | |
| 947 | p.CFrame = c.CoordinateFrame * CFrame.new(0,0,-10) | |
| 948 | m.Parent = game.Workspace | |
| 949 | p.Parent = m | |
| 950 | h.Parent = m | |
| 951 | fire.Parent = p | |
| 952 | end | |
| 953 | end | |
| 954 | script.Parent.Selected:connect(onS) | |
| 955 | end |