Deneme
Key RequiredUniversal

Deneme

Universal Scriptyuksel99kyuksel99k 17 views 1 executesUpdated Jul 17, 2026
Unrated
00
Lua Script•1354 lines (49654 chars)
local p = game.Players.LocalPlayer
local g = Instance.new("ScreenGui", p:WaitForChild("PlayerGui"))
g.ResetOnSpawn = false

-- ANA ŞİFRE EKRANI
local mainFrame = Instance.new("Frame", g)
mainFrame.Size = UDim2.new(0, 350, 0, 250)
mainFrame.Position = UDim2.new(0.5, -175, 0.5, -125)
mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
mainFrame.BorderSizePixel = 2
mainFrame.BorderColor3 = Color3.fromRGB(0, 170, 255)

-- RGB Efekti için çerçeve
local rgbFrameKey = Instance.new("Frame", mainFrame)
rgbFrameKey.Size = UDim2.new(1, 10, 1, 10)
rgbFrameKey.Position = UDim2.new(0, -5, 0, -5)
rgbFrameKey.BackgroundTransparency = 1
rgbFrameKey.ZIndex = -1

-- RGB UIStroke (Gökkuşağı efekti)
local rgbStrokeKey = Instance.new("UIStroke", rgbFrameKey)
rgbStrokeKey.Thickness = 4
rgbStrokeKey.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
rgbStrokeKey.LineJoinMode = Enum.LineJoinMode.Round

-- BAŞLIK "MertScripts!"
local title = Instance.new("TextLabel", mainFrame)
title.Size = UDim2.new(1, 0, 0, 50)
title.Position = UDim2.new(0, 0, 0, 10)
title.Text = "MertScripts!"
title.TextColor3 = Color3.fromRGB(0, 170, 255)
title.BackgroundTransparency = 1
title.Font = Enum.Font.SourceSansBold
title.TextSize = 32

-- Başlık için RGB efekti
local titleRgbStroke = Instance.new("UIStroke", title)
titleRgbStroke.Thickness = 3
titleRgbStroke.LineJoinMode = Enum.LineJoinMode.Round

-- ŞİFRE DURUM YAZISI
local statusText = Instance.new("TextLabel", mainFrame)
statusText.Size = UDim2.new(1, -40, 0, 30)
statusText.Position = UDim2.new(0, 20, 0, 70)
statusText.Text = "Şifre girin..."
statusText.TextColor3 = Color3.fromRGB(200, 200, 200)
statusText.BackgroundTransparency = 1
statusText.Font = Enum.Font.SourceSans
statusText.TextSize = 16
statusText.TextXAlignment = Enum.TextXAlignment.Left

-- Durum yazısı için RGB efekti
local statusRgbStroke = Instance.new("UIStroke", statusText)
statusRgbStroke.Thickness = 1
statusRgbStroke.Transparency = 0.5
statusRgbStroke.LineJoinMode = Enum.LineJoinMode.Round

-- ŞİFRE TEXTBOX'U
local passwordBox = Instance.new("TextBox", mainFrame)
passwordBox.Size = UDim2.new(1, -40, 0, 40)
passwordBox.Position = UDim2.new(0, 20, 0, 110)
passwordBox.PlaceholderText = "Key..."
passwordBox.Text = ""
passwordBox.ClearTextOnFocus = false
passwordBox.TextColor3 = Color3.fromRGB(255, 255, 255)
passwordBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
passwordBox.Font = Enum.Font.SourceSans
passwordBox.TextSize = 20
passwordBox.TextXAlignment = Enum.TextXAlignment.Center

-- Textbox için RGB efekti
local passwordBoxStroke = Instance.new("UIStroke", passwordBox)
passwordBoxStroke.Thickness = 2
passwordBoxStroke.LineJoinMode = Enum.LineJoinMode.Round

-- "Getkey" BUTONU (SOL TARAFTA)
local getkeyButton = Instance.new("TextButton", mainFrame)
getkeyButton.Size = UDim2.new(0, 100, 0, 30)
getkeyButton.Position = UDim2.new(0, 20, 0, 160)
getkeyButton.Text = "Getkey"
getkeyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
getkeyButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
getkeyButton.Font = Enum.Font.SourceSansBold
getkeyButton.TextSize = 16

-- Getkey butonu için RGB efekti
local getkeyButtonStroke = Instance.new("UIStroke", getkeyButton)
getkeyButtonStroke.Thickness = 2
getkeyButtonStroke.LineJoinMode = Enum.LineJoinMode.Round

-- "Doğrula" BUTONU (SAĞ TARAFTA)
local verifyButton = Instance.new("TextButton", mainFrame)
verifyButton.Size = UDim2.new(0, 100, 0, 30)
verifyButton.Position = UDim2.new(1, -120, 0, 160)
verifyButton.Text = "Doğrula"
verifyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
verifyButton.BackgroundColor3 = Color3.fromRGB(0, 120, 255)
verifyButton.Font = Enum.Font.SourceSansBold
verifyButton.TextSize = 16

-- Doğrula butonu için RGB efekti
local verifyButtonStroke = Instance.new("UIStroke", verifyButton)
verifyButtonStroke.Thickness = 2
verifyButtonStroke.LineJoinMode = Enum.LineJoinMode.Round

-- ÇARPI BUTONU (SAĞ ÜST)
local closeButton = Instance.new("TextButton", mainFrame)
closeButton.Size = UDim2.new(0, 30, 0, 30)
closeButton.Position = UDim2.new(1, -35, 0, 5)
closeButton.Text = "X"
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
closeButton.Font = Enum.Font.SourceSansBold
closeButton.TextSize = 18

-- Çarpı butonu için RGB efekti
local closeButtonStroke = Instance.new("UIStroke", closeButton)
closeButtonStroke.Thickness = 2
closeButtonStroke.LineJoinMode = Enum.LineJoinMode.Round

-- RGB Animasyonu (Şifre Ekranı)
local rgbOffsetKey = 0
local rgbSpeedKey = 1.5

game:GetService("RunService").Heartbeat:Connect(function(deltaTime)
    rgbOffsetKey = rgbOffsetKey + deltaTime * rgbSpeedKey
    
    -- RGB renkleri hesapla
    local r = math.sin(rgbOffsetKey) * 0.5 + 0.5
    local g = math.sin(rgbOffsetKey + 2) * 0.5 + 0.5
    local b = math.sin(rgbOffsetKey + 4) * 0.5 + 0.5
    
    local rgbColor = Color3.new(r, g, b)
    
    -- Ana çerçeveye RGB efekti uygula
    rgbStrokeKey.Color = rgbColor
    
    -- Başlığa RGB efekti uygula
    titleRgbStroke.Color = Color3.new(r, g, b)
    
    -- Durum yazısına RGB efekti uygula
    statusRgbStroke.Color = Color3.new(r * 0.5, g * 0.5, b * 0.5)
    
    -- Textbox'a RGB efekti uygula
    passwordBoxStroke.Color = Color3.new(r * 0.8, g * 0.8, b * 0.8)
    
    -- Getkey butonuna RGB efekti uygula
    getkeyButtonStroke.Color = Color3.new(r, g * 0.7, b * 0.5)
    
    -- Doğrula butonuna RGB efekti uygula
    verifyButtonStroke.Color = Color3.new(r * 0.7, g, b)
    
    -- Çarpı butonuna RGB efekti uygula
    closeButtonStroke.Color = Color3.new(r, g * 0.3, b * 0.3)
end)

-- GETKEY BUTONU TIKLAMA
getkeyButton.MouseButton1Click:Connect(function()
    if setclipboard then
        setclipboard("https://www.youtube.com/@NightBoxyz")
        statusText.Text = "Link kopyalandı!"
        wait(1)
        if statusText.Text == "Link kopyalandı!" then
            statusText.Text = "Şifre girin..."
        end
    else
        statusText.Text = "Kopyalama hatası!"
    end
end)

-- DOĞRULA BUTONU TIKLAMA
verifyButton.MouseButton1Click:Connect(function()
    local userPassword = passwordBox.Text
    local correctPassword = "Kaya_17"
    
    if string.lower(userPassword) == string.lower(correctPassword) then
        statusText.Text = "Şifre doğru, hile açılıyor!"
        
        -- RGB efekti doğrulama için değişsin
        for i = 1, 10 do
            rgbSpeedKey = rgbSpeedKey + 0.5
            wait(0.1)
        end
        
        -- BEKLE VE ÇALIŞTIR
        wait(1)
        
        -- ŞİFRE EKRANINI SİL
        g:Destroy()
        
        -- HİLEYİ ÇALIŞTIR
        print("Hile çalıştırılıyor...")
        local p = game.Players.LocalPlayer
local g = Instance.new("ScreenGui", p:WaitForChild("PlayerGui"))
g.ResetOnSpawn = false

local f = Instance.new("Frame", g)
f.Size = UDim2.new(0, 300, 0, 200)
f.Position = UDim2.new(0.5, -150, 0.5, -100)
f.BackgroundColor3 = Color3.fromRGB(30,30,30)
f.Visible = true
f.Active = true
f.Draggable = true

-- RGB Efekt Çerçevesi
local rgbFrame = Instance.new("Frame", f)
rgbFrame.Size = UDim2.new(1, 10, 1, 10)
rgbFrame.Position = UDim2.new(0, -5, 0, -5)
rgbFrame.BackgroundTransparency = 1
rgbFrame.ZIndex = -1

-- RGB UIStroke (Gökkuşağı efekti)
local rgbStroke = Instance.new("UIStroke", rgbFrame)
rgbStroke.Thickness = 4
rgbStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
rgbStroke.LineJoinMode = Enum.LineJoinMode.Round

local t = Instance.new("TextLabel", f)
t.Size = UDim2.new(1, 0, 0, 20)
t.Position = UDim2.new(0, 0, 0, 0)
t.Text = "Mert Scripts"
t.TextColor3 = Color3.fromRGB(255,255,255)
t.BackgroundTransparency = 1
t.Font = Enum.Font.SourceSansBold
t.TextSize = 16

-- Başlık için RGB efekti
local titleRgbStroke = Instance.new("UIStroke", t)
titleRgbStroke.Thickness = 2
titleRgbStroke.LineJoinMode = Enum.LineJoinMode.Round

-- Hoşgeldin yazısı eklendi
local welcomeText = Instance.new("TextLabel", f)
welcomeText.Size = UDim2.new(1, 0, 0, 15)
welcomeText.Position = UDim2.new(0, 0, 0, 20)
welcomeText.Text = "Hoşgeldin♡Welcome"
welcomeText.TextColor3 = Color3.fromRGB(200,200,200)
welcomeText.BackgroundTransparency = 1
welcomeText.Font = Enum.Font.SourceSans
welcomeText.TextSize = 12
welcomeText.TextWrapped = true

-- Hoşgeldin yazısı için RGB efekti
local welcomeRgbStroke = Instance.new("UIStroke", welcomeText)
welcomeRgbStroke.Thickness = 1
welcomeRgbStroke.Transparency = 0.5
welcomeRgbStroke.LineJoinMode = Enum.LineJoinMode.Round

local c = Instance.new("TextLabel", f)
c.Size = UDim2.new(0, 180, 0, 120)
c.Position = UDim2.new(0, 100, 0, 70)
c.TextColor3 = Color3.fromRGB(255,255,255)
c.BackgroundTransparency = 1
c.Font = Enum.Font.SourceSans
c.TextSize = 16
c.TextWrapped = true
c.Text = ""

-- Açıklama yazısı için RGB efekti
local descRgbStroke = Instance.new("UIStroke", c)
descRgbStroke.Thickness = 1
descRgbStroke.Transparency = 0.7
descRgbStroke.LineJoinMode = Enum.LineJoinMode.Round

local espButton = Instance.new("TextButton", f)
espButton.Size = UDim2.new(0, 100, 0, 30)
espButton.Position = UDim2.new(0, 190, 0, 150)
espButton.Text = "Çalıştır"
espButton.Visible = false
espButton.TextColor3 = Color3.fromRGB(255,255,255)
espButton.BackgroundColor3 = Color3.fromRGB(60,60,60)
espButton.Font = Enum.Font.SourceSansBold
espButton.TextSize = 14

-- Buton için RGB efekti
local espButtonStroke = Instance.new("UIStroke", espButton)
espButtonStroke.Thickness = 2
espButtonStroke.LineJoinMode = Enum.LineJoinMode.Round

-- Sol taraf için ScrollingFrame
local scrollFrame = Instance.new("ScrollingFrame", f)
scrollFrame.Size = UDim2.new(0, 70, 0, 160)
scrollFrame.Position = UDim2.new(0, 10, 0, 35)
scrollFrame.BackgroundTransparency = 1
scrollFrame.ScrollBarThickness = 4
scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 315)

-- ScrollFrame için RGB efekti
local scrollRgbStroke = Instance.new("UIStroke", scrollFrame)
scrollRgbStroke.Thickness = 2
scrollRgbStroke.LineJoinMode = Enum.LineJoinMode.Round

-- AIMBOT İÇİN YENİ DEĞİŞKENLER (WHITELIST)
local aimbotButton
local aimbotActive = false
local aimbotConnection
local aimTarget = nil
local whitelist = {}
local whitelistBox, addButton, removeButton

-- AIMBOT BUTONU İÇİN RGB EFEKTİ
local aimbotButtonStroke
local whitelistBoxStroke, addButtonStroke, removeButtonStroke

-- RGB Animasyonu
local rgbOffset = 0
local rgbSpeed = 2

game:GetService("RunService").Heartbeat:Connect(function(deltaTime)
    rgbOffset = rgbOffset + deltaTime * rgbSpeed
    
    local r = math.sin(rgbOffset) * 0.5 + 0.5
    local g = math.sin(rgbOffset + 2) * 0.5 + 0.5
    local b = math.sin(rgbOffset + 4) * 0.5 + 0.5
    
    local rgbColor = Color3.new(r, g, b)
    
    rgbStroke.Color = rgbColor
    titleRgbStroke.Color = Color3.new(r, g * 0.8, b * 0.6)
    welcomeRgbStroke.Color = Color3.new(r * 0.7, g * 0.7, b * 0.7)
    descRgbStroke.Color = Color3.new(r * 0.5, g * 0.5, b * 0.5)
    scrollRgbStroke.Color = Color3.new(r * 0.8, g * 0.8, b * 0.8)
    
    if espButton.Visible then
        espButtonStroke.Color = rgbColor
    end
    
    if aimbotButtonStroke then
        aimbotButtonStroke.Color = rgbColor
    end
    if whitelistBoxStroke then
        whitelistBoxStroke.Color = Color3.new(r * 0.7, g * 0.7, b * 0.7)
    end
    if addButtonStroke then
        addButtonStroke.Color = Color3.new(r * 0.5, g * 0.8, b * 0.5)
    end
    if removeButtonStroke then
        removeButtonStroke.Color = Color3.new(r * 0.8, g * 0.5, b * 0.5)
    end
end)

-- Teleport için değişkenler
local teleportBox, tpButton
local tpButtonStroke
local teleportBoxStroke

-- Noclip için değişkenler
local noclipButton
local noclipActive = false
local noclipConnection
local noclipButtonStroke

local function setupNoclip()
    if not noclipButton then
        noclipButton = Instance.new("TextButton", f)
        noclipButton.Size = UDim2.new(0, 100, 0, 30)
        noclipButton.Position = UDim2.new(0, 190, 0, 150)
        noclipButton.Text = "Başlat"
        noclipButton.TextColor3 = Color3.fromRGB(255,255,255)
        noclipButton.BackgroundColor3 = Color3.fromRGB(60,60,60)
        noclipButton.Font = Enum.Font.SourceSansBold
        noclipButton.TextSize = 14
        
        noclipButtonStroke = Instance.new("UIStroke", noclipButton)
        noclipButtonStroke.Thickness = 2
        noclipButtonStroke.LineJoinMode = Enum.LineJoinMode.Round
        
        noclipButton.MouseButton1Click:Connect(function()
            if not noclipActive then
                noclipActive = true
                noclipButton.Text = "Durdur"
                c.Text = "Noclip Aktif"
                
                noclipConnection = game:GetService("RunService").Stepped:Connect(function()
                    if p.Character then
                        for _, v in pairs(p.Character:GetDescendants()) do
                            if v:IsA("BasePart") then
                                v.CanCollide = false
                            end
                        end
                    end
                end)
            else
                noclipActive = false
                noclipButton.Text = "Başlat"
                c.Text = "Noclip Durdu"
                
                if noclipConnection then
                    noclipConnection:Disconnect()
                    noclipConnection = nil
                end
                
                if p.Character then
                    for _, v in pairs(p.Character:GetDescendants()) do
                        if v:IsA("BasePart") then
                            v.CanCollide = true
                        end
                    end
                end
            end
        end)
    end
    
    noclipButton.Visible = true
    c.Text = "Noclip Aktif"
    espButton.Visible = false
    if teleportBox then teleportBox.Visible = false end
    if tpButton then tpButton.Visible = false end
    if speedBox then speedBox.Visible = false end
    if jumpBox then jumpBox.Visible = false end
    if applyBtn then applyBtn.Visible = false end
    if fullbrightButton then fullbrightButton.Visible = false end
    if aimbotButton then aimbotButton.Visible = false end
    if whitelistBox then whitelistBox.Visible = false end
    if addButton then addButton.Visible = false end
    if removeButton then removeButton.Visible = false end
end

local function setupTeleport()
    if not teleportBox then
        teleportBox = Instance.new("TextBox", f)
        teleportBox.Size = UDim2.new(0, 160, 0, 30)
        teleportBox.Position = UDim2.new(0, 70, 0, 40)
        teleportBox.PlaceholderText = "isim yaz"
        teleportBox.Text = ""
        teleportBox.ClearTextOnFocus = false
        teleportBox.TextColor3 = Color3.fromRGB(255,255,255)
        teleportBox.BackgroundColor3 = Color3.fromRGB(50,50,50)
        teleportBox.Font = Enum.Font.SourceSans
        teleportBox.TextSize = 14
        
        teleportBoxStroke = Instance.new("UIStroke", teleportBox)
        teleportBoxStroke.Thickness = 2
        teleportBoxStroke.LineJoinMode = Enum.LineJoinMode.Round
        
        tpButton = Instance.new("TextButton", f)
        tpButton.Size = UDim2.new(0, 60, 0, 30)
        tpButton.Position = UDim2.new(0, 120, 0, 80)
        tpButton.Text = "Tp"
        tpButton.TextColor3 = Color3.fromRGB(255,255,255)
        tpButton.BackgroundColor3 = Color3.fromRGB(60,60,60)
        tpButton.Font = Enum.Font.SourceSansBold
        tpButton.TextSize = 14
        
        tpButtonStroke = Instance.new("UIStroke", tpButton)
        tpButtonStroke.Thickness = 2
        tpButtonStroke.LineJoinMode = Enum.LineJoinMode.Round
        
        tpButton.MouseButton1Click:Connect(function()
            local targetName = teleportBox.Text
            if targetName ~= "" then
                local targetPlayer = nil
                for _, player in pairs(game.Players:GetPlayers()) do
                    if string.lower(player.Name) == string.lower(targetName) or 
                       string.lower(player.DisplayName) == string.lower(targetName) then
                        targetPlayer = player
                        break
                    end
                end
                
                if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
                    p.Character:SetPrimaryPartCFrame(targetPlayer.Character.HumanoidRootPart.CFrame)
                    c.Text = targetPlayer.Name .. " ışınlandı!"
                else
                    c.Text = "Oyuncu bulunamadı!"
                end
            end
        end)
    end
    
    teleportBox.Visible = true
    tpButton.Visible = true
    c.Text = "Işınlanacak oyuncu ismini yaz"
    espButton.Visible = false
    if noclipButton then noclipButton.Visible = false end
    if speedBox then speedBox.Visible = false end
    if jumpBox then jumpBox.Visible = false end
    if applyBtn then applyBtn.Visible = false end
    if fullbrightButton then fullbrightButton.Visible = false end
    if aimbotButton then aimbotButton.Visible = false end
    if whitelistBox then whitelistBox.Visible = false end
    if addButton then addButton.Visible = false end
    if removeButton then removeButton.Visible = false end
end

