ATTENTION: Ban History is actually released, you just can't use it in studio, which was the reason I thought it wasn't released at first. You can watch a tutorial for it here: ruclips.net/video/IziSDc98SEE/видео.html Here is the finished script if you need it: local Part = script.Parent Part.Touched:Connect(function(touched) if touched.Parent:FindFirstChild("Humanoid") then local plr = game.Players:GetPlayerFromCharacter(touched.Parent)
local success, erro = pcall(function() game.Players:BanAsync({ UserIds = {plr.UserId}, ApplyToUniverse = true, Duration = -1, DisplayReason = "You have been banned because you touched the part!!!!!!!!!!", PrivateReason = "Touched Part", ExcludeAltAccounts = true }) end) end end)
This expects the touched parent to be a player which is not required, instead you should just get player from touched.Parent and check if its nil or not. There's no need to check if there is a humanoid
Apply to universe sounds a little complex but its not. When you make a roblox game, the entire game itself is the universe. In the asset manager, you can create new places inside of the universe that you can teleport your players to. For example, you might have a horror game. The horror game itself will be the universe. You made a lobby game and a main game for the horror game. If you want to ban the player only from joining the main game, you would want to set ApplyToUniverse to false, and ban them only in the main game, which means that they can still join the lobby place, but won't be able to join the main game. If you set ApplyToUniverse to true, then no matter what, they will be banned from the whole game, not being able to join the lobby or main game.
sounds useful for things like if your game has multiple gamemodes and you can ban a player from certain gamemodes (like a casual and a competitive and you only want to ban them from competitive)
but in all seriousness this is really good and opens up a lot of possibilities for moderation in your own game and other gimicks (because i know people are gonna make a game out of this)
Guys here is another one!!!!!!:local blacklisted = {["USERNAME"] = true} game.Players.PlayerAdded:Connect(function(plr) if blacklisted[plr.Name] then plr:Kick "REASON" end end)
this sounds like an amazingly useful feature, as lots of exploiters have a script for old banning methods to simply avoid the kick, whereas this kicks them before they have a chance to inject their exploits + ban alts too. a win for us devs
I can't unban myself, i explain i tried the ban async so i've banned my self for 7k days and exclude alt accounts, when i used the UnbanAsync when i join, it tell me that it unban me from Roblox Studio but from Roblox i'm still ban, if i made something wrong pls tell me
this is really exciting! i never have had proper banning systems in any of my projects, so dealing with annoying players was quite a task. this solves so many problems now. not to mention you can IP ban too!!!!
I feel the ip ban is a mistake unless it expires(as most do), since most people have dynamic IPs, you are just gonna surprise someone with an unexpected ban if 2 people live nearby and the ISP cycles the same IPs for that 1 street
@@deesh6378 that's what I think as well, from what I've heard on v3rmillion, phantom forces has pretty complicated ban system and using ban api might make phantom forces harder to cheat on
wow ip bans, my brother exploits in games but i dont (he exploits in the games i like too) so if he gets banned, i cant appeal because its a IP ban WOW!!!! what a bad idea
if you’re a BarneyHunter12 fan, (roblox RUclipsr that does trolling with alts) this can be a huge problem because if you get all of your alts banned permanently then that means you will never get to play the game again, unless you change your IP I think or move to a new house I’m pretty sure. But I’m also a roblox developer that cannot stand annoying exploiters so this is a huge W for me. So overall I have mixed feelings about this update. Also I love your channel! Very underrated!
@@typoskwatter neither, it's text file based (very scary and impossible to bypass (impossible to delete robloxcookies.dat to bypass)) roblox is truly innovating and changing the gaming industry forever!
gotta try this when I get my vm working Heard there are already bypasses, using the bypass + reinstalling/deleting files makes the banapi completely useless, well at least for games like stateview prison.
pov cafe game devs : OH YEAH FOR ANYONE THAT SAYS I WANT A DIARRHEA DRINK WE'RE GOING TO RUN THIS BAN FUNCTION ON THEM (when they can use it on exploder not just for doing stupid things or just being annoying like bruh people are definitely going to abuse this I mean its because of them they are the one who made this update feel like the end of trolling in a cafe game but other than that the update seems kind a nice not going to lie)
local Part = script.Parent Part.Touched:Connect(function(touched) if touched.Parent:FindFirstChild("Humanoid") then local plr = game.Players:GetPlayerFromCharacter(touched.Parent)
local success, erro = pcall(function() game.Players:BanAsync({ UserIds = {plr.UserId}, ApplyToUniverse = true, Duration = -1, DisplayReason = "You have been banned because you touched the part!!!!!!!!!!", PrivateReason = "Touched Part", ExcludeAltAccounts = true }) end) end end) Edit
Why not. The new API is simply intended to make it easier to ban players without saving them in the datastore and kicking them after joining. Also this has many other cool features that are very useful. I see no reason to remove kick. By kicking a player, we don't always want to ban him. And I think that many people is using it 4fun.
The devforum post specifies the following: The Kick API will remain active to avoid unnecessary adjustments. However, we recommend performing all of your account actions through the Ban API if this is your first time setting up an API. edit: why does that sound so passive aggressive
I'm kind of curious on how the alt account ban works. Does it track all of the accounts that you're logged into? Or does it recognize your MAC address?
Probably bans the accounts that are attached to your accounts at the Switch Accounts feature that you can find at the settings button if you are on a pc not sure where it is for mobile
ATTENTION:
Ban History is actually released, you just can't use it in studio, which was the reason I thought it wasn't released at first. You can watch a tutorial for it here: ruclips.net/video/IziSDc98SEE/видео.html
Here is the finished script if you need it:
local Part = script.Parent
Part.Touched:Connect(function(touched)
if touched.Parent:FindFirstChild("Humanoid") then
local plr = game.Players:GetPlayerFromCharacter(touched.Parent)
local success, erro = pcall(function()
game.Players:BanAsync({
UserIds = {plr.UserId},
ApplyToUniverse = true,
Duration = -1,
DisplayReason = "You have been banned because you touched the part!!!!!!!!!!",
PrivateReason = "Touched Part",
ExcludeAltAccounts = true
})
end)
end
end)
How do you make it into a ban ui?
@@DHG-4000_Productionscode it
tanks you :))
This expects the touched parent to be a player which is not required, instead you should just get player from touched.Parent and check if its nil or not. There's no need to check if there is a humanoid
@@DHG-4000_Productions you just do, ask your friends to make it for you
Apply to universe sounds a little complex but its not.
When you make a roblox game, the entire game itself is the universe. In the asset manager, you can create new places inside of the universe that you can teleport your players to.
For example, you might have a horror game. The horror game itself will be the universe. You made a lobby game and a main game for the horror game.
If you want to ban the player only from joining the main game, you would want to set ApplyToUniverse to false, and ban them only in the main game, which means that they can still join the lobby place, but won't be able to join the main game. If you set ApplyToUniverse to true, then no matter what, they will be banned from the whole game, not being able to join the lobby or main game.
sounds useful for things like if your game has multiple gamemodes and you can ban a player from certain gamemodes (like a casual and a competitive and you only want to ban them from competitive)
@@TREB0RZcsgo after leaving a comp game
but in all seriousness this is really good and opens up a lot of possibilities for moderation in your own game and other gimicks (because i know people are gonna make a game out of this)
damn only 209 Subs ????!! you deserve way more ngl
Guys here is another one!!!!!!:local blacklisted = {["USERNAME"] = true}
game.Players.PlayerAdded:Connect(function(plr)
if blacklisted[plr.Name] then
plr:Kick "REASON"
end
end)
this sounds like an amazingly useful feature, as lots of exploiters have a script for old banning methods to simply avoid the kick, whereas this kicks them before they have a chance to inject their exploits + ban alts too. a win for us devs
that's not how that works skid
best thing its IP ban
@@carbonz that is quite literally how it works, im not a "skid", dont talk on topics you arent educated in
you can't "inject" something into a game just by joining it
@@Sakupennyeasy to bypass
Just discovered your account, very excited for the content you will be creating! I plan to learn scripting real soon this summer
real soon? get on to it now!!
@@macialdo100I’m starting once I get home from vacation!!
@@macialdo100 hahah don’t worry! I meant next week because I had to finish a summer course in uni this week
love the video lookie should make a tut on how to code in roblox!
Edit: like the man basic's of coding in roblox!
I can't unban myself, i explain i tried the ban async so i've banned my self for 7k days and exclude alt accounts, when i used the UnbanAsync when i join, it tell me that it unban me from Roblox Studio but from Roblox i'm still ban, if i made something wrong pls tell me
If they can detect alt accounts, wouldn’t roblox know if you are botting? If so, that means they can add tix back
very informative. well done!
dropping a sub ^-^
this is really exciting! i never have had proper banning systems in any of my projects, so dealing with annoying players was quite a task. this solves so many problems now. not to mention you can IP ban too!!!!
I feel the ip ban is a mistake unless it expires(as most do), since most people have dynamic IPs, you are just gonna surprise someone with an unexpected ban if 2 people live nearby and the ISP cycles the same IPs for that 1 street
you ban the person
person lives near you.
person has the same ip as you then you also get banned lol.
I doubt it uses your IP alone, it's probably a mixture between HWID, IP, and some behavioural factors.
@@deesh6378 that's what I think as well, from what I've heard on v3rmillion, phantom forces has pretty complicated ban system and using ban api might make phantom forces harder to cheat on
wow ip bans, my brother exploits in games but i dont (he exploits in the games i like too) so if he gets banned, i cant appeal because its a IP ban WOW!!!! what a bad idea
As far as I know you're the only one who made a productive video on the ban API. Good job
finally a real ban system that's not about of silly kicking.
This is better than kicking players. Cuz they can just go in a alt. W Roblox
if you’re a BarneyHunter12 fan, (roblox RUclipsr that does trolling with alts) this can be a huge problem because if you get all of your alts banned permanently then that means you will never get to play the game again, unless you change your IP I think or move to a new house I’m pretty sure. But I’m also a roblox developer that cannot stand annoying exploiters so this is a huge W for me. So overall I have mixed feelings about this update.
Also I love your channel! Very underrated!
Instead of moving house you can either get a new router or if your ip is dynamic just wait for 2 weeksish for an unban or manually reset your ip
@@nopfp416 that too
Do i have to put it into a block i want to make this a gui
Wait but if it bans you from all places then couldn't the evil dev ban you from a lot of places by TPing you to idk like Bedwars for example
No, not how it works place needs to be owned by owner unless he owns bedwars he cant ban ppl from it
you need ownership of the game
"Places" refer to places in YOUR game. not other games
so this is that dreaded "alt detection feature" everyone's talking about
Do we know if it's IP or HWID based?
@@typoskwatter I think its a MAC address thing, I heard cleaning up with Disk Cleanup just fixes this and won't get you banned on other accounts.
@@typoskwattermac
@ValipPowa they're very different but ok
@@typoskwatter neither, it's text file based (very scary and impossible to bypass (impossible to delete robloxcookies.dat to bypass)) roblox is truly innovating and changing the gaming industry forever!
Finally! Now I don't have to have ban info in my datastore now
cant you just use the command bar to unban and ban them?
no, only server scripts can do it, command bar has the authority of plugin scripts
The ban and unban only work in real servers, not in studio (pretty sure)
gotta try this when I get my vm working
Heard there are already bypasses, using the bypass + reinstalling/deleting files makes the banapi completely useless, well at least for games like stateview prison.
just ban them again, simple
can u post the script in the comments
I made a new pinned comment with it
Am I able to connect it into a command script?
Yes just where your put the info of the user get it from your command it’s really simple
lmao, i kinda wanna make the same vid but you deserve the views
uh ok lol
This tutorial was very helpful 👍
the script doesn't work
easy alt account bypass lol
yeah change your MAC address
yea but at least its better than no detection at all ig
pov cafe game devs : OH YEAH FOR ANYONE THAT SAYS I WANT A DIARRHEA DRINK WE'RE GOING TO RUN THIS BAN FUNCTION ON THEM (when they can use it on exploder not just for doing stupid things or just being annoying like bruh people are definitely going to abuse this I mean its because of them they are the one who made this update feel like the end of trolling in a cafe game but other than that the update seems kind a nice not going to lie)
Question. When you ban someone with their alts, does it hardware ban them, IP Ban them, or does it just ban the accounts linked to your email?
I can't imagine this going well
This is very sigma
Thanks you 😀
i bet 50% of devs are going to abuse this function looking at you pet sim 99
Can you please a police radio with voice chat with a keybind to enabled it.
Are there any places with an API ban so you can go in and check how it works?
vpn easy solo
Roblox players be decreasing 10000× faster
vancouver
WHAAAAAT
your really quiet. turn up volume when editing the video
this guy is underated
yeah i saw hd admin and there was an ban alt accounts
This is bad for those people who is hacking
local Part = script.Parent
Part.Touched:Connect(function(touched)
if touched.Parent:FindFirstChild("Humanoid") then
local plr = game.Players:GetPlayerFromCharacter(touched.Parent)
local success, erro = pcall(function()
game.Players:BanAsync({
UserIds = {plr.UserId},
ApplyToUniverse = true,
Duration = -1,
DisplayReason = "You have been banned because you touched the part!!!!!!!!!!",
PrivateReason = "Touched Part",
ExcludeAltAccounts = true
})
end)
end
end)
Edit
thanks :) :D
3:22
YEEEEEEESSS!!!!!FINALLYYYYY!!!!!!
will the old way of banning (kicking) work still?
It should unless they remove the :Kick() function which even if they did it would still be depreciated and able to be used.
yes but the new way is better
Why not. The new API is simply intended to make it easier to ban players without saving them in the datastore and kicking them after joining. Also this has many other cool features that are very useful.
I see no reason to remove kick. By kicking a player, we don't always want to ban him. And I think that many people is using it 4fun.
The devforum post specifies the following:
The Kick API will remain active to avoid unnecessary adjustments. However, we recommend performing all of your account actions through the Ban API if this is your first time setting up an API.
edit: why does that sound so passive aggressive
yes, but it is recommended to use the new feature since its easier and more efficient
imagine getting unfairly ban in your favorite game, and you will never be able to play it again
Use a vpn
Incorporating alt account detection into the ban API is a pretty stupid move on Roblox's part.
why?
???
@@zk3282probably since it uses IPs so if someone in your house gets banned for some bad reason, you’ll also get banned for not doing anything wrong.
@@tiny_dino3049I was thinking of that but it doesn't do that it Hardware bans you so it doesn't matter what your IP is
@@CIA_Insights tmac can simply bypass hwid bans lol
The Ban Brick!
Noice video! Roblox's Ban API epic
1:49 it says service not live so you cant use it yet
You can use it but it's so new documentation on it wasn't up so when it tried to fetch the documentation it gave a "service not live" error
So uh here’s a bug
This can also ban the creator of the game if alt acc is detected 😬
how do i unban the account what script do i use
no, it will ban the alt account if the creator is banned and joins on an alt and is detected
@@kokobroxdbro
the creator gets banned and u cant fix it with hd
(the game creator can get banned)
wouldn't you just be able to add yourself to the unban list? you could also try making some sort of whitelist for bans
Players:UnbanAsync() moment
NOOOOO
The trolling community is crying rn because of this amazing update
not amazing its horrible
It has already been bypassed since it released
It's already bypassed
Alt accounts too??? How do they decide what “alternative accounts” to ban??
Trolling has fallen in Robloxia!
I think it’s IP
MAC address
@@JudlexAlternate true also
i dont know if its hardware based but probably not
I'm kind of curious on how the alt account ban works. Does it track all of the accounts that you're logged into? Or does it recognize your MAC address?
Probably bans the accounts that are attached to your accounts at the Switch Accounts feature that you can find at the settings button if you are on a pc not sure where it is for mobile
@TypKris I don't use the switch accounts thing, I just log out and log into the alt
my guess is it uses your ip to see if its an alt
@@CodingCapybaraRobloxyes youre right probably, but im pretty sure they also ban the accounts attached to the account you ban
I tested it by making an alt after being banned and I was able to just rejoin so it's either not done or useless
I love it ❤😂
Roblox did a W 🎉
Pretty interesting cause the regular way to do it is by saving ban state in datastore.
There wasnt a ban system?
@@CrystalCoding-oy6qh nah
Wow
HOW did you enable ads eventho your under 1k subs because i can't do it.
this is me when the when are