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

Why the pop up billboard Gui not showing when approaching?

Asked by 5 years ago
Edited 5 years ago

My code is like this, it should work! When the distance between Local Player and the noticePad, the GUI will show.

01--Codes above is ignored.
02while wait() do
03    for i,Notice in pairs(BillBoards) do
04        local NoticePad = Notice.PrimaryPart
05        local dist = (plr.Character.HumanoidRootPart.Position - NoticePad.Position).magnitude
06        if dist <= 30 then --It works! But it is not visible >:(
07            script.Parent.Parent.Adornee = NoticePad
08            script.Parent.Parent.Enabled = true
09            script.Parent.Visible = true
10            script.Parent.Nearby:Fire(NoticePad)
11        else
12            script.Parent.Parent.Enabled = false
13        end
14    end
15end

Please help me, sincerely.

DERP9487

:)))))))

1 answer

Log in to vote
0
Answered by 5 years ago

This is solved

Ad

Answer this question