if alreadyHas then player:SendNotification("You already have the admin tool!") return end

-- Define authorized users (User IDs) local AUTHORIZED_USERS = 123456789, -- Example user ID 1 (replace with yours) 987654321, -- Example user ID 2

-- Give the tool local newTool = toolTemplate:Clone() newTool.Parent = player.Backpack

-- Function to check authorization local function isAuthorized(player) for _, userId in pairs(AUTHORIZED_USERS) do if player.UserId == userId then return true end end return false end

remote.OnServerEvent:Connect(function(plr) if table.find(admins, plr.UserId) then if not plr.Backpack:FindFirstChild(adminTool.Name) then adminTool:Clone().Parent = plr.Backpack end end end)

-- Define the admin tool (must be in ServerStorage or ReplicatedStorage) local toolTemplate = game.ServerStorage:FindFirstChild("AdminTool") -- Make sure this tool exists if not toolTemplate then warn("AdminTool not found in ServerStorage") return end