Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local Kohls = Instance.new("ScreenGui")
- local MFrame = Instance.new("Frame")
- local TFrame = Instance.new("Frame")
- local Tiddle = Instance.new("TextLabel")
- local Tutup = Instance.new("TextButton")
- local Tunda = Instance.new("TextButton")
- local Nama = Instance.new("TextBox")
- local Ban = Instance.new("TextButton")
- local Kick = Instance.new("TextButton")
- local Madwe = Instance.new("TextLabel")
- local Unlock = Instance.new("TextButton")
- local Admin = Instance.new("TextButton")
- local Noclip = Instance.new("TextButton")
- local Data = Instance.new("TextBox")
- -- Properties
- Kohls.Name = "Kohls"
- Kohls.Parent = game.CoreGui
- MFrame.Name = "MFrame"
- MFrame.Parent = Kohls
- MFrame.Active = true
- MFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MFrame.BackgroundTransparency = 0.10000000149012
- MFrame.BorderColor3 = Color3.new(0.333333, 1, 0)
- MFrame.BorderSizePixel = 2
- MFrame.Position = UDim2.new(0.138755977, 0, 0.139393941, 0)
- MFrame.Size = UDim2.new(0, 497, 0, 289)
- MFrame.Draggable = true
- TFrame.Name = "TFrame"
- TFrame.Parent = MFrame
- TFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- TFrame.BorderColor3 = Color3.new(0, 1, 0)
- TFrame.BorderSizePixel = 2
- TFrame.Size = UDim2.new(0, 497, 0, 30)
- Tiddle.Name = "Tiddle"
- Tiddle.Parent = TFrame
- Tiddle.BackgroundColor3 = Color3.new(1, 1, 1)
- Tiddle.BackgroundTransparency = 1
- Tiddle.Size = UDim2.new(0, 497, 0, 30)
- Tiddle.Font = Enum.Font.SciFi
- Tiddle.Text = "Kohls Admin House Gui"
- Tiddle.TextColor3 = Color3.new(0.333333, 1, 0)
- Tiddle.TextSize = 25
- Tutup.Name = "Tutup"
- Tutup.Parent = TFrame
- Tutup.BackgroundColor3 = Color3.new(0, 0, 0)
- Tutup.BorderColor3 = Color3.new(0.333333, 1, 0)
- Tutup.BorderSizePixel = 2
- Tutup.Position = UDim2.new(0.93664664, 0, 0, 0)
- Tutup.Size = UDim2.new(0, 31, 0, 30)
- Tutup.Font = Enum.Font.SciFi
- Tutup.Text = "X"
- Tutup.TextColor3 = Color3.new(0, 1, 0)
- Tutup.TextSize = 25
- Tutup.MouseButton1Down:connect(function()
- Kohls:Destroy()
- end)
- Tunda.Name = "Tunda"
- Tunda.Parent = TFrame
- Tunda.BackgroundColor3 = Color3.new(0, 0, 0)
- Tunda.BorderColor3 = Color3.new(0.333333, 1, 0)
- Tunda.BorderSizePixel = 2
- Tunda.Position = UDim2.new(0.875305355, 0, 0, 0)
- Tunda.Size = UDim2.new(0, 31, 0, 30)
- Tunda.Font = Enum.Font.SciFi
- Tunda.Text = "-"
- Tunda.TextColor3 = Color3.new(0, 1, 0)
- Tunda.TextSize = 25
- tunda = false
- Tunda.MouseButton1Down:connect(function()
- if tunda == false then
- MFrame:TweenSize(UDim2.new(0, 497, 0, 27),"In","Sine",1,true)
- wait(1)
- Kick.Visible = false
- Ban.Visible = false
- Unlock.Visible = false
- Noclip.Visible = false
- Admin.Visible = false
- Nama.Visible = false
- Data.Visible = false
- Madwe.Visible = false
- tunda = true
- else
- MFrame:TweenSize(UDim2.new(0, 497, 0, 289),"In","Sine",1,true)
- wait(1)
- Kick.Visible = true
- Ban.Visible = true
- Unlock.Visible = true
- Noclip.Visible = true
- Admin.Visible = true
- Nama.Visible = true
- Data.Visible = true
- Madwe.Visible = true
- tunda = false
- end
- end)
- Nama.Name = "Nama"
- Nama.Parent = MFrame
- Nama.BackgroundColor3 = Color3.new(0, 0, 0)
- Nama.BorderColor3 = Color3.new(0.333333, 1, 0)
- Nama.BorderSizePixel = 2
- Nama.Position = UDim2.new(0.0824949667, 0, 0.138408303, 0)
- Nama.Size = UDim2.new(0, 410, 0, 50)
- Nama.Font = Enum.Font.SciFi
- Nama.Text = "Nama Player / Player Name"
- Nama.TextColor3 = Color3.new(0, 1, 0)
- Nama.TextSize = 20
- Ban.Name = "Ban"
- Ban.Parent = MFrame
- Ban.BackgroundColor3 = Color3.new(0, 0, 0)
- Ban.BorderColor3 = Color3.new(0.333333, 1, 0)
- Ban.BorderSizePixel = 2
- Ban.Position = UDim2.new(0.145241275, 0, 0.356401384, 0)
- Ban.Size = UDim2.new(0, 169, 0, 50)
- Ban.Font = Enum.Font.SciFi
- Ban.Text = "Banned"
- Ban.TextColor3 = Color3.new(0, 1, 0)
- Ban.TextSize = 25
- Kick.Name = "Kick"
- Kick.Parent = MFrame
- Kick.BackgroundColor3 = Color3.new(0, 0, 0)
- Kick.BorderColor3 = Color3.new(0.333333, 1, 0)
- Kick.BorderSizePixel = 2
- Kick.Position = UDim2.new(0.540145934, 0, 0.356401384, 0)
- Kick.Size = UDim2.new(0, 169, 0, 50)
- Kick.Font = Enum.Font.SciFi
- Kick.Text = "Kick"
- Kick.TextColor3 = Color3.new(0, 1, 0)
- Kick.TextSize = 25
- Madwe.Name = "Madwe"
- Madwe.Parent = MFrame
- Madwe.BackgroundColor3 = Color3.new(1, 1, 1)
- Madwe.BackgroundTransparency = 1
- Madwe.Position = UDim2.new(0, 0, 0.899653971, 0)
- Madwe.Size = UDim2.new(0, 165, 0, 29)
- Madwe.Font = Enum.Font.SciFi
- Madwe.Text = "Made By Anwarun"
- Madwe.TextColor3 = Color3.new(0.333333, 1, 0)
- Madwe.TextSize = 20
- Unlock.Name = "Unlock"
- Unlock.Parent = MFrame
- Unlock.BackgroundColor3 = Color3.new(0, 0, 0)
- Unlock.BorderColor3 = Color3.new(0.333333, 1, 0)
- Unlock.BorderSizePixel = 2
- Unlock.Position = UDim2.new(0.513078451, 0, 0.58477509, 0)
- Unlock.Size = UDim2.new(0, 225, 0, 50)
- Unlock.Font = Enum.Font.SciFi
- Unlock.Text = "Unlock"
- Unlock.TextColor3 = Color3.new(0, 1, 0)
- Unlock.TextSize = 25
- Admin.Name = "Admin"
- Admin.Parent = MFrame
- Admin.BackgroundColor3 = Color3.new(0, 0, 0)
- Admin.BorderColor3 = Color3.new(0.333333, 1, 0)
- Admin.BorderSizePixel = 2
- Admin.Position = UDim2.new(0.0321931541, 0, 0.58477509, 0)
- Admin.Size = UDim2.new(0, 225, 0, 50)
- Admin.Font = Enum.Font.SciFi
- Admin.Text = "Get Admin"
- Admin.TextColor3 = Color3.new(0, 1, 0)
- Admin.TextSize = 25
- Noclip.Name = "Noclip"
- Noclip.Parent = MFrame
- Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
- Noclip.BorderColor3 = Color3.new(0.333333, 1, 0)
- Noclip.BorderSizePixel = 2
- Noclip.Position = UDim2.new(0.619718313, 0, 0.795847774, 0)
- Noclip.Size = UDim2.new(0, 172, 0, 41)
- Noclip.Font = Enum.Font.SciFi
- Noclip.Text = "Noclip"
- Noclip.TextColor3 = Color3.new(0, 1, 0)
- Noclip.TextSize = 25
- Data.Name = "Data"
- Data.Parent = MFrame
- Data.BackgroundColor3 = Color3.new(0, 0, 0)
- Data.BorderColor3 = Color3.new(0.333333, 1, 0)
- Data.BorderSizePixel = 2
- Data.Position = UDim2.new(0.372233391, 0, 0.795847774, 0)
- Data.Size = UDim2.new(0, 112, 0, 50)
- Data.Font = Enum.Font.SciFi
- Data.Text = "Data Unlocked"
- Data.TextColor3 = Color3.new(0.333333, 1, 0)
- Data.TextScaled = true
- Data.TextSize = 14
- Data.TextWrapped = true
- -- Scripts
- Admin.MouseButton1Down:connect(function()
- now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- =
- game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
- wait(0.2)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
- end)
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- Noclip.Text = "Noclip (Aktif)"
- end
- end)
- Noclip.MouseButton1Down:connect(function()
- noclip = not noclip
- Noclip.Text = "Noclip (Tidak Aktif)"
- end)
- Unlock.MouseButton1Down:connect(function()
- for i,v in pairs(game.Workspace:GetDescendants()) do
- if v:IsA("Part") then
- v.Locked = false
- print("Unlocked" .. v.Name)
- Data.Text = "Unlocked" .. v.Name
- end end
- end)
- function GetPlayer(plrname)
- for _,player in pairs(game.Players:GetPlayers()) do
- if plrname:lower() == player.Name:sub(1,plrname:len()):lower() then
- return player
- end
- end
- return nil
- end
- local Banned = {}
- Ban.MouseButton1Down:connect(function()
- local target = GetPlayer(Nama.Text)
- if target then
- table.insert(Banned,target.Name)
- wait(0.5)
- game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
- Nama.Text = "Banned ! Player Name :" .. Nama.Text
- print('Banned ! Player Name : ',Nama.Text)
- end
- end)
- Kick.MouseButton1Down:connect(function()
- local target = GetPlayer(Nama.Text)
- if target then
- game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
- Nama.Text = "Kicked ! Player Name :" .. Nama.Text
- print("Kicked ! Player Name: ", Nama.Text)
- end
- end)
- game.Players.PlayerAdded:connect(function(plr)
- for i = 1,#Banned do
- if Banned[i] == plr.Name then
- game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(plr)
- end
- end
- end)
- while true do
- wait(1)
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("Delete") then
- game:GetService'Players':Chat(":btools me")
- end
- endwait(.2)
- whitelist = {game.Players.LocalPlayer.Name,"Fren1","Fren2"} -- put admin names here
- banlist = {"noob","noob2"} -- put noob names here
- deletepath = game.Players.LocalPlayer.Character:FindFirstChild("Delete")
- deletepath2 = game.Players.LocalPlayer.Backpack:FindFirstChild("Delete")
- slock = false
- function newtag(plr)
- admintag = Instance.new("BoolValue")
- admintag.Parent = game.Players[plr]
- admintag.Value = true
- admintag.Name = "admin"
- print("created admin tag for " .. plr)
- end
- newtag(game.Players.LocalPlayer.Name)
- game.Players.LocalPlayer.ChildRemoved:connect(function(obj)
- if obj.Name == "admin" then
- newtag(game.Players.LocalPlayer.Name)
- end
- end)
- function adminexe(plr,msg)
- if plr:FindFirstChild("admin") then
- local lower = string.lower(msg)
- local len = string.len(lower)
- if string.find(lower,":kick ") then
- local name = string.gsub(lower,":kick ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player)
- end
- end
- end
- end
- end
- if string.find(lower,"/e :kick ") then
- local name = string.gsub(lower,"/e :kick ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player)
- end
- end
- end
- end
- end
- if string.find(lower,"/e kick ") then
- local name = string.gsub(lower,"/e kick ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player)
- end
- end
- end
- end
- end
- if string.find(lower,"heck ") then
- local name = string.gsub(lower,"heck ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v.Character)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player.Character)
- end
- end
- end
- end
- end
- if string.find(lower,":heck ") then
- local name = string.gsub(lower,":heck ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v.Character)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player.Character)
- end
- end
- end
- end
- end
- if string.find(lower,"/e heck ") then
- local name = string.gsub(lower,"/e heck ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v.Character)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player.Character)
- end
- end
- end
- end
- end
- if string.find(lower,"/e :heck ") then
- local name = string.gsub(lower,"/e :heck ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v.Character)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player.Character)
- end
- end
- end
- end
- end
- if string.find(lower,"frick ") then
- local name = string.gsub(lower,"frick ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v.Character.Torso.Neck)
- game.Workspace.Delete.delete:FireServer(v.Character.Head.Neck)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player.Character.Torso.Neck)
- game.Workspace.Delete.delete:FireServer(v.Character.Head.Neck)
- end
- end
- end
- end
- end
- if string.find(lower,":frick ") then
- local name = string.gsub(lower,":frick ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v.Character.Torso.Neck)
- game.Workspace.Delete.delete:FireServer(v.Character.Head.Neck)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player.Character.Torso.Neck)
- game.Workspace.Delete.delete:FireServer(v.Character.Head.Neck)
- end
- end
- end
- end
- end
- if string.find(lower,"/e frick ") then
- local name = string.gsub(lower,"/e frick ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v.Character.Torso.Neck)
- game.Workspace.Delete.delete:FireServer(v.Character.Head.Neck)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player.Character.Torso.Neck)
- game.Workspace.Delete.delete:FireServer(v.Character.Head.Neck)
- end
- end
- end
- end
- end
- if string.find(lower,"/e :frick ") then
- local name = string.gsub(lower,"/e :frick ","")
- local player = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(v.Character.Torso.Neck)
- game.Workspace.Delete.delete:FireServer(v.Character.Head.Neck)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- game.Workspace.Delete.delete:FireServer(player.Character.Torso.Neck)
- game.Workspace.Delete.delete:FireServer(v.Character.Head.Neck)
- end
- end
- end
- end
- end
- if string.find(lower,":ban ") then
- local name = string.gsub(lower,":ban ","")
- local player = nil
- local plrname = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- plrname = v.Name
- table.insert(banlist,(#banlist+1),plrname)
- game.Workspace.Delete.delete:FireServer(v)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- plrname = v.Name
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- table.insert(banlist,(#banlist+1),plrname)
- game.Workspace.Delete.delete:FireServer(player)
- end
- end
- end
- end
- end
- if string.find(lower,"/e ban ") then
- local name = string.gsub(lower,"/e ban ","")
- local player = nil
- local plrname = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- plrname = v.Name
- table.insert(banlist,(#banlist+1),plrname)
- game.Workspace.Delete.delete:FireServer(v)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- plrname = v.Name
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- table.insert(banlist,(#banlist+1),plrname)
- game.Workspace.Delete.delete:FireServer(player)
- end
- end
- end
- end
- end
- if string.find(lower,"/e :ban ") then
- local name = string.gsub(lower,"/e :ban ","")
- local player = nil
- local plrname = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- plrname = v.Name
- table.insert(banlist,(#banlist+1),plrname)
- game.Workspace.Delete.delete:FireServer(v)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- plrname = v.Name
- player = v
- if player.Name ~= game.Players.LocalPlayer.Name then
- table.insert(banlist,(#banlist+1),plrname)
- game.Workspace.Delete.delete:FireServer(player)
- end
- end
- end
- end
- end
- if string.find(lower,":unban ") then
- local name = string.gsub(lower,":unban ","")
- local player = nil
- local plrname = nil
- local index = nil
- if name == "all" then
- for i,v in pairs(banlist) do
- table.remove(banlist,i)
- end
- else
- names = banlist
- for i,v in pairs(names) do
- strlower = string.lower(v)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- table.remove(banlist,i)
- end
- end
- end
- end
- if lower == ":bans" then
- print("-------------------------")
- for i,v in pairs(banlist) do
- print("Ban #" .. i .. " Player: " .. v)
- end
- print("-------------------------")
- end
- if lower == ":obby" then
- if game.Workspace.Terrain.GameFolder.Workspace.Obby then
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Obby)
- end
- end
- if lower == ":removeobby" then
- if game.Workspace.Terrain.GameFolder.Workspace.Obby then
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Obby)
- end
- end
- if lower == ":givers" then
- if game.Workspace.Terrain.GameFolder.Admin then
- local dividers = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Admin Dividers")
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Admin.Pads)
- game.Workspace.Delete.delete:FireServer(dividers)
- end
- end
- if lower == ":removegivers" then
- if game.Workspace.Terrain.GameFolder.Admin then
- local dividers2 = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Admin Dividers")
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Admin.Pads)
- game.Workspace.Delete.delete:FireServer(dividers2)
- end
- end
- if lower == ":removepads" then
- if game.Workspace.Terrain.GameFolder.Admin then
- local dividers2 = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Admin Dividers")
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Admin.Pads)
- game.Workspace.Delete.delete:FireServer(dividers2)
- end
- end
- if lower == ":pads" then
- if game.Workspace.Terrain.GameFolder.Admin then
- local dividers2 = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Admin Dividers")
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Admin.Pads)
- game.Workspace.Delete.delete:FireServer(dividers2)
- end
- end
- if lower == ":roof" then
- if game.Workspace.Terrain.GameFolder.Admin then
- epic = game.Players.Vortexturize.Backpack:FindFirstChild("Clone")
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- end
- end
- if lower == ":darkness" then
- if game.Workspace.Terrain.GameFolder.Admin then
- epic = game.Players.Vortexturize.Backpack:FindFirstChild("Clone")
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- --EFFECIENCY AT IT'S FINEST
- end
- end
- if lower == ":clonebaseplate" then
- if game.Workspace.Terrain.GameFolder.Admin then
- epic = game.Players.Vortexturize.Backpack:FindFirstChild("Clone")
- epic.create:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate, Vector3.new(-85, 10, 17), Vector3.new(180, 90, 0))
- end
- end
- if lower == ":regen" then
- if game.Workspace.Terrain.GameFolder.Admin then
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Admin.Regen)
- end
- end
- if lower == ":removeregen" then
- if game.Workspace.Terrain.GameFolder.Admin then
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Admin.Regen)
- end
- end
- if lower == "clear" then
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v:IsA("Part") then
- game.Workspace.Delete.delete:FireServer(v)
- end
- end
- end
- if lower == ":slock on" then
- slock = true
- end
- if lower == "/e :slock on" then
- slock = true
- end
- if lower == "/e slock on" then
- slock = true
- end
- if lower == ":slock off" then
- slock = false
- end
- if lower == "/e :slock off" then
- slock = false
- end
- if lower == "/e slock off" then
- slock = false
- end
- if string.find(lower,":wl ") then
- local name = string.gsub(lower,":wl ","")
- local player = nil
- local plrname = nil
- if name == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if (not v:FindFirstChild("admin")) and v.Name ~= game.Players.LocalPlayer.Name then
- table.insert(whitelist,(#whitelist+1),v.Name)
- newtag(v.Name)
- v.Chatted:connect(function(msg)
- adminexe(v,msg)
- end)
- end
- end
- else
- names = game.Players:GetChildren()
- for i,v in pairs(names) do
- strlower = string.lower(v.Name)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- newtag(v.Name)
- table.insert(whitelist,(#whitelist+1),v.Name)
- v.Chatted:connect(function(msg)
- adminexe(v,msg)
- end)
- end
- end
- end
- end
- if string.find(lower,":unwl ") then
- local name = string.gsub(lower,":unwl ","")
- local player = nil
- local plrname = nil
- local index = nil
- if name == "others" then
- for i,v in pairs(whitelist) do
- for i,v in pairs(banlist) do
- if v ~= game.Players.LocalPlayer.Name then
- table.remove(whitelist,i)
- end
- end
- if game.Workspace:FindFirstChild(v) then
- if v.Name ~= game.Players.LocalPlayer.Name then
- if v:FindFirstChild("admin") then
- v.admin:Destroy()
- end
- end
- end
- end
- else
- names = whitelist
- for i,v in pairs(names) do
- strlower = string.lower(v)
- sub = string.sub(strlower,1,#name)
- if name == sub then
- table.remove(whitelist,i)
- end
- end
- end
- end
- if lower == ":wls" then
- for i,v in pairs(whitelist) do
- print("Player #" .. i .. " Player: " .. v)
- end
- end
- if lower == ":ruin" then
- house2 = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Simple House")
- house = house2:GetChildren()
- for i=1,#house,3 do
- game.Workspace.Delete.delete:FireServer(house[i])
- end
- end
- if lower == ":barriers" then
- if game.Workspace.Terrain.GameFolder.Workspace then
- epicheskiy = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Obby Box")
- game.Workspace.Delete.delete:FireServer(epicheskiy)
- end
- end
- if lower == ":removebarriers" then
- if game.Workspace.Terrain.GameFolder.Workspace then
- epicheskiy = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Obby Box")
- game.Workspace.Delete.delete:FireServer(epicheskiy)
- end
- end
- if lower == ":baseplate" then
- if game.Workspace.Terrain.GameFolder.Workspace.Baseplate then
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate)
- end
- end
- if lower == ":tohouse" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-33.2027435, 8.22999954, 82.6940842))
- end
- if lower == ":gotohouse" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-33.2027435, 8.22999954, 82.6940842))
- end
- if lower == ":removebaseplate" then
- if game.Workspace.Terrain.GameFolder.Workspace.Baseplate then
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Baseplate)
- end
- end
- if lower == ":removehouse" then
- if game.Workspace.Terrain.GameFolder.Workspace then
- epicheskiy2 = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Basic House")
- game.Workspace.Delete.delete:FireServer(epicheskiy2)
- end
- end
- if lower == ":house" then
- if game.Workspace.Terrain.GameFolder.Workspace then
- epicheskiy2 = game.Workspace.Terrain.GameFolder.Workspace:FindFirstChild("Basic House")
- game.Workspace.Delete.delete:FireServer(epicheskiy2)
- end
- end
- if lower == ":unlock" then
- local function unlock(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Locked = false
- end
- unlock(v)
- end
- end
- unlock(workspace)
- end
- if lower == "/e unlock" then
- local function unlock(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Locked = false
- end
- unlock(v)
- end
- end
- unlock(workspace)
- end
- if lower == "/e :unlock" then
- local function unlock(instance)
- for i,v in pairs(instance:GetChildren()) do
- if v:IsA("BasePart") then
- v.Locked = false
- end
- unlock(v)
- end
- end
- unlock(workspace)
- end
- if lower == ":breakgame" then
- if game.Workspace.Terrain then
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Workspace)
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Admin)
- end
- end
- if lower == ":endme" then
- if game.Players.LocalPlayer then
- game.Workspace.Delete.delete:FireServer(game.Players.LocalPlayer)
- end
- end
- if lower == ":removegame" then
- if game.Workspace.Terrain then
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Workspace)
- game.Workspace.Delete.delete:FireServer(game.Workspace.Terrain.GameFolder.Admin)
- end
- end
- if lower == ":clear" then
- for i,v in pairs(game.Workspace:GetChildren()) do
- if not v:IsA("Model") or not v:IsA("Camera") or not v:IsA("Terrain") then
- game.Workspace.Delete.delete:FireServer(v)
- end
- end
- end
- if string.find(lower,":cmds") then
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "Check the developer console for a list of additional commands. (F9 or Shift + F9)";
- Color = Color3.new(127, 0, 0);
- Font = Enum.Font.SourceSansBold;
- FontSize = Enum.FontSize.Size24;
- })
- print("----------------COMMANDS-------------------")
- print("Selection options: Full Player Name, Abrreviated, Others")
- print('Example: ":ban others"')
- print()
- print(":cmds - I wonder what this does.")
- print(":ban - Prevents user from rejoining the server. (/e :ban and /e ban work)")
- print(":unban -can use :unban all")
- print(":bans - Shows bans in console")
- print(":slock on - Turns serverlock on")
- print(":slock off - Turns server lock off")
- print(":kick - Removes player from the game (/e :kick and /e kick work)")
- print(":wl - Whitelists the player (Can use commands, not on you though.)")
- print(":unwl - Unwhitelists the player")
- print(":wls -outputs whitelisted players to console (F9)")
- print(":obby - Removes obby at the start. (removeobby also works.)")
- print(":givers - Removes admin givers. (:removegivers :removepads and :pads also all work.)")
- print(":clear --removes parts placed by players (Re-do the script after you run this. Also, use the respawn command to get unstuck.)")
- print(":removehouse - removes house")
- print(":baseplate - Removes baseplate. (:removebaseplate also works.)")
- print(":regen - Removes baseplate. (:removeregen also works.)")
- print(":barriers - Removes barriers around spawn (:removebarriers also works.)")
- print(":breakgame - Breaks everything. (:removegame also works incase you got used to the remove commands.)")
- print(":frick - Kills the player (Doing it without the : yields the same results)")
- print(":heck - Deletes the player's character (Doing it without the : yields the same results)")
- print(":roof - Clones the baseplate over the map")
- print(":darkness - Clones multiple baseplates over the map (Casting a shadow on the map)")
- print(":unlock - Allows you to use your btools on any part in the game (/e unlock and /e :unlock work)")
- print(":gotohouse - Teleports you into the house")
- print()
- print('Executing "kick others/etc." wont kick those whitelisted, but if you single them out it will')
- print('If a user is whitelisted he/she will not be able to see commands on their screen with :cmds,')
- print('and the same goes for :bans and :wls, since the game is filtering enabled, however they will')
- print('be able to use commands if whitelisted')
- print('You can not be unwhitelisted or banned / kicked')
- print("If someone uses the clear / clr command, you must re-apply the script.")
- print("Most commands that effect players can be used silently. (Example /e :kick and /e kick would both work)")
- print("-------------------------------------------")
- print("Made by Timeless. (Updated by Vortex)")
- print("-------------------------------------------")
- end
- end
- end
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- adminexe(game.Players.LocalPlayer,msg)
- end)
- if deletepath then
- game.Players.LocalPlayer.Character.Delete.CanBeDropped = true
- drop = Instance.new("BillboardGui")
- drop.Parent = game.Players.LocalPlayer.PlayerGui
- droplbl = Instance.new("TextLabel")
- droplbl.Parent = drop
- droplbl.Text = "Drop the delete tool to initialize commands"
- droplbl.BackgroundTransparency = 1
- droplbl.TextColor3 = Color3.new(200,0,0)
- droplbl.TextScaled = true
- droplbl.Size = UDim2.new(0,150,0,30)
- droplbl.Position = UDim2.new(0,400,0,400)
- wait(2)
- drop:Destroy()
- end
- if deletepath2 then
- game.Players.LocalPlayer.Backpack.Delete.CanBeDropped = true
- drop = Instance.new("BillboardGui")
- drop.Parent = game.Players.LocalPlayer.PlayerGui
- droplbl = Instance.new("TextLabel")
- droplbl.Parent = drop
- droplbl.Text = "Drop the delete tool to initialize commands"
- droplbl.BackgroundTransparency = 1
- droplbl.TextColor3 = Color3.new(200,0,0)
- droplbl.TextScaled = true
- droplbl.Size = UDim2.new(0,150,0,30)
- droplbl.Position = UDim2.new(0,400,0,400)
- wait(2)
- drop:Destroy()
- end
- game.Players.LocalPlayer.Backpack.ChildAdded:connect(function(tool)
- if tool.Name == "Delete" then
- wait(.1)
- tool.CanBeDropped = true
- drop = Instance.new("BillboardGui")
- drop.Parent = game.Players.LocalPlayer.PlayerGui
- droplbl = Instance.new("TextLabel")
- droplbl.Text = "Drop the delete tool to initialize commands"
- droplbl.BackgroundTransparency = 1
- droplbl.Parent = drop
- droplbl.TextColor3 = Color3.new(200,0,0)
- droplbl.TextScaled = true
- droplbl.Size = UDim2.new(0,150,0,30)
- droplbl.Position = UDim2.new(0,400,0,400)
- wait(2)
- drop:Destroy()
- end
- end)
- function start(plr)
- local found = false
- local banned = false
- for i=1,#whitelist do
- if plr.Name == (whitelist[i]) then
- found = true
- end
- end
- for i=1,#banlist do
- if plr.Name == banlist[i] then
- banned = true
- end
- if banned == true then
- game.Workspace.Delete.delete:FireServer(plr)
- end
- end
- if found == false and slock == true then
- game.Workspace.Delete.delete:FireServer(plr)
- end
- if found == true then
- newtag(plr.Name)
- plr.Chatted:connect(function(msg)
- adminexe(plr,msg)
- end)
- end
- end
- game.Players.PlayerAdded:connect(function(plr)
- start(plr)
- end)
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "Say :cmds for further instructions on how to access additional commands.";
- Color = Color3.new(127, 0, 0);
- Font = Enum.Font.SourceSansBold;
- FontSize = Enum.FontSize.Size24;
- })
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "Drop the hammer tool to get access to the extra commands. (Make sure to inject after giving yourself btools)";
- Color = Color3.new(0, 0, 127);
- Font = Enum.Font.SourceSansBold;
- FontSize = Enum.FontSize.Size24;
- })
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "If someone uses the clear / clr command, you'll have to re-apply the script.";
- Color = Color3.new(0, 127, 0);
- Font = Enum.Font.SourceSansBold;
- FontSize = Enum.FontSize.Size24;
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement