Is there any way to detect whether a player is online? I have search a lot trying to find anything about anything. I have found a few things but they don't work, and or don't do what I want.
I have found a few things like https://api.roblox.com/users/USERID/onlinestatus/ but the page doesn't exist anymore.
I know some scripting but I don't even know where to start with this, all I have for a slight idea is
[
{
"Id": 12345678,
"Username": "user",
"AvatarUri": "",
"AvatarFinal": true,
"IsOnline": true
}
]
{
"Id": 12345678,
"Username": "user name"
}
But it returns with errors and such. And I get something working, is there any way to make it perform a function? like delete or make a part or model.

1 comment
Ok, I will check sometime soon. I will get back to you, thanks!