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.

--Codes above is ignored.
while wait() do
    for i,Notice in pairs(BillBoards) do
        local NoticePad = Notice.PrimaryPart
        local dist = (plr.Character.HumanoidRootPart.Position - NoticePad.Position).magnitude
        if dist <= 30 then --It works! But it is not visible >:(
            script.Parent.Parent.Adornee = NoticePad
            script.Parent.Parent.Enabled = true
            script.Parent.Visible = true
            script.Parent.Nearby:Fire(NoticePad)
        else
            script.Parent.Parent.Enabled = false
        end
    end
end

Please help me, sincerely.

DERP9487

:)))))))

1 answer

Log in to vote
0
Answered by 5 years ago

This is solved

Ad

Answer this question