It says Expected Identifier,got "="
I am trying to make a script where a model can be changed from transparency=1 to transparency=0 when I click a Button. I wont work!
You cant make a model not transparent by doing model.Transparency=0
. Instead you would have to make every single child of the model not transparent. Hard work right? Well, this can be done easily with a for loop
.
for i,v in pairs(model:GetChildren() do v.Transparency=0 end
although this is obvious, replace model with your model. Hope this helped