Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

?How do I detect my StringValue in Players Player?

I have a StringValue called Cat in a Player under Players. Issue I am having is that after I get to Players it won't come up Player if this makes sense nor the value. So my question is more so how to get the value under Players in Player code I am trying.

local CatVal = game.Players.Player.Cat

1 answer

local CatValue = game.Players.Player:FindFirstChild('Cat')

if CatValue then
	-- do stuff
end

1 comment

0

Didn't work

This discussion is preserved as it was. New answers, comments, and votes are closed.