Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Ban system
- FazeInfinity
-
Scratcher
4 posts
Ban system
i honestly dont know, but you could make the game stop working for them
foreverthen make some script to stop the game working
if<[username] = [(username)]>then
stop game working
else
say [Have a good day]
end
end
Last edited by FazeInfinity (April 24, 2024 12:50:38)
- Cool_Dude2022
-
Scratcher
500+ posts
Ban system
How do i make a serversided ban system
Making a ban system is near impossible, this is due to the fact that every game's code is editable. As long as the user does not know how to do simple coding to reverse the ban, then you can use something like this:
when green flag clicked
if <[Banned Player List v] contains (username) ?> then
broadcast [Banned v]
end
Edit: By the way, they can only reverse the ban client side. This means that the code of the game is not officially edited and is just changed for their session. I thought that I should clear this up.
Last edited by Cool_Dude2022 (April 24, 2024 12:52:56)
- OsomKoolGuy
-
Scratcher
78 posts
Ban system
i honestly dont know, but you could make the game stop working for themtake your code, then have a ban screen show, the stop all.foreverthen make some script to stop the game working
if<[username] = [(username)]>then
end
end
forever
if <(username) = (username)> then
show
stop [ v]
end
end
- Discussion Forums
- » Help with Scripts
-
» Ban system