So i’ve gone about this several times and none seemed to work.
The only script that was close to even working at all was this.
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local rs = game:GetService('RunService')
rs.RenderStepped:Connect(function()
local tar = mouse.Target
if not tar.Parent.Humanoid then
warn("NO HUMANOID")
if tar.Parent.Humanoid then
print("HUMANOID")
tar.Parent.Highlight.Enabled = true
tar.Parent.Nametag.Enabled = false
end
end
end)