It's sort of hard to explain. What I mean is, if I want to detect if someone's wearing a hat when they enter a game, the script will know it's that hat. I have the script done, but each time I want to know the name of the hat, I have to keep entering the game, checking what the player is wearing and then copy letter by letter. For example:
local hat = hit.Parent:FindFirstChild("SnipersVisor")
If I put Snipers Visor, it wouldn't work. And I wouldn't know that it would be together. So does anyone know where I could get the name?

1 comment
You can check the class name or use IsA.