local player = game.Players.LocalPlayer
ranking = {workspace.Values.Line.First, workspace.Values.Line.Second, workspace.Values.Line.Third, workspace.Values.Line.Fourth, workspace.Values.Line.Fifth}
script.Parent.MouseButton1Down:connect(function(p)
for i,v in pairs (ranking) do
if v.Value ~= player.Name then
if v[1].Value == "" then
v[1].Value = player.Name
elseif v[2].Value == "" then
v[2].Value = player.Name
elseif v[3].Value == "" then
v[3].Value = player.Name
elseif v[4].Value == "" then
v[4].Value = player.Name
elseif v[5].Value == "" then
v[5].Value = player.Name
end
end
end
end)
it breaks on the 8th line saying 1 is not a valid member of StringValue please help

2 comments
thank you so much
No problem!