The line:
local cred= {bin.Blade.BrickColor = BrickColor.new("Really red")
--- the end of the table is a multilined one, so it ends lower down the script
gives me the error "Expected a name, got a complex expression." Why is this?
The line:
local cred= {bin.Blade.BrickColor = BrickColor.new("Really red")
--- the end of the table is a multilined one, so it ends lower down the script
gives me the error "Expected a name, got a complex expression." Why is this?
local cred = bin.Blade
cred.BrickColor = BrickColor.new("Really red")
You were assigning a userdata to a value within a table.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks, in the end I just changed everything in my script so I didn't have to mess about with tables, but thanks anyways :)