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

How to make gui pop up when close to a part?

I want a billboard gui to pop up when I get close to a part. Any references I can use? thanks

2 answers

Once you create a Billboard Gui uncheck the "Visible", so it disappears and place in StarterGui.

Then try something like this-

local part= script.Parent

part.Touched:connect(function(hit)
	local H= hit.Parent:FindFirstChild('Humanoid')
	if H then
		local player= game.Players:GetPlayerFromCharacter(hit.Parent)
		player.PlayerGui.(name of Gui).Visible= true
		
	end
end)

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