I am trying to use a viewport to have an item rotating around, I am using a module script, the UI loads fine, and the value is set to the name of the item in Replicated Storage, but it always gives me this error.
Your error means that there is no instance named “Item1” parented to something you’re trying to use .Item1 on.
This is happening on line 7 of the second script.
Make sure you have the correct number of .Parent’s and that you’re getting the instance you want there. It seems you’re getting the PlayerGui with the 6th .Parent, which shouldn’t ever have a scrolling frame in it (scrolling frames should be under ScreenGuis generally).
I’ve double checked that its the right amount of parents, I am just trying to get the model from the previews folder in replicated storage. The name of the item is the Item one value