local espActive = false
local espFolder = Instance.new("Folder", g)
espFolder.Name = "ESPFolder"

local function createESP(plr, char)
    if not char or not char:FindFirstChild("HumanoidRootPart") then return end
    
    local hrp = char.HumanoidRootPart
    local humanoid = char:FindFirstChild("Humanoid")
    
    local box = Instance.new("BoxHandleAdornment", espFolder)
    box.Adornee = hrp
    box.Size = Vector3.new(4, 6, 1)
    box.Color3 = Color3.fromRGB(255, 0, 0)
    box.Transparency = 0.3
    box.AlwaysOnTop = true
    box.ZIndex = 10
    
    local billboard = Instance.new("BillboardGui", espFolder)
    billboard.Adornee = hrp
    billboard.Size = UDim2.new(0, 150, 0, 60)
    billboard.StudsOffset = Vector3.new(0, 4, 0)
    billboard.AlwaysOnTop = true
    billboard.MaxDistance = 300
    
    local nameLabel = Instance.new("TextLabel", billboard)
    nameLabel.Size = UDim2.new(1, 0, 0.3, 0)
    nameLabel.Position = UDim2.new(0, 0, 0, 0)
    nameLabel.Text = plr.Name
    nameLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
    nameLabel.BackgroundTransparency = 1
    nameLabel.Font = Enum.Font.SourceSansBold
    nameLabel.TextSize = 14
    
    local healthLabel = Instance.new("TextLabel", billboard)
    healthLabel.Size = UDim2.new(1, 0, 0.3, 0)
    healthLabel.Position = UDim2.new(0, 0, 0.3, 0)
    healthLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
    healthLabel.BackgroundTransparency = 1
    healthLabel.Font = Enum.Font.SourceSans
    healthLabel.TextSize = 12
    
    local distanceLabel = Instance.new("TextLabel", billboard)
    distanceLabel.Size = UDim2.new(1, 0, 0.3, 0)
    distanceLabel.Position = UDim2.new(0, 0, 0.6, 0)
    distanceLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
    distanceLabel.BackgroundTransparency = 1
    distanceLabel.Font = Enum.Font.SourceSans
    distanceLabel.TextSize = 11
    
    game:GetService("RunService").Heartbeat:Connect(function()
        if not char or not char.Parent or not hrp or not hrp.Parent then
            box:Destroy()
            billboard:Destroy()
            return
        end
        
        if p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
            local distance = math.floor((p.Character.HumanoidRootPart.Position - hrp.Position).Magnitude)
            distanceLabel.Text = distance .. " stud"
        end
        
        if humanoid then
            healthLabel.Text = math.floor(humanoid.Health) .. "/" .. math.floor(humanoid.MaxHealth)
        else
            healthLabel.Text = "0/0"
        end
    end)
end

game.Players.PlayerAdded:Connect(function(plr)
    if espActive then
        plr.CharacterAdded:Connect(function(char)
            wait(0.5)
            createESP(plr, char)
        end)
        
        if plr.Character then
            createESP(plr, plr.Character)
        end
    end
end)

local function trackPlayer(plr)
    plr.CharacterAdded:Connect(function(char)
        wait(0.5)
        if espActive then
            createESP(plr, char)
        end
    end)
end

for _, plr in pairs(game.Players:GetPlayers()) do
    if plr ~= p then
        trackPlayer(plr)
    end
end

game.Players.PlayerAdded:Connect(function(plr)
    trackPlayer(plr)
end)

local function updateESP()
    if not espActive then
        espActive = true
        espButton.Text = "Durdur"
        c.Text = "ESP Aktif"
        
        for _, plr in pairs(game.Players:GetPlayers()) do
            if plr ~= p and plr.Character then
                createESP(plr, plr.Character)
            end
        end
    else
        espActive = false
        espButton.Text = "Çalıştır"
        c.Text = "ESP Durdu"
        espFolder:ClearAllChildren()
    end
end

espButton.MouseButton1Click:Connect(updateESP)

local speedBox, jumpBox, applyBtn
local speedBoxStroke, jumpBoxStroke, applyBtnStroke

local function applySpeed()
	if not speedBox then
		speedBox = Instance.new("TextBox", f)
		speedBox.Size = UDim2.new(0, 80, 0, 30)
		speedBox.Position = UDim2.new(0, 100, 0, 40)
		speedBox.Text = "50"
		speedBox.ClearTextOnFocus = false
		speedBox.TextColor3 = Color3.fromRGB(255,255,255)
		speedBox.BackgroundColor3 = Color3.fromRGB(40,40,40)
		speedBox.Font = Enum.Font.SourceSans
		speedBox.TextSize = 18
		
		speedBoxStroke = Instance.new("UIStroke", speedBox)
		speedBoxStroke.Thickness = 2
		speedBoxStroke.LineJoinMode = Enum.LineJoinMode.Round

		jumpBox = Instance.new("TextBox", f)
		jumpBox.Size = UDim2.new(0, 80, 0, 30)
		jumpBox.Position = UDim2.new(0, 190, 0, 40)
		jumpBox.Text = "120"
		jumpBox.ClearTextOnFocus = false
		jumpBox.TextColor3 = Color3.fromRGB(255,255,255)
		jumpBox.BackgroundColor3 = Color3.fromRGB(40,40,40)
		jumpBox.Font = Enum.Font.SourceSans
		jumpBox.TextSize = 18
		
		jumpBoxStroke = Instance.new("UIStroke", jumpBox)
		jumpBoxStroke.Thickness = 2
		jumpBoxStroke.LineJoinMode = Enum.LineJoinMode.Round

		applyBtn = Instance.new("TextButton", f)
		applyBtn.Size = UDim2.new(0, 80, 0, 30)
		applyBtn.Position = UDim2.new(0, 145, 0, 80)
		applyBtn.Text = "Uygula"
		applyBtn.TextColor3 = Color3.fromRGB(255,255,255)
		applyBtn.BackgroundColor3 = Color3.fromRGB(60,60,60)
		applyBtn.Font = Enum.Font.SourceSansBold
		applyBtn.TextSize = 16
		
		applyBtnStroke = Instance.new("UIStroke", applyBtn)
		applyBtnStroke.Thickness = 2
		applyBtnStroke.LineJoinMode = Enum.LineJoinMode.Round

		applyBtn.MouseButton1Click:Connect(function()
			local h = p.Character and p.Character:FindFirstChildWhichIsA("Humanoid")
			if h then
				local speed = tonumber(speedBox.Text)
				local jump = tonumber(jumpBox.Text)
				if speed and jump then
					h.WalkSpeed = speed
					h.JumpPower = jump
					c.Text = "Hız: "..speed.."\nZıplama: "..jump
					espButton.Visible = false
                    if teleportBox then teleportBox.Visible = false end
                    if tpButton then tpButton.Visible = false end
                    if noclipButton then noclipButton.Visible = false end
                    if fullbrightButton then fullbrightButton.Visible = false end
                    if aimbotButton then aimbotButton.Visible = false end
                    if whitelistBox then whitelistBox.Visible = false end
                    if addButton then addButton.Visible = false end
                    if removeButton then removeButton.Visible = false end
				else
					c.Text = "Geçerli sayı giriniz!"
				end
			end
		end)
	end

	speedBox.Visible = true
	jumpBox.Visible = true
	applyBtn.Visible = true
	c.Text = ""
	espButton.Visible = false
    if teleportBox then teleportBox.Visible = false end
    if tpButton then tpButton.Visible = false end
    if noclipButton then noclipButton.Visible = false end
    if fullbrightButton then fullbrightButton.Visible = false end
    if aimbotButton then aimbotButton.Visible = false end
    if whitelistBox then whitelistBox.Visible = false end
    if addButton then addButton.Visible = false end
    if removeButton then removeButton.Visible = false end
