Kkad0kidd gui key V28
Key RequiredUniversal

Kkad0kidd gui key V28

Universal Scriptooa665992ooa665992 12.1K views 30 executesUpdated Oct 14, 2024
Unrated
00
Lua Script•126 lines (4737 chars)
local screenGui = Instance.new("ScreenGui") -- Cria a interface na tela
local frame = Instance.new("Frame") -- Cria um quadro para a interface
local hintLabel = Instance.new("TextLabel") -- Label para hint
local creditsLabel = Instance.new("TextLabel") -- Label de créditos
local keyInput = Instance.new("TextBox") -- Caixa de entrada para a chave
local submitButton = Instance.new("TextButton") -- Botão de envio da chave
local messageLabel = Instance.new("TextLabel") -- Label para mensagens

-- Configurações do ScreenGui
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Configurações do Frame
frame.Size = UDim2.new(0, 300, 0, 300)
frame.Position = UDim2.new(0.5, -150, 0.5, -150)
frame.BackgroundColor3 = Color3.fromRGB(255, 255, 0) -- Cor amarela
frame.Parent = screenGui

-- Configurações do Hint
hintLabel.Size = UDim2.new(1, 0, 0, 50)
hintLabel.Position = UDim2.new(0, 0, 0, 0)
hintLabel.Text = "Join Team girl00kidd"
hintLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
hintLabel.Parent = frame

-- Configurações dos Créditos
creditsLabel.Size = UDim2.new(1, 0, 0, 50)
creditsLabel.Position = UDim2.new(0, 0, 1, -50)
creditsLabel.Text = "Credits to girl00kidd"
creditsLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
creditsLabel.Parent = frame

-- Configurações da Caixa de Entrada da Key
keyInput.Size = UDim2.new(1, -20, 0, 50)
keyInput.Position = UDim2.new(0, 10, 0, 50)
keyInput.PlaceholderText = "Digite a Key"
keyInput.TextColor3 = Color3.fromRGB(0, 0, 0)
keyInput.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
keyInput.Parent = frame

-- Configurações do Botão de Envio
submitButton.Size = UDim2.new(1, 0, 0, 50)
submitButton.Position = UDim2.new(0, 0, 0, 110)
submitButton.Text = "Submeter"
submitButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
submitButton.Parent = frame

-- Configurações da Label de Mensagens
messageLabel.Size = UDim2.new(1, 0, 0, 50)
messageLabel.Position = UDim2.new(0, 0, 0, 170)
messageLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
messageLabel.Parent = frame

-- Função para validar a key
local function validateKey()
    local key = keyInput.Text
    if key == "zhand7" then
        messageLabel.Text = "Key correta! Abrindo script..."
        wait(2) -- Espera um pouco antes de executar o script
        frame.Visible = false -- Oculta a interface de entrada da chave
        runMainScript() -- Chama a função principal do script
    else
        messageLabel.Text = "Key incorreta! Tente novamente."
    end
end

-- Função principal do script (aqui você pode adicionar suas funcionalidades)
local function runMainScript()
    -- Função para mudar o céu
    local function changeSky()
        local skybox = Instance.new("Sky") -- Cria uma nova instância de Sky
        skybox.Parent = game.Lighting -- Coloca o Skybox no Lighting
        local skyImageId = "rbxassetid://134964139950"
        skybox.SkyboxBk = skyImageId -- Imagem para a parte de trás
        skybox.SkyboxDn = skyImageId -- Imagem para a parte de baixo
        skybox.SkyboxFt = skyImageId -- Imagem para a frente
        skybox.SkyboxLf = skyImageId -- Imagem para a esquerda
        skybox.SkyboxRt = skyImageId -- Imagem para a direita
        skybox.SkyboxUp = skyImageId -- Imagem para cima
    end

    -- Função para mudar o chão
    local function changeGround()
        local terrain = game.Workspace.Terrain
        -- Aqui você pode adicionar lógica para aplicar a textura ao chão
        terrain:FillBlock(Vector3.new(0, 0, 0), Vector3.new(100, 1, 100), Enum.Material.Grass)
    end

    -- Conexão da tecla "T"
    local UserInputService = game:GetService("UserInputService")

    UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
        if input.KeyCode == Enum.KeyCode.T and not gameProcessedEvent then
            changeSky()  -- Chama a função para mudar o céu
            changeGround()  -- Chama a função para mudar o chão
        end
    end)
end

-- Conexão do botão de envio
submitButton.MouseButton1Click:Connect(validateKey)

-- Função para permitir arrastar a interface
local dragging = false
local dragStart = nil
local startPos = nil

frame.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = input.Position
        startPos = frame.Position
    end
end)

frame.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = false
    end
end)

frame.InputChanged:Connect(function(input)
    if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
        local delta = input.Position - dragStart
        frame.Position = startPos + UDim2.new(0, delta.X, 0, delta.Y)
    end
end)

Features & Information

Aj

Community Comments (3)

AayushkarkeeAayushkarkeeOct 14, 2024(edited)

@ooa665992 stop uploading spam or i will report you

ooa665992ooa665992Oct 14, 2024(edited)

Oi

J0EYJ0EYOct 14, 2024(edited)

horrible script

More Scripts for Universal Scripts