"Scale is not a valid member of Model" Despite it being a property of the specified model?

  1. What do you want to achieve? Keep it simple and clear!
    I have imported a user’s avatar and I’d like to scale it up via the script I have below.

  2. What is the issue? Include screenshots / videos if possible!
    I get the error that Scale is not a valid member of Workspace.silence despite it being a property.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Nothing

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

local part = script.Parent



part.Touched:Connect(function()
	game.Workspace.silence.Scale = 2
end)

image

1 Like

Check out the docs for Model and you will see that the following property isn’t scriptable.

3 Likes

Alright, also do you think instead I could just clone the model from ReplicatedStorage?

Yes, that is the standard method.

Alright, thank you for your support :slight_smile:

Also, I am not sure if this works, but there is a function called ScaleTo for Model so you can try using it idk maybe :person_shrugging: .

1 Like

You use :GetScale() to get the Scale of the Model, and :ScaleTo() to Scale the Model

5 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.