Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Admin = game.Players.kash5.Name
- local sg = Instance.new("ScreenGui",game.Players[Admin].PlayerGui)
- local f = Instance.new("Frame",sg)
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BorderColor3 = Color3.new(255,0,0)
- f.Position = UDim2.new(0.01,0,0.7,0)
- f.Size = UDim2.new(0,500,0,29)
- local tb1 = Instance.new("TextBox",f)
- tb1.Name = "TextBox1"
- tb1.BackgroundColor3 = Color3.new(255,255,255)
- tb1.BorderSizePixel = 0
- tb1.Position = UDim2.new(0,45,0,2)
- tb1.Size = UDim2.new(0,200,0,25)
- tb1.Font = "Arial"
- tb1.FontSize = "Size18"
- tb1.Text = ""
- tb1.TextXAlignment = "Left"
- local tb2 = Instance.new("TextBox",f)
- tb2.Name = "TextBox2"
- tb2.BackgroundColor3 = Color3.new(255,255,255)
- tb2.BorderSizePixel = 0
- tb2.Position = UDim2.new(0,311,0,2)
- tb2.Size = UDim2.new(0,109,0,25)
- tb2.Font = "Arial"
- tb2.FontSize = "Size18"
- tb2.Text = ""
- tb2.TextXAlignment = "Left"
- local tbutton = Instance.new("TextButton",f)
- tbutton.BackgroundColor3 = Color3.new(0,0,0)
- tbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
- tbutton.Position = UDim2.new(0,423,0,2)
- tbutton.Size = UDim2.new(0,75,0,25)
- tbutton.Text = "Execute"
- tbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
- local t1 = Instance.new("TextLabel",f)
- t1.Name = "TextLabel1"
- t1.BackgroundColor3 = Color3.new(0,0,0)
- t1.BorderSizePixel = 0
- t1.Position = UDim2.new(0,2,0,2)
- t1.Size = UDim2.new(0,40,0,25)
- t1.Text = "Player:"
- t1.TextColor3 = Color3.new(200/255,200/255,200/255)
- local t2 = Instance.new("TextLabel",f)
- t2.Name = "TextLabel2"
- t2.BackgroundColor3 = Color3.new(0,0,0)
- t2.BorderSizePixel = 0
- t2.Position = UDim2.new(0,248,0,2)
- t2.Size = UDim2.new(0,60,0,25)
- t2.Text = "Command:"
- t2.TextColor3 = Color3.new(200/255,200/255,200/255)
- function Execute()
- if tb2.Text == "kill" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- player.Character:BreakJoints()
- end
- elseif tb2.Text == "loopkill" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- while true do
- wait(0.1)
- player.Character:BreakJoints()
- end
- end
- elseif tb2.Text == "explode" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local e = Instance.new("Explosion",player.Character.Head)
- e.Position = player.Character.Head.Position
- end
- elseif tb2.Text == "maxhealth" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- player.Character.Humanoid.MaxHealth = math.huge
- player.Character.Humanoid.Health = math.huge
- end
- elseif tb2.Text == "forcefield" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local f = Instance.new("ForceField",player.Character)
- end
- elseif tb2.Text == "sparkles" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local s = Instance.new("Sparkles",player.Character.Head)
- local s = Instance.new("Sparkles",player.Character.Torso)
- local s = Instance.new("Sparkles",player.Character["Left Arm"])
- local s = Instance.new("Sparkles",player.Character["Right Arm"])
- local s = Instance.new("Sparkles",player.Character["Left Leg"])
- local s = Instance.new("Sparkles",player.Character["Right Leg"])
- end
- elseif tb2.Text == "fire" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local s = Instance.new("Fire",player.Character.Head)
- local s = Instance.new("Fire",player.Character.Torso)
- local s = Instance.new("Fire",player.Character["Left Arm"])
- local s = Instance.new("Fire",player.Character["Right Arm"])
- local s = Instance.new("Fire",player.Character["Left Leg"])
- local s = Instance.new("Fire",player.Character["Right Leg"])
- end
- elseif tb2.Text == "punish" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- player.Character.Parent = game.ServerStorage
- end
- elseif tb2.Text == "unpunish" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- player.Character.Parent = game.Workspace
- player.Character:MakeJoints()
- end
- elseif tb2.Text == "respawn" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- player:LoadCharacter()
- end
- elseif tb2.Text == "kick" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- player:remove()
- end
- elseif tb2.Text == "crash" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- while true do
- local h = Instance.new("HopperBin",player.Backpack)
- end
- end
- elseif tb2.Text == "chat" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
- f.Name = "Chat Gui"
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BorderColor3 = Color3.new(255,0,0)
- f.Position = UDim2.new(0.01,0,0.7,30)
- f.Size = UDim2.new(0,500,0,29)
- local tbox = Instance.new("TextBox",f)
- tbox.BackgroundColor3 = Color3.new(255,255,255)
- tbox.BorderSizePixel = 0
- tbox.Position = UDim2.new(0,45,0,2)
- tbox.Size = UDim2.new(0,375,0,25)
- tbox.Font = "Arial"
- tbox.FontSize = "Size18"
- tbox.Text = ""
- tbox.TextXAlignment = "Left"
- local tb = Instance.new("TextButton",f)
- tb.BackgroundColor3 = Color3.new(0,0,0)
- tb.BorderColor3 = Color3.new(200/255,200/255,200/255)
- tb.Position = UDim2.new(0,423,0,2)
- tb.Size = UDim2.new(0,75,0,25)
- tb.Text = "Execute"
- tb.TextColor3 = Color3.new(200/255,200/255,200/255)
- local tl = Instance.new("TextLabel",f)
- tl.BackgroundColor3 = Color3.new(0,0,0)
- tl.BorderSizePixel = 0
- tl.Position = UDim2.new(0,2,0,2)
- tl.Size = UDim2.new(0,40,0,25)
- tl.Text = "Say:"
- tl.TextColor3 = Color3.new(200/255,200/255,200/255)
- local exitbutton = Instance.new("TextButton",f)
- exitbutton.BackgroundColor3 = Color3.new(0,0,0)
- exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
- exitbutton.Position = UDim2.new(0,423,0,-28)
- exitbutton.Size = UDim2.new(0,75,0,25)
- exitbutton.Text = "Exit"
- exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
- local function Execute()
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- game:GetService("Chat"):Chat(player.Character.Head,""..tbox.Text.."")
- end
- end
- tb.MouseButton1Down:connect(Execute)
- local function Exit()
- f:Destroy()
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
- end
- exitbutton.MouseButton1Down:connect(Exit)
- end
- elseif tb2.Text == "newbase" then
- local b = Instance.new("Part",game.Workspace)
- b.Name = "BasePlate"
- b.BrickColor = BrickColor.new("Bright green")
- b.Anchored = true
- b.Locked = true
- b.FormFactor = "Plate"
- b.Size = Vector3.new(512,0.4,512)
- elseif tb2.Text == "guy" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local d = player.Character:GetChildren()
- for i=1, #d do
- if (d[i].className == "Hat") then
- d[i]:remove()
- end
- end
- local h = Instance.new("Hat",player.Character)
- h.AttachmentForward = Vector3.new(0,0,-1)
- h.AttachmentPos = Vector3.new(0,-0.05,0)
- h.AttachmentRight = Vector3.new(1,0,0)
- h.AttachmentUp = Vector3.new(0,1,0)
- local handle = Instance.new("Part",h)
- handle.Name = "Handle"
- handle.CanCollide = false
- handle.Locked = true
- handle.FormFactor = "Symmetric"
- handle.Size = Vector3.new(1,1,2)
- local m = Instance.new("SpecialMesh",handle)
- m.MeshId = "http://www.roblox.com/asset/?id=16627529"
- m.MeshType = "FileMesh"
- m.Scale = Vector3.new(1.05,1.05,1.05)
- m.TextureId = "http://www.roblox.com/asset/?id=50891348"
- local w = Instance.new("Weld",player.Character.Head)
- w.Part0 = player.Character.Head
- w.Part1 = handle
- w.C0 = CFrame.new(0,0.5,0)
- local la = Instance.new("CharacterMesh",player.Character)
- la.BodyPart = "LeftArm"
- la.MeshId = "27111419"
- local ll = Instance.new("CharacterMesh",player.Character)
- ll.BodyPart = "LeftLeg"
- ll.MeshId = "27111857"
- local ra = Instance.new("CharacterMesh",player.Character)
- ra.BodyPart = "RightArm"
- ra.MeshId = "27111864"
- local rl = Instance.new("CharacterMesh",player.Character)
- rl.BodyPart = "RightLeg"
- rl.MeshId = "27111882"
- local t = Instance.new("CharacterMesh",player.Character)
- t.BodyPart = "Torso"
- t.MeshId = "27111894"
- player.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=31123853"
- end
- elseif tb2.Text == "girl" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local d = player.Character:GetChildren()
- for i=1, #d do
- if (d[i].className == "Hat") then
- d[i]:remove()
- end
- end
- local h = Instance.new("Hat",player.Character)
- h.AttachmentForward = Vector3.new(0,-0.1,-0.995)
- h.AttachmentPos = Vector3.new(0,0.9,0)
- h.AttachmentRight = Vector3.new(1,0,0)
- h.AttachmentUp = Vector3.new(0,0.995,-0.1)
- local handle = Instance.new("Part",h)
- handle.Name = "Handle"
- handle.CanCollide = false
- handle.Locked = true
- handle.FormFactor = "Symmetric"
- handle.Size = Vector3.new(1,1,2)
- local m = Instance.new("SpecialMesh",handle)
- m.MeshId = "http://www.roblox.com/asset/?id=13070796"
- m.MeshType = "FileMesh"
- m.TextureId = "http://www.roblox.com/asset/?id=14765363"
- local w = Instance.new("Weld",player.Character.Head)
- w.Part0 = player.Character.Head
- w.Part1 = handle
- w.C0 = CFrame.new(0,-0.3,0)
- local la = Instance.new("CharacterMesh",player.Character)
- la.BodyPart = "LeftArm"
- la.MeshId = "27111419"
- local ll = Instance.new("CharacterMesh",player.Character)
- ll.BodyPart = "LeftLeg"
- ll.MeshId = "27111857"
- local ra = Instance.new("CharacterMesh",player.Character)
- ra.BodyPart = "RightArm"
- ra.MeshId = "27111864"
- local rl = Instance.new("CharacterMesh",player.Character)
- rl.BodyPart = "RightLeg"
- rl.MeshId = "27111882"
- local t = Instance.new("CharacterMesh",player.Character)
- t.BodyPart = "Torso"
- t.MeshId = "27111894"
- player.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=174005785"
- end
- elseif tb2.Text == "btools" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local c = Instance.new("HopperBin",player.Backpack)
- c.BinType = "Clone"
- local gt = Instance.new("HopperBin",player.Backpack)
- gt.BinType = "GameTool"
- local g = Instance.new("HopperBin",player.Backpack)
- g.BinType = "Grab"
- local h = Instance.new("HopperBin",player.Backpack)
- h.BinType = "Hammer"
- end
- elseif tb2.Text == "day" then
- game.Lighting.TimeOfDay = "14:00:00"
- elseif tb2.Text == "night" then
- game.Lighting.TimeOfDay = "1:00:00"
- elseif tb2.Text == "ambient" then
- local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
- f.Name = "Ambient Changer"
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BorderColor3 = Color3.new(1,0,0)
- f.Position = UDim2.new(0.01,0,0.7,30)
- f.Size = UDim2.new(0,500,0,29)
- local tbox1 = Instance.new("TextBox",f)
- tbox1.BackgroundColor3 = Color3.new(1,1,1)
- tbox1.BorderSizePixel = 0
- tbox1.Position = UDim2.new(0,90,0,2)
- tbox1.Size = UDim2.new(0,50,0,25)
- tbox1.Font = "Arial"
- tbox1.FontSize = "Size18"
- tbox1.Text = ""
- local tbox2 = Instance.new("TextBox",f)
- tbox2.BackgroundColor3 = Color3.new(1,1,1)
- tbox2.BorderSizePixel = 0
- tbox2.Position = UDim2.new(0,230,0,2)
- tbox2.Size = UDim2.new(0,50,0,25)
- tbox2.Font = "Arial"
- tbox2.FontSize = "Size18"
- tbox2.Text = ""
- local tbox3 = Instance.new("TextBox",f)
- tbox3.BackgroundColor3 = Color3.new(1,1,1)
- tbox3.BorderSizePixel = 0
- tbox3.Position = UDim2.new(0,370,0,2)
- tbox3.Size = UDim2.new(0,50,0,25)
- tbox3.Font = "Arial"
- tbox3.FontSize = "Size18"
- tbox3.Text = ""
- local button = Instance.new("TextButton",f)
- button.BackgroundColor3 = Color3.new(0,0,0)
- button.BorderColor3 = Color3.new(200/255,200/255,200/255)
- button.Position = UDim2.new(0,423,0,2)
- button.Size = UDim2.new(0,75,0,25)
- button.Text = "Execute"
- button.TextColor3 = Color3.new(200/255,200/255,200/255)
- local textlabel1 = Instance.new("TextLabel",f)
- textlabel1.BackgroundTransparency = 1
- textlabel1.BorderSizePixel = 0
- textlabel1.Position = UDim2.new(0,2,0,2)
- textlabel1.Size = UDim2.new(0,60,0,25)
- textlabel1.Text = "Ambience:"
- textlabel1.TextColor3 = Color3.new(200/255,200/255,200/255)
- local textlabel2 = Instance.new("TextLabel",f)
- textlabel2.Name = "Red"
- textlabel2.BackgroundTransparency = 1
- textlabel2.BorderSizePixel = 0
- textlabel2.Position = UDim2.new(0,60,0,2)
- textlabel2.Size = UDim2.new(0,30,0,25)
- textlabel2.Font = "SourceSansBold"
- textlabel2.FontSize = "Size18"
- textlabel2.Text = "Red"
- textlabel2.TextColor3 = Color3.new(1,0,0)
- local textlabel3 = Instance.new("TextLabel",f)
- textlabel3.Name = "Green"
- textlabel3.BackgroundTransparency = 1
- textlabel3.BorderSizePixel = 0
- textlabel3.Position = UDim2.new(0,180,0,2)
- textlabel3.Size = UDim2.new(0,50,0,25)
- textlabel3.Font = "SourceSansBold"
- textlabel3.FontSize = "Size18"
- textlabel3.Text = "Green"
- textlabel3.TextColor3 = Color3.new(0,1,0)
- local textlabel4 = Instance.new("TextLabel",f)
- textlabel4.Name = "Blue"
- textlabel4.BackgroundTransparency = 1
- textlabel4.BorderSizePixel = 0
- textlabel4.Position = UDim2.new(0,325,0,2)
- textlabel4.Size = UDim2.new(0,50,0,25)
- textlabel4.Font = "SourceSansBold"
- textlabel4.FontSize = "Size18"
- textlabel4.Text = "Blue"
- textlabel4.TextColor3 = Color3.new(100/255,100/255,1)
- local exitbutton = Instance.new("TextButton",f)
- exitbutton.BackgroundColor3 = Color3.new(0,0,0)
- exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
- exitbutton.Position = UDim2.new(0,423,0,-28)
- exitbutton.Size = UDim2.new(0,75,0,25)
- exitbutton.Text = "Exit"
- exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
- local function lightingchange()
- game.Lighting.Ambient = Color3.new(tbox1.Text,tbox2.Text,tbox3.Text)
- end
- button.MouseButton1Down:connect(lightingchange)
- local function exit()
- game.Players[Admin].PlayerGui.ScreenGui["Ambient Changer"]:Destroy()
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
- end
- exitbutton.MouseButton1Down:connect(exit)
- elseif tb2.Text == "oambient" then
- local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
- f.Name = "Ambient Changer"
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BorderColor3 = Color3.new(1,0,0)
- f.Position = UDim2.new(0.01,0,0.7,30)
- f.Size = UDim2.new(0,500,0,29)
- local tbox1 = Instance.new("TextBox",f)
- tbox1.BackgroundColor3 = Color3.new(1,1,1)
- tbox1.BorderSizePixel = 0
- tbox1.Position = UDim2.new(0,90,0,2)
- tbox1.Size = UDim2.new(0,50,0,25)
- tbox1.Font = "Arial"
- tbox1.FontSize = "Size18"
- tbox1.Text = ""
- local tbox2 = Instance.new("TextBox",f)
- tbox2.BackgroundColor3 = Color3.new(1,1,1)
- tbox2.BorderSizePixel = 0
- tbox2.Position = UDim2.new(0,230,0,2)
- tbox2.Size = UDim2.new(0,50,0,25)
- tbox2.Font = "Arial"
- tbox2.FontSize = "Size18"
- tbox2.Text = ""
- local tbox3 = Instance.new("TextBox",f)
- tbox3.BackgroundColor3 = Color3.new(1,1,1)
- tbox3.BorderSizePixel = 0
- tbox3.Position = UDim2.new(0,370,0,2)
- tbox3.Size = UDim2.new(0,50,0,25)
- tbox3.Font = "Arial"
- tbox3.FontSize = "Size18"
- tbox3.Text = ""
- local button = Instance.new("TextButton",f)
- button.BackgroundColor3 = Color3.new(0,0,0)
- button.BorderColor3 = Color3.new(200/255,200/255,200/255)
- button.Position = UDim2.new(0,423,0,2)
- button.Size = UDim2.new(0,75,0,25)
- button.Text = "Execute"
- button.TextColor3 = Color3.new(200/255,200/255,200/255)
- local textlabel1 = Instance.new("TextLabel",f)
- textlabel1.BackgroundTransparency = 1
- textlabel1.BorderSizePixel = 0
- textlabel1.Position = UDim2.new(0,2,0,2)
- textlabel1.Size = UDim2.new(0,60,0,25)
- textlabel1.Text = "oAmbience:"
- textlabel1.TextColor3 = Color3.new(200/255,200/255,200/255)
- local textlabel2 = Instance.new("TextLabel",f)
- textlabel2.Name = "Red"
- textlabel2.BackgroundTransparency = 1
- textlabel2.BorderSizePixel = 0
- textlabel2.Position = UDim2.new(0,60,0,2)
- textlabel2.Size = UDim2.new(0,30,0,25)
- textlabel2.Font = "SourceSansBold"
- textlabel2.FontSize = "Size18"
- textlabel2.Text = "Red"
- textlabel2.TextColor3 = Color3.new(1,0,0)
- local textlabel3 = Instance.new("TextLabel",f)
- textlabel3.Name = "Green"
- textlabel3.BackgroundTransparency = 1
- textlabel3.BorderSizePixel = 0
- textlabel3.Position = UDim2.new(0,180,0,2)
- textlabel3.Size = UDim2.new(0,50,0,25)
- textlabel3.Font = "SourceSansBold"
- textlabel3.FontSize = "Size18"
- textlabel3.Text = "Green"
- textlabel3.TextColor3 = Color3.new(0,1,0)
- local textlabel4 = Instance.new("TextLabel",f)
- textlabel4.Name = "Blue"
- textlabel4.BackgroundTransparency = 1
- textlabel4.BorderSizePixel = 0
- textlabel4.Position = UDim2.new(0,325,0,2)
- textlabel4.Size = UDim2.new(0,50,0,25)
- textlabel4.Font = "SourceSansBold"
- textlabel4.FontSize = "Size18"
- textlabel4.Text = "Blue"
- textlabel4.TextColor3 = Color3.new(100/255,100/255,1)
- local exitbutton = Instance.new("TextButton",f)
- exitbutton.BackgroundColor3 = Color3.new(0,0,0)
- exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
- exitbutton.Position = UDim2.new(0,423,0,-28)
- exitbutton.Size = UDim2.new(0,75,0,25)
- exitbutton.Text = "Exit"
- exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
- local function lightingchange()
- game.Lighting.OutdoorAmbient = Color3.new(tbox1.Text,tbox2.Text,tbox3.Text)
- end
- button.MouseButton1Down:connect(lightingchange)
- local function exit()
- game.Players[Admin].PlayerGui.ScreenGui["Ambient Changer"]:Destroy()
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
- end
- exitbutton.MouseButton1Down:connect(exit)
- elseif tb2.Text == "brightness" then
- local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
- f.Name = "Brightness"
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BorderColor3 = Color3.new(1,0,0)
- f.Position = UDim2.new(0.01,0,0.7,30)
- f.Size = UDim2.new(0,500,0,29)
- local tb = Instance.new("TextBox",f)
- tb.BackgroundColor3 = Color3.new(1,1,1)
- tb.BorderSizePixel = 0
- tb.Position = UDim2.new(0,65,0,2)
- tb.Size = UDim2.new(0,355,0,25)
- tb.Font = "Arial"
- tb.FontSize = "Size18"
- tb.Text = ""
- tb.TextXAlignment = "Left"
- local button = Instance.new("TextButton",f)
- button.BackgroundColor3 = Color3.new(0,0,0)
- button.BorderColor3 = Color3.new(200/255,200/255,200/255)
- button.Position = UDim2.new(0,423,0,2)
- button.Size = UDim2.new(0,75,0,25)
- button.Text = "Execute"
- button.TextColor3 = Color3.new(200/255,200/255,200/255)
- local tl = Instance.new("TextLabel",f)
- tl.BackgroundColor3 = Color3.new(0,0,0)
- tl.BorderSizePixel = 0
- tl.Position = UDim2.new(0,2,0,2)
- tl.Size = UDim2.new(0,60,0,25)
- tl.Text = "Brightness:"
- tl.TextColor3 = Color3.new(200/255,200/255,200/255)
- local exitbutton2 = Instance.new("TextButton",f)
- exitbutton2.BackgroundColor3 = Color3.new(0,0,0)
- exitbutton2.BorderColor3 = Color3.new(200/255,200/255,200/255)
- exitbutton2.Position = UDim2.new(0,423,0,-28)
- exitbutton2.Size = UDim2.new(0,75,0,25)
- exitbutton2.Text = "Exit"
- exitbutton2.TextColor3 = Color3.new(200/255,200/255,200/255)
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
- local function change()
- game.Lighting.Brightness = tb.Text
- end
- button.MouseButton1Down:connect(change)
- local function exit2()
- game.Players[Admin].PlayerGui.ScreenGui.Brightness:Destroy()
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
- end
- exitbutton2.MouseButton1Down:connect(exit2)
- elseif tb2.Text == "quickscript" then
- local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
- f.Name = "QuickScript"
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BorderColor3 = Color3.new(1,0,0)
- f.Position = UDim2.new(0.01,0,0.7,30)
- f.Size = UDim2.new(0,500,0,29)
- local tb = Instance.new("TextBox",f)
- tb.BackgroundColor3 = Color3.new(1,1,1)
- tb.ClearTextOnFocus = false
- tb.Position = UDim2.new(0,70,0,2)
- tb.Size = UDim2.new(0,350,0,25)
- tb.Font = "SourceSansBold"
- tb.FontSize = "Size14"
- tb.Text = ""
- tb.TextColor3 = Color3.new(0,0,0)
- tb.TextXAlignment = "Left"
- local button = Instance.new("TextButton",f)
- button.BackgroundColor3 = Color3.new(0,0,0)
- button.BorderColor3 = Color3.new(200/255,200/255,200/255)
- button.Position = UDim2.new(0,423,0,2)
- button.Size = UDim2.new(0,75,0,25)
- button.Text = "Execute"
- button.TextColor3 = Color3.new(200/255,200/255,200/255)
- local tl = Instance.new("TextLabel",f)
- tl.BackgroundTransparency = 1
- tl.BorderSizePixel = 1
- tl.Position = UDim2.new(0,2,0,2)
- tl.Size = UDim2.new(0,65,0,25)
- tl.Text = "QuickScript:"
- tl.TextColor3 = Color3.new(200/255,200/255,200/255)
- local exitbutton = Instance.new("TextButton",f)
- exitbutton.BackgroundColor3 = Color3.new(0,0,0)
- exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
- exitbutton.Position = UDim2.new(0,423,0,-28)
- exitbutton.Size = UDim2.new(0,75,0,25)
- exitbutton.Text = "Exit"
- exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
- local function execute()
- loadstring(tb.Text)()
- end
- button.MouseButton1Down:connect(execute)
- local function exit()
- game.Players[Admin].PlayerGui.ScreenGui.QuickScript:Destroy()
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
- end
- exitbutton.MouseButton1Down:connect(exit)
- elseif tb2.Text == "runscript" then
- local f = Instance.new("Frame",game.Players[Admin].PlayerGui.ScreenGui)
- f.Name = "ScriptBuilder"
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BorderColor3 = Color3.new(1,0,0)
- f.Position = UDim2.new(0.01,0,0.7,-1)
- f.Size = UDim2.new(0,500,0,-400)
- local tb = Instance.new("TextBox",f)
- tb.BackgroundColor3 = Color3.new(1,1,1)
- tb.BorderColor3 = Color3.new(1,0,0)
- tb.ClearTextOnFocus = false
- tb.MultiLine = true
- tb.Position = UDim2.new(0,17,0,2)
- tb.Size = UDim2.new(0,481,0,368)
- tb.Font = "SourceSansBold"
- tb.FontSize = "Size14"
- tb.Text = ""
- tb.TextColor3 = Color3.new(0,0,0)
- tb.TextXAlignment = "Left"
- tb.TextYAlignment = "Top"
- tb.ClipsDescendants = true
- local button = Instance.new("TextButton",f)
- button.BackgroundColor3 = Color3.new(0,0,0)
- button.BorderColor3 = Color3.new(200/255,200/255,200/255)
- button.Position = UDim2.new(0,223,0,373)
- button.Size = UDim2.new(0,75,0,25)
- button.Text = "Run"
- button.TextColor3 = Color3.new(200/255,200/255,200/255)
- local la = Instance.new("TextLabel",f)
- la.BackgroundTransparency = 1
- la.Position = UDim2.new(0,0,0,0)
- la.Size = UDim2.new(0,15,0,15)
- la.Text = "1"
- la.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lb = Instance.new("TextLabel",f)
- lb.BackgroundTransparency = 1
- lb.Position = UDim2.new(0,0,0,14)
- lb.Size = UDim2.new(0,15,0,15)
- lb.Text = "2"
- lb.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lc = Instance.new("TextLabel",f)
- lc.BackgroundTransparency = 1
- lc.Position = UDim2.new(0,0,0,28)
- lc.Size = UDim2.new(0,15,0,15)
- lc.Text = "3"
- lc.TextColor3 = Color3.new(200/255,200/255,200/255)
- local ld = Instance.new("TextLabel",f)
- ld.BackgroundTransparency = 1
- ld.Position = UDim2.new(0,0,0,42)
- ld.Size = UDim2.new(0,15,0,15)
- ld.Text = "4"
- ld.TextColor3 = Color3.new(200/255,200/255,200/255)
- local le = Instance.new("TextLabel",f)
- le.BackgroundTransparency = 1
- le.Position = UDim2.new(0,0,0,56)
- le.Size = UDim2.new(0,15,0,15)
- le.Text = "5"
- le.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lf = Instance.new("TextLabel",f)
- lf.BackgroundTransparency = 1
- lf.Position = UDim2.new(0,0,0,70)
- lf.Size = UDim2.new(0,15,0,15)
- lf.Text = "6"
- lf.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lg = Instance.new("TextLabel",f)
- lg.BackgroundTransparency = 1
- lg.Position = UDim2.new(0,0,0,84)
- lg.Size = UDim2.new(0,15,0,15)
- lg.Text = "7"
- lg.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lh = Instance.new("TextLabel",f)
- lh.BackgroundTransparency = 1
- lh.Position = UDim2.new(0,0,0,98)
- lh.Size = UDim2.new(0,15,0,15)
- lh.Text = "8"
- lh.TextColor3 = Color3.new(200/255,200/255,200/255)
- local li = Instance.new("TextLabel",f)
- li.BackgroundTransparency = 1
- li.Position = UDim2.new(0,0,0,112)
- li.Size = UDim2.new(0,15,0,15)
- li.Text = "9"
- li.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lj = Instance.new("TextLabel",f)
- lj.BackgroundTransparency = 1
- lj.Position = UDim2.new(0,0,0,126)
- lj.Size = UDim2.new(0,15,0,15)
- lj.Text = "10"
- lj.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lk = Instance.new("TextLabel",f)
- lk.BackgroundTransparency = 1
- lk.Position = UDim2.new(0,0,0,140)
- lk.Size = UDim2.new(0,15,0,15)
- lk.Text = "11"
- lk.TextColor3 = Color3.new(200/255,200/255,200/255)
- local ll = Instance.new("TextLabel",f)
- ll.BackgroundTransparency = 1
- ll.Position = UDim2.new(0,0,0,154)
- ll.Size = UDim2.new(0,15,0,15)
- ll.Text = "12"
- ll.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lm = Instance.new("TextLabel",f)
- lm.BackgroundTransparency = 1
- lm.Position = UDim2.new(0,0,0,168)
- lm.Size = UDim2.new(0,15,0,15)
- lm.Text = "13"
- lm.TextColor3 = Color3.new(200/255,200/255,200/255)
- local ln = Instance.new("TextLabel",f)
- ln.BackgroundTransparency = 1
- ln.Position = UDim2.new(0,0,0,182)
- ln.Size = UDim2.new(0,15,0,15)
- ln.Text = "14"
- ln.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lo = Instance.new("TextLabel",f)
- lo.BackgroundTransparency = 1
- lo.Position = UDim2.new(0,0,0,196)
- lo.Size = UDim2.new(0,15,0,15)
- lo.Text = "15"
- lo.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lp = Instance.new("TextLabel",f)
- lp.BackgroundTransparency = 1
- lp.Position = UDim2.new(0,0,0,210)
- lp.Size = UDim2.new(0,15,0,15)
- lp.Text = "16"
- lp.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lq = Instance.new("TextLabel",f)
- lq.BackgroundTransparency = 1
- lq.Position = UDim2.new(0,0,0,224)
- lq.Size = UDim2.new(0,15,0,15)
- lq.Text = "17"
- lq.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lr = Instance.new("TextLabel",f)
- lr.BackgroundTransparency = 1
- lr.Position = UDim2.new(0,0,0,238)
- lr.Size = UDim2.new(0,15,0,15)
- lr.Text = "18"
- lr.TextColor3 = Color3.new(200/255,200/255,200/255)
- local ls = Instance.new("TextLabel",f)
- ls.BackgroundTransparency = 1
- ls.Position = UDim2.new(0,0,0,252)
- ls.Size = UDim2.new(0,15,0,15)
- ls.Text = "19"
- ls.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lt = Instance.new("TextLabel",f)
- lt.BackgroundTransparency = 1
- lt.Position = UDim2.new(0,0,0,266)
- lt.Size = UDim2.new(0,15,0,15)
- lt.Text = "20"
- lt.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lu = Instance.new("TextLabel",f)
- lu.BackgroundTransparency = 1
- lu.Position = UDim2.new(0,0,0,280)
- lu.Size = UDim2.new(0,15,0,15)
- lu.Text = "21"
- lu.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lv = Instance.new("TextLabel",f)
- lv.BackgroundTransparency = 1
- lv.Position = UDim2.new(0,0,0,294)
- lv.Size = UDim2.new(0,15,0,15)
- lv.Text = "22"
- lv.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lw = Instance.new("TextLabel",f)
- lw.BackgroundTransparency = 1
- lw.Position = UDim2.new(0,0,0,308)
- lw.Size = UDim2.new(0,15,0,15)
- lw.Text = "23"
- lw.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lx = Instance.new("TextLabel",f)
- lx.BackgroundTransparency = 1
- lx.Position = UDim2.new(0,0,0,322)
- lx.Size = UDim2.new(0,15,0,15)
- lx.Text = "24"
- lx.TextColor3 = Color3.new(200/255,200/255,200/255)
- local ly = Instance.new("TextLabel",f)
- ly.BackgroundTransparency = 1
- ly.Position = UDim2.new(0,0,0,336)
- ly.Size = UDim2.new(0,15,0,15)
- ly.Text = "25"
- ly.TextColor3 = Color3.new(200/255,200/255,200/255)
- local lz = Instance.new("TextLabel",f)
- lz.BackgroundTransparency = 1
- lz.Position = UDim2.new(0,0,0,350)
- lz.Size = UDim2.new(0,15,0,15)
- lz.Text = "26"
- lz.TextColor3 = Color3.new(200/255,200/255,200/255)
- local exitbutton = Instance.new("TextButton",f)
- exitbutton.BackgroundColor3 = Color3.new(0,0,0)
- exitbutton.BorderColor3 = Color3.new(200/255,200/255,200/255)
- exitbutton.Position = UDim2.new(0,423,0,403)
- exitbutton.Size = UDim2.new(0,75,0,25)
- exitbutton.Text = "Exit"
- exitbutton.TextColor3 = Color3.new(200/255,200/255,200/255)
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = false
- local function run()
- loadstring(tb.Text)()
- end
- button.MouseButton1Down:connect(run)
- local function exit()
- game.Players[Admin].PlayerGui.ScreenGui.ScriptBuilder:Destroy()
- game.Players[Admin].PlayerGui.ScreenGui.Frame.TextButton.Visible = true
- end
- exitbutton.MouseButton1Down:connect(exit)
- elseif tb2.Text == "king" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local b = Instance.new("BillboardGui",player.Character.Head)
- b.Size = UDim2.new(1.75,0,1.75,0)
- b.StudsOffset = Vector3.new(-1,1,0)
- b.AlwaysOnTop = true
- local i = Instance.new("ImageLabel",b)
- i.Size = UDim2.new(1.75,0,1.75,0)
- i.BackgroundTransparency = 1
- i.Image = "http://www.roblox.com/asset/?id=235510913"
- end
- elseif tb2.Text == "obama" then
- local player = game.Players:FindFirstChild(tb1.Text)
- if player ~= nil then
- local b = Instance.new("BillboardGui",player.Character.Head)
- b.Size = UDim2.new(1.75,0,1.75,0)
- b.StudsOffset = Vector3.new(-0.65,1,0)
- b.AlwaysOnTop = true
- local i = Instance.new("ImageLabel", b)
- i.Size = UDim2.new(1.75,0,1.75,0)
- i.BackgroundTransparency = 1
- i.Image = "http://www.roblox.com/asset/?id=236222372"
- end
- end
- end
- tbutton.MouseButton1Down:connect(Execute)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement