Billboard gui wont appear when proximityprompt is triggered

im trying to make a billboard gui pop up when a prompt is triggered but the it doesnt…
both prints works so im not sure whats the problem is and ive tried to enable the billboard gui manually and it showed up but it doesnt show up auto when the prompt is triggered

the Teleporter adornee is HitBox and it shows when i enable it manually
Screenshot_44
Screenshot_45

local prompt = script.Parent
local billboard = game:GetService("StarterGui").Teleproter

local function onPromptTriggered(player)
	prompt.Enabled = false
	print("works1")
	billboard.Enabled = true
	print("works2")
	wait(5)
	prompt.Enabled = true
end

prompt.Triggered:Connect(onPromptTriggered)

You’re modifying the billboard that’s in StarterGui, not the billboard in PlayerGui


@Ariel_KO This should fix the problem:

local prompt = script.Parent

local function onPromptTriggered(player)
	local billboard = player.PlayerGui.Teleproter

	prompt.Enabled = false
	print("works1")
	billboard.Enabled = true
	print("works2")
	wait(5)
	prompt.Enabled = true
end

prompt.Triggered:Connect(onPromptTriggered)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.