SurfaceGUI being removed after Restting

IN my place I clone a surfaceGUI and make the adornee a part in the Workspace, and then put it into a ScreenGUI. This works fine, but when I reset all the Surface GUIs get deleted. I’ve disabled ResetOnSpawn, and it still disappears. How so I fix this?

Media

image

Video

Script

local claimUI = script.SurfaceGui

game:GetService("ReplicatedStorage").PlotSys.events.createClaimUI.OnClientEvent:Connect(function(part)
	local clone = claimUI:Clone()
	clone.Name = part.Parent.Name
	clone.Adornee = part
	clone.Parent = script.Parent.claimUI
end)

i did not find any good solution for this, just do what you do again when player dies.

Are you sure ResetOnRespawn is turned off on the ScreenGui and not only the SurfaceGui?

ResetOnSpawn is off on both. It still doesn’t work tho.

did you tried my answer ?

This text will be blurred

No not yet, just tried to see if it wasn’t working because it wasn’t replicated onto the server but it still doesn’t work. Will try yours soon.

Have you tried making sure ResetOnSpawn is false? You could add clone.ResetOnSpawn = false inside the function

also by any chance is ResetOnSpawn turned off the clone (too)?

Yes, it’s off in the clone too.

try adding clone.ResetOnSpawn = false and see if it works

Nope that doesn’t work. The problem still persists

If you want, you could disable respawning/resetting so it wont dissapear :smiley:

That’s is not going to work in my use case.