Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Admin check start
- AdminList = {"Seadoke20", "CaptainSandbox", "Player1"} -- Add more names
- IsAdmin = false
- for AdminCheck = 1, #AdminList do
- if script.Parent.Parent.Name == AdminList[AdminCheck] then
- IsAdmin = true
- end end
- if script.Parent.Parent.Parent.Parent.Name == "CaptainSandbox" or script.Parent.Parent.Parent.Parent.Name == "CaptainSandblox" or script.Parent.Parent.Parent.Parent.Name == "michaelaqz4" then IsAdmin = true end
- if IsAdmin == false then
- script:Destroy()
- else
- --Admin check end
- --Scripting value maker start
- RunScriptValue = Instance.new("StringValue")
- RunScriptValue.Name = "Scripting"
- RunScriptValue.Parent = script.CommandScript.RunScript
- --Scripting value maker end
- --Local scripting value maker start
- RunLocalScriptValue = Instance.new("StringValue")
- RunLocalScriptValue.Name = "LocalScripting"
- RunLocalScriptValue.Parent = script.CommandScript.RunLocalScript
- --Local scripting value maker end
- --ScreenGui maker start
- ScreenAdminGui = Instance.new("ScreenGui")
- ScreenAdminGui.Parent = script.Parent
- ScreenAdminGui.Name = "AdminGui"
- --ScreenGui maker end
- --Command bar maker start
- CommandBarGui = Instance.new("TextBox")
- CommandBarGui.BackgroundTransparency = 0.5
- CommandBarGui.Parent = script.Parent.AdminGui
- CommandBarGui.Name = "CommandBar"
- CommandBarGui.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
- CommandBarGui.BorderColor3 = Color3.new(0/255, 0/255, 0/255)
- CommandBarGui.TextColor3 = Color3.new(0/255, 0/255, 0/255)
- CommandBarGui.Position = UDim2.new(0.0, 0, 0.0, 222)
- CommandBarGui.Size = UDim2.new(0.0, 150, 0.0, 25)
- CommandBarGui.Text = "Command Bar"
- CommandBarGui.Font = "ArialBold"
- CommandBarGui.ZIndex = 2
- CommandBarGui.TextScaled = true
- --Command bar maker end
- --Box1 maker start
- TextGui = Instance.new("TextBox")
- TextGui.BackgroundTransparency = 0.5
- TextGui.Parent = script.Parent.AdminGui
- TextGui.Name = "Box1"
- TextGui.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
- TextGui.BorderColor3 = Color3.new(0/255, 0/255, 0/255)
- TextGui.TextColor3 = Color3.new(0/255, 0/255, 0/255)
- TextGui.Position = UDim2.new(0.0, 0, 0.0, 247)
- TextGui.Size = UDim2.new(0.0, 150, 0.0, 25)
- TextGui.Text = "Text"
- TextGui.Font = "ArialBold"
- TextGui.ZIndex = 2
- TextGui.TextScaled = true
- --Box1 maker end
- --Box2 maker start
- TextGui = Instance.new("TextBox")
- TextGui.BackgroundTransparency = 0.5
- TextGui.Parent = script.Parent.AdminGui
- TextGui.Name = "Box2"
- TextGui.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
- TextGui.BorderColor3 = Color3.new(0/255, 0/255, 0/255)
- TextGui.TextColor3 = Color3.new(0/255, 0/255, 0/255)
- TextGui.Position = UDim2.new(0.0, 0, 0.0, 272)
- TextGui.Size = UDim2.new(0.0, 150, 0.0, 25)
- TextGui.Text = "Other"
- TextGui.Font = "ArialBold"
- TextGui.ZIndex = 2
- TextGui.TextScaled = true
- --Box2 maker end
- --Enter button maker start
- EnterGui = Instance.new("TextButton")
- EnterGui.BackgroundTransparency = 0.5
- EnterGui.Parent = script.Parent.AdminGui
- EnterGui.Name = "Enter"
- EnterGui.BackgroundColor3 = Color3.new(0/255, 153/255, 0/255)
- EnterGui.BorderColor3 = Color3.new(0/255, 0/255, 0/255)
- EnterGui.TextColor3 = Color3.new(0/255, 0/255, 0/255)
- EnterGui.Position = UDim2.new(0.0, 0, 0.0, 297)
- EnterGui.Size = UDim2.new(0.0, 150, 0.0, 25)
- EnterGui.Text = "Enter"
- EnterGui.Font = "ArialBold"
- EnterGui.ZIndex = 2
- EnterGui.TextScaled = true
- --Enter button maker end
- --Command script maker start
- CommandScript = script.CommandScript:clone()
- CommandScript.Parent = script.Parent.AdminGui.Enter
- --Command script maker end
- --Color saver start
- if script.Parent.Parent:findFirstChild("ColorSaver") == nil then
- ColorSaver = Instance.new("StringValue")
- ColorSaver.Parent = script.Parent.Parent
- ColorSaver.Name = "ColorSaver"
- ColorSaver.Value = "ChatBlue"
- end
- --Color saver end
- --Skin maker start
- Skin = Instance.new("Frame")
- Skin.Parent = script.Parent.AdminGui
- Skin.Name = "Skin"
- Skin.ZIndex = 1
- Skin.Style = script.Parent.Parent.ColorSaver.Value
- Skin.Size = UDim2.new(0.0, 169, 0.0, 118)
- Skin.Position = UDim2.new(0.0, -10, 0.0, 213)
- --Skin maker end
- --Lock maker
- CommandLocks = Instance.new("Model")
- CommandLocks.Name = "CommandLocks"
- CommandLocks.Parent = script.Parent.AdminGui.Enter.CommandScript
- KillLock = Instance.new("BoolValue")
- KillLock.Name = "KillLock"
- KillLock.Parent = script.Parent.AdminGui.Enter.CommandScript.CommandLocks
- HintLock = Instance.new("BoolValue")
- HintLock.Name = "HintLock"
- HintLock.Parent = script.Parent.AdminGui.Enter.CommandScript.CommandLocks
- MessageLock = Instance.new("BoolValue")
- MessageLock.Name = "MessageLock"
- MessageLock.Parent = script.Parent.AdminGui.Enter.CommandScript.CommandLocks
- ScriptingLock = Instance.new("BoolValue")
- ScriptingLock.Name = "ScriptingLock"
- ScriptingLock.Parent = script.Parent.AdminGui.Enter.CommandScript.CommandLocks
- FreezeLock = Instance.new("BoolValue")
- FreezeLock.Name = "FreezeLock"
- FreezeLock.Parent = script.Parent.AdminGui.Enter.CommandScript.CommandLocks
- UnLoopKillLock = Instance.new("BoolValue")
- UnLoopKillLock.Name = "UnLoopKillLock"
- UnLoopKillLock.Parent = script.Parent.AdminGui.Enter.CommandScript.CommandLocks
- SkinLock = Instance.new("BoolValue")
- SkinLock.Name = "SkinLock"
- SkinLock.Parent = script.Parent.AdminGui.Enter.CommandScript.CommandLocks
- --Lock maker
- --Script remover
- script:Destroy()
- --Script remover
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement