Redeem all Doors codes
스크립트 코드
local CorrectPlaceId = 6516141723
local DoorsLobbyPlaceId = 6516141723
if game.PlaceId ~= CorrectPlaceId then
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local LocalPlayer = Players.LocalPlayer
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "WrongGameUI"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 430, 0, 230)
MainFrame.Position = UDim2.new(0.5, -215, 0.5, -115)
MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
MainFrame.BorderSizePixel = 0
MainFrame.Parent = ScreenGui
local Corner = Instance.new("UICorner")
Corner.CornerRadius = UDim.new(0, 12)
Corner.Parent = MainFrame
local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, -30, 0, 80)
Title.Position = UDim2.new(0, 15, 0, 15)
Title.BackgroundTransparency = 1
Title.Text = "You are in the wrong game\nmake sure you are in the Doors Lobby for this to work (ofc rerun the script once you are in the right game)"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 20
Title.Font = Enum.Font.GothamBold
Title.TextWrapped = true
Title.Parent = MainFrame
local SmallText = Instance.new("TextLabel")
SmallText.Size = UDim2.new(1, -30, 0, 25)
SmallText.Position = UDim2.new(0, 15, 0, 105)
SmallText.BackgroundTransparency = 1
SmallText.Text = "(might fail to teleport in some games)"
SmallText.TextColor3 = Color3.fromRGB(170, 170, 170)
SmallText.TextSize = 14
SmallText.Font = Enum.Font.Gotham
SmallText.Parent = MainFrame
local JoinButton = Instance.new("TextButton")
JoinButton.Size = UDim2.new(0, 180, 0, 45)
JoinButton.Position = UDim2.new(0.5, -190, 1, -70)
JoinButton.BackgroundColor3 = Color3.fromRGB(65, 120, 255)
JoinButton.BorderSizePixel = 0
JoinButton.Text = "Join Doors Lobby"
JoinButton.TextColor3 = Color3.fromRGB(255, 255, 255)
JoinButton.TextSize = 16
JoinButton.Font = Enum.Font.GothamBold
JoinButton.Parent = MainFrame
local JoinCorner = Instance.new("UICorner")
JoinCorner.CornerRadius = UDim.new(0, 8)
JoinCorner.Parent = JoinButton
local IgnoreButton = Instance.new("TextButton")
IgnoreButton.Size = UDim2.new(0, 180, 0, 45)
IgnoreButton.Position = UDim2.new(0.5, 10, 1, -70)
IgnoreButton.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
IgnoreButton.BorderSizePixel = 0
IgnoreButton.Text = "Ignore"
IgnoreButton.TextColor3 = Color3.fromRGB(255, 255, 255)
IgnoreButton.TextSize = 16
IgnoreButton.Font = Enum.Font.GothamBold
IgnoreButton.Parent = MainFrame
local IgnoreCorner = Instance.new("UICorner")
IgnoreCorner.CornerRadius = UDim.new(0, 8)
IgnoreCorner.Parent = IgnoreButton
JoinButton.MouseButton1Click:Connect(function()
JoinButton.Text = "Teleporting..."
local Success, Error = pcall(function()
TeleportService:Teleport(DoorsLobbyPlaceId, LocalPlayer)
end)
if not Success then
JoinButton.Text = "Teleport Failed"
warn("Teleport failed:", Error)
task.wait(2)
JoinButton.Text = "Join Doors Lobby"
end
end)
IgnoreButton.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
end)
return
end
local WikiUrl = "https://doors-game.fandom.com/wiki/Codes"
local Remote = game:GetService("ReplicatedStorage")
:WaitForChild("RemotesFolder")
:WaitForChild("ShopCode")
local function DecodeHtml(Text)
Text = Text:gsub("&", "&")
Text = Text:gsub("<", "<")
Text = Text:gsub(">", ">")
Text = Text:gsub(""", '"')
Text = Text:gsub("'", "'")
Text = Text:gsub("/", "/")
return Text
end
local function GetCodesFromWiki()
local Success, Page = pcall(function()
return game:HttpGet(WikiUrl)
end)
if not Success then
warn("Failed to fetch wiki:", Page)
return {}
end
local Codes = {}
local Seen = {}
local ValidSection = Page:match("Valid(.-)These codes are expired")
or Page:match("Valid(.-)Expired")
or Page
for RawCode in ValidSection:gmatch("<code.->(.-)</code>") do
local Code = DecodeHtml(RawCode)
Code = Code:gsub("<.->", "")
Code = Code:gsub("^%s+", ""):gsub("%s+$", "")
if Code ~= "" and not Seen[Code] then
Seen[Code] = true
table.insert(Codes, Code)
end
end
if #Codes == 0 then
for RawCode in ValidSection:gmatch("`([^`]+)`") do
local Code = DecodeHtml(RawCode)
Code = Code:gsub("^%s+", ""):gsub("%s+$", "")
if Code ~= "" and not Seen[Code] then
Seen[Code] = true
table.insert(Codes, Code)
end
end
end
return Codes
end
local Codes = GetCodesFromWiki()
if #Codes == 0 then
warn("No codes found. Fandom probably changed the page layout or HttpGet got blocked.")
return
end
print("Found", #Codes, "codes.")
for _, Code in ipairs(Codes) do
local Success, Error = pcall(function()
Remote:FireServer(Code)
end)
if Success then
print("Redeemed:", Code) -- Remove this part if you don't want it to print codes it redeemed
else
warn("Failed:", Code, Error)
end
task.wait(5)
end
print("Done redeeming all codes.")설명
Fetches the Doors wiki for codes and then fires a remote to redeem all codes. There is a 5 second cooldown between redeeming codes to prevent rate limit. Also gives you a big UI saying you are in the wrong game. [should be wrong game proof] **IMPORTANT** This might not work on external executors (aka Xeno, Solara) not tested yet. Make sure you are in the Doors Lobby not the main game. Please for errors press F9 (or look at your executors console output) and tell me the errors. [and make sure you are in the right game before saying it does not work.] (script tested with Volt)
댓글 (0)
- 첫 댓글을 작성하세요.
자주 묻는 질문
- Redeem all Doors codes 스크립트는 어떻게 사용하나요?
- 위의 스크립트 코드를 복사하고, Roblox 엑시큐터를 열어 붙여넣은 후, 게임 중에 실행을 누르세요. 스크립트가 실행되면 기능이 즉시 활성화됩니다.
- Redeem all Doors codes 스크립트는 무료인가요?
- 네. 이 스크립트는 무료로 복사하고 사용할 수 있습니다. 키 시스템을 사용하는 경우, 링크를 통해 무료로 키를 받으세요.
- Redeem all Doors codes 스크립트는 안전한가요?
- 전체 소스 코드가 이 페이지에 표시되어 실행 전에 정확히 무엇을 하는지 확인할 수 있습니다. 항상 신뢰할 수 있는 엑시큐터를 사용하고, 스크립트 사용은 Roblox 이용 약관에 위반되므로 자의적 위험으로 사용하세요.
- Redeem all Doors codes에 호환되는 엑시큐터는?
- 이 스크립트는 대부분의 인기 Roblox 엑시큐터에서 작동합니다. 기기에 맞는 신뢰할 수 있는 무료 또는 유료 엑시큐터를 찾으려면 엑시큐터 페이지를 확인하세요.