In the past, i had tried this to fetch me variables with player's name and team:
repeat wait() until game.Players.LocalPlayer
repeat wait() until game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
player = game.Players.LocalPlayer
Mouse = player:GetMouse()
Identifier = game.Players.LocalPlayer.PlayerGui.CyborgGui.CyborgVision.Identifier
if player.Mouse.Target:GetPlayerFromCharacter()then
Player = player.Mouse.Target
PlayerName = Player.Name
PlayerTeam = Player.TeamColor
--This is not a whole script, but a part of it
And it doesn't do anything, really. The variables won't fetch the things. What is wrong?
(I will post the rest of the script if it helps.)

2 comments
Doesn't work - won't recognize global "mouse" because it's nil. Then again, if i actually do add a mouse with GetMouse() it still doesn't work.
"canonical names are lowercase". What does "doesn't work" mean? 1) You can't hover over your own character 2) You have to hover over an actual player, not just a humanoid (so you would have to test with a server)