View Port Frames for clothing shop, do I need the ugc items to be in the workspace?

Hello, I am making a script where I’m going to be using view port frames. i was going to just use image labels but the images that show up are texture maps. so won’t be using that. but for the view port frames do i need to have the items in workspace or is there a way to use the ID?

another question, should i Instance.new() the frames or ad them manually and then script that.

here’s a screenshot of example.
Capture

Try using Instance.new()
Look up a tutorial on viewporting items

1 Like

Use InsertService to get the clothes through the server to give to the player.
For some reason Instance.new() does not load the clothes or takes a long time.

1 Like

are you meaning for the try on button? i’m or the view port frame

Module3D.rbxm (4.9 KB)

Maybe try this bro this is a fairly simple module to use [ WAS NOT MADE BY ME ]

I managed to make this with it

for the background, you going to have to attach a part with a BillboardGui to the frame also and set the offset of the billboard back a little bit so the model shows up in front

edit: this also allows particles/fire to show up unlike viewport frames

1 Like

so i it to where the gui tweens in when you clik on a shirt or pant or ugc item right. and i was going to put where the image label is a view port frame instead. but is there a way i can have that item show up without having to have it in workspace. by using the ID of the item. so you’d click on ugc and boom the view port frame with item you clicked on shows up. and i think thats where the InsertService comes in but i’ve been having a hard time finding clear instructions on that.

if your using module 3D use

local PreviewModel = Module3D:Attach3D(FrameInstance, game:GetService("InsertService"):LoadAsset(ID) )
PreviewModel:SetActive(true)