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

How can I reset a GUI while ResetPlayerGUIOnSpawn is on false?

Ok some people have told me that there is no way to do this but is there any actual solution to do it though?

3 comments

0

Bro just change it true bro ????????????

0

Uhh no sorry some of my guis need the property to be on false

0

what type of gui you have?? like a case opening gui or inventory or what? I'm thinking you could store the positions of the guiobjects and retrieve them .

1 answer

this is a localscript in StarterGui

the code:

local player = game:GetService("Players").LocalPlayer
local character = workspace:WaitForChild(player.Name)

if character then
	print("Okay found ur user")
else
	print("something went wrong couldn't find u")
end

character:FindFirstChild("Humanoid").Died:Connect(function()

	print("died")

end)

make sure you have a cloned gui placed inside the client so then you can still get it.

2 comments

0

I was going to accept this but what was I supposed to do with "make sure you have a cloned gui placed inside the client so then you can still get it"?

0

I mean like put the gui inside lightning gui and then when a user joins clone it to the user so the original UI won't be edited and you can use it how much you want.

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