Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Define the correct key
- local correctKey = "UltimateFan" -- Change this to your desired key
- -- Create UI
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- local Frame = Instance.new("Frame")
- Frame.Size = UDim2.new(0, 300, 0, 150)
- Frame.Position = UDim2.new(0.5, -150, 0.5, -75)
- Frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.Draggable = true -- Makes the frame draggable
- local titleLabel = Instance.new("TextLabel")
- titleLabel.Size = UDim2.new(1, 0, 0, 30)
- titleLabel.Text = "Enter Key"
- titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- titleLabel.BackgroundTransparency = 1
- titleLabel.Parent = Frame
- local inputBox = Instance.new("TextBox")
- inputBox.Size = UDim2.new(0.8, 0, 0, 30)
- inputBox.Position = UDim2.new(0.1, 0, 0.3, 0)
- inputBox.PlaceholderText = "Enter your key"
- inputBox.Text = ""
- inputBox.Parent = Frame
- local resultLabel = Instance.new("TextLabel")
- resultLabel.Size = UDim2.new(1, 0, 0, 30)
- resultLabel.Position = UDim2.new(0, 0, 0.6, 0)
- resultLabel.Text = ""
- resultLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- resultLabel.BackgroundTransparency = 1
- resultLabel.Parent = Frame
- local getKeyButton = Instance.new("TextButton")
- getKeyButton.Size = UDim2.new(0.4, 0, 0, 30)
- getKeyButton.Position = UDim2.new(0.05, 0, 0.8, 0)
- getKeyButton.Text = "Get Key"
- getKeyButton.Parent = Frame
- local closeButton = Instance.new("TextButton")
- closeButton.Size = UDim2.new(0.4, 0, 0, 30)
- closeButton.Position = UDim2.new(0.55, 0, 0.8, 0)
- closeButton.Text = "Close"
- closeButton.Parent = Frame
- -- Button functionality
- getKeyButton.MouseButton1Click:Connect(function()
- setclipboard("https://direct-link.net/1248436/tsb-hub-key") -- Replace with your key link
- resultLabel.Text = "Key link copied!"
- end)
- closeButton.MouseButton1Click:Connect(function()
- Frame.Visible = false
- end)
- inputBox.FocusLost:Connect(function(enterPressed)
- if enterPressed then
- if inputBox.Text == correctKey then
- resultLabel.Text = "Correct key! Executing script..."
- Frame.Visible = false
- -- Create GUI
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- -- Main Frame (Tsb rom GUI)
- local MainFrame = Instance.new("Frame")
- MainFrame.Size = UDim2.new(0, 0, 0, 0) -- Start minimized
- MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- MainFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- MainFrame.Visible = true -- Always visible but starts closed
- MainFrame.Parent = ScreenGui
- MainFrame.ClipsDescendants = true -- Prevents overflow during animation
- MainFrame.Active = true
- MainFrame.Draggable = true -- Makes the frame draggable
- -- Title Label
- local titleLabel = Instance.new("TextLabel")
- titleLabel.Size = UDim2.new(1, 0, 0, 50)
- titleLabel.Position = UDim2.new(0, 0, 0, 0)
- titleLabel.Text = "Tsb hub [V1.0]"
- titleLabel.TextSize = 24
- titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- titleLabel.BackgroundTransparency = 1
- titleLabel.Parent = MainFrame
- -- Define Buttons and Their Actions
- local buttons = {
- ["Stoic bomb [from kj]"] = function()
- loadstring(game:HttpGet("https://pastebin.com/raw/J8AYwEU1"))()
- end,
- ["FFJ HUB"] = function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/FFJ1/Roblox-Exploits/main/scripts/TSBUtils.lua"))()
- end,
- ["Kade hub"] = function()
- --[[
- WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
- ]]
- getgenv().AutoReport = true
- loadstring(game:HttpGet("https://raw.githubusercontent.com/skibiditoiletfan2007/KadeHubRepository/main/Latest.lua"))()
- end,
- ["KJ SCRIPT"] = function()
- loadstring(game:HttpGet("https://pastebin.com/raw/RuvgXNsx"))()
- end,
- ["SOON!1!1!1"] = function()
- print("YAY SOON?")
- end
- }
- -- Create Buttons from the Table
- local index = 0
- for name, action in pairs(buttons) do
- local button = Instance.new("TextButton")
- button.Size = UDim2.new(0.8, 0, 0, 40)
- button.Position = UDim2.new(0.1, 0, 0, 50 + index * 50)
- button.Text = name -- Set the button's name
- button.TextSize = 18
- button.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.Parent = MainFrame
- -- Connect the button to its action
- button.MouseButton1Click:Connect(action)
- index = index + 1
- end
- -- Open/Close Button (Top-Left Corner)
- local toggleButton = Instance.new("TextButton")
- toggleButton.Size = UDim2.new(0, 150, 0, 50)
- toggleButton.Position = UDim2.new(0, 10, 0, 10) -- Top-left corner
- toggleButton.Text = "Open GUI"
- toggleButton.TextSize = 20
- toggleButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- toggleButton.Parent = ScreenGui
- -- Animation Functions
- local isOpen = false
- local function toggleGUI()
- if isOpen then
- -- Close Animation
- toggleButton.Text = "Open GUI"
- MainFrame:TweenSizeAndPosition(
- UDim2.new(0, 0, 0, 0), -- Target size
- UDim2.new(0.5, 0, 0.5, 0), -- Target position
- Enum.EasingDirection.In,
- Enum.EasingStyle.Sine,
- 0.5, -- Animation duration
- true
- )
- toggleButton:TweenSize(
- UDim2.new(0, 150, 0, 50), -- Shrinks button slightly
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Back,
- 0.3,
- true
- )
- else
- -- Open Animation
- toggleButton.Text = "Close GUI"
- MainFrame:TweenSizeAndPosition(
- UDim2.new(0, 300, 0, 300), -- Target size
- UDim2.new(0.5, -150, 0.5, -150), -- Target position
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Sine,
- 0.5, -- Animation duration
- true
- )
- toggleButton:TweenSize(
- UDim2.new(0, 150, 0, 50), -- Restores button size
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Back,
- 0.3,
- true
- )
- end
- isOpen = not isOpen
- end
- -- Connect Toggle Button
- toggleButton.MouseButton1Click:Connect(toggleGUI)
- else
- resultLabel.Text = "Wrong key! Rejoin to try again."
- wait(3) -- Wait for 3 seconds
- game.Players.LocalPlayer:Kick("Wrong key! Rejoin to try again.")
- end
- end
- end)
Add Comment
Please, Sign In to add comment