Localqw6 gui v5
Key RequiredUniversal

Localqw6 gui v5

Universal Script*OMER12345678*OMER12345678 3K views 19 executesUpdated Nov 29, 2024
2.5/ 5(2 votes)
1150% Positive
Lua Script•145 lines (5507 chars)
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local character = player.Character or player.CharacterAdded:Wait()

-- GUI çerçevesi oluşturuluyor
local gui = Instance.new("ScreenGui")
gui.Name = "XXXOMER12345678_AND_LOCALQW6"
gui.Parent = playerGui

-- Ana çerçeve (Frame) - Küçültülmüş boyutta
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0.4, 0, 0.6, 0)  -- Küçültülmüş boyut
frame.Position = UDim2.new(0.3, 0, 0.3, 0)  -- Ortalanmış
frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)  -- Gri arka plan
frame.BorderSizePixel = 2
frame.BorderColor3 = Color3.fromRGB(255, 255, 255)
frame.Visible = true
frame.Parent = gui

-- Sürükleyici için bir çerçeve oluşturuluyor
local dragging = false
local dragInput, dragStart, startPos
frame.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = input.Position
        startPos = frame.Position
    end
end)

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

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

-- Butonları oluşturuyoruz
local function createButton(name, position, size, color, onClickFunction)
    local button = Instance.new("TextButton")
    button.Size = size
    button.Position = position
    button.Text = name
    button.BackgroundColor3 = color
    button.TextScaled = true
    button.Parent = frame
    
    button.MouseButton1Click:Connect(onClickFunction)
    return button
end

-- "LOCAL FE" Butonu
createButton("LOCAL FE", UDim2.new(0.25, 0, 0.1, 0), UDim2.new(0.5, 0, 0.1, 0), Color3.fromRGB(0, 255, 0), function()
    local effect = Instance.new("ParticleEmitter")
    effect.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))  -- Sarı renk
    effect.Size = NumberSequence.new(10)
    effect.Parent = character:WaitForChild("HumanoidRootPart")
    wait(2)
    effect:Destroy()
    print(player.Name .. " için LOCAL FE efekti çalıştı!")
end)

-- "VİRÜS" Butonu
createButton("VİRÜS", UDim2.new(0.25, 0, 0.22, 0), UDim2.new(0.5, 0, 0.1, 0), Color3.fromRGB(255, 0, 0), function()
    game.ReplicatedStorage:WaitForChild("VirusEvent"):FireAllClients()  -- Virüs efekti gönder
end)

-- "EFEKTE" Butonu
createButton("EFEKTE", UDim2.new(0.25, 0, 0.34, 0), UDim2.new(0.5, 0, 0.1, 0), Color3.fromRGB(0, 0, 255), function()
    local lightEffect = Instance.new("PointLight")
    lightEffect.Color = Color3.fromRGB(255, 255, 255)
    lightEffect.Range = 50
    lightEffect.Parent = character:WaitForChild("HumanoidRootPart")
    wait(3)
    lightEffect:Destroy()
end)

-- "FE" Butonu
createButton("FE", UDim2.new(0.25, 0, 0.46, 0), UDim2.new(0.5, 0, 0.1, 0), Color3.fromRGB(255, 255, 0), function()
    local sound = Instance.new("Sound")
    sound.SoundId = "rbxassetid://YOUR_SOUND_ID"  -- Buraya ses ID'si eklemeyi unutmayın
    sound.Parent = character:WaitForChild("HumanoidRootPart")
    sound:Play()
end)

-- "FE 2" Butonu
createButton("FE 2", UDim2.new(0.25, 0, 0.58, 0), UDim2.new(0.5, 0, 0.1, 0), Color3.fromRGB(255, 165, 0), function()
    game.ReplicatedStorage:WaitForChild("FE2Event"):FireAllClients()  -- Tüm oyuncularda FE 2 efekti
end)

-- "FREE PLAYER BOM" Butonu
createButton("FREE PLAYER BOM", UDim2.new(0.25, 0, 0.7, 0), UDim2.new(0.5, 0, 0.1, 0), Color3.fromRGB(255, 165, 0), function()
    game.ReplicatedStorage:WaitForChild("FreePlayerBomEvent"):FireAllClients()  -- Tüm oyuncularda bom etkisi
end)

-- GUI'yi açma/kapama butonu
local toggleButton = Instance.new("TextButton")
toggleButton.Size = UDim2.new(0.3, 0, 0.2, 0)
toggleButton.Position = UDim2.new(0.35, 0, 1.1, 0)
toggleButton.Text = "Toggle GUI"
toggleButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255)  -- Mavi-yeşil arka plan
toggleButton.TextScaled = true
toggleButton.Parent = frame

-- GUI'yi açma/kapama işlemi
toggleButton.MouseButton1Click:Connect(function()
    frame.Visible = not frame.Visible  -- Eğer GUI açıksa kapat, kapalıysa aç
end)

-- "GUI Buton Yapılandırma" Butonu
local canDrag = false
createButton("GUI Buton Yapılandırma", UDim2.new(0.25, 0, 0.82, 0), UDim2.new(0.5, 0, 0.1, 0), Color3.fromRGB(0, 255, 255), function()
    canDrag = not canDrag
    print("Buton yapılandırma " .. (canDrag and "açıldı" or "kapandı"))
end)

-- Buton yer değiştirme işlevi
local function onDrag(input, button)
    if canDrag then
        local mousePos = input.Position
        local xOffset = mousePos.X - button.AbsolutePosition.X
        local yOffset = mousePos.Y - button.AbsolutePosition.Y
        button.Position = UDim2.new(0, mousePos.X - frame.AbsolutePosition.X - xOffset, 0, mousePos.Y - frame.AbsolutePosition.Y - yOffset)
    end
end

-- Butonların sürüklenebilirliğini sağlama
for _, button in pairs(frame:GetChildren()) do
    if button:IsA("TextButton") and button ~= toggleButton then
        button.InputBegan:Connect(function(input)
            if input.UserInputType == Enum.UserInputType.MouseButton1 then
                input.Changed:Connect(function()
                    onDrag(input, button)
                end)
            end
        end)
    end
end

Features & Information

Gui

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts