I have a StringValue which gives has the players name stored in it, and I'm trying to get the player's name from Players using the value in the String.
local PlayerName = script.Parent.Sensor:WaitForChild("Name").Value
local Player = game.Players:FindFirstChild(PlayerName)

4 comments
Simply switch line two out with this: local Player = game.Players:FindFirstChild(PlayerName)
Ah yah, stupid mistake of mine.
So does it work now?
Yes