I want to make a script that changes the transparency of everything in a model. Is there a way to change it with a single command or do I have to code a separate line for each part?
You can use a for loop to get all the parts in the model and change its transparency
for i,v in pairs(model:GetChildren()) do v.Transparency = 0.5 end
If you have any instance in a model that don't have the transparency property(like values) then use an if statement to check if they do
There is no way to change the Transparency of a model. However you could change the parent of the model to replicated storage so that you cannot see it.
game.Workspace.Model.Parent = game.ReplicatedStorage