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

how do i make a billboardgui active for a curtain amount of time when a part is clicked?

i really cant seem to figure out how to do this. Please help?

2 answers

Insert a click detector inside of the part and put the script inside of the billboard gui.

local clickDetector = workspace.Part.ClickDetector
 
function onMouseClick()
	script.Parent.Enabled = true
	wait(5)
	script.Parent.Enabled = false
end

clickDetector.MouseClick:connect(onMouseClick)
part.MouseClick:Connect(function()
	billboardgui.Enabled = true
	wait(5)
	billboardgui.Enabled = false
end

2 comments

0

This won't work.

0

o ye i forgot to writ click detector xd

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