Is there a way to IP ban someone in roblox?

Use the help others have provided. However, I recommend making a script that prevents alts. It keeps accounts under a certain age amount in days not able to join the game. I made this script below if you want to use it:

game.Players.PlayerAdded:Connect(function(player)
   local days = 7 — Change to how many days you want account age to be
if player.AccountAge <= days then
            player:Kick(“Your account must be “ .. days .. “ old to play this game!”)
      end
end)

Sorry if tabbing is bad I was doing this on my phone.

That prevents fresh alts however. Someone can make a lot of alts and wait for them to age, making the age limit obsolete.

An attacker could have dozens of aged alts that can pass through the filter.

2 Likes

Thanks man! I really appreciate!

1 Like

That sucks. If they upload it you can file a DMCA through roblox support and there will probably be action taken against their account. You might be able to report them for exploiting if they get it. This sucks in any situation and I’m sorry you gotta deal with it.

Thanks for the motivation! I will try my best.

Well I know you can get a public (and possibly private) IP address with python, but such a method being against TOS is plausible.

They just took the map, you can’t stop it. All your script will be safe, but your localscripts. They really can’t do much. Also, you cannot ip ban someone because that would be a lack of privacy for the user. You can use datastoreservice to ban their account, but not their ip.

Luau has no capability to get either IP address.

No I’m referring to the scripting language “python”, you could possibly have a python script and send the IP Address info back to Roblox luau.

Plus I know there are other ways to “IP grab” that doesn’t require Luau, but it’s about breaking TOS that stops this idea from even being prompted xd.

The client can’t make any web requests or requests to other languages.

Alright, when I was searching through basically python IDE apps, I saw one that sends an http request to a website and it returns your “public” up address, I’m saying it could be done the same for Roblox even without python.

HttpService is in Roblox, request data from said website and return it to Roblox, but it would be against TOS.

not prompting anyone to try this, but I know (well for python at least) it can be done.

Yes, you can. If you go onto a website that returns your ip via httpservice, you can get it. Though, this is against tos and will get you banned, maybe even ip banned from the website.

Yeah, but HttpService only works on the server.

Lets end this topic. Now, I know there is nothing we can do.

Yeah I - I know that was my entire post lol

Everyone literally keeps informing me that HTTPService isn’t client side, I know! you can just use remote events to communicate with the server from the client xd

Yea, but I’m pretty sure the server will return Roblox’s information because the request is being sent from their servers

1 Like

The website would get the IP based on the requester, which is the server.

Unless a system is built in into Roblox’s lua, it would be a very hard or even impossible task.

(exactly like @HugeCoolboy2007 said)

I was just adding on to your post, should have worded differently. :sweat_smile:

Would the server be the location of the ROBLOX server, or whoever is running the game?