TEMPLATE NAME: Billboard
CORE VERSION: 1.0.202
TEMPLATE VERSION: 1.1.0
TEMPLATE DESCRIPTION:
Lightweight UIPanel wrapper to give UI functionality similar to Roblox BillboardGuis. It makes a UI panel track the world position of an object or player on the screen. You can also specify an offset for the gui.
TEMPLATE ROADMAP:
Add support for scaling based on distance away from panel
MEDIA:
The Click Me button tracks the green cube beneath it
EXAMPLE USAGE:
local Billboard = require(script:GetCustomProperty("Billboard"))
local uiPanel = script:GetCustomProperty("MyPanel"):WaitForObject()
local randomCube = script:GetCustomProperty("Cube"):WaitForObject()
-- the third parameter is the world offset in cm. It is optional
local b = Billboard.New(randomCube, uiPanel, Vector3.New(100, 0, 100))
Read the comments at the top of the script for more information!