Knight Executor
Key RequiredUniversal

Knight Executor

Universal Scriptysfr_666ysfr_666 456 views 176 executesUpdated Nov 14, 2025
1.7/ 5(3 votes)
1233% Positive
Lua Script•257 lines (8874 chars)
-- Knight Executor - TAM DÜZELTME (TextBox + Kareler Dışarıda + ID Büyütülmüş)
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "KnightExecutor"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

-- === ANA KARE GUI (380x380) ===
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 380, 0, 380)
mainFrame.Position = UDim2.new(0.5, -190, 0.5, -190)
mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
mainFrame.BorderSizePixel = 3
mainFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
mainFrame.ClipsDescendants = true
mainFrame.Parent = screenGui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = mainFrame

-- Başlık
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 50)
title.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
title.Text = "Knight Executor"
title.TextColor3 = Color3.fromRGB(0, 255, 100)
title.Font = Enum.Font.GothamBold
title.TextSize = 22
title.Parent = mainFrame

local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 12)
titleCorner.Parent = title

-- === SCRIPT ALANI - %100 ÇALIŞAN VERSİYON ===
local scriptScroll = Instance.new("ScrollingFrame")
scriptScroll.Size = UDim2.new(1, -20, 1, -130)
scriptScroll.Position = UDim2.new(0, 10, 0, 60)
scriptScroll.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
scriptScroll.BorderSizePixel = 1
scriptScroll.BorderColor3 = Color3.fromRGB(0, 0, 0)
scriptScroll.ScrollBarThickness = 8
scriptScroll.ScrollBarImageColor3 = Color3.fromRGB(0, 255, 100)
scriptScroll.CanvasSize = UDim2.new(1, 0, 0, 200)  -- Başlangıç boyutu
scriptScroll.ScrollBarImageTransparency = 0.3
scriptScroll.Parent = mainFrame

local scriptBox = Instance.new("TextBox")
scriptBox.Size = UDim2.new(1, -15, 1, -10)
scriptBox.Position = UDim2.new(0, 5, 0, 5)
scriptBox.BackgroundTransparency = 1
scriptBox.TextColor3 = Color3.fromRGB(200, 255, 200)
scriptBox.PlaceholderText = "-- Knight Executor'a Lua kodu yaz...\n\nprint('Merhaba!')\n\nlocal player = game.Players.LocalPlayer\nif player.Character then\n    player.Character.Humanoid.WalkSpeed = 50\nend"
scriptBox.PlaceholderColor3 = Color3.fromRGB(120, 180, 120)
scriptBox.MultiLine = true
scriptBox.TextWrapped = true
scriptBox.ClearTextOnFocus = false
scriptBox.Font = Enum.Font.Code
scriptBox.TextSize = 15
scriptBox.TextXAlignment = Enum.TextXAlignment.Left
scriptBox.TextYAlignment = Enum.TextYAlignment.Top
scriptBox.Parent = scriptScroll

-- TextBox CanvasSize - %100 ÇALIŞAN
spawn(function()
    while scriptBox.Parent do
        local textBounds = scriptBox.TextBounds
        scriptScroll.CanvasSize = UDim2.new(0, 0, 0, math.max(textBounds.Y + 40, 200))
        wait(0.1)
    end
end)

scriptBox.Focused:Connect(function()
    scriptScroll.CanvasSize = UDim2.new(0, 0, 0, scriptBox.TextBounds.Y + 40)
end)

-- Butonlar - BEYAZ
local buttonFrame = Instance.new("Frame")
buttonFrame.Size = UDim2.new(1, -20, 0, 50)
buttonFrame.Position = UDim2.new(0, 10, 1, -60)
buttonFrame.BackgroundTransparency = 1
buttonFrame.Parent = mainFrame

local layout = Instance.new("UIListLayout")
layout.FillDirection = Enum.FillDirection.Horizontal
layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
layout.Padding = UDim.new(0, 8)
layout.Parent = buttonFrame

local function createButton(text, callback)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(0, 100, 1, 0)
    btn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)  -- BEYAZ
    btn.Text = text
    btn.TextColor3 = Color3.fromRGB(0, 0, 0)
    btn.Font = Enum.Font.GothamBold
    btn.TextSize = 16
    btn.Parent = buttonFrame

    local btnCorner = Instance.new("UICorner")
    btnCorner.CornerRadius = UDim.new(0, 8)
    btnCorner.Parent = btn

    btn.MouseEnter:Connect(function()
        TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(220, 220, 220)}):Play()
    end)
    btn.MouseLeave:Connect(function()
        TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 255, 255)}):Play()
    end)

    btn.MouseButton1Click:Connect(callback)
    return btn
end

createButton("Execute", function()
    local code = scriptBox.Text
    if code ~= "" and code ~= scriptBox.PlaceholderText then
        local func, err = loadstring(code)
        if func then
            spawn(func)
            print("✓ Knight Executor: Kod çalıştırıldı!")
        else
            warn("✗ Hata: " .. tostring(err))
        end
    end
end)

createButton("Clear", function()
    scriptBox.Text = ""
end)

createButton("Inject", function()
    scriptBox.Text = [[print("Knight Executor aktif!")
local player = game.Players.LocalPlayer
if player.Character and player.Character:FindFirstChild("Humanoid") then
    player.Character.Humanoid.WalkSpeed = 50
    player.Character.Humanoid.JumpPower = 100
end]]
end)

-- Drag (Sadece başlık)
local dragging = false
local dragStart, startPos
title.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = true
        dragStart = input.Position
        startPos = mainFrame.Position
        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end)

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

-- Açılış Animasyonu
local targetPos = UDim2.new(0, 20, 1, -400)
local tween = TweenService:Create(mainFrame, TweenInfo.new(1.3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Position = targetPos})
tween:Play()

-- === DAİRE - YEŞİL ===
local circle = Instance.new("Frame")
circle.Size = UDim2.new(0, 120, 0, 120)
circle.Position = UDim2.new(0, 20, 1, -140)
circle.BackgroundColor3 = Color3.fromRGB(0, 255, 100)
circle.BorderSizePixel = 4
circle.BorderColor3 = Color3.fromRGB(0, 200, 0)
circle.ZIndex = 10
circle.Parent = screenGui

local circleCorner = Instance.new("UICorner")
circleCorner.CornerRadius = UDim.new(1, 0)
circleCorner.Parent = circle

-- ID GÖRSEL - %10 BÜYÜTÜLDÜ (Dışına taşmaz)
local image = Instance.new("ImageLabel")
image.Size = UDim2.new(0.82, 0, 0.82, 0)  -- %10 büyütüldü (0.75 -> 0.82)
image.Position = UDim2.new(0.09, 0, 0.09, 0)
image.BackgroundTransparency = 1
image.Image = "rbxassetid://1108967375"
image.ImageColor3 = Color3.fromRGB(255, 255, 255)
image.ZIndex = 11
image.Parent = circle

local imageCorner = Instance.new("UICorner")
imageCorner.CornerRadius = UDim.new(1, 0)
imageCorner.Parent = image

-- === 12 YEŞİL KARE - DAİRENİN DIŞINDA DÖNER ===
local squares = {}
local angleStep = 360 / 12
local radius = 65  -- DIŞARI (önceki 48 -> 65)

for i = 0, 11 do
    local sq = Instance.new("Frame")
    sq.Size = UDim2.new(0, 16, 0, 16)
    sq.Position = UDim2.new(0.5, 0, 0.5, 0)
    sq.AnchorPoint = Vector2.new(0.5, 0.5)
    sq.BackgroundColor3 = Color3.fromRGB(0, 255, 100)  -- YEŞİL
    sq.ZIndex = 12
    sq.Parent = circle

    local sqCorner = Instance.new("UICorner")
    sqCorner.CornerRadius = UDim.new(0, 3)
    sqCorner.Parent = sq

    table.insert(squares, sq)
end

-- DIŞ KARE DÖNDÜRME
local spinConnection = RunService.Heartbeat:Connect(function()
    for i, sq in ipairs(squares) do
        local angle = math.rad((tick() * 50 + i * angleStep))
        local x = radius * math.cos(angle)
        local y = radius * math.sin(angle)
        sq.Position = UDim2.new(0.5, x, 0.5, y)
    end
end)

-- === Daire TIKLA → GUI AÇ/KAPAT (Daire KALIR) ===
local guiVisible = true
circle.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        guiVisible = not guiVisible
        mainFrame.Visible = guiVisible
    end
end)

-- F9 Kısayol
UserInputService.InputBegan:Connect(function(input, gp)
    if not gp and input.KeyCode == Enum.KeyCode.F9 then
        guiVisible = not guiVisible
        mainFrame.Visible = guiVisible
    end
end)

print("✅ Knight Executor - TAM ÇALIŞAN VERSİYON!")
print("✍️ TextBox %100 çalışıyor (scroll + yazma)")
print("🔄 Kareler DAİRENİN DIŞINDA dönüyor")
print("🖼️ ID görseli büyütüldü (dışına taşmaz)")
print("🎮 F9 veya Daire ile aç/kapat")

Features & Information

İ made the executor

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts