Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago
Edited 3 years ago

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

0
On ScreenGui, disable the property ResetOnSpawn Dovydas1118 1495 — 3y
0
Thanks! julianhak06 12 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

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

Ad

Answer this question