It is a custom starter character that I’ve been using and I’m trying to make it so when you hover over another player with your mouse it highlights them, and while it works while the model is on the map it doesn’t work as a character. I’ve tried everything from putting them items into the starter character to inserting them with scripts but nothing seems to work. It’s just a highlight, a click detector, and a script to detect and activate both when needed.
local ClickDetector = script.Parent.ClickDetector
local Highlight = script.Parent.Highlight
ClickDetector.MouseHoverEnter:Connect(function(plr)
Highlight.Enabled = true
plr.StarterGui.Cursor.Enabled = false;
end)
ClickDetector.MouseHoverLeave:Connect(function(plr)
Highlight.Enabled = false
end)