Created
January 26, 2026 03:01
-
-
Save c584pgx9tz-design/ec24053ffb708cd10064a5bbb316c0b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- ====== PERSISTENT AUTO-RUN ON TELEPORT ====== | |
| if queue_on_teleport then | |
| queue_on_teleport([[ | |
| task.delay(3, function() | |
| -- Re-queue itself for the next teleport | |
| if queue_on_teleport then | |
| queue_on_teleport(...) | |
| end | |
| -- ====== OLD WORKING SCRIPT START ====== | |
| local Players = game:GetService("Players") | |
| local TeleportService = game:GetService("TeleportService") | |
| local player = Players.LocalPlayer | |
| local enabled = true | |
| local teleporting = false | |
| -- GUI | |
| local gui = Instance.new("ScreenGui") | |
| gui.Name = "ItemTeleportGUI" | |
| gui.Parent = player:WaitForChild("PlayerGui") | |
| local frame = Instance.new("Frame", gui) | |
| frame.Size = UDim2.new(0, 240, 0, 100) | |
| frame.Position = UDim2.new(0.5, -120, 0.3, 0) | |
| frame.BackgroundColor3 = Color3.fromRGB(30,30,30) | |
| Instance.new("UICorner", frame) | |
| local toggle = Instance.new("TextButton", frame) | |
| toggle.Size = UDim2.new(1, -10, 0, 40) | |
| toggle.Position = UDim2.new(0, 5, 0, 5) | |
| toggle.Text = "Teleport: ON" | |
| toggle.BackgroundColor3 = Color3.fromRGB(50,50,50) | |
| toggle.TextColor3 = Color3.fromRGB(0,255,0) | |
| toggle.Font = Enum.Font.SourceSansBold | |
| toggle.TextSize = 16 | |
| local status = Instance.new("TextLabel", frame) | |
| status.Size = UDim2.new(1, -10, 0, 40) | |
| status.Position = UDim2.new(0, 5, 0, 55) | |
| status.BackgroundTransparency = 1 | |
| status.Text = "OG Lucky Block: No" | |
| status.TextColor3 = Color3.fromRGB(255,255,255) | |
| status.Font = Enum.Font.SourceSansBold | |
| status.TextSize = 16 | |
| toggle.MouseButton1Click:Connect(function() | |
| enabled = not enabled | |
| toggle.Text = enabled and "Teleport: ON" or "Teleport: OFF" | |
| toggle.TextColor3 = enabled and Color3.fromRGB(0,255,0) or Color3.fromRGB(255,0,0) | |
| end) | |
| -- Teleport | |
| local function doTeleport() | |
| if not enabled or teleporting then return end | |
| teleporting = true | |
| TeleportService:Teleport(game.PlaceId) | |
| task.delay(10, function() | |
| teleporting = false | |
| end) | |
| end | |
| -- Item Detection (OG Lucky Block only) | |
| local function onNewItem(item) | |
| if not enabled or not item.Name then return end | |
| local name = item.Name:lower():gsub("^%s*(.-)%s*$", "%1") -- trim & lowercase | |
| if name ~= "og lucky block" then return end -- ONLY OG Lucky Block | |
| -- Update UI | |
| status.Text = "OG Lucky Block: YES" | |
| task.delay(1, function() | |
| status.Text = "OG Lucky Block: No" | |
| doTeleport() | |
| end) | |
| end | |
| player:WaitForChild("Backpack").ChildAdded:Connect(onNewItem) | |
| local function hookCharacter(char) | |
| char.ChildAdded:Connect(onNewItem) | |
| end | |
| if player.Character then hookCharacter(player.Character) end | |
| player.CharacterAdded:Connect(hookCharacter) | |
| print("[LOADED] Item teleport script active (queued on teleport)") | |
| -- ====== OLD WORKING SCRIPT END ====== | |
| end) | |
| ]]) | |
| end | |
| -- ====== EXECUTE IN CURRENT SERVER (3s DELAY) ====== | |
| task.delay(3, function() | |
| loadstring(game:HttpGet( | |
| "https://gist.githubusercontent.com/c584pgx9tz-design/0954e9b49662d89b3925a4f758496822/raw/328e90a15228fa20d09291d541ca5359c14b67cf/gistfile1.txt" | |
| .. "?t=" .. tostring(math.random(1,100000)) | |
| ))() | |
| end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment