How to get #1 Spot values in Table

Alright, so I got some values and a table sorter. It works theres no errors there. I’m just wondering how could I get the name and the splatvalue of The #1 Spot in a table. The only errror is in printing about indexing values.

image

just remove the Value in the mvp.splats.Value

no but I need that value to be called

in the table its just splats as it already has the value in it.

yeah But i wanna call that value to be printed

the value is already in the table. its like trying to ask for a value inside of a value.

ohhhhhhh
hold on lemme try. [asliudbasiouldbasipudlimit]

yeah now im just getting thisimage image

can I see what the currentgame folder looks like?

image
all number values

Do print(mvp.Player, mvp.splats)

2 Likes

mvp.Player is of type Instance, therefore you cannot concatenate it with something else, you’ll have to find the most relevant string for the Instance you’re trying to concatenate, in this case it’s probably its name.

Basically just do this
print(mvp.Player.Name .. mvp.splats)

(the solution above me is good too)

1 Like

that worked thank you!

[ LIMIT AIUDBAOISDIUSBAUODBASUIDBAISUDUBIS]

You should give the solution to @Kaid3n22 since he nailed the issue. I just corrected a small typo in the print.

1 Like

Using .. instead of , isn’t a typo though. It’s just a different way of concatenating values.

Commas are not an alternative concatenation operator. They delimit expressions in “tuples”, such as arguments in function calls.

1 Like

Ah, you’re right, sorry for mis-expressing my thought. I meant to say both usage nearly had the same outcome.

print can take a variable amount of arguments. So print(1, 2, 3) prints each number separately, delimited by a space.

Yes, I know, it’s a variadic function, thanks though :sweat_smile:.