Roblox Player Character Destroy Behavior: What Changes Nov 11
Roblox makes PlayerCharacterDestroyBehavior the default on November 11, 2026. What it destroys, which save scripts can break, and how to test your game now.
On this page
On November 11, 2026, Roblox changes how every experience cleans up players and characters on the server. If your Workspace still has PlayerCharacterDestroyBehavior set to Default, it will start acting like Enabled: the engine will destroy a leaving player’s Player object and each old character model automatically. That fixes a common source of server memory leaks, but it can break save scripts that read player data too late.
What Roblox announced
Roblox first introduced PlayerCharacterDestroyBehavior as an opt-in setting in November 2023. Back then, a leaving player’s Player instance was only parented to nil, and old character models were treated the same way. If any script still held a reference to them, such as an event connection that was never disconnected, the server could never free that memory. Over a long-running server with thousands of joins and respawns, those leaks can add up until the server crashes.
In a DevForum announcement posted on November 4, 2026, Roblox said the opt-in is moving to its next phase:
| Phase | When | What happens |
|---|---|---|
| Phase 1 | November 2023 onward | Opt-in. Default acts like Disabled. |
| Phase 2 | November 11, 2026 | Default acts like Enabled. Disabled still works as an opt-out. |
| Phase 3 | End of February 2027 (planned) | The property and the opt-out are removed. The new behavior applies to every experience. |
The announcement also notes that around 16% of games had already opted in, and that Studio’s templates ship with the property set to Enabled. The original 2023 post had planned the switch for 2024, so if you remember an older timeline, the November 2026 announcement is the current one.
What the setting actually does
The enum has three values, documented in the Creator Hub API reference:
| Value | What the engine does |
|---|---|
Default | Uses the engine default. From November 11, 2026, that means the same as Enabled. |
Disabled | Does not destroy old characters or the Player objects of players who left. |
Enabled | Destroys a player’s old character when it’s replaced (for example, on respawn) and the Player object when that player leaves. |
With the new behavior, the timing works like this, according to Roblox’s announcement:
- Player objects are destroyed 5 seconds after your
PlayerRemovinghandlers run. The delay gives save code that yields a short window to still read the player’s children. - Character models are destroyed right after your
CharacterRemovinghandlers run. There is no extra delay.
Destroying an instance does more than remove it from the game. The Creator Hub docs for Instance:Destroy() explain that it sets Parent to nil, locks the Parent property, disconnects all connections, and destroys every child. That is why the change helps with memory: connections on the player and character go away with them.
What can break in your game
Roblox lists three kinds of code that can stop working:
- Reading a player’s children long after they leave. For example, a
PlayerRemovinghandler that waits, then readsplayer.leaderstats. - Reading a character’s children after yielding in
CharacterRemoving. The model is destroyed as soon as your handlers finish their synchronous part. - Re-parenting a destroyed player or character. Because
Destroy()locksParent, code that moves the old character model somewhere else (for example, to keep it in the world after respawn) will fail.
The most common case is data saving. A save handler usually calls a data store, and data store calls yield. If your handler reads values after that first yield, those values may be gone.
How to fix PlayerRemoving save code
The fix Roblox recommends is simple: copy everything you need into local variables at the top of the handler, before anything yields. Here is a small server Script example using a leaderstats value called Points:
local Players = game:GetService("Players")
local DataStoreService = game:GetService("DataStoreService")
local pointsStore = DataStoreService:GetDataStore("PlayerPoints")
Players.PlayerRemoving:Connect(function(player)
-- Copy what you need first, while the Player still exists
local key = tostring(player.UserId)
local leaderstats = player:FindFirstChild("leaderstats")
local pointsValue = leaderstats and leaderstats:FindFirstChild("Points")
if not pointsValue then
return
end
local points = pointsValue.Value
-- Now it's safe to yield; the code below only uses local copies
local ok, err = pcall(function()
pointsStore:SetAsync(key, points)
end)
if not ok then
warn("Could not save points for " .. key .. ": " .. tostring(err))
end
end)
What each part does:
keyandpointsare plain values (a string and a number), so they stay valid after thePlayerobject is destroyed.FindFirstChildreturnsnilinstead of erroring ifleaderstatsorPointsis missing, so the handler exits cleanly.SetAsyncis the yielding call. Everything after it works only with the local copies, never withplayer.pcallcatches data store errors so one failed save doesn’t throw an unhandled error.
You could rely on the 5-second window instead, but your save might take longer than that if the data store is slow or you retry. Copying first works no matter how long the save takes. Test this in Studio with your own data structure before you publish.
How to fix CharacterRemoving code
Character models get no grace period, so the same rule is even stricter here. Read anything you need from the character before the first yield:
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterRemoving:Connect(function(character)
-- Read from the character immediately
local root = character:FindFirstChild("HumanoidRootPart")
local lastPosition = root and root.Position
task.wait(1)
-- The character model may already be destroyed here,
-- so only use the copied value
print(player.Name, "was last at", lastPosition)
end)
end)
lastPosition is a Vector3 value, not a reference to the part, so it’s still usable after the wait. Reading character.HumanoidRootPart after task.wait(1) is the pattern that breaks.
If your game keeps old character models around on purpose, for example as bodies left behind after a respawn, re-parenting the destroyed model won’t work anymore. You’ll need to rework that system so it doesn’t reuse the old model, and test the new approach in Studio.
How to switch to Enabled and test now
You don’t have to wait for November 11. Turning the setting on yourself lets you find problems in Studio first.
- Open your place in Roblox Studio.
- In the Explorer, select Workspace.
- In the Properties window, find PlayerCharacterDestroyBehavior.
- Set it to Enabled.
- Playtest. Leave the game and respawn your character while watching the Output window for errors from save, leaderboard, or respawn scripts.
- If everything works, publish the place.
The Creator Hub API reference marks this property as not scriptable, so you can’t set it from a script or the command bar at runtime. Use the Properties window.
flowchart TD
A["Select Workspace in Studio"] --> B["Check PlayerCharacterDestroyBehavior"]
B --> C["Enabled: no action needed"]
B --> D["Default: set to Enabled and test"]
B --> E["Disabled: temporary fallback only"]
D --> F["Fix handlers that read after a yield"]
If something still breaks
- Errors like “attempt to index nil” in save code: look for any line that reads
player.orcharacter.after atask.wait,task.delay, or data store call, and move that read above the first yield. - Errors about the Parent property being locked: some script is trying to re-parent a destroyed player or character. Find it with the stack trace in the Output window.
- Leaderboards missing scores for leaving players: check that the leaderboard code captures the value in
PlayerRemovingbefore saving. - Still unsure: the 2023 announcement notes that
WaitForChildon children that existed when the event fired is still safe, andFindFirstChildis a good alternative.
If your game has never touched this setting, it’s worth spending ten minutes in Studio before November 11. Searching your scripts for PlayerRemoving and CharacterRemoving is the fastest way to find every handler that needs a look.
Related guides
- How to Test Teleports in Roblox Studio (November 2026 Update)
- Roblox MeshId to MeshContent: The Studio Change Explained
- Fix Blurry Pixel Art in Roblox With ResampleMode Pixelated
- Roblox GetFriendsInServerAsync: New Friends List APIs Explained
Sources
- PlayerCharacterDestroyBehavior Will Be Default on November 11 (Roblox DevForum announcement, November 4, 2026)
- New Player and Character Destroy Behavior (Roblox DevForum, November 2023)
- PlayerCharacterDestroyBehavior enum (Roblox Creator Hub)
- Workspace class reference (Roblox Creator Hub)
- Instance:Destroy() (Roblox Creator Hub)
- Player class reference (Roblox Creator Hub)
Frequently asked questions
What happens to PlayerCharacterDestroyBehavior on November 11, 2026?
Roblox says the Default setting will start behaving the same as Enabled. The server will then destroy a player's Player object after they leave and their old character model when it is replaced, unless you have set the property to Disabled.
Do I need to do anything if my game already uses Enabled?
No. Roblox's announcement says games that already have the property set to Enabled need no further action, because they already use the new behavior.
Can I keep the old behavior by setting it to Disabled?
Only for a while. Roblox describes Disabled as a temporary fallback and plans to remove the property and the opt-out entirely around the end of February 2027.
How long after a player leaves is the Player object destroyed?
According to the November 2026 announcement, the Player is destroyed 5 seconds after the PlayerRemoving handlers run. Character models are destroyed right after the CharacterRemoving handlers run, with no extra delay.
Can I change PlayerCharacterDestroyBehavior from a script?
No. The Creator Hub API reference marks the Workspace property as not scriptable, so you change it in Studio's Properties window with Workspace selected.