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

Gui.visible = true OnTouch help me?

1 answer

Changing things in StarterGui will not change anything else. You will see the changes when you die and the elements of StarterGui are copied back into your PlayerGui. Instead of changing what is given to you when you respawn, change what you actually have already.

script.Parent.Touched:connect(function(Part)
	local player=game.Players:GetPlayerFromCharacter(Part.Parent)
	if player then
		wait(1)
		player:WaitForChild("PlayerGui"):WaitForChild("ScreenGui"):WaitForChild("Frame").Visible=true
		wait(1)
	end
end)

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