Why Does The Frame Still Come Up When I Reset My Character when there Is Supposed to be a debounce?

this is a script inside serverscriptservice:

local frame = game.StarterGui.LoadingScreenGui.PlayFrame
local deb = false

game.Players.PlayerAdded:Connect(function(player)
if deb then return end

deb = true

frame.Visible = true

wait(10000000)

deb = false

end)

is the frame.Visible=true in studio ?
if yes you should make it false
if no Try to clone the frame from server storage when player added or try to check it with data

You’re setting the frame to be visible from ‘StarterGui’. This means that every player will start the game with the GUI visible whenever they respawn. To fix this, you can instead set the frame to be visible from the ‘PlayerGui’. Also, assuming this is a Loading Screen, you would probably want to control it from a LocalScript instead.

theres literally a property (don’t remember the exact name) inside the screengui object, check it out (it’s basically to make it reset when the character respawns or not)

edit: it’s ScreenGui.ResetOnSpawn, set it to false