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

String value error?!

so I am using this script

print("The winner is "..workspace.WinnerName.Value"!")

*attempt to call field 'Value' (a string value) *but it is giving me this error. any help? ~Thanks KIHeros.

1 answer

✓ Accepted answer

You forgot to concatenate the "!", so Lua thought it was syntax sugar for a function call (Which it is)

print("The winner is "..workspace.WinnerName.Value.."!")

2 comments

0

thanks! I always make the stupidest errors :/

0

lol... those simple errors are killer

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