game.workspace.part.transparency = 0.5
Wont work. Please help.
game.workspace.part.transparency = 0.5
Wont work. Please help.
It won't work because "Workspace" needs to be capitalized, and same for "Transparency" and "Part"
game.Workspace.Part.Transparency = 0.5
2 main errors:
It's Transparency not transparency
Are you sure it's called part and not Part?
The correct script(s) is below:
--OPTION 1
workspace.Part.Transparency = 0.5
--OPTION 2
game.Workspace.Part.Transparency = 0.5
--OPTION 3
a = game.Workspace.Part
a.Transparency = 0.5
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Lua is Case Sensitive. Follow Coolviper630's suggestion and captialize Workspace, Part, and Transparency.