Attempt to call a nil value returns in a new form

Yes, another forum for this. (Sorry)

repeat
	task.wait()
	print(_G.Loaded)
until _G.Loaded ~= nil
while task.wait() do
	script.Parent.Text = tostring(_G.TableDataEditor("GetTable",game.Players.LocalPlayer,nil).Coins)
end

This is the code. (_G.Loaded is set to true after the function that is called as “nil” has been set so it would avoid this error but it does the opposite.)

Any help is appreciated!

1 Like

What about the code where _G.Loaded is assigned?