I do not understand what issue I had here, but I pretty much have values, one representing a player, which stands for a specific character. Currently I have this statement:

if NumHelp.Value == 1 then
		script.Help.CharHelp2.C1.Player.Value = plyr.Value

This means in the randomization process, once a players number is randomized, their "plyr" value containing their name also becomes the "C" value, or character value, so pretty much one value is given the value, aka a player's name, from another value. For some reason I get the error in the title. I have no idea what happened, as both values happen to be strings. Please help, and feel free to ask questions.

9 comments

0

Help?????? We dont know what NumHelp is, plyr is, or anything!

0

"NumHelp" is just what is randomized to mean what character type someone is. "Plyr" is a variable for a value containing the player's name, the one that will not make the other value the same.

0

is script.Help.CharHelp2.C1.Player.Value a StringValue and plyr.Value is a BoolValue?

0

No they are both strings...

0

Since the error says "bad argument", it has something to do with a function call. You haven't shown us any code with those.

0

give context man.

0

more context* so we know exactly what CharHelp2 and etc. are.

0

Need more context. I can't answer your question if you give me only 2 lines of code.

0

Ok I'll create new, detailed question