Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What i do when i get Expected identifier, got '['?

Asked by 2 years ago
Edited 2 years ago

I am trying to see where is my c1 but i keep getting Expected identifier, got '['

print (game.Workspace.R15.["RightLowerArm"].Weld.C1)

1 answer

Log in to vote
3
Answered by
appxritixn 2235 Moderation Voter Community Moderator
2 years ago

You have a period before the '['. Simply remove the period.

Change

print (game.Workspace.R15.["RightLowerArm"].Weld.C1)

to

print (game.Workspace.R15["RightLowerArm"].Weld.C1)
0
Thank you gugazon 4 — 2y
Ad

Answer this question