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.
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.
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.."!")
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
thanks! I always make the stupidest errors :/
lol... those simple errors are killer