---- Settings ----


local Cooldown = true
local Key ="X"


UserInputService.InputBegan:Connect(function(Input, IsTyping)
  if IsTyping then return end
  local KeyPressed = Input.KeyCode
  if KeyPressed == Enum.KeyCode[Key] and Cooldown and Character then
      Cooldown = false
 
 
      Remote:FireServer()
  
  
      wait(8)
      Cooldown = true
   end
end)
