So I want it to be so when I hover over my Door for example with my mouse I want it to show/Enable the Billboard GUI. I am not sure on how I should do this niether I have a any scripts to try with, any help would be awesome! //ItsRickGrimes
✓ ANSWER ACCEPTED
BillboardGUI's when hovering over part with mouse?
1 answer
✓ Accepted answer
Put a local script in StarterPlayerScripts (found in StarterPlayer)
local player = script.Parent.Parent
local mouse = player:GetMouse()
local part = workspace.Model.Part --or workspace.Part ,Must be a part (can be in a model just make the part in the model the whole size of the model but invisible)
spawn(function()
while true do
if mouse.Target ~= nil then
if mouse.Target == part then
part.BillboardGui.Enabled = true
part.SelectionBox.Visible = true --Only include this line if you have a selection box
else
part.BillboardGui.Enabled = false
part.SelectionBox.Visible = false --Only include this line if you have a selection box
end
end
wait()
end
end)
Hope this helps!
1 comment
0
Helped out tons, thanks dude! I only knew how to do this with GUI's before. This really helped, appreciate it
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
try a while try do with mouse.Target , if you want me to give you an example in an answer I can