https://gyazo.com/f4700cf61e29ab8a31f703fbdfc6c5c8
This is assuming the script is parented to the part.
1 | local c = script.Parent.ClickDetector |
2 |
3 | c.MouseHoverEnter:Connect( function (player) -- Just incase you need it |
4 | script.Parent.BillboardGui.Enabled = true |
5 | end ) |
6 |
7 | c.MouseHoverLeave:Connect( function (player) -- Just incase you need it [2] |
8 | script.Parent.BillboardGui.Enabled = false |
9 | end |