Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why does it say Expected Identifier, got "="?

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!

2 comments

1

A model does not have a transparency propertie, can you please include the script and put it into a code block.

3

There's actually a glitch in roblox. It should be saying "Got milk?" but it's saying "got =" instead.

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.