So I'm making a text button that triggers only when a specific player presses it.
This is the code:
local button = script.Parent
local groupServie = game:GetService("GroupService")
button.MouseButton1Click:Connect(function (plr)
if plr.Name == "ElpersonPL" then
print("good plr")
end
end)
The game says that I'm trying to index nil with "Name"
