Skip to content

Instantly share code, notes, and snippets.

View c584pgx9tz-design's full-sized avatar

c584pgx9tz-design

  • Joined Jan 25, 2026
View GitHub Profile
-- ====== 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
-- ====== PERSISTENT AUTO-RUN ON TELEPORT ======
if queue_on_teleport then
queue_on_teleport([[
task.delay(3, function()
-- ====== OLD WORKING SCRIPT START ======
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local player = Players.LocalPlayer
-- ====== PERSISTENT AUTO-RUN ON TELEPORT ======
if queue_on_teleport then
queue_on_teleport([[
task.delay(3, function()
-- ====== OLD WORKING SCRIPT START ======
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local player = Players.LocalPlayer
-- ====== PERSISTENT AUTO-RUN ON TELEPORT ======
local CODE = [[
task.delay(3, function()
if queue_on_teleport then
queue_on_teleport([[
]] .. CODE .. [[
]])
end
-- ====== PERSISTENT AUTO-RUN ON TELEPORT ======
local SCRIPT = [[
task.delay(3, function()
-- Re-queue for NEXT teleport (THIS WAS THE BUG)
if queue_on_teleport then
queue_on_teleport(SCRIPT)
end
-- ====== OLD WORKING SCRIPT START ======
-- ====== 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
-- ====== AUTO-RUN ON TELEPORT ======
if queue_on_teleport then
queue_on_teleport([[
-- This is literally your working script
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local player = game:GetService("Players").LocalPlayer
local enabled = true
local teleporting = false
-- ====== 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
-- ====== AUTO-RUN ON TELEPORT (WITH 3s DELAY) ======
if queue_on_teleport then
queue_on_teleport([[
task.delay(3, function()
-- Services
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local player = Players.LocalPlayer
-- ====== AUTO-RUN ON TELEPORT ======
if queue_on_teleport then
queue_on_teleport([[
task.delay(3, function()
-- Services
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local player = Players.LocalPlayer