Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Updated Teleport section with Tesla Lab addition
- local teleportScripts = {
- {
- Name = "CASTLE TP",
- Script = [[loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/castletpfast.github.io/refs/heads/main/FASTCASTLE.lua"))()]],
- Color = Color3.fromRGB(0, 255, 255)
- },
- {
- Name = "FORT TP",
- Script = [[loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/Tpfort.github.io/refs/heads/main/Tpfort.lua"))()]],
- Color = Color3.fromRGB(255, 0, 255)
- },
- {
- Name = "DEAD RAILS TP", -- Changed from "THE END TP"
- Script = [[loadstring(game:HttpGet("https://raw.githubusercontent.com/gumanba/Scripts/refs/heads/main/DeadRails"))()]],
- Color = Color3.fromRGB(255, 255, 0)
- },
- {
- Name = "THE END V2 TP",
- Script = [[
- _G['EndGameOnlyMode'] = true;
- script_key="NqUxLbGADaoMsDEkApIugMaRMbuEZnik";
- loadstring(game:HttpGet("https://raw.githubusercontent.com/NebulaHubOfc/Public/refs/heads/main/Loader.lua"))()
- ]],
- Color = Color3.fromRGB(0, 255, 0)
- },
- { -- New Tesla Lab teleport
- Name = "TESLA LAB TP",
- Script = [[loadstring(game:HttpGet('https://raw.githubusercontent.com/ringtaa/tptotesla.github.io/refs/heads/main/Tptotesla.lua'))()]],
- Color = Color3.fromRGB(255, 100, 0)
- }
- }
- -- Update the tab name (around line 50 where the tab button is created)
- teleportTab.Text = "DEAD RAILS TP" -- Changed from "TELEPORTS"
- -- Update the button creation loop to accommodate 5 buttons
- for i, scriptData in ipairs(teleportScripts) do
- local button = Instance.new("TextButton")
- button.Name = scriptData.Name
- button.Size = UDim2.new(1, 0, 0.16, 0) -- Changed from 0.2 to fit 5 buttons
- button.Position = UDim2.new(0, 0, 0.16 * (i-1), 0) -- Adjusted spacing
- button.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
- button.BackgroundTransparency = 0.7
- button.Text = scriptData.Name
- button.TextColor3 = Color3.new(1, 1, 1)
- button.Font = Enum.Font.SciFi
- button.TextScaled = true
- button.Parent = teleportContent
- -- Rest of the button code remains the same...
- -- Hover effects
- button.MouseEnter:Connect(function()
- button.BackgroundColor3 = scriptData.Color
- button.TextColor3 = Color3.new(0, 0, 0)
- end)
- button.MouseLeave:Connect(function()
- button.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
- button.TextColor3 = Color3.new(1, 1, 1)
- end)
- -- Click to execute
- button.MouseButton1Click:Connect(function()
- local originalText = button.Text
- button.Text = "EXECUTING..."
- local success, err = pcall(function()
- loadstring(scriptData.Script)()
- end)
- if success then
- button.Text = "SUCCESS!"
- else
- button.Text = "ERROR!"
- warn(err)
- end
- wait(1.5)
- button.Text = originalText
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement