if v.leaderstats.Rank == nil then
script.Parent.Main.EditBox.PlayerRole.Text = "Guest"
else
script.Parent.Main.EditBox.PlayerRole.Text = v.leaderstats.Rank.Value
end
The entire script is not important, all I need is for it to see if the intvalue "Rank" exists. Nil doesn't seem to work. Does anyone know how to correctly tell if something is actually nil or not?

1 comment
Edit: added the not in, essentially says if v.leaderstats.Rank is not true(exists) then...