Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local UIS = game:GetService("UserInputService")
- local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- screenGui.Name = "LEE SCRIPT"
- screenGui.ResetOnSpawn = false
- local frame = Instance.new("Frame", screenGui)
- frame.Size = UDim2.new(0, 350, 0, 280)
- frame.Position = UDim2.new(0.5, -175, 0.5, -140)
- frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- frame.BorderSizePixel = 0
- Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12)
- frame.Active = true
- frame.Draggable = true
- local title = Instance.new("TextLabel", frame)
- title.Size = UDim2.new(1, 0, 0, 50)
- title.BackgroundTransparency = 1
- title.Text = "LEE'S UI"
- title.TextColor3 = Color3.fromRGB(255, 255, 255)
- title.Font = Enum.Font.GothamBold
- title.TextSize = 30
- local mainTab = Instance.new("Frame", frame)
- mainTab.Size = UDim2.new(1, 0, 1, 0)
- mainTab.BackgroundTransparency = 1
- local tabButton = Instance.new("TextButton", mainTab)
- tabButton.Size = UDim2.new(0.8, 0, 0, 40)
- tabButton.Position = UDim2.new(0.1, 0, 0.45, 0)
- tabButton.Text = "Dead Rails TP"
- tabButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- tabButton.BackgroundColor3 = Color3.fromRGB(60, 120, 255)
- tabButton.Font = Enum.Font.Gotham
- tabButton.TextSize = 20
- Instance.new("UICorner", tabButton).CornerRadius = UDim.new(0, 10)
- local tpFrame = Instance.new("Frame", frame)
- tpFrame.Size = UDim2.new(1, 0, 1, 0)
- tpFrame.Position = UDim2.new(0, 0, 0, 0)
- tpFrame.BackgroundTransparency = 1
- tpFrame.Visible = false
- local function makeButton(text, posY, func)
- local btn = Instance.new("TextButton", tpFrame)
- btn.Size = UDim2.new(0.8, 0, 0, 35)
- btn.Position = UDim2.new(0.1, 0, posY, 0)
- btn.Text = text
- btn.TextColor3 = Color3.fromRGB(255, 255, 255)
- btn.BackgroundColor3 = Color3.fromRGB(40, 130, 90)
- btn.Font = Enum.Font.Gotham
- btn.TextSize = 18
- Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 10)
- btn.MouseButton1Click:Connect(func)
- end
- -- TP Buttons
- makeButton("Castle TP", 0.12, function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/castletpfast.github.io/refs/heads/main/FASTCASTLE.lua"))()
- end)
- makeButton("Fort TP", 0.28, function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/Tpfort.github.io/refs/heads/main/Tpfort.lua"))()
- end)
- makeButton("The End TP", 0.44, function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/gumanba/Scripts/refs/heads/main/DeadRails"))()
- end)
- makeButton("Tesla Lab TP", 0.60, function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/tptotesla.github.io/refs/heads/main/Tptotesla.lua"))()
- end)
- makeButton("More Soon", 0.76, function()
- print("Coming soon!")
- end)
- -- Back Button
- local backButton = Instance.new("TextButton", tpFrame)
- backButton.Size = UDim2.new(0.6, 0, 0, 30)
- backButton.Position = UDim2.new(0.2, 0, 0.9, 0)
- backButton.Text = "Back"
- backButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- backButton.BackgroundColor3 = Color3.fromRGB(150, 60, 60)
- backButton.Font = Enum.Font.Gotham
- backButton.TextSize = 18
- Instance.new("UICorner", backButton).CornerRadius = UDim.new(0, 8)
- -- Tab toggle logic
- tabButton.MouseButton1Click:Connect(function()
- mainTab.Visible = false
- tpFrame.Visible = true
- end)
- backButton.MouseButton1Click:Connect(function()
- tpFrame.Visible = false
- mainTab.Visible = true
- end)
- -- Keybind (P) toggle
- UIS.InputBegan:Connect(function(input, gpe)
- if not gpe and input.KeyCode == Enum.KeyCode.P then
- frame.Visible = not frame.Visible
- end
- end)
- -- Mobile Toggle Button
- local mobileBtn = Instance.new("TextButton", screenGui)
- mobileBtn.Size = UDim2.new(0, 80, 0, 35)
- mobileBtn.Position = UDim2.new(1, -90, 1, -45)
- mobileBtn.AnchorPoint = Vector2.new(0, 0)
- mobileBtn.Text = "Toggle UI"
- mobileBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
- mobileBtn.BackgroundColor3 = Color3.fromRGB(80, 80, 255)
- mobileBtn.Font = Enum.Font.Gotham
- mobileBtn.TextSize = 16
- Instance.new("UICorner", mobileBtn).CornerRadius = UDim.new(0, 8)
- mobileBtn.MouseButton1Click:Connect(function()
- frame.Visible = not frame.Visible
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement