what does this error mean? I don’t understand. Here is my code
local workspace1 = game:GetService("Workspace")
local screen = workspace1:WaitForChild("Screens")
local screen1 = screen:WaitForChild("Screen1")
local surfacegui = screen1:WaitForChild("SurfaceGui")
local textbutton = surfacegui.Frame:WaitForChild("TextButton")
local textlabel = surfacegui.Frame:WaitForChild("TextLabel")
textbutton.MouseButton1Click:Connect(function(player)
player = game.Players.LocalPlayer
player.Name = textlabel.name.Value
textbutton.Visible = false
local players = game.Players:GetPlayers()
for i,v in pairs(players) do
if v.Name ~= player.Name and v:GetRankInGroup(6279576) >=5 then
game.ReplicatedStorage.Staffregisterbutton1:FireClient(v)
else
game.ReplicatedStorage.Claimregisterbutton1:FireClient(player)
end
end
end)