I have a small game that has consistently seen a small amount of players over its 3-year life.
About 3 months ago, I published an update to the game, which was just some QOL changes. A day later, the game was taken down by Roblox for ‘Encouraging Exploits’ and I received a 1-Day ban.
After questioning Roblox appeals, they said that the inappropriate content was ‘Server-side teleporting’, a feature that had been in the game for over a year at this point. This really confused me, as millions of other games do this. Millions.
Here is a rough rewrite of the code I was forced to delete:
game.ReplicatedStorage.TeleportEvent.OnServerEvent:Connect(function(player,height)
local character = player.Character
local hrp = character.HumanoidRootPart
hrp.CFrame = CFrame.new(hrp.Position.X, height, hrp.Position.Z)
end)
As you can see, this is super simple and super common code. Why was this banned?
I want to reintroduce the feature as I see no wrong with it. I am wondering if the name ‘Server-side teleporting’ is why it was taken down. I am thinking of calling it ‘Server-side Elevation’ instead.
to be honest, i don’t even see a point using the server like that to teleport the player up or down, when you can easily do the same thing on the client already with less lines of code.
as far as the game being taken down and banned, I have no clue. As far as the code being common, you could be right, but I personally would be unable to back up that claim or not. In the future I just recommend you use client side when moving a player’s character.
Client-Side application:
local player = game.Players.LocalPlayer
local Character = player.Character
local function teleportPlayer(height)
Character.PrimaryPart.Position = Vector3.new(Character.PrimaryPart.Position.X, height, Character.PrimaryPart.Position.Z)
end)