Problem is inside a PlayerGui. When I click a button (Tool3) a new value for a StringValue (ToolSelected) inside a button named "Go" is given which is "Tool3" (Default Value is: "Tool1"). If I die the value again is "Tool1" instead of the previous one ("Tool3"). How i can save the previous Value so if I die when I respawn the Value is still "Tool3"
ToolSelected = script.Parent.Parent.Parent.Parent.Go.ToolSelected function click() ToolSelected.Value = "Tool3" end
Sorry, this isn't an answer to your question, but an answer to your formatting
First, Your script should go in a scripting box. When you ask a question, click the little circular blue button , and then put your script inside of the ~~~
--Right here, see? This makes it look cleaner, and easier for people to find the bugs!
second, most people aren't going to read that huge paragraph up there, dumb it down into 2-3 sentences, but not so simple that it isn't what you want!
Try this m8!