You can write your topic however you want, but you need to answer these questions:
-
sorry for that double post but I wondered how I would get a player using a text
-
I basically have a text and I want the server to get the text and see if anyone has the same name that’s in the text.
of course, I am sure the script down below won’t work but how would I make it search for the text value in the players. for example, if the text is Dev_Simphony, it will look in the players and see if there is someone named like that.
local remote = game.ReplicatedStorage.fireServer
remote.OnServerEvent:Connect(function(player, text)
if game.Players.text then
print("Player found")
end
end)
