plr = game.Players.LocalPlayer player = workspace:WaitForChild(plr)
In the above the output says it cant find player. Is there a way to convert the player value in plr into an object value in player.
I'm not entirely sure what you're asking but I can explain why your code doesn't work.
Your code doesn't function because 'plr' is the actual Player object. The WaitForChild function takes in strings, not objects. You probably got an error like:
Infinite yield possible on 'workspace:WaitForChild("Instance")'
If the WaitForChild function causes the script to yield for 5 seconds, it will return this error.