I am trying to kick players from the server without using :Kick(), :Destroy(), etc.
The answer is: you cannot kick a player without using functions, but you can crash players using this script:
function KICK(PLAYER) spawn(function() local function SKICK() if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) local SP = Instance.new('SkateboardPlatform', PLAYER.Character) SP.Position = PLAYER.Character.HumanoidRootPart.Position SP.Transparency = 1 spawn(function() repeat wait() if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then SP.Position = PLAYER.Character.HumanoidRootPart.Position end until not game:GetService('Players'):FindFirstChild(PLAYER.Name) end) PLAYER.Character.Torso.Anchored = true end end spawn(function() repeat wait() if PLAYER ~= nil then SKICK() end until not game:GetService('Players'):FindFirstChild(PLAYER.Name) if not game:GetService('Players'):FindFirstChild(PLAYER.Name) then print('REMOVED ' .. PLAYER.Name) end end) end) end
To use:
KICK(game.Players["PLAYERNAME"])
That is a function too, but if you don't want to use functions in general, you can just "extract" it out of it. The script was made by rocky2u by the way. Make sure that the function is already defined when using this KICK(game.Players.PLAYER). The script uses a bug with the "SkateboardPlatform" to crash players.
You could just use this localscript with FE on. This will only work with FE, or else it would crash the whole server.
while true do Instance.new("Part", workspace) end
This just runs a loop without wait.