end

local fullbrightButton
local fullbrightActive = false
local lighting = game:GetService("Lighting")
local originalSettings = {}
local fullbrightButtonStroke

originalSettings.Brightness = lighting.Brightness
originalSettings.Ambient = lighting.Ambient
originalSettings.OutdoorAmbient = lighting.OutdoorAmbient
originalSettings.ColorShift_Top = lighting.ColorShift_Top
originalSettings.ColorShift_Bottom = lighting.ColorShift_Bottom
originalSettings.FogEnd = lighting.FogEnd
originalSettings.GlobalShadows = lighting.GlobalShadows

local function toggleFullbright()
    if not fullbrightActive then
        fullbrightActive = true
        lighting.Brightness = 2
        lighting.Ambient = Color3.fromRGB(255, 255, 255)
        lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255)
        lighting.ColorShift_Top = Color3.fromRGB(255, 255, 255)
        lighting.ColorShift_Bottom = Color3.fromRGB(255, 255, 255)
        lighting.FogEnd = 100000
        lighting.GlobalShadows = false
        c.Text = "Fullbright AKTİF!\n\nNot: Bu işlem geri alınamaz!"
        if fullbrightButton then
            fullbrightButton.Text = "Durdur"
        end
    else
        fullbrightActive = false
        lighting.Brightness = originalSettings.Brightness
        lighting.Ambient = originalSettings.Ambient
        lighting.OutdoorAmbient = originalSettings.OutdoorAmbient
        lighting.ColorShift_Top = originalSettings.ColorShift_Top
        lighting.ColorShift_Bottom = originalSettings.ColorShift_Bottom
        lighting.FogEnd = originalSettings.FogEnd
        lighting.GlobalShadows = originalSettings.GlobalShadows
        c.Text = "Fullbright devre dışı!"
        if fullbrightButton then
            fullbrightButton.Text = "Çalıştır"
        end
    end
end

local function setupFullbright()
    if not fullbrightButton then
        fullbrightButton = Instance.new("TextButton", f)
        fullbrightButton.Size = UDim2.new(0, 100, 0, 30)
        fullbrightButton.Position = UDim2.new(0, 190, 0, 150)
        fullbrightButton.Text = "Çalıştır"
        fullbrightButton.TextColor3 = Color3.fromRGB(255, 255, 255)
        fullbrightButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
        fullbrightButton.Font = Enum.Font.SourceSansBold
        fullbrightButton.TextSize = 14
        
        fullbrightButtonStroke = Instance.new("UIStroke", fullbrightButton)
        fullbrightButtonStroke.Thickness = 2
        fullbrightButtonStroke.LineJoinMode = Enum.LineJoinMode.Round
        
        fullbrightButton.MouseButton1Click:Connect(function()
            toggleFullbright()
        end)
    end
    
    c.Text = "Fullbright\n\nNot: Bu işlem geri alınamaz!\n\nÇalıştır'a basınca harita aydınlanır."
    
    fullbrightButton.Visible = true
    espButton.Visible = false
    if teleportBox then teleportBox.Visible = false end
    if tpButton then tpButton.Visible = false end
    if noclipButton then noclipButton.Visible = false end
    if speedBox then speedBox.Visible = false end
    if jumpBox then jumpBox.Visible = false end
    if applyBtn then applyBtn.Visible = false end
    if aimbotButton then aimbotButton.Visible = false end
    if whitelistBox then whitelistBox.Visible = false end
    if addButton then addButton.Visible = false end
    if removeButton then removeButton.Visible = false end
end

local function findClosestPlayer()
    if not p.Character or not p.Character:FindFirstChild("HumanoidRootPart") then
        return nil
    end
    
    local myPosition = p.Character.HumanoidRootPart.Position
    local closestPlayer = nil
    local closestDistance = math.huge
    
    for _, player in pairs(game.Players:GetPlayers()) do
        if player ~= p and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
            local isWhitelisted = false
            
            for _, whitelistedName in pairs(whitelist) do
                if string.lower(tostring(player.Name)) == string.lower(tostring(whitelistedName)) then
                    isWhitelisted = true
                    break
                end
            end
            
            if not isWhitelisted then
                local targetPosition = player.Character.HumanoidRootPart.Position
                local distance = (myPosition - targetPosition).Magnitude
                
                if distance < closestDistance then
                    closestDistance = distance
                    closestPlayer = player
                end
            end
        end
    end
    
    return closestPlayer
end

local function toggleAimbot()
    if not aimbotActive then
        aimbotActive = true
        aimbotButton.Text = "Kapat"
        
        local whitelistInfo = ""
        if #whitelist > 0 then
            whitelistInfo = "\nWhitelist: " .. table.concat(whitelist, ", ")
        else
            whitelistInfo = "\nWhitelist: Boş"
        end
        
        c.Text = "Aimbot AKTİF!" .. whitelistInfo .. "\n\nWhitelist'te olmayan en yakın oyuncuya kilitleniyor..."
        
        aimbotConnection = game:GetService("RunService").Heartbeat:Connect(function()
            if not aimbotActive or not p.Character or not p.Character:FindFirstChild("HumanoidRootPart") then 
                return 
            end
            
            local target = findClosestPlayer()
            if target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
                aimTarget = target
                
                local camera = workspace.CurrentCamera
                if camera then
                    local targetPosition = target.Character.HumanoidRootPart.Position
                    local cameraPosition = camera.CFrame.Position
                    local direction = (targetPosition - cameraPosition).Unit
                    
                    local currentCF = camera.CFrame
                    local newCF = CFrame.new(cameraPosition, cameraPosition + direction)
                    camera.CFrame = currentCF:Lerp(newCF, 0.3)
                end
            end
        end)
        
    else
        aimbotActive = false
        aimbotButton.Text = "Aç"
        c.Text = "Aimbot devre dışı!"
        
        if aimbotConnection then
            aimbotConnection:Disconnect()
            aimbotConnection = nil
        end
    end
end

local function setupAimbot()
    if not whitelistBox then
        whitelistBox = Instance.new("TextBox", f)
        whitelistBox.Size = UDim2.new(0, 160, 0, 30)
        whitelistBox.Position = UDim2.new(0, 70, 0, 40)
        whitelistBox.PlaceholderText = "Oyuncu adı yaz"
        whitelistBox.Text = ""
        whitelistBox.ClearTextOnFocus = false
        whitelistBox.TextColor3 = Color3.fromRGB(255,255,255)
        whitelistBox.BackgroundColor3 = Color3.fromRGB(50,50,50)
        whitelistBox.Font = Enum.Font.SourceSans
        whitelistBox.TextSize = 14
        
        whitelistBoxStroke = Instance.new("UIStroke", whitelistBox)
        whitelistBoxStroke.Thickness = 2
        whitelistBoxStroke.LineJoinMode = Enum.LineJoinMode.Round
        
        addButton = Instance.new("TextButton", f)
        addButton.Size = UDim2.new(0, 70, 0, 25)
        addButton.Position = UDim2.new(0, 70, 0, 80)
        addButton.Text = "Ekle"
        addButton.TextColor3 = Color3.fromRGB(255,255,255)
        addButton.BackgroundColor3 = Color3.fromRGB(60, 100, 60)
        addButton.Font = Enum.Font.SourceSansBold
        addButton.TextSize = 14
        
        addButtonStroke = Instance.new("UIStroke", addButton)
        addButtonStroke.Thickness = 2
        addButtonStroke.LineJoinMode = Enum.LineJoinMode.Round
        
        addButton.MouseButton1Click:Connect(function()
            local playerName = whitelistBox.Text
            if playerName ~= "" then
                local alreadyAdded = false
                for _, name in pairs(whitelist) do
                    if string.lower(name) == string.lower(playerName) then
                        alreadyAdded = true
                        break
                    end
                end
                
                if not alreadyAdded then
                    table.insert(whitelist, playerName)
                    c.Text = playerName .. " whitelist'e eklendi!\n\nWhitelist: " .. table.concat(whitelist, ", ")
                else
                    c.Text = playerName .. " zaten whitelist'te!"
                end
            end
        end)
        
        removeButton = Instance.new("TextButton", f)
        removeButton.Size = UDim2.new(0, 70, 0, 25)
        removeButton.Position = UDim2.new(0, 150, 0, 80)
        removeButton.Text = "Sil"
        removeButton.TextColor3 = Color3.fromRGB(255,255,255)
        removeButton.BackgroundColor3 = Color3.fromRGB(100, 60, 60)
        removeButton.Font = Enum.Font.SourceSansBold
        removeButton.TextSize = 14
        
        removeButtonStroke = Instance.new("UIStroke", removeButton)
        removeButtonStroke.Thickness = 2
        removeButtonStroke.LineJoinMode = Enum.LineJoinMode.Round
        
        removeButton.MouseButton1Click:Connect(function()
            local playerName = whitelistBox.Text
            if playerName ~= "" then
                local foundIndex = nil
                for i, name in pairs(whitelist) do
                    if string.lower(name) == string.lower(playerName) then
                        foundIndex = i
                        break
                    end
                end
                
                if foundIndex then
                    table.remove(whitelist, foundIndex)
                    c.Text = playerName .. " whitelist'ten silindi!\n\nWhitelist: " .. (table.concat(whitelist, ", ") or "Boş")
                else
                    c.Text = playerName .. " whitelist'te bulunamadı!"
                end
            end
        end)
    end
    
    if not aimbotButton then
        aimbotButton = Instance.new("TextButton", f)
        aimbotButton.Size = UDim2.new(0, 100, 0, 30)
        aimbotButton.Position = UDim2.new(0, 190, 0, 150)
        aimbotButton.Text = "Aç"
        aimbotButton.TextColor3 = Color3.fromRGB(255, 255, 255)
        aimbotButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
        aimbotButton.Font = Enum.Font.SourceSansBold
        aimbotButton.TextSize = 14
        
        aimbotButtonStroke = Instance.new("UIStroke", aimbotButton)
        aimbotButtonStroke.Thickness = 2
        aimbotButtonStroke.LineJoinMode = Enum.LineJoinMode.Round
        
        aimbotButton.MouseButton1Click:Connect(function()
            toggleAimbot()
        end)
    end
    
    c.Text = "Aimbot Sistemi\n\nWhitelist'e eklenen oyunculara nişan alınmaz.\n\nOyuncu adı yazıp Ekle/Sil butonlarını kullan."
    
    aimbotButton.Visible = true
    whitelistBox.Visible = true
    addButton.Visible = true
    removeButton.Visible = true
    
    espButton.Visible = false
    if teleportBox then teleportBox.Visible = false end
    if tpButton then tpButton.Visible = false end
    if noclipButton then noclipButton.Visible = false end
    if speedBox then speedBox.Visible = false end
    if jumpBox then jumpBox.Visible = false end
    if applyBtn then applyBtn.Visible = false end
    if fullbrightButton then fullbrightButton.Visible = false end
end

-- FLY DEĞİŞKENLERİ
local flyActive = false
local flySpeed = 50
local flyConnection = nil
local flyTextBox = nil
local flyToggleButton = nil
local flyStatusLabel = nil

-- DÜZELTİLMİŞ TOGGLEFLY (Yerçekimi düzeltildi)
local function toggleFly()
    local player = game.Players.LocalPlayer
    local char = player.Character
    local humanoid = char and char:FindFirstChildWhichIsA("Humanoid")
    
    if not flyActive then
        -- UÇUŞ BAŞLAT
        local speedValue = tonumber(flyTextBox.Text)
        if speedValue and speedValue > 0 then
            flySpeed = speedValue
        else
            c.Text = "Geçersiz hız! Lütfen sayı girin."
            return
        end
        
        flyActive = true
        flyToggleButton.Text = "Kapa"
        c.Text = "FLY MENÜSÜ (Aktif)"
        
        -- YERÇEKİMİNİ KAPAT (Havada sabit durması için)
        if humanoid then
            humanoid.PlatformStand = true
        end
        
        -- Uçuş döngüsünü başlat
        flyConnection = game:GetService("RunService").Heartbeat:Connect(function()
            local charNow = player.Character
            if not charNow then return end
            local hrp = charNow:FindFirstChild("HumanoidRootPart")
            local hum = charNow:FindFirstChildWhichIsA("Humanoid")
            if not hrp or not hum then return end
            
            -- Kamera yönünü al
            local cam = workspace.CurrentCamera
            if not cam then return end
            
            -- WASD / Joystick hareketi
            local move = Vector3.new(0, 0, 0)
            local uis = game:GetService("UserInputService")
            
            if uis:IsKeyDown(Enum.KeyCode.W) then move = move + Vector3.new(0, 0, -flySpeed) end
            if uis:IsKeyDown(Enum.KeyCode.S) then move = move + Vector3.new(0, 0, flySpeed) end
            if uis:IsKeyDown(Enum.KeyCode.A) then move = move + Vector3.new(-flySpeed, 0, 0) end
            if uis:IsKeyDown(Enum.KeyCode.D) then move = move + Vector3.new(flySpeed, 0, 0) end
            if uis:IsKeyDown(Enum.KeyCode.Space) then move = move + Vector3.new(0, flySpeed, 0) end
            if uis:IsKeyDown(Enum.KeyCode.LeftShift) then move = move + Vector3.new(0, -flySpeed, 0) end
            
            -- Mobil joystick desteği
            local moveDirection = hum.MoveDirection
            if moveDirection.Magnitude > 0 then
                move = move + moveDirection * flySpeed
            end
            
            -- Hareket yoksa dur (havada asılı kalsın)
            if move.Magnitude == 0 then
                hrp.Velocity = Vector3.new(0, 0, 0)
                return
            end
            
            -- Kameraya göre hareket et
            local forward = cam.CFrame.LookVector * move.Z
            local right = cam.CFrame.RightVector * move.X
            local up = Vector3.new(0, move.Y, 0)
            hrp.Velocity = (forward + right + up) * 1.5
            
            -- Noclip (duvardan geç)
            for _, part in pairs(charNow:GetDescendants()) do
                if part:IsA("BasePart") then
                    part.CanCollide = false
                end
            end
        end)
    else
        -- UÇUŞ DURDUR
        flyActive = false
        flyToggleButton.Text = "Aç"
        c.Text = "FLY MENÜSÜ (Durduruldu)"
        
        if flyConnection then
            flyConnection:Disconnect()
            flyConnection = nil
        end
        
        -- YERÇEKİMİNİ GERİ AÇ
        local charNow = player.Character
        if charNow then
            local hum = charNow:FindFirstChildWhichIsA("Humanoid")
            if hum then
                hum.PlatformStand = false
            end
            -- Collision'ları geri aç
            for _, part in pairs(charNow:GetDescendants()) do
                if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
                    part.CanCollide = true
                end
            end
        end
    end
end

-- DÜZELTİLMİŞ SETUPFLY (Yazı kaymaları düzeltildi)
local function setupFly()
    -- Önce diğer tüm kontrolleri gizle
    espButton.Visible = false
    if teleportBox then teleportBox.Visible = false end
    if tpButton then tpButton.Visible = false end
    if noclipButton then noclipButton.Visible = false end
    if speedBox then speedBox.Visible = false end
    if jumpBox then jumpBox.Visible = false end
    if applyBtn then applyBtn.Visible = false end
    if fullbrightButton then fullbrightButton.Visible = false end
    if aimbotButton then aimbotButton.Visible = false end
    if whitelistBox then whitelistBox.Visible = false end
    if addButton then addButton.Visible = false end
    if removeButton then removeButton.Visible = false end
    
    -- Eğer fly aktifse durdur
    if flyActive then
        toggleFly()
    end
    
    -- Sağdaki ana açıklama yazısını (c) başlık olarak kullan
    c.Text = "FLY MENÜSÜ"
    c.TextColor3 = Color3.fromRGB(0, 170, 255)
    c.TextSize = 18
    c.TextWrapped = true
    
    -- 1. Açıklama yazısı (wasd ya da joystik) - YUKARI TAŞINDI
    if not flyStatusLabel then
        flyStatusLabel = Instance.new("TextLabel", f)
        flyStatusLabel.Size = UDim2.new(1, -40, 0, 30)
        flyStatusLabel.Position = UDim2.new(0, 20, 0, 40)
        flyStatusLabel.Text = "WASD ya da Joystik ile hareket et"
        flyStatusLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
        flyStatusLabel.BackgroundTransparency = 1
        flyStatusLabel.Font = Enum.Font.SourceSans
        flyStatusLabel.TextSize = 16
        flyStatusLabel.TextXAlignment = Enum.TextXAlignment.Left
    end
    flyStatusLabel.Visible = true
    
    -- 2. Hız TextBox - YUKARI TAŞINDI
    if not flyTextBox then
        flyTextBox = Instance.new("TextBox", f)
        flyTextBox.Size = UDim2.new(0, 100, 0, 30)
        flyTextBox.Position = UDim2.new(0, 20, 0, 80)
        flyTextBox.PlaceholderText = "Hız (sayı)"
        flyTextBox.Text = "50"
        flyTextBox.ClearTextOnFocus = false
        flyTextBox.TextColor3 = Color3.fromRGB(255,255,255)
        flyTextBox.BackgroundColor3 = Color3.fromRGB(40,40,40)
        flyTextBox.Font = Enum.Font.SourceSans
        flyTextBox.TextSize = 18
        flyTextBox.TextXAlignment = Enum.TextXAlignment.Center
    end
    flyTextBox.Visible = true
    
    -- 3. Aç/Kapa butonu - YUKARI TAŞINDI
    if not flyToggleButton then
        flyToggleButton = Instance.new("TextButton", f)
        flyToggleButton.Size = UDim2.new(0, 100, 0, 30)
        flyToggleButton.Position = UDim2.new(0, 130, 0, 80)
        flyToggleButton.Text = "Aç"
        flyToggleButton.TextColor3 = Color3.fromRGB(255,255,255)
        flyToggleButton.BackgroundColor3 = Color3.fromRGB(60,60,60)
        flyToggleButton.Font = Enum.Font.SourceSansBold
        flyToggleButton.TextSize = 16
        
        flyToggleButton.MouseButton1Click:Connect(function()
            toggleFly()
        end)
    end
    flyToggleButton.Visible = true
end

local buttons = {
	{"main", function()
        if flyActive then toggleFly() end
        if flyStatusLabel then flyStatusLabel.Visible = false end
        if flyTextBox then flyTextBox.Visible = false end
        if flyToggleButton then flyToggleButton.Visible = false end
        
		c.Text = "Hileme Hoşgeldin ben Mert\n\nÖncelikle hile tasarımına yeni başladım ve hile kötü görünüyor olabilir fakat yakın zamanda geliştireceğim ve geliştiriyorum\n\nHerhangi sorun var ise youtube kanalıma yorum olarak yazabilirsin\n\nHilemi tercih ettiğin için teşekkürler iyi oyunlar"
        c.TextColor3 = Color3.fromRGB(255,255,255)
        c.TextSize = 16
		espButton.Visible = false
		speedBox.Visible = false
		jumpBox.Visible = false
		applyBtn.Visible = false
        if teleportBox then teleportBox.Visible = false end
        if tpButton then tpButton.Visible = false end
        if noclipButton then noclipButton.Visible = false end
        if fullbrightButton then fullbrightButton.Visible = false end
        if aimbotButton then aimbotButton.Visible = false end
        if whitelistBox then whitelistBox.Visible = false end
        if addButton then addButton.Visible = false end
        if removeButton then removeButton.Visible = false end
	end},
	{"ESP", function()
        if flyActive then toggleFly() end
        if flyStatusLabel then flyStatusLabel.Visible = false end
        if flyTextBox then flyTextBox.Visible = false end
        if flyToggleButton then flyToggleButton.Visible = false end
        
		c.Text = "ESP sistemi hazır"
        c.TextColor3 = Color3.fromRGB(255,255,255)
        c.TextSize = 16
		espButton.Visible = true
		speedBox.Visible = false
		jumpBox.Visible = false
		applyBtn.Visible = false
        if teleportBox then teleportBox.Visible = false end
        if tpButton then tpButton.Visible = false end
        if noclipButton then noclipButton.Visible = false end
        if fullbrightButton then fullbrightButton.Visible = false end
        if aimbotButton then aimbotButton.Visible = false end
        if whitelistBox then whitelistBox.Visible = false end
        if addButton then addButton.Visible = false end
        if removeButton then removeButton.Visible = false end
	end},
	{"Speed", function()
        if flyActive then toggleFly() end
        if flyStatusLabel then flyStatusLabel.Visible = false end
        if flyTextBox then flyTextBox.Visible = false end
        if flyToggleButton then flyToggleButton.Visible = false end
        applySpeed()
    end},
	{"Credits", function()
        if flyActive then toggleFly() end
        if flyStatusLabel then flyStatusLabel.Visible = false end
        if flyTextBox then flyTextBox.Visible = false end
        if flyToggleButton then flyToggleButton.Visible = false end
        
		c.Text = "YT: @Nigthboxyz"
        c.TextColor3 = Color3.fromRGB(255,255,255)
        c.TextSize = 16
		espButton.Visible = false
		speedBox.Visible = false
		jumpBox.Visible = false
		applyBtn.Visible = false
        if teleportBox then teleportBox.Visible = false end
        if tpButton then tpButton.Visible = false end
        if noclipButton then noclipButton.Visible = false end
        if fullbrightButton then fullbrightButton.Visible = false end
        if aimbotButton then aimbotButton.Visible = false end
        if whitelistBox then whitelistBox.Visible = false end
        if addButton then addButton.Visible = false end
        if removeButton then removeButton.Visible = false end
	end},
    {"Teleport", function()
        if flyActive then toggleFly() end
        if flyStatusLabel then flyStatusLabel.Visible = false end
        if flyTextBox then flyTextBox.Visible = false end
        if flyToggleButton then flyToggleButton.Visible = false end
        setupTeleport()
    end},
    {"Noclip", function()
        if flyActive then toggleFly() end
        if flyStatusLabel then flyStatusLabel.Visible = false end
        if flyTextBox then flyTextBox.Visible = false end
        if flyToggleButton then flyToggleButton.Visible = false end
        setupNoclip()
    end},
    {"Fullbright", function()
        if flyActive then toggleFly() end
        if flyStatusLabel then flyStatusLabel.Visible = false end
        if flyTextBox then flyTextBox.Visible = false end
        if flyToggleButton then flyToggleButton.Visible = false end
        setupFullbright()
    end},
    {"Aimbot", function()
        if flyActive then toggleFly() end
        if flyStatusLabel then flyStatusLabel.Visible = false end
        if flyTextBox then flyTextBox.Visible = false end
        if flyToggleButton then flyToggleButton.Visible = false end
        setupAimbot()
    end},
    {"Fly", function()
        setupFly()
    end}
}

-- Sol menü butonları
local menuButtons = {}

for i, data in ipairs(buttons) do
	local b = Instance.new("TextButton", scrollFrame)
	b.Size = UDim2.new(0, 60, 0, 30)
	b.Position = UDim2.new(0, 0, 0, (i-1)*35)
	b.Text = data[1]
	b.TextColor3 = Color3.fromRGB(255,255,255)
	b.BackgroundColor3 = Color3.fromRGB(40,40,40)
	b.Font = Enum.Font.SourceSansBold
	b.TextSize = 14
	
	local buttonStroke = Instance.new("UIStroke", b)
	buttonStroke.Thickness = 2
	buttonStroke.LineJoinMode = Enum.LineJoinMode.Round
	table.insert(menuButtons, {button = b, stroke = buttonStroke})
	
	b.MouseButton1Click:Connect(data[2])
end

-- Menü butonları RGB efekti
game:GetService("RunService").Heartbeat:Connect(function()
    for _, btnData in pairs(menuButtons) do
        local offset = tick() * 0.5
        local r = math.sin(offset + btnData.button.Position.Y.Offset * 0.1) * 0.5 + 0.5
        local g = math.sin(offset + 2 + btnData.button.Position.Y.Offset * 0.1) * 0.5 + 0.5
        local b = math.sin(offset + 4 + btnData.button.Position.Y.Offset * 0.1) * 0.5 + 0.5
        
        btnData.stroke.Color = Color3.new(r, g, b)
    end
end)

local x = Instance.new("TextButton", f)
x.Size = UDim2.new(0, 30, 0, 30)
x.Position = UDim2.new(1, -35, 0, 5)
x.Text = "X"
x.TextColor3 = Color3.fromRGB(255,255,255)
x.BackgroundColor3 = Color3.fromRGB(200,0,0)
x.Font = Enum.Font.SourceSansBold
x.TextSize = 16

local xButtonStroke = Instance.new("UIStroke", x)
xButtonStroke.Thickness = 2
xButtonStroke.LineJoinMode = Enum.LineJoinMode.Round

local o = Instance.new("ImageButton", g)
o.Size = UDim2.new(0, 50, 0, 50)
o.Position = UDim2.new(0, 10, 0.5, -25)
o.BackgroundTransparency = 1
o.Image = "rbxassetid://6031075938"
o.Visible = false

local oButtonStroke = Instance.new("UIStroke", o)
oButtonStroke.Thickness = 2
oButtonStroke.Color = Color3.fromRGB(255, 255, 255)
oButtonStroke.LineJoinMode = Enum.LineJoinMode.Round

x.MouseButton1Click:Connect(function()
	f.Visible = false
	o.Visible = true
end)

o.MouseButton1Click:Connect(function()
	f.Visible = true
	o.Visible = false
end)

c.Text = "Hileme Hoşgeldin ben Mert\n\nSol taraftaki menüden özellik seçin"       
    else
        statusText.Text = "Yanlış şifre! Tekrar dene."
        passwordBox.Text = ""
        
        for i = 1, 3 do
            passwordBoxStroke.Color = Color3.fromRGB(255, 0, 0)
            wait(0.1)
            passwordBoxStroke.Color = Color3.fromRGB(200, 200, 200)
            wait(0.1)
        end
    end
end)

-- ÇARPI BUTONU TIKLAMA (TAMAMEN KAPAT)
closeButton.MouseButton1Click:Connect(function()
    g:Destroy()
end)

Features & Information

Deneme

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts