if
game.Workspace.Part1.Transparency = 1
then
game.Workspace.Part2.Color = DarkGreen
end
I just started scripting in lua and just practicing some codes and this came up adn i do not know why this is wrong? (Trying to change the part2's color when part 1's transparency is at 1)

1 comment
its because you need == in a if statement