Hi. I’m currently testing out the new BanAsync() API. It’s working fine, but when I’m banning someone, it says that “Alts banned?” set to no, but I put true in the script. Here’s how the script looks like:
game:GetService("Players"):BanAsync({
UserIds = {UserId},
ApplyToUniverse = true,
Duration = tonumber(Time),
DisplayReason = Reason,
PrivateReason = Reason,
ExcludeAltAccounts = true,
})
Help!
Exclude alt accounts means that alts won’t be affected by the ban. You must set it to false if you want to ban alt accounts as well.
ExcludeAltAccounts (optional; boolean) — When true, Roblox does not attempt to ban alt accounts. Default is false.
1 Like
STOOK_X
(STOOK_X)
December 14, 2024, 1:41pm
#4
This is correct “Exclude” means to not include. Meaning when you put it to true it “will not include” alt accounts.
Oh, OK. Let me try this out rn.
system
(system)
Closed
December 28, 2024, 3:06pm
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.