Hey all! I hope you’re all having an amazing day and also keeping safe.

I’m wanting to temporarily save data through a script I have made which kicks people when there is an HTTP request.

Some of my code:

local requestManager = HttpService:GetAsync(url.."/requestKick")
  requestManager:gsub('(%a*):(.*)', function (playerUsername, kickReason)
  local playerToKick = game.Players:FindFirstChild(playerUsername)
  if playerToKick then
    playerToKick:Kick(kickReason)

Once a user has been kicked once, I want my script to remember the username so that they don’t keep getting kicked from my loop script if a new user hasn’t been returned. But, when there’s a new user added from the request, it removes the old username and puts them in, remembering them so they don’t keep getting kicked multiple times, similar to copy and paste I guess

Sorry if I haven’t explained my situation well, if you don’t understand what I am trying to achieve feel free to ask below.