Nah I don’t want it to I’m just kinda confused how you would do the change thing
Since nothing is changing? I’m confused what u would call for
the GetPropertyChangedSignal would only fire every time it sees mouse.Target change (i.e when a player hovers over a new part), this would prevent flashing but would also need a way to turn it back off again (which im not too sure how to do but maybe could only allow 1 on at a time)
Im getting the gist of it but how would u do this in a script?
it would be similar to the script from before
lp = game.Players.LocalPlayer mouse = lp:GetMouse() mouse:GetPropertyChangedSignal(‘Target’):Connect(function() if mouse.Target:IsA('BasePart') and mouse.Target:FindFirstChildOfClass('BillboardGui') ~= nil then mouse.Target:FindFirstChildOfClass('BillboardGui').Enabled = true end end)
Though I am unsure about the best way to handle disabling the billboardguis due to the lack of a mouse.left type event
That is the part that’s hardest for me idk how to turn the GUI off when the mouse leaves
So firstly make a simple BillboardGui and inside of it put a TextLabel, put all in StarterGui. Also change BillboardGui’s Enabled to false.
Then copy this script and put in StarterPlayerScripts(located in starter player)
local UIS = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
UIS.InputChanged:Connect(function(input)
if mouse.Target then
if mouse.Target:FindFirstChild("Show") then
player.PlayerGui.BillboardGui.Enabled = true
player.PlayerGui.BillboardGui.Adornee = mouse.Target
player.PlayerGui.BillboardGui.TextLabel.Text = mouse.Target.Name
else
player.PlayerGui.BillboardGui.Enabled = false
player.PlayerGui.BillboardGui.Adornee = nil
player.PlayerGui.BillboardGui.TextLabel.Text = ""
end
end
end)
Also make a BoolValue inside every part you want the GUI to show!
This would solve the headache of making guis for every part
Hockey lover thx for ur input you introduced me to :GetPropertyChangedSignal