Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make the table print the textbox's text?

I'm making a plugin that allows you to easily create a leaderboard but I need to be able to change the stats in the table to the text of the textboxes and if their empty then skid that oen\

here's my script so far :

while wait(0.3) do local stats = (script.Parent.Stat1.Text and script.Parent.Stat2.Text and script.Parent.Stat3.Text and script.Parent.Stat4.Text) end game.Players.PlayerAdded:connect(function(player) local leaderstats = Instance.new("Model", player) leaderstats.Name = "leaderstats" for _, stat in pairs(stats) do Instance.new("IntValue", leaderstats).Name = stat end end)

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.