Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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

2 answers

Log in to vote
1
Answered by 3 years ago

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)
Ad
Log in to vote
0
Answered by 3 years ago
part.MouseClick:Connect(function()
    billboardgui.Enabled = true
    wait(5)
    billboardgui.Enabled = false
end
0
This won't work. NotFrindow 346 — 3y
0
o ye i forgot to writ click detector xd BulletproofVast 1033 — 3y

Answer this question