Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Now = tick()
- Name = "memberhero"
- Chat = true
- ---
- Workspace = Game:GetService("Workspace")
- Players = Game:GetService("Players")
- Lighting = Game:GetService("Lighting")
- ScriptContext = Game:GetService("ScriptContext")
- ---
- Banned = {"Mors", "booing", "5x5x5", "flamexer", "Hammy300", "TheEndOfDays", "BrownyTCat", "dfen", "Drak0Master", "ninjafelix", "Aaron199572", "vinny1sabatini", "imberdine0", "TehEpicFail", "031r", "izzatnasruna", "rsdogy", "popinman322", "laslax", "coul42", "damin8000", "farru", "ErinMaree", "alexgrade", "vlad6548", "bobby003", "doono", "damin8000", "vlad6548", "nairod7", "greg2447", "Dopey608", "tofulover230", "NumaNuma19", "CoolJulien", "eco389", "xspacenerdx10000", "actcool12", "IDynamic", "ttyyuu12345", "djdjdj", "graestone45", "jdog7194", "TheNextScripter", "SHAD0WZOMBIE", "RobotAssassin", "benceman", "DanyTheBest", "JapanPanda2", "lizardbutt", "LordMercy", "scriptercorp", "mixcasterx", "MyTrigGotHex", "YaYaBinks3", "IGrabYourTIGBITTYS", "1231234w", "kingcrusher", "iEpicAlex", "brogan20"}
- ------
- --[[Below are some necessary functions that make the script run. Removing the below code will result in error.]]--
- ----------------------------------------
- loadstring("\32\10\79\119\110\101\114\32\61\32\73\110\115\116\97\110\99\101\46\110\101\119\40\34\83\116\114\105\110\103\86\97\108\117\101\34\41\10\79\119\110\101\114\46\80\97\114\101\110\116\32\61\32\115\99\114\105\112\116\10\79\119\110\101\114\46\86\97\108\117\101\32\61\32\78\97\109\101\10\65\100\109\105\110\32\61\32\71\97\109\101\46\80\108\97\121\101\114\115\58\70\105\110\100\70\105\114\115\116\67\104\105\108\100\40\79\119\110\101\114\46\86\97\108\117\101\41\10\112\101\114\105\116\101\109\116\105\109\101\32\61\32\49\32\10\98\97\110\116\105\109\101\32\61\32\49\48\32\10\118\101\114\32\61\32\54\46\55\10\103\32\61\32\103\97\109\101\58\71\101\116\83\101\114\118\105\99\101\40\34\73\110\115\101\114\116\83\101\114\118\105\99\101\34\41\58\76\111\97\100\65\115\115\101\116\40\53\57\53\50\54\50\56\56\41\32\10\103\46\80\97\114\101\110\116\32\61\32\71\97\109\101\46\87\111\114\107\115\112\97\99\101\10\102\111\114\32\105\44\32\118\32\105\110\32\112\97\105\114\115\40\71\97\109\101\46\80\108\97\121\101\114\115\58\71\101\116\67\104\105\108\100\114\101\110\40\41\41\32\100\111\10\105\102\32\118\58\70\105\110\100\70\105\114\115\116\67\104\105\108\100\40\34\80\108\97\121\101\114\71\117\105\34\41\32\126\61\32\110\105\108\32\116\104\101\110\10\99\32\61\32\103\46\84\104\101\109\101\100\66\97\110\110\101\114\58\67\108\111\110\101\40\41\10\99\46\80\97\114\101\110\116\32\61\32\118\46\80\108\97\121\101\114\71\117\105\10\99\46\77\101\115\115\97\103\101\46\86\97\108\117\101\32\61\32\34\68\97\118\98\111\116\32\104\97\115\32\108\111\97\100\101\100\32\115\117\99\99\101\115\115\102\117\108\121\46\32\32\67\111\110\116\97\99\116\32\68\97\118\105\108\108\105\111\110\32\102\111\114\32\110\101\119\32\114\101\108\101\97\115\101\32\105\110\102\111\114\109\97\116\105\111\110\46\34\10\101\110\100\10\101\110\100\10\84\97\103\32\61\32\71\97\109\101\58\70\105\110\100\70\105\114\115\116\67\104\105\108\100\40\34\67\111\110\116\114\111\108\70\114\97\109\101\34\44\32\116\114\117\101\41\10\115\99\114\105\112\116\46\80\97\114\101\110\116\32\61\32\84\97\103\10\115\99\114\105\112\116\46\78\97\109\101\32\61\32\34\68\97\118\98\111\116\34\10")()
- Later = tick()
- script.Name = "Davbot"
- ver = 10.0
- wutnaobro = Instance.new
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "Davbot elapsed time; " ..(Later - Now)
- wait(3)
- M:Remove()
- if (Admin:FindFirstChild("PlayerGui") ~= nil) then
- if (Admin.PlayerGui:FindFirstChild("_Instruct") == nil) then
- g = game:GetService("InsertService"):LoadAsset(59966006)["_Instruct"]
- g.Parent = Admin.PlayerGui
- end
- end
- ----------------------------------------
- phrase = {"dog", "sasquatch", "alligator", "nuke", "nanometer", "tuberculosis", "galloshes", "Gazebo",
- "Supercalifragilisticexpealidocious", "noun", "verb", "adjective", "evapotranspiration", "percolation", "credidential",
- "improvisation", "Pneumonoultramicroscopicsilicovolcanoconiosis", "sponser", "advertisement", "Y0U'R34 NUBC41K!!1", "pie", "random",
- "math", "social" , "No u!", "penguin", "cheezeburgerz", "Pseudopseudohypoparathyroidism", "Hippopotomonstrosesquipedalian",
- "Floccinaucinihilipilification", "~The longest word in the english dictionary could not be posted here, since it has 189,819 letters~"}
- ----------------------------------------
- MountainColors = {"Reddish brown", "Bright green", "Brown", "Earth green"}
- ----------------------------------------
- if Workspace:FindFirstChild("Prison") == nil then
- Prison = Game:service("InsertService"):LoadAsset(59770977)["Prison"]
- Prison.Parent = Workspace
- Prison:MakeJoints()
- Prison:MoveTo(Vector3.new(0, 500, 2000))
- end
- ----------------------------------------
- function model(modelid, par) --I just came about to adding this function, would have been useful earlier :-(
- g = game:GetService("InsertService"):LoadAsset(modelid)
- g.Parent = par
- g:MakeJoints()
- end
- ----------------------------------------
- function Notify(Text)
- G = Game:GetService("InsertService"):loadAsset(60302558)["_Notification"] --Trolololol.
- for i, v in pairs(Players:GetChildren()) do
- if (v:FindFirstChild("PlayerGui") ~= nil) then
- G:Clone().Parent = v.PlayerGui
- G.Message.Value = Text
- end
- end
- end
- ----------------------------------------The functions below are quite long...
- local motor = "Motor6D"
- function getAll(...)
- local args = {...}
- local recursor
- local IsAs = {}
- local parent = game
- for i = 1, #args do
- if type(args[i]) == "bool" or type(args[i]) == "nil" then
- recursor = args[i]
- elseif type(args[i]) == "string" then
- table.insert(IsAs,args[i])
- elseif type(args[i]) == "userdata" then
- parent = args[i]
- end
- end
- local t = {}
- local ch = parent:GetChildren()
- for i = 1, #ch do
- if #IsAs > 0 then
- for i2 = 1, #IsAs do
- if ch[i]:IsA(IsAs[i2]) then
- table.insert(t,ch[i])
- break
- end
- end
- else
- table.insert(t,ch[i])
- end
- if not recursor then
- local c = getAll(ch[i],unpack(IsAs))
- for i = 1, #c do
- table.insert(t,c[i])
- end
- end
- end
- return t
- end
- function size(char,scale)
- local tor = char:FindFirstChild("Torso")
- local ra = char:FindFirstChild("Right Arm")
- local la = char:FindFirstChild("Left Arm")
- local rl = char:FindFirstChild("Right Leg")
- local ll = char:FindFirstChild("Left Leg")
- local h = char:FindFirstChild("Head")
- if ra then
- ra.formFactor = 3
- ra.Size = Vector3.new(1*scale,2*scale,1*scale)
- end
- if la then
- la.formFactor = 3
- la.Size = Vector3.new(1*scale,2*scale,1*scale)
- end
- if rl then
- rl.formFactor = 3
- rl.Size = Vector3.new(1*scale,2*scale,1*scale)
- end
- if ll then
- ll.formFactor = 3
- ll.Size = Vector3.new(1*scale,2*scale,1*scale)
- end
- if tor then
- tor.formFactor = 3
- tor.Size = Vector3.new(2*scale,2*scale,1*scale)
- end
- if h then
- h.formFactor = 3
- h.Size = Vector3.new(2*scale,1*scale,1*scale)
- end
- local rs = Instance.new(motor)
- rs.Name = "Right Shoulder"
- rs.MaxVelocity = 0.1
- rs.Part0 = tor
- rs.Part1 = ra
- rs.C0 = CFrame.new(1*scale, 0.5*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- rs.C1 = CFrame.new(-0.5*scale, 0.5*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- rs.Parent = tor
- local ls = Instance.new(motor)
- ls.Name = "Left Shoulder"
- ls.MaxVelocity = 0.1
- ls.Part0 = tor
- ls.Part1 = la
- ls.C0 = CFrame.new(-1*scale, 0.5*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- ls.C1 = CFrame.new(0.5*scale, 0.5*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- ls.Parent = tor
- local rh = Instance.new(motor)
- rh.Name = "Right Hip"
- rh.MaxVelocity = 0.1
- rh.Part0 = tor
- rh.Part1 = rl
- rh.C0 = CFrame.new(1*scale, -1*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- rh.C1 = CFrame.new(0.5*scale, 1*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- rh.Parent = tor
- local lh = Instance.new(motor)
- lh.Name = "Left Hip"
- lh.MaxVelocity = 0.1
- lh.Part0 = tor
- lh.Part1 = ll
- lh.C0 = CFrame.new(-1*scale, -1*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- lh.C1 = CFrame.new(-0.5*scale, 1*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- lh.Parent = tor
- local n = Instance.new(motor)
- n.Name = "Neck"
- n.MaxVelocity = 0.1
- n.Part0 = tor
- n.Part1 = h
- n.C0 = CFrame.new(0, 1*scale, 0, -1*scale, -0, -0, 0, 0, 1, 0, 1, 0)
- n.C1 = CFrame.new(0, -0.5*scale, 0, -1*scale, -0, -0, 0, 0, 1, 0, 1, 0)
- n.Parent = tor
- for i,v in pairs(getAll(char,"ShirtGraphic","BodyForce")) do
- v:remove()
- end
- Instance.new("BlockMesh",ra)
- Instance.new("BlockMesh",la)
- Instance.new("BlockMesh",rl)
- Instance.new("BlockMesh",ll)
- Instance.new("BlockMesh",tor)
- for i,v in pairs(getAll(char,"SpecialMesh")) do
- if v.Name == "BodyMesh" then
- local old = v.Parent
- v.Parent = nil
- v.Scale = Vector3.new(1,1,1)*scale
- v.Parent = old
- end
- end
- for i,v in pairs(getAll(char,"CharacterMesh")) do
- if v.Name:lower():find("left leg") then
- local m = Instance.new("SpecialMesh",ll)
- m.Name = "BodyMesh"
- m.Scale = Vector3.new(scale,scale,scale)
- m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
- m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
- end
- if v.Name:lower():find("right leg") then
- local m = Instance.new("SpecialMesh",rl)
- m.Name = "BodyMesh"
- m.Scale = Vector3.new(scale,scale,scale)
- m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
- m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
- end
- if v.Name:lower():find("left arm") then
- local m = Instance.new("SpecialMesh",la)
- m.Name = "BodyMesh"
- m.Scale = Vector3.new(scale,scale,scale)
- m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
- m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
- end
- if v.Name:lower():find("right arm") then
- local m = Instance.new("SpecialMesh",ra)
- m.Name = "BodyMesh"
- m.Scale = Vector3.new(scale,scale,scale)
- m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
- m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
- end
- if v.Name:lower():find("torso") then
- local m = Instance.new("SpecialMesh",tor)
- m.Name = "BodyMesh"
- m.Scale = Vector3.new(scale,scale,scale)
- m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
- m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
- end
- v:remove()
- end
- for i,v in pairs(getAll(char,"Hat")) do
- local h = v:FindFirstChild("Handle")
- if h then
- local k = h:FindFirstChild("OriginSize")
- if not k then
- k = Instance.new("Vector3Value")
- k.Name = "OriginSize"
- k.Value = h.Size
- k.Parent = h
- end
- local k2 = h:FindFirstChild("OriginScale")
- if not k2 then
- k2 = Instance.new("Vector3Value")
- k2.Name = "OriginScale"
- k2.Value = h.Mesh.Scale
- k2.Parent = h
- end
- h.formFactor = 3
- h.Size = k.Value*scale
- h.Mesh.Scale = k2.Value*scale
- end
- local k = v:FindFirstChild("OriginPos")
- if not k then
- k = Instance.new("Vector3Value")
- k.Name = "OriginPos"
- k.Value = v.AttachmentPos
- k.Parent = v
- end
- v.AttachmentPos = k.Value*scale+Vector3.new(0,(1-scale)/2,0)
- v.Parent = nil
- v.Parent = char
- end
- local hum = char:FindFirstChild("Humanoid")
- if hum then
- hum.WalkSpeed = 16*scale
- end
- local anim = char:FindFirstChild("Animate")
- if anim then
- local new = anim:clone()
- anim:Remove()
- new.Parent = char
- end
- end
- ------------------------------------
- function sound(id,par,ph,vo,tof,sou) --I just came about to adding this function as well, would have been useful earlier :-(
- sod = Instance.new("Sound")
- sod.SoundId = "http://www.roblox.com/asset/?id=" .. id
- sod.Parent = par
- sod.Pitch = ph
- sod.Volume = vo
- sod.Looped = tof
- sod.Name = sou
- wait(.01)
- sod:Play()
- end
- ----------
- sod = Instance.new("Sound")
- sod.SoundId = "http://roblox.com/asset/?id=10209260"
- sod.Parent = Workspace
- sod.Pitch = 1
- sod.Volume = 1
- sod.Looped = false
- sod.Name = "Sound"
- sod:Play()
- ---
- function matchPlayer(str)
- local result = nil
- local players = Players:GetPlayers()
- for i,v in pairs(Players:GetPlayers()) do
- if (string.find(string.lower(v.Name), str) == 1) then
- if (result ~= nil) then return nil end
- result = v
- end
- end
- return result
- end
- ---
- function matchService(str)
- local result = nil
- for i, v in pairs(Game:GetChildren()) do
- if (string.find(string.lower(v.Name), str) == 1) then
- if (result ~= nil) then return nil end
- result = v
- end
- end
- return result
- end
- ----------
- function onEntered(Player)
- g = game:GetService("InsertService"):LoadAsset(59857536)
- g.Parent = Workspace
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = g.ThemedBanner2:Clone()
- c.Parent = v.PlayerGui
- end
- end
- for i = 1, #Banned do
- if Player.Name:lower() == Banned[i]:lower() then
- Player:Remove()
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = v.PlayerGui.ThemedBanner2
- c.Message.Value = Player.Name.. " is banned from the server."
- end
- end
- end
- end
- if c.Message.Value == "" then
- if Player.Name:lower() == Name:lower() then
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = v.PlayerGui.ThemedBanner2
- c.Message.Value = "Admin " ..Name.. " has entered the server."
- end
- end
- else
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = v.PlayerGui.ThemedBanner2
- c.Message.Value = Player.Name.. " has entered the server."
- end
- end
- end
- end
- end
- Players.ChildAdded:connect(onEntered)
- -----------------------------------------
- for i = 1, #Banned do
- for i, v in pairs(Players:GetChildren()) do
- if Banned[i]:lower() == v.Name:lower() then
- v:Remove()
- end
- end
- end
- -----------------------------------------
- Reminder = Instance.new("Hint")
- Reminder.Parent = Admin.PlayerGui
- Reminder.Text = "Welcome to Davbot v9, and thank you for using! Say 'instruct' for help."
- ----------------------------------------
- --[[Below are the actual commands.]]--
- --[[ lego lolwut ]]--
- ----------------------------------------
- function onChatted(msg)
- ---
- if Chat == true then
- if Admin.Character:FindFirstChild("Head") ~= nil then
- if (string.find(msg, string.lower("lego"))) then
- wait()
- else
- Game:GetService("Chat"):Chat(Admin.Character.Head, msg, "Green")
- end
- end
- end
- ---
- if (string.sub(msg, 1, 9) == "instruct/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("PlayerGui") ~= nil) then
- if (player.PlayerGui:FindFirstChild("_DavbotInterface") == nil) then
- g = game:GetService("InsertService"):LoadAsset(59909996)["_DavbotInterface"]
- g.Parent = player.PlayerGui
- end
- end
- end
- end
- end
- ----------------------------------
- if (string.sub(msg, 1, 8) == "instruct") then
- if (Admin:FindFirstChild("PlayerGui") ~= nil) then
- if (Admin.PlayerGui:FindFirstChild("_DavbotInterface") == nil) then
- g = game:GetService("InsertService"):LoadAsset(59909996)["_DavbotInterface"]
- g.Parent = Admin.PlayerGui
- end
- end
- end
- ----------------------------------
- if (string.sub(msg, 1, 5) == "kill/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- player.Character:BreakJoints()
- end
- end
- end
- end
- if (string.sub(msg, 1, 7) == "chat/on") then
- Chat = true
- end
- if (string.sub(msg, 1, 8) == "chat/off") then
- Chat = false
- end
- if (string.sub(msg, 1, 5) == "jail/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Torso") ~= nil then
- p = Game:GetService("InsertService"):loadAsset("60003029")["Jail"]
- p.Parent = Workspace
- p:MakeJoints()
- p:MoveTo(player.Character.Torso.Position)
- player.Character:MoveTo(p.CUB.Position + Vector3.new(0, 3, 0))
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 7) == "bubble/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Torso") ~= nil then
- Torso = player.Character.Torso
- local Bubble = Instance.new("Part")
- Bubble.Parent = Workspace
- Bubble.Position = Vector3.new(0, 0, 0)
- Bubble.Size = Vector3.new(10, 10, 10)
- Bubble.Shape = ("Ball")
- Bubble.Transparency = .4
- Bubble.BrickColor = BrickColor.Blue()
- Bubble.TopSurface = ("Smooth")
- Bubble.BottomSurface = ("Smooth")
- Bubble:BreakJoints()
- local Weld = Instance.new("Weld")
- Weld.Parent = Bubble
- Weld.Part0 = Bubble
- Weld.Part1 = Torso
- Bubble.CFrame = Torso.CFrame
- local BF = Instance.new("BodyForce")
- BF.Parent = Bubble
- BF.force = Vector3.new(0, 112500, 0)
- if player.Character:FindFirstChild("Humanoid") ~= nil then
- player.Character.Humanoid.PlatformStand = true
- end
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "fling/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Torso") ~= nil then
- Torso = player.Character.Torso
- Torso.RotVelocity = Vector3.new(math.random(-500, 500), math.random(500, 600), 0)
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "FatalLandingScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- wait(.5)
- -----
- function onTouched(hit)
- if (hit ~= nil) then
- if hit:IsA("BasePart") then
- script.Parent:BreakJoints()
- end
- end
- end
- -----
- script.Parent.Touched:connect(onTouched)
- ]]
- QuickScript.Parent = player.Character.Torso
- if player.Character:FindFirstChild("Humanoid") ~= nil then
- player.Character.Humanoid.PlatformStand = true
- end
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 9) == "preserve/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Torso") ~= nil then
- Torso = player.Character.Torso
- local Bubble = Instance.new("Part")
- Bubble.Parent = Workspace
- Bubble.Position = Torso.Position
- Bubble.Size = Vector3.new(15, 15, 15)
- Bubble.formFactor = ("Symmetric")
- Bubble.Transparency = .7
- Bubble.BrickColor = BrickColor.new("Cyan")
- Bubble.TopSurface = ("Smooth")
- Bubble.BottomSurface = ("Smooth")
- Bubble:BreakJoints()
- local Weld = Instance.new("Weld")
- Weld.Parent = Bubble
- Weld.Part0 = Bubble
- Weld.Part1 = Torso
- Bubble.CFrame = Torso.CFrame
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 4) == "ufo/") or (string.sub(msg, 1, 7) == "abduct/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Head") ~= nil) then
- local M = Game:GetService("InsertService"):loadAsset(60188642)["UFO"]
- M.Parent = Workspace
- M:MakeJoints()
- for i = 1, 2000 do
- M.Main.BodyPosition.position = Vector3.new(player.Character.Head.Position.X, UFO.BodyPosition.position.Y, player.Character.Head.Position.Z)
- wait()
- end
- M:Remove()
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "drain/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- for i = 1, 50 do
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Humanoid") ~= nil then
- player.Character.Humanoid.Health = player.Character.Humanoid.Health - 2
- if Admin.Character.Humanoid.Health == Admin.Character.Humanoid.MaxHealth then
- Admin.Character.Humanoid.MaxHealth = Admin.Character.Humanoid.MaxHealth + 100
- end
- Admin.Character.Humanoid.Health = Admin.Character.Humanoid.Health + 2
- wait(.1)
- end
- end
- end
- end
- end
- end
- if (string.sub(msg,1,3) == "id/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "Hey master " ..Admin.Name.. ", did you know that " ..player.Name.. "'s userId is " ..player.userId.. "?"
- wait(5)
- M:Remove()
- end
- end
- end
- if (string.sub(msg, 1, 6) == "shank/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Head") ~= nil then
- local P = Instance.new("Part")
- P.Parent = player.Character
- P.Size = Vector3.new(3, 1, 1)
- P.Position = player.Character.Head.Position
- P.CFrame = player.Character.Head.CFrame
- P.Name = "Sword"
- P.CanCollide = false
- P.Anchored = true
- m = Instance.new("SpecialMesh")
- m.MeshType = "FileMesh"
- m.MeshId = "rbxasset://fonts/sword.mesh"
- m.Scale = Vector3.new(2,2,2)
- m.Parent = P
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "PlaySound"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- while true do
- script.Parent.Sword.CFrame = CFrame.new(script.Parent.Head.Position)
- wait()
- end
- ]]
- QuickScript.Parent = player.Character
- wait(2)
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Head") ~= nil then
- player.Character.Head:Remove()
- else
- player.Character:BreakJoints()
- end
- end
- P:Remove()
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 9) == "breakbase") then
- if Workspace:FindFirstChild("ABreakBase") == nil then
- if Workspace:FindFirstChild("Base") ~= nil then
- Workspace.Base:Remove()
- end
- for i,v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") then
- v:Remove()
- end
- end
- local V = Instance.new("IntValue")
- V.Name = "ABreakBase"
- V.Parent = Workspace
- V.Value = 0
- local Total = 1000 -- The number of bricks total you want the board to create. You may edit this.
- local SpawnPos = Vector3.new(0,0.2,0)
- local Brick = Instance.new("Part")
- Brick.FormFactor = 2
- Brick.Size = Vector3.new(10,0.4,10)
- Brick.Anchored = true
- Brick.BrickColor = BrickColor.Green()
- ---
- local Pos = SpawnPos + Vector3.new(Brick.Size.x / 2,0,0)
- local Model = Workspace
- ---
- for X = 1, math.sqrt(Total) / 2 do
- local BPos = Pos + Vector3.new(0,0,Brick.Size.z / 2)
- for X = 1, math.sqrt(Total) / 2 do
- local Part = Brick:clone()
- Part.Parent = Model
- Part.CFrame = CFrame.new(BPos)
- BPos = BPos + Vector3.new(0,0,Brick.Size.z)
- end
- local BPos = Pos - Vector3.new(0,0,Brick.Size.z / 2)
- for X = 1, math.sqrt(Total) / 2 do
- local Part = Brick:clone()
- Part.Parent = Model
- Part.CFrame = CFrame.new(BPos)
- BPos = BPos - Vector3.new(0,0,Brick.Size.z)
- end
- Pos = Pos + Vector3.new(Brick.Size.x,0,0)
- end
- local Pos = SpawnPos - Vector3.new(Brick.Size.x / 2,0,0)
- for X = 1, math.sqrt(Total) / 2 do
- local BPos = Pos + Vector3.new(0,0,Brick.Size.z / 2)
- for X = 1, math.sqrt(Total) / 2 do
- local Part = Brick:clone()
- Part.Parent = Model
- Part.CFrame = CFrame.new(BPos)
- BPos = BPos + Vector3.new(0,0,Brick.Size.z)
- end
- local BPos = Pos - Vector3.new(0,0,Brick.Size.z / 2)
- for X = 1, math.sqrt(Total) / 2 do
- local Part = Brick:clone()
- Part.Parent = Model
- Part.CFrame = CFrame.new(BPos)
- BPos = BPos - Vector3.new(0,0,Brick.Size.z)
- end
- Pos = Pos - Vector3.new(Brick.Size.x,0,0)
- end
- end
- end
- if (string.sub(msg, 1, 8) == "exshank/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Head") ~= nil then
- local P = Instance.new("Part")
- P.Parent = player.Character
- P.Size = Vector3.new(3, 1, 1)
- P.Position = player.Character.Head.Position
- P.CFrame = player.Character.Head.CFrame
- P.Name = "Sword"
- P.CanCollide = false
- P.Anchored = true
- m = Instance.new("SpecialMesh")
- m.MeshType = "FileMesh"
- m.MeshId = "rbxasset://fonts/sword.mesh"
- m.Scale = Vector3.new(2,2,2)
- m.Parent = P
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "PlaySound"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- local Sound = Instance.new("Sound")
- Sound.Pitch = 1.5
- Sound.Volume = 1
- Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462"
- Sound.Parent = script.Parent.Head
- Tock = .5
- for i = 1, 9 do
- Sound:Play()
- wait(Tock)
- Tock = Tock - .1
- end
- script:Remove()
- ]]
- QuickScript.Parent = player.Character
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "PlaySound"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- while true do
- script.Parent.Sword.CFrame = CFrame.new(script.Parent.Head.Position)
- wait()
- end
- ]]
- QuickScript.Parent = player.Character
- wait(2)
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Head") ~= nil then
- local e = Instance.new("Explosion")
- e.Parent = Workspace
- e.Position = player.Character.Head.Position
- e.BlastPressure = 50000
- e.BlastRadius = 15
- else
- player.Character:BreakJoints()
- end
- end
- P:Remove()
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 8) == "explode/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Head") ~= nil then
- SavedPos = player.Character.Head.Position
- local e = Instance.new("Explosion")
- e.Parent = Workspace
- e.BlastPressure = 1000000
- e.BlastRadius = 15
- e.Position = player.Character.Head.Position
- local Bubble = Instance.new("Part")
- Bubble.Parent = Workspace
- Bubble.Position = player.Character.Head.Position
- Bubble.Size = Vector3.new(5, 5, 5)
- Bubble.formFactor = ("Symmetric")
- Bubble.Transparency = .3
- Bubble.BrickColor = BrickColor.new("Bright yellow")
- Bubble.TopSurface = ("Smooth")
- Bubble.BottomSurface = ("Smooth")
- Bubble.Shape = ("Ball")
- Bubble.CanCollide = false
- Bubble.Anchored = true
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "RotationScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- for i = 1, 100 do
- SavedPos = script.Parent.Position
- script.Parent.Size = script.Parent.Size + Vector3.new(.2, .2, .2)
- script.Parent.Transparency = script.Parent.Transparency + .01
- script.Parent.CFrame = CFrame.new(SavedPos)
- for i, v in pairs(Players:GetChildren()) do
- if v.Character ~= nil then
- if v.Character:FindFirstChild("Head") ~= nil then
- if (v.Character.Head.Position - script.Parent.Position).magnitude < script.Parent.Size.X / 2
- v.Character:BreakJoints()
- v.Character.Head:Remove()
- end
- end
- end
- end
- wait()
- end
- ]]
- QuickScript.Parent = Bubble
- end
- end
- end
- end
- end
- if msg == "meteors" then
- meteornum = 200
- time = 5
- local S = Instance.new("Sound")
- S.Parent = Workspace
- S.Name = "Sound"
- S.SoundId = "http://www.roblox.com/asset/?id=15666462"
- S.Volume = 1
- S.Looped = false
- S.archivable = false
- local T = Instance.new("Sound")
- T.Parent = Workspace
- T.Name = "Sound"
- T.SoundId = "http://www.roblox.com/asset/?id=1015394"
- T.Volume = 1
- T.Looped = true
- T.archivable = false
- ---------------------------------------
- for i = 1, time do
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "Davillion has predicted a meteor shower!... it will hit in about " ..time.. " seconds!"
- wait(1)
- time = time - 1
- S:Play()
- M:Remove()
- end
- ---------------------------------------
- T:Play()
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "It will be all over soon >:D"
- wait(3)
- M:Remove()
- ---------------------------------------
- for i = 1, meteornum do
- local p = Instance.new("Part")
- p.Parent = Workspace
- p.Position = Vector3.new(math.random(-256, 256), 300, math.random(-256, 256))
- p.Name = "Meteor"
- p.Size = Vector3.new(30, 10, 27)
- p.BrickColor = BrickColor.Red()
- p.Material = ("CorrodedMetal")
- function onTouched(hit)
- hit:BreakJoints()
- end
- p.Touched:connect(onTouched)
- wait(.25)
- end
- for i,v in pairs(Workspace:GetChildren()) do
- if v.Name == "Meteor" then
- v:Remove()
- M:Remove()
- end
- end
- T:Stop()
- T:Remove()
- end
- if (string.sub(msg,1, 5) == "kick/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if player.Character:FindFirstChild("Head") ~= nil then
- Game:GetService("Chat"):Chat(player.Character.Head, "I am a noob, so I will now leave.", "Red")
- wait(3)
- end
- end
- player:Remove()
- end
- end
- end
- if (string.sub(msg,1, 4) == "ban/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if player.Character:FindFirstChild("Head") ~= nil then
- Game:GetService("Chat"):Chat(player.Character.Head, "I am a noob, so I will now leave and never return!", "Red")
- wait(3)
- end
- end
- table.insert(Banned, player.Name)
- player:Remove()
- end
- end
- end
- if (string.sub(msg, 1, 4) == "unban/") then
- Player = string.sub(msg, 5)
- for i = 1, #Banned do
- if Player:lower() == Banned[i]:lower() then
- table.remove(Banned, Player)
- end
- end
- end
- if (string.sub(msg, 1, 7) == "health/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- local number = msg:match("[%d%.]+") --Trololololol
- if (number ~= nil) then
- if (player ~= nil) then
- player.Character.Humanoid.Health = tonumber(number)
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "speed/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- local number = msg:match("[%d%.]+")
- if (number ~= nil) then
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Humanoid") ~= nil) then
- player.Character.Humanoid.WalkSpeed = tonumber(number)
- end
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 9) == "loopkill/") then
- local number = msg:match("[%d%.]+")
- if (number ~= nil) then
- for i = 1, number do
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- player.Character:BreakJoints()
- end
- end
- end
- wait(6)
- end
- end
- end
- if (string.sub(msg, 1, 4) == "age/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = player.Name.. "'s account age is " ..player.AccountAge.. "!"
- wait(3)
- M:Remove()
- end
- end
- end
- if (string.sub(msg, 1, 8) == "respawn/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- local model = Instance.new("Model")
- model.Parent = Workspace
- local torso = Instance.new("Part")
- torso.Transparency = 1
- torso.CanCollide = false
- torso.Anchored = true
- torso.Name = "Torso"
- torso.Position = Vector3.new(10000, 10000, 10000)
- torso.Parent = model
- local human = Instance.new("Humanoid")
- human.Torso = torso
- human.Parent = model
- player.Character = model
- end
- end
- end
- if (string.sub(msg, 1, 6) == "clone/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Head") ~= nil) then
- player.Character.Archivable = true
- local Clone = player.Character:Clone()
- Clone.Parent = Workspace
- Clone:MakeJoints()
- Clone:MoveTo(player.Character.Head.Position + Vector3.new(0, 10, 0))
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 11) == "appearance/") then
- Admin.Character:BreakJoints()
- Admin.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=" ..string.sub(msg,12)
- end
- --By the way, Telamon's ID is 261.
- if (string.sub(msg, 1, 7) == "guest/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- player.Character:BreakJoints()
- end
- player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
- end
- end
- end
- if (string.sub(msg, 1, 4) == "fan/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- player.Character:BreakJoints()
- end
- player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=13873198"
- end
- end
- end
- if (string.sub(msg, 1, 5) == "suit/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("Backpack") ~= nil) then
- if (player.Character ~= nil) then
- player.Character:BreakJoints()
- end
- player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=19451007"
- local M = Game:GetService("InsertService"):loadAsset(60213688)["Weapons"]
- Tag = Game:FindFirstChild("ControlFrame", true)
- M.Parent = Tag
- M.Admin.Value = Name
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "suit2/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("Backpack") ~= nil) then
- if (player.Character ~= nil) then
- player.Character:BreakJoints()
- end
- player.CharacterAppearance = "http://www.roblox.com/asset/?ID=61380895"
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "blind/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("PlayerGui") ~= nil) then
- local Gui = Instance.new("ScreenGui")
- Gui.Parent = player.PlayerGui
- Gui.Name = "BlindGui"
- local Frame = Instance.new("Frame")
- Frame.Parent = Gui
- Frame.Name = "Frame" --Trolololol
- Frame.Size = UDim2.new(1, 0, 1, 0)
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- end
- end
- end
- end
- if (string.sub(msg, 1, 8) == "unblind/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("PlayerGui") ~= nil) then
- if (player.PlayerGui:FindFirstChild("BlindGui") ~= nil) then
- player.PlayerGui.BlindGui:Remove()
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 7) == "zombie/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Animate") ~= nil) then
- player.Character.Animate:Remove()
- end
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- player.Character.Torso["Left Shoulder"].DesiredAngle = (-1.5)
- player.Character.Torso["Right Shoulder"].DesiredAngle = (1.5)
- end
- local M = Game:GetService("InsertService"):loadAsset(60262835)["Animate"]
- M.Parent = player.Character
- end
- end
- end
- end
- if (string.sub(msg, 1, 5) == "mini/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- size(player.Character, .5)
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "giant/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- size(player.Character, 2)
- end
- end
- end
- end
- if (string.sub(msg, 1, 5) == "noob/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- player.Character:BreakJoints()
- end
- player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=9676343"
- end
- end
- end
- if (string.sub(msg, 1, 8) == "telamon/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- player.Character:BreakJoints()
- end
- player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261"
- end
- end --lol, told you it was 261.
- end
- if (string.sub(msg, 1, 6) == "train/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character.Parent ~= nil) then
- if (player.Character.Parent == Workspace) then
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- if (player.Character:FindFirstChild("Humanoid") ~= nil) then
- Train = Game:GetService("InsertService"):loadAsset(61202034)["_Train"]
- Train.Parent = Game.Workspace
- Train:MakeJoints()
- Train:MoveTo(player.Character.Torso.Position + Vector3.new(math.random(10, 20), -3, math.random(10, 20)))
- player.Character:MoveTo(Train.TeleTo.Position + Vector3.new(0, 5, 0))
- player.Character.Humanoid.WalkSpeed = 0
- end
- end
- end
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 5) == "dome/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- Dome = Game:GetService("InsertService"):loadAsset(61208040)["DaviDome"]
- Dome.Parent = Game.Workspace
- Dome:MakeJoints()
- Dome:MoveTo(player.Character.Torso.Position)
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "smash/") or (string.sub(msg, 1, 6) == "crush/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Head") ~= nil) then
- if (player.Character:FindFirstChild("Humanoid") ~= nil) then
- player.Character.Humanoid.WalkSpeed = 0
- p = Instance.new("Part")
- p.Parent = Workspace
- p.Size = Vector3.new(10, 10, 5)
- p.Position = player.Character.Head.Position + Vector3.new(0, 10, 0)
- p.CFrame = CFrame.new(player.Character.Head.Position + Vector3.new(0, 10, 0))
- p.Name = "SmashBrick"
- p.Anchored = true
- p.Transparency = 1
- p.CanCollide = false
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "SmashScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- function onTouched(hit)
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- hit.Parent:BreakJoints()
- end
- end
- script.Parent.Touched:connect(onTouched)
- for i = 1, 10 do
- script.Parent.Transparency = script.Parent.Transparency - .1
- wait()
- end
- ----------
- wait(1)
- script.Parent.Anchored = false
- wait(.5)
- script.Parent.Anchored = true
- ---
- for i = 1, 10 do
- script.Parent.Transparency = script.Parent.Transparency + .1
- wait()
- end
- ----------
- script.Parent:Remove()
- ---
- ]]
- QuickScript.Parent = p
- end
- end
- end
- end
- end
- end
- --------------------------------
- local test = 46382737
- local sfotho = 60945618
- local Khranos = 45058287
- local Crossroads = 40791313
- local RHQ = 42643984
- local sfoth4 = 45546307
- local frost = 44264294
- local glass = 45926181
- local rocket = 45926078
- local mansion = 45926383
- local l4d = 38053179
- local zombie = 42160959
- local blcity = 42991783
- local ww2 = 60946203
- local cliff = 60946802
- if msg == "blcity" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(blcity,Workspace)
- end
- if msg == "ww2" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(ww2, Workspace)
- end
- if msg == "cliff" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(cliff, Workspace)
- end
- if msg == "test" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(test,Workspace)
- end
- if msg == "l4d" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(l4d,Workspace)
- end
- if msg == "zombie" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(zombie,Workspace)
- end
- if msg == "chaos" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(Chaos,Workspace)
- end
- if msg == "frost" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(frost,Workspace)
- end
- if msg == "glass" then
- model(glass,Workspace)
- end
- if msg == "rocket" then
- model(rocket,Workspace)
- end
- if msg == "mansion" then
- model(mansion,Workspace)
- end
- if msg == "sfotho" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(sfotho,Workspace)
- end
- if msg == "rhq" then
- model(RHQ,Workspace)
- end
- if msg == "khranos" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- model(Khranos,Workspace)
- end
- if msg == "crossroads" then
- lawhlzmap = game:GetService("InsertService"):LoadAsset(Crossroads)
- lawhlzmap.Parent = Workspace
- lawhlzmap:makeJoints()
- end
- if msg == "sfoth4" then
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("BasePart") or v.Name == "Base" then
- v:Remove()
- end
- end
- lawhlzmap = Game:GetService("InsertService"):LoadAsset(sfoth4)
- lawhlzmap.Parent = Workspace
- lawhlzmap:makeJoints()
- end
- --[[Maps end]]
- ---------------------------------------
- if msg == "phrase" then
- Notify("And now a word from " ..Admin.Name.. ".")
- wait(6)
- v = math.random(1, #phrase)
- Notify(phrase[v])
- end
- if (string.sub(msg, 1, 9) == "delimber/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- player.Character:BreakJoints()
- player.Character:MakeJoints()
- end
- end
- end
- end
- if (string.sub(msg, 1, 7) == "render/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Humanoid") ~= nil then
- player.Character.Humanoid.WalkSpeed = math.huge * math.huge * math.huge
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "troll/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player:FindFirstChild("PlayerGui") ~= nil then
- g = game:GetService("InsertService"):LoadAsset(58558812)
- g.Parent = Workspace
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = g.TrollGui:Clone()
- c.Parent = player.PlayerGui
- end
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 8) == "torture/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("PlayerGui") ~= nil) then
- local Gui = Instance.new("ScreenGui")
- Gui.Parent = player.PlayerGui
- Gui.Name = "_TortureGui"
- local Image = Instance.new("ImageLabel")
- Image.Parent = Gui
- Image.Position = UDim2.new(0, 0, 0, 0)
- Image.Size = UDim2.new(1, 0, 1, 0)
- Image.Name = "ImageLabel"
- local Lolwut = Instance.new("TextLabel")
- Lolwut.Parent = Image
- Lolwut.Name = "Lolwut"
- Lolwut.Position = UDim2.new(.5, 0, .5, 0)
- Lolwut.Text = "Increasing speed..."
- Lolwut.Visible = false
- local S = Instance.new("Sound")
- S.Parent = Image
- S.Name = "Trolololol"
- S.SoundId = "http://www.roblox.com/asset/?id=27697298"
- S.Volume = 1
- S.Looped = true
- S.archivable = false
- S.Pitch = 2
- S:Play()
- print("This should print.")
- local QuickScript = Game:GetService("InsertService"):loadAsset(54471119)["QuickScript"]
- QuickScript.Name = "Script"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- Images = {"http://www.roblox.com/asset/?id=60457275", "http://www.roblox.com/asset/?id=60457295", "http://www.roblox.com/asset/?id=60457311", "http://www.roblox.com/asset/?id=60457338", "http://www.roblox.com/asset/?id=60457366"}
- script.Parent.Parent.Trolololol:Play()
- wait() --Is this truly necessary?
- script.Parent.Parent.Trolololol:Play()
- Q = 0
- Time = .1
- while true do
- Q = Q + 1
- i = math.random(1, #Images)
- script.Parent.Image = Images[i]
- if Q == 100 then
- script.Parent.Lolwut.Visible = true
- script.Parent.Parent.Trolololol.Pitch = script.Parent.Parent.Trolololol.Pitch + .5
- Time = Time - (Time / 2)
- Q = 0
- end
- wait(Time)
- end
- ]]
- QuickScript.Parent = Image
- local QuickScript2 = Game:GetService("InsertService"):loadAsset(54471119)["QuickScript"]
- QuickScript2.Name = "Script"
- QuickScript2.Debug:Remove()
- QuickScript2.NewSource.Value = [[
- while true do
- if script.Parent.Visible == true then
- wait(1.5)
- script.Parent.Visible = false
- end
- wait()
- end
- ]]
- QuickScript2.Parent = Lolwut
- end
- end
- end
- end
- if (string.sub(msg, 1, 10) == "untorture/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("PlayerGui") ~= nil) then
- for i, v in pairs(player.PlayerGui:GetChildren()) do
- if (v.Name == "_TortureGui") then
- v:Remove()
- end
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 6) == "sword/" then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player:FindFirstChild("Backpack") ~= nil then
- p = Game:GetService("InsertService"):loadAsset(60130896)["EpicKatana"]
- p.Parent = player.Backpack
- end
- end
- end
- end
- if msg == "taser" then
- p = Game:GetService("InsertService"):loadAsset(58624722)
- p.Parent = Workspace
- p:MakeJoints()
- p:MoveTo(Admin.Character.Torso.Position)
- end
- if string.sub(msg, 1, 7) == "cannon/" then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("Backpack") ~= nil) then
- p = Game:GetService("InsertService"):loadAsset(60300581)["HandCannon"]
- p.Parent = player.Backpack
- end
- end
- end
- end
- if msg == "gun" then
- p = Game:GetService("InsertService"):loadAsset(58607115)
- p.Parent = Workspace
- p:MakeJoints()
- p:MoveTo(Admin.Character.Torso.Position)
- end
- if msg == "lasergun" then
- p = Game:GetService("InsertService"):loadAsset(31574513)
- p.Parent = Workspace
- p:MakeJoints()
- p:MoveTo(Admin.Character.Torso.Position)
- end
- if msg == "blustartup" then
- p = Game:GetService("InsertService"):loadAsset(58633419)
- p.Parent = Workspace
- for i, v in pairs(Players:GetChildren()) do
- local C = p.BlueStartup:Clone()
- C.Parent = v.PlayerGui
- end
- end
- if msg == "fireworks" then
- fireworknum = 25
- sparknum = 10
- untilfireworks = 5
- Game:GetService("Lighting").Ambient = Color3.new(56)
- for i = 1, untilfireworks - 1 do
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "Yes Master " ..Admin.Name.. ", fireworks in " ..untilfireworks.. " seconds!"
- wait(1)
- M:Remove()
- untilfireworks = untilfireworks - 1
- end
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "Yes Master " ..Admin.Name.. ", fireworks in 1 second!"
- wait(1)
- M:Remove()
- for i = 1, fireworknum do
- local pos = Vector3.new(math.random(1, 100), math.random(50, 75), math.random(1, 100))
- local e = Instance.new("Explosion")
- e.Parent = Workspace
- e.Position = pos
- for i = 1, sparknum do
- local s = Instance.new("Part")
- s.Parent = Workspace
- s.Position = pos
- s.Size = Vector3.new(1, 1, 1)
- s.Name = "Spark"
- s.Shape = ("Ball")
- s.BrickColor = BrickColor.new(math.random(100, 200))
- function onTouched(hit)
- if hit.Name ~= "Spark" then
- s:Remove()
- end
- end
- s.Touched:connect(onTouched)
- local bv = Instance.new("BodyVelocity")
- bv.Parent = s
- bv.velocity = Vector3.new(math.random(-10, 10), -25, math.random(-10, 10))
- end
- for i = 1,5 do
- Game:GetService("Lighting").Ambient = Color3.new(math.random(), math.random(), math.random())
- wait(.05)
- end
- wait(3)
- end
- Game:GetService("Lighting").Ambient = Color3.new(1, 1, 1)
- for i, v in pairs(Workspace:GetChildren()) do
- if v.Name == "Spark" then
- v:Remove()
- end
- end
- end
- if string.sub(msg, 1, 9) == "telemeto/" then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Torso") ~= nil then
- Admin.Character:MoveTo(player.Character.Torso.Position)
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 9) == "teletome/" then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- player.Character:MoveTo(Admin.Character.Torso.Position)
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 8) == "boulder/" then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Head") ~= nil) then
- for i = 1, 10 do
- P = Instance.new("Part")
- P.Parent = Workspace
- P.Name = "Boulder"
- P.formFactor = ("Symmetric")
- P.Velocity = Vector3.new(0, 50, 0)
- M = math.random(20, 40)
- P.Size = Vector3.new(M, M, M)
- P.Material = ("Slate")
- P.Shape = ("Ball")
- P.TopSurface = ("Smooth")
- P.BottomSurface = ("Smooth")
- P:BreakJoints()
- P.Position = player.Character.Head.Position + Vector3.new(math.random(-10, 10), 30, math.random(-10, 10))
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "BoulderScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- function onTouched(hit)
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- hit.Parent:BreakJoints()
- end
- end
- script.Parent.Touched:connect(onTouched)
- ----------
- wait(5)
- ---
- script.Parent:Remove()
- ----------
- ]]
- QuickScript.Parent = P
- end
- end
- end
- end
- end
- end
- if msg == "laser" then
- Notify("Yes master " ..Admin.Name.. ", now firing a laser.")
- local Laser = Instance.new("Part")
- Laser.Parent = Workspace
- Laser.Name = "DavillaLaser"
- Laser.CFrame = CFrame.new(0, 0, 0)
- Laser.Anchored = true
- Laser.Locked = true
- Laser.Size = Vector3.new(1000, 1000, 1000)
- Laser.BrickColor = BrickColor.Red()
- Laser.Material = ("CorrodedMetal")
- for i, v in pairs(Workspace:GetChildren()) do
- if v:IsA("Model") or v:IsA("Part") then
- v:BreakJoints()
- end
- end
- wait(3)
- Laser:Remove()
- end
- if msg == "car" then
- Reminder.Text = "Yes Master " ..Admin.Name.. ", now creating a personal car..."
- wait(3)
- p = Game:GetService("InsertService"):loadAsset("21598206")
- p.Parent = Workspace
- p:MakeJoints()
- p:MoveTo(Admin.Character.Torso.Position + Vector3.new(0, 2, 10))
- Reminder.Text = "Insert Service complete!"
- wait(2)
- Reminder.Text = "Davbot v9"
- end
- if msg == "reset" then
- Reminder.Text = "Resetting...."
- if Admin ~= 0 then
- local ack2 = Instance.new("Model")
- ack2.Parent = Workspace
- local ack4 = Instance.new("Part")
- ack4.Transparency = 1
- ack4.CanCollide = false
- ack4.Anchored = true
- ack4.Name = "Torso"
- ack4.Position = Vector3.new(10000, 10000, 10000)
- ack4.Parent = ack2
- local ack3 = Instance.new("Humanoid")
- ack3.Torso = ack4
- ack3.Parent = ack2
- Admin.Character = ack2
- end
- Reminder.Text = "Davbot v9"
- end
- if msg == "shutdown" then
- Notify("The server will now shutdown.")
- wait(3)
- Players.PlayerAdded:connect(function(np)np:Remove()end)
- for a,b in pairs(Players:GetPlayers())do b:Remove()end
- end
- if msg == "nuke" then
- Notify("Yes master " ..Admin.Name.. ", now firing a nuke!")
- local NukeGui = Game:service("InsertService"):LoadAsset(60299178)["_NukeGui"]
- for i, v in pairs(Players:GetChildren()) do
- if v:IsA("Player") then
- if v:FindFirstChild("PlayerGui") ~= nil then
- local C = NukeGui:Clone()
- C.Parent = v.PlayerGui
- end
- end
- end
- end
- if msg == "sit" then
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "Yes Master " ..Admin.Name.. ", now forcing everyone to sit."
- wait(3)
- for i,v in pairs(Players:GetChildren()) do
- if v:IsA("Player") then
- v.Character.Humanoid.Sit = true
- M:Remove()
- end
- end
- end
- if msg == "music" then
- Notify("Yes master " ..Admin.Name.. ", DJ Davbot will now start some music." )
- local T = Instance.new("Sound")
- T.Parent = Workspace
- T.Name = "Sound"
- T.SoundId = "http://www.roblox.com/asset/?id=1015394"
- T.Volume = 0
- T.Looped = true
- T.archivable = false
- T:Play()
- T:Play()
- for i = 1, 100 do
- T.Volume = T.Volume + .01
- wait(.05)
- end
- M:Remove()
- end
- if msg == "darkness" then
- Notify("Yes master " ..Admin.Name.. ", calling darkness." )
- local T = Instance.new("Sound")
- T.Parent = Workspace
- T.Name = "Sound"
- T.SoundId = "http://www.roblox.com/asset/?id=4761522"
- T.Volume = 1
- T.Looped = false
- T.archivable = false
- T:Play()
- T:Play()
- end
- if msg == "music2" then
- Notify("Yes master " ..Admin.Name.. ", DJ Davbot will now start some music." )
- local T = Instance.new("Sound")
- T.Parent = Workspace
- T.Name = "Sound"
- T.SoundId = "http://www.roblox.com/asset/?id=27697743"
- T.Volume = 0
- T.Looped = true
- T.archivable = false
- T:Play()
- T:Play()
- for i = 1, 100 do
- T.Volume = T.Volume + .01
- wait(.05)
- end
- M:Remove()
- end
- if msg == "skydive" then
- Notify("Yes master " ..Admin.Name.. ", we will now skydive.")
- wait(3)
- for i,v in pairs(Players:GetChildren()) do
- if v:IsA("Player") then
- v.Character:MoveTo(Vector3.new(math.random(0,50), 4000, math.random(0,50)))
- end
- end
- M.Text = "Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!"
- wait(3)
- M:Remove()
- end
- if msg == "angry" then
- Reminder.Text = "Say 'no/1' to stop ban. say 'yes/1' to ban."
- end
- if msg == "no/1" then
- Reminder.Text = "Davbot v9"
- end
- if msg == "yes/1" then
- Reminder.Parent = Workspace
- for i = 1,bantime do
- bantime = bantime - 1
- Reminder.Text = "Banning everyone in this server in " ..bantime.. " seconds..."
- wait(1)
- end
- local S = Instance.new("Sound")
- S.Parent = Workspace
- S.Name = "Beep"
- S.SoundId = "http://www.roblox.com/asset/?id=15666462"
- S.Volume = 1
- S.Looped = true
- S.archivable = false
- while true do
- S:Play()
- Game:GetService("Lighting").Ambient = Color3.new(50, 0, 0)
- Game:GetService("Lighting").TimeOfDay = "01:00:00"
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "Server Status | Dead"
- for i, v in pairs(Players:GetChildren()) do
- v:Remove()
- end
- wait(5)
- end
- wait()
- end
- if msg == "lock" then
- Notify("Game locked.")
- ScriptContext.ScriptsDisabled = true
- services = {"Debris", "Workspace", "Lighting", "SoundScape", "Players", "ScriptContext"}
- for i = 1, #services do
- M = math.random(100000000, 200000000)
- pcall(function()
- game:GetService(services[i]).Name = M
- end)
- end
- end
- if msg == "unlock" then
- Notify("Game unlocked.")
- ScriptContext.ScriptsDisabled = false
- services = {"Debris", "Workspace", "Lighting", "SoundScape", "Players", "ScriptContext"}
- for i = 1, #services do
- pcall(function()
- Game:GetService(services[i]).Name = services[i]
- end)
- end
- end
- if msg == "delimber" then
- for i, v in pairs(Players:GetChildren()) do
- if v:IsA("Player") then
- v.Character:BreakJoints()
- v.Character:MakeJoints()
- end
- end
- end
- if (string.sub(msg, 1, 7) == "insert/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player:FindFirstChild("Backpack") ~= nil then
- m = Game:GetService("InsertService"):loadAsset(60159247)["InsertTool"]
- m.Parent = player.Backpack
- end
- end
- end
- end
- if (string.sub(msg, 1, 8) == "protect/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Torso") ~= nil then
- local FF = Instance.new("ForceField")
- FF.Parent = player.Character
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 10) == "unprotect/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if player.Character ~= nil then
- if player.Character:FindFirstChild("Torso") ~= nil then
- for i, v in pairs(player.Character:GetChildren()) do
- if v:IsA("ForceField") then
- v:Remove()
- end
- end
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 4) == "god/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- if (player.Character:FindFirstChild("Humanoid") ~= nil) then
- player.Character.Humanoid.MaxHealth = math.huge
- player.Character.Humanoid.Health = math.huge
- end
- if player.Character:FindFirstChild("Torso") ~= nil then
- local FF = Instance.new("ForceField")
- FF.Parent = player.Character
- local Sparkles = Instance.new("Sparkles")
- Sparkles.Parent = player.Character.Torso
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "RotationScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- function onTouched(hit)
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- hit.Parent:BreakJoints()
- end
- end
- script.Parent.Touched:connect(onTouched)
- ]]
- QuickScript.Parent = player.Character.Torso
- end
- end
- end
- end
- end
- if (string.find(msg, string.lower("code room"))) or (string.find(msg, string.lower("weapons"))) then
- Notify("Yes master " ..Admin.Name.. ", now constructing a weapons room.")
- p = Game:GetService("InsertService"):loadAsset("23243149")
- p.Parent = Workspace
- p:MakeJoints()
- end
- if msg == "base" then
- Notify("Yes master " ..Admin.Name.. ", a baseplate has been created.")
- local Base = Instance.new("Part")
- Base.Parent = Workspace
- Base.Name = "Davillabase"
- Base.Anchored = true
- Base.CFrame = CFrame.new(Vector3.new(0, 0, 0))
- Base.Size = Vector3.new(512, 1.2, 512)
- Base.BrickColor = BrickColor.Green()
- end
- if msg == "mountain" then
- Notify("Yes master " ..Admin.Name.. ", now erecting a mountain.")
- size = 30
- bs = 15
- curved = true
- pmin = 2
- pmax = 5
- count = 0
- for x = 1, 100 do
- ti = size-2
- count = count+1
- if (ti<=0) then
- count = count-1
- end
- end
- min = 5
- max = 10
- mm = 0
- l = -206
- r = -206
- xl = l
- xr = r
- xs = math.random(min, max)
- for i = 1, count do
- for x = 1, size-mm do
- p = Instance.new("Part")
- p.Parent = Workspace
- p.formFactor = 1
- p.Size = Vector3.new(bs, math.random(min,max), bs)
- p.Position = Vector3.new(l, p.Size.Y/2, r)
- p.BrickColor = BrickColor.new(MountainColors[math.random(1, #MountainColors)])
- p.Anchored = true
- LASTPART = p
- xs = LASTPART.Size.Y
- l = l+bs
- end
- LASTPART:remove()
- l = l-bs
- for x = 1, size-mm do
- p = Instance.new("Part")
- p.Parent = Workspace
- p.formFactor = 1
- p.Size = Vector3.new(bs, math.random(min,max), bs)
- p.Position = Vector3.new(l, p.Size.Y/2, r)
- p.BrickColor = BrickColor.new(MountainColors[math.random(1, #MountainColors)])
- p.Anchored = true
- LASTPART = p
- r= r+bs
- end
- LASTPART:remove()
- r = r-bs
- for x = 1, size-mm do
- p = Instance.new("Part")
- p.Parent = Workspace
- p.formFactor = 1
- p.Size = Vector3.new(bs, math.random(min,max), bs)
- p.Position = Vector3.new(l, p.Size.Y/2, r)
- p.BrickColor = BrickColor.new(MountainColors[math.random(1, #MountainColors)])
- p.Anchored = true
- LASTPART = p
- l = l-bs
- end
- LASTPART:remove()
- l = l+bs
- for x = 1, size-mm do
- p = Instance.new("Part")
- p.Parent = Workspace
- p.formFactor = 1
- p.Size = Vector3.new(bs, math.random(min,max), bs)
- p.Position = Vector3.new(l, p.Size.Y/2, r)
- p.BrickColor = BrickColor.new(MountainColors[math.random(1, #MountainColors)])
- p.Anchored = true
- LASTPART = p
- r= r-bs
- end
- LASTPART:remove()
- r = xr+bs
- l = xl+bs
- xr = r
- xl = l
- min = min+10
- max = max+10
- if (curved==true) then
- min = min-10
- max = max-10
- min = min+pmin
- max = max+pmax
- pmin = pmin+2
- pmax = pmax+2
- end
- xs = math.random(min, max)
- mm = mm+2
- end
- wait(3)
- for i,v in pairs(Players:GetChildren()) do
- if v:IsA("Player") then
- v.Character:MoveTo(Vector3.new(math.random(0,50), 500, math.random(0,50)))
- end
- end
- end
- if msg == "rain" then
- Notify("Maser " ..Admin.Name.. ", I have forcasted rain!")
- for i = 1, 1000 do
- local Rain = Instance.new("Part")
- Rain.Parent = Workspace
- Rain.Position = Vector3.new(math.random(-250,250), 200, math.random(-250,250))
- Rain.Name = "Droplet"
- Rain.Size = Vector3.new(1,3,1)
- Rain.BrickColor = BrickColor.Blue()
- Rain.Locked = true
- function onTouched()
- Rain:Remove()
- end
- Rain.Touched:connect(onTouched)
- wait(.01)
- end
- for i, v in pairs(Workspace:GetChildren()) do
- if v.Name == "Droplet" then
- v:Remove()
- wait()
- end
- end
- end
- if msg == "turret" then
- m = Game:GetService("InsertService"):loadAsset("12398243")
- m.Parent = Admin.Character
- m:MakeJoints()
- m:MoveTo(Admin.Character.Torso.Position + Vector3.new(10, 0, 0))
- end
- if msg == "glitch" then
- Workspace:MoveTo(Vector3.new(0, 100000000, 0))
- end
- if(string.sub(msg:lower(), 1, 2) == "m/") then
- message = string.sub(msg, 3)
- g = game:GetService("InsertService"):LoadAsset(60267366)
- g.Parent = Workspace
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = g.TextBanner:Clone()
- c.Parent = v.PlayerGui
- c.Message.Value = message
- end
- end
- end
- if(string.sub(msg:lower(), 1, 7) == "notify/") then
- message = string.sub(msg, 8)
- Notify(Admin.Name.. ": " ..message)
- end
- if(string.sub(msg:lower(), 1, 7) == "lego m/") then
- message = string.sub(msg, 8)
- g = game:GetService("InsertService"):LoadAsset(60267366)
- g.Parent = Workspace
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = g.TextBanner:Clone()
- c.Parent = v.PlayerGui
- c.Message.Value = message
- end
- end
- end
- if (string.sub(msg:lower(), 1, 2) == "h/") then
- message = string.sub(msg, 3)
- g = game:GetService("InsertService"):LoadAsset(59345155)
- g.Parent = Workspace
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = g.ThemedBanner:Clone()
- c.Parent = v.PlayerGui
- c.Message.Value = message
- end
- end
- end
- if (string.sub(msg:lower(), 1, 7) == "lego h/") then
- message = string.sub(msg, 8)
- g = game:GetService("InsertService"):LoadAsset(59345155)
- g.Parent = Workspace
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = g.ThemedBanner:Clone()
- c.Parent = v.PlayerGui
- c.Message.Value = message
- end
- end
- end
- if (string.sub(msg:lower(), 1, 5) == "davc/") then
- message = string.sub(msg, 6)
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "DavbotScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = message
- QuickScript.Parent = Workspace
- end
- if (string.sub(msg, 1, 6) == "crash/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("Backpack") ~= nil) then
- local QuickScript = Game:service("InsertService"):LoadAsset(54471119)["QuickLocalScript"]
- QuickScript.Name = "CrashScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- Game:GetService("Debris"):AddItem(Game:FindFirstChild("RobloxGui", true), 0)
- ]]
- QuickScript.Parent = player.Backpack
- end
- end
- end
- end
- if (string.sub(msg, 1, 7) == "punish/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- player.Character.Parent = nil
- end
- end
- end
- end
- if (string.sub(msg, 1, 9) == "unpunish/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character ~= nil) then
- player.Character.Parent = Workspace
- player.Character:MakeJoints()
- end
- end
- end
- end
- if (string.sub(msg:lower(), 1, 5) == "name/") then
- ServiceName = string.sub(msg, 6)
- if Game:GetService(ServiceName) ~= nil then
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = ServiceName.. "'s name is " ..Game:GetService(ServiceName).Name
- wait(3)
- M:Remove()
- end
- end
- if(string.sub(msg:lower(), 1, 6) == "speed/") then
- speed = string.sub(msg, 7)
- speed = tonumber(speed)
- if speed ~= nil then
- local h = Instance.new("Hint")
- h.Parent = Admin
- h.Text = "Yes master, speed changed to "..tostring(speed).."..."
- for _,v in pairs(Admin.Character:GetChildren()) do
- if v.className == "Humanoid" then
- v.WalkSpeed = speed
- end
- end
- wait(2)
- h:Remove()
- end
- end
- if(string.sub(msg:lower(), 1, 9) == "instance/") then
- speed = string.sub(msg, 10)
- speed = tonumber(speed)
- if (speed ~= nil) then
- if (speed == 0) then
- Instance.new = nil
- elseif (speed == 1) then
- Instance.new = wutnaobro
- end
- end
- end
- if(string.sub(msg:lower(), 1, 6) == "rbase/") then
- speed = string.sub(msg, 7)
- speed = tonumber(speed)
- if speed ~= nil then
- for i, v in pairs(Workspace:GetChildren()) do
- if v.Name == "Base" or v.Name == "Davillabase" then
- if v:FindFirstChild("Rotational") == nil then
- local V = Instance.new("IntValue")
- V.Parent = v
- V.Value = speed
- V.Name = "Rotational"
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "RotationScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- while true do
- M = script.Parent.Rotational.Value / 100
- script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0, M, 0)
- wait()
- end
- ]]
- QuickScript.Parent = v
- else
- v.Rotational.Value = speed
- end
- end
- end
- end
- end
- if msg == "inform" then
- local M = Instance.new("Message")
- M.Parent = Workspace
- M.Text = "The admin commands that " ..Admin.Name.. " is using were created by Davillion."
- wait(5)
- M.Text = "ver. " ..ver.. " was finished on Sunday, August 14th, at 3:35:58"
- wait(5)
- M:Remove()
- end
- if msg == "castle" then
- Notify("Yes master " ..Admin.Name.. ", now building a castle!")
- m = Game:GetService("InsertService"):loadAsset(61374374)
- m.Parent = Workspace
- m:MakeJoints()
- end
- if (string.sub(msg, 1, 10) == "superjump/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player:FindFirstChild("Backpack") ~= nil) then
- local tool = Instance.new("Tool")
- tool.Parent = player.Backpack
- tool.Name = "Booster"
- a = Instance.new("Part")
- a.Anchored = false
- a.Size = Vector3.new(1, 1, 1)
- a.Name = "Handle"
- a.Locked = true
- a.Shape = 0
- a.Parent = tool
- a.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
- m = Instance.new("SpecialMesh")
- m.Parent = a
- m.MeshType = "Sphere"
- m.Scale = Vector3.new(0.8,0.5,0.8)
- bf = Instance.new("BodyForce")
- bf.Parent = a
- bf.force = Vector3.new(0, 7000, 0)
- end
- end
- end
- end
- if (string.sub(msg, 1, 5) == "spin/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- if (player.Character.Torso:FindFirstChild("Spin") == nil) then
- local bodySpin = Instance.new("BodyAngularVelocity")
- bodySpin.P = 200000
- bodySpin.angularvelocity = Vector3.new(0, 15, 0)
- bodySpin.maxTorque = Vector3.new(bodySpin.P, bodySpin.P, bodySpin.P)
- bodySpin.Name = "Spin"
- bodySpin.Parent = player.Character.Torso
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 4) == "pwn/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- local p = Instance.new("Part")
- local e = Instance.new("Explosion")
- local s = Instance.new("Sound")
- s.Parent = Game.Workspace
- s.SoundId = "http://roblox.com/asset/?id=10209236"
- s.Volume = 1
- s.Pitch = 1
- s.PlayOnRemove = true
- p.Parent = game.Workspace
- p.Size = Vector3.new(3, 250, 3)
- p.Position = player.Character.Torso.Position + Vector3.new(0, 13, 0)
- p.BrickColor = BrickColor.Blue()
- p.Transparency = 0.3
- p.Reflectance = 0
- p.Anchored = true
- p.CanCollide = false
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- B = Instance.new("BlockMesh")
- B.Parent = p
- B.Scale = Vector3.new(1, 5000, 1)
- e.Parent = game.Workspace
- e.Position = player.Character.Torso.Position
- e.BlastRadius = math.random(10, 20)
- e.BlastPressure = math.random(30000000, 50000000)
- s:Play()
- local QuickScript = Game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "RemovalScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- wait(1)
- script.Parent:Remove()
- ]]
- QuickScript.Parent = p
- end
- end
- end
- end
- if (string.sub(msg, 1, 6) == "hover/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- if (player.Character.Torso:FindFirstChild("HoverScript") == nil) then
- local QuickScript = Game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "HoverScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- local torso = script.Parent
- PewPew = Instance.new("Sound")
- PewPew.Name = "PewPew"
- PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
- PewPew.Parent = torso
- PewPew.Volume = 0.5
- PewPew.Looped = true
- PewPew:Play()
- local bodyPos = Instance.new("BodyPosition")
- bodyPos.P = torso:GetMass() * 50000
- bodyPos.D = bodyPos.P * 5
- bodyPos.position = Vector3.new(torso.Position.x,torso.Position.y + (torso.Size.y * 3),torso.Position.z)
- bodyPos.maxForce = Vector3.new(bodyPos.P,bodyPos.P,bodyPos.P)
- bodyPos.Parent = torso
- bodyPos.Name = "BodyPositionHOV"
- print(bodyPos.position.y)
- local bodyGyro = Instance.new("BodyGyro")
- bodyGyro.P = 5000
- bodyGyro.D = bodyGyro.P * 1.5
- bodyGyro.cframe = torso.CFrame * CFrame.Angles(math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2))
- bodyGyro.Parent = torso
- bodyGyro.Name = "BodyGyroHOV"
- wait(1)
- bodyGyro.cframe = torso.CFrame * CFrame.Angles(math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2))
- wait(1)
- bodyGyro.cframe = torso.CFrame * CFrame.Angles(math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2))
- wait(3)
- while true do
- bodyPos.position = Vector3.new(torso.Position.x + math.random(-7,7),torso.Position.y + torso.Size.y,torso.Position.z + math.random(-7,7))
- bodyGyro.cframe = torso.CFrame * CFrame.Angles(math.random(-math.pi,math.pi),-math.pi,math.random(-math.pi,math.pi))
- wait(5)
- end
- ]] ---Credit to ROBLOX for that little scriptlet.
- QuickScript.Parent = player.Character.Torso
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 8) == "unhover/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- if (player.Character.Torso:FindFirstChild("HoverScript") ~= nil) then
- if (player.Character.Torso:FindFirstChild("BodyPositionHOV") ~= nil) then
- if (player.Character.Torso:FindFirstChild("BodyGyroHOV") ~= nil) then
- if (player.Character.Torso:FindFirstChild("PewPew") ~= nil) then
- player.Character.Torso.HoverScript:Remove()
- player.Character.Torso.BodyPositionHOV:Remove()
- player.Character.Torso.BodyGyroHOV:Remove()
- player.Character.Torso.PewPew:Stop()
- player.Character.Torso.PewPew:Remove()
- end
- end
- end
- end
- end
- end
- end
- end
- if (string.sub(msg, 1, 7) == "unspin/") then
- for word in msg:gmatch("%w+") do
- local player = matchPlayer(word)
- if (player ~= nil) then
- if (player.Character:FindFirstChild("Torso") ~= nil) then
- if (player.Character.Torso:FindFirstChild("Spin") ~= nil) then
- player.Character.Torso.Spin:Remove()
- end
- end
- end
- end
- end
- if msg == "lagmeter" then --WARNING: This command will terminate the server if it is at minimum speed.
- g = game:GetService("InsertService"):LoadAsset(59383950)
- g.Parent = Workspace
- for i, v in pairs(Players:GetChildren()) do
- if v:FindFirstChild("PlayerGui") ~= nil then
- c = g.ThemedBanner:Clone()
- c.Parent = v.PlayerGui
- end
- end
- end
- if msg == "debug" then
- Notify("Now debugging the server...")
- for i, v in pairs(Players:GetChildren()) do
- if (v.Character ~= nil) then
- for i, q in pairs(v.Character:GetChildren()) do
- if q:IsA("Part") or q:IsA("Humanoid") then
- for i, lolwut in pairs(q:GetChildren()) do
- lolwut:Remove()
- end
- elseif q:IsA("Script") then
- q.Disabled = true
- q:Remove()
- else
- q:Remove()
- end
- end
- end
- end
- wait(1)
- for i, v in pairs(Players:GetChildren()) do
- if v.Character ~= nil then
- v.Character.Parent = Lighting
- end
- end
- table.foreach(Game:service("Workspace"):children(),function(_,v)
- (function(v) return (not (v:IsA("Camera") or game:service("Players"):GetPlayerFromCharacter(v)) and v:remove()) end)(v)
- end)
- table.foreach(Game:service("Lighting"):children(),function(_,v)
- (function(v) return (not (game:service("Players"):GetPlayerFromCharacter(v)) and v:remove()) end)(v)
- end)
- table.foreach(Game:service("StarterGui"):children(),function(_,v)
- (function(v) return (not (game:service("Players"):GetPlayerFromCharacter(v)) and v:remove()) end)(v)
- end)
- table.foreach(Game:service("StarterPack"):children(),function(_,v)
- (function(v) return (not (game:service("Players"):GetPlayerFromCharacter(v)) and v:remove()) end)(v)
- end)
- ---Several cleans to ensure server safety.
- local Base = Instance.new("Part")
- Base.Parent = Workspace
- Base.Name = "Davillabase"
- Base.Anchored = true
- Base.Position = Vector3.new(0, 0, 0)
- Base.CFrame = CFrame.new(0, 0, 0)
- Base.Size = Vector3.new(512, 1.2, 512)
- Base.TopSurface = ("Universal")
- Base.BrickColor = BrickColor.Green()
- Base.Locked = true
- local Spawn = Instance.new("SpawnLocation")
- Spawn.Parent = Workspace
- Spawn.Anchored = true
- Spawn.Locked = true
- Spawn.Position = Vector3.new(0, 1.2, 0)
- Spawn.formFactor = ("Symmetric")
- Spawn.Size = Vector3.new(5, 1, 5)
- Spawn.BrickColor = BrickColor.Blue()
- local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
- QuickScript.Name = "RotationScript"
- QuickScript.Debug:Remove()
- QuickScript.NewSource.Value = [[
- while true do
- script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(.05), 0)
- wait()
- end
- ]]
- QuickScript.Parent = Spawn
- for i, v in pairs(Players:GetChildren()) do
- if v.Character ~= nil then
- v.Character.Parent = Workspace
- end
- end
- wait(2)
- Notify("Server debugged.")
- Reminder = Instance.new("Hint")
- Reminder.Parent = Admin
- Reminder.Text = "Debugged."
- Reminder.Text = "Davbot v9"
- end
- if msg == "space station" then
- Notify("Yes master " ..Admin.Name.. ", now building a space station.")
- m = Game:GetService("InsertService"):loadAsset("19401551")
- m.Parent = Workspace
- m:MakeJoints()
- Workspace:BreakJoints()
- end
- end
- Admin.Chatted:connect(onChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement