Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = player:FindFirstChildOfClass("PlayerGui")
- local Frame = Instance.new("Frame")
- Frame.Size = UDim2.new(0, 700, 0, 400)
- Frame.Position = UDim2.new(0.5, -350, 0.5, -200)
- Frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- Frame.BorderSizePixel = 2
- Frame.BorderColor3 = Color3.fromRGB(0, 170, 255)
- Frame.Visible = false
- Frame.Parent = ScreenGui
- local TitleBar = Instance.new("Frame")
- TitleBar.Size = UDim2.new(1, 0, 0, 50)
- TitleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- TitleBar.Parent = Frame
- local Title = Instance.new("TextLabel")
- Title.Size = UDim2.new(1, 0, 1, 0)
- Title.Text = "KRNL Executor Elmas Sizlere Sunar:=)"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.Font = Enum.Font.SourceSansBold
- Title.TextSize = 20
- Title.Parent = TitleBar
- local TabHolder = Instance.new("Frame")
- TabHolder.Size = UDim2.new(1, 0, 0, 30)
- TabHolder.Position = UDim2.new(0, 0, 0, 50)
- TabHolder.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- TabHolder.Parent = Frame
- local Tabs = {}
- local TextBoxes = {}
- local ActiveTab = nil
- for i = 1, 6 do
- local TabButton = Instance.new("TextButton")
- TabButton.Size = UDim2.new(0.16, -5, 1, 0)
- TabButton.Position = UDim2.new((i - 1) * 0.16, 5, 0, 0)
- TabButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
- TabButton.Text = "Tab " .. i
- TabButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TabButton.Font = Enum.Font.SourceSansBold
- TabButton.TextSize = 16
- TabButton.Parent = TabHolder
- local TextBox = Instance.new("TextBox")
- TextBox.Size = UDim2.new(1, -10, 0.6, -10)
- TextBox.Position = UDim2.new(0, 5, 0, 85)
- TextBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.ClearTextOnFocus = false
- TextBox.MultiLine = true
- TextBox.Text = ""
- TextBox.Font = Enum.Font.Code
- TextBox.TextSize = 16
- TextBox.TextWrapped = true
- TextBox.ClipsDescendants = true
- TextBox.Visible = false
- TextBox.Parent = Frame
- Tabs[i] = TabButton
- TextBoxes[i] = TextBox
- TabButton.MouseButton1Click:Connect(function()
- if ActiveTab then
- TextBoxes[ActiveTab].Visible = false
- Tabs[ActiveTab].BackgroundColor3 = Color3.fromRGB(70, 70, 70)
- end
- ActiveTab = i
- TextBox.Visible = true
- TabButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- end)
- end
- local InjectButton = Instance.new("TextButton")
- InjectButton.Size = UDim2.new(0.3, -5, 0, 30)
- InjectButton.Position = UDim2.new(0.05, 0, 0.80, 0)
- InjectButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- InjectButton.Text = "INJECT"
- InjectButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- InjectButton.Font = Enum.Font.SourceSansBold
- InjectButton.TextSize = 16
- InjectButton.Parent = Frame
- local ExecuteButton = Instance.new("TextButton")
- ExecuteButton.Size = UDim2.new(0.3, -5, 0, 30)
- ExecuteButton.Position = UDim2.new(0.05, 0, 0.90, 0)
- ExecuteButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
- ExecuteButton.Text = "EXECUTE"
- ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ExecuteButton.Font = Enum.Font.SourceSansBold
- ExecuteButton.TextSize = 16
- ExecuteButton.Parent = Frame
- local ClearButton = Instance.new("TextButton")
- ClearButton.Size = UDim2.new(0.2, -5, 0, 40)
- ClearButton.Position = UDim2.new(0.75, 0, 0.85, 0)
- ClearButton.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
- ClearButton.Text = "CLEAR"
- ClearButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ClearButton.Font = Enum.Font.SourceSansBold
- ClearButton.TextSize = 16
- ClearButton.Parent = Frame
- local ToggleButton = Instance.new("TextButton")
- ToggleButton.Size = UDim2.new(0, 50, 0, 50)
- ToggleButton.Position = UDim2.new(0, 10, 0.5, -25)
- ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- ToggleButton.Text = "▶"
- ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ToggleButton.Font = Enum.Font.SourceSansBold
- ToggleButton.TextSize = 20
- ToggleButton.Parent = ScreenGui
- InjectButton.MouseButton1Click:Connect(function()
- InjectButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
- InjectButton.Text = "INJECTING..."
- wait(2)
- InjectButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
- InjectButton.Text = "INJECTED"
- end)
- ExecuteButton.MouseButton1Click:Connect(function()
- if ActiveTab then
- print("Executing Script: " .. TextBoxes[ActiveTab].Text)
- end
- end)
- ClearButton.MouseButton1Click:Connect(function()
- if ActiveTab then
- TextBoxes[ActiveTab].Text = ""
- end
- end)
- ToggleButton.MouseButton1Click:Connect(function()
- Frame.Visible = not Frame.Visible
- ToggleButton.Text = Frame.Visible and "❚❚" or "▶"
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement