For instance, lets say I have the following script.
I know this kind of system would be terrible, it’s just an example. I just need to know how to check if a userid is valid or not, without the player being in the server.
local EpicPeople = game:GetService("DataStoreService")
game.Players.PlayerAdded:Connect(function(Player)
Played.Chatted:Connect(function(Message)
Message = tonumber(Message)
EpicPeople:SetAsync("Player_"..Message), "EPIC PERSON") -- Store the mentioned playerid as EPIC PERSON.
-- How can I check if a number is a userid, or invalid. Without said player being in the server.
end)
end)