Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make this K/D GUI save on death?

i'm trying to make a custom kills + deaths GUI so I could use it instead of the leaderboard, but, upon death the stats are gone, the script under the text label is:

local Deaths = script.Parent.Parent.Parent.Parent.leaderstats.Deaths

Deaths.Changed:connect(function()
	script.Parent.Text = Deaths.Value
end)

Pretty simple, any help is appreciated.

EDIT: Solved

2 comments

0

On ScreenGui, disable the property ResetOnSpawn

0

Thanks!

1 answer

✓ Accepted answer

Inside The gui (go into properties) Search: ResetOnSpawn (dont know if thats the exact name) but you should disable it. (tick it off)

Hope this helps, good luck

This discussion is preserved as it was. New answers, comments, and votes are closed.