How does this plugin import files?

I’m trying to find a way to import alot of decals, it cannot be done locally, I want everyone to see the decals, here is the current method i’m thinking of:

External Media

Could you tell me whether the method i’m thinking of will work the way I want it to?
Could you also give me a script example that uses that method?

It looks like you’re trying to import animations in the video. Are you sure it’s decals?

FBX files accept meshes which then go through Roblox’s Mesh Importer, not decals. If you are trying to drag and drop decals they have to be an accepted image format (PNG, JPEG, etc)

If you are wanting to import decals to use in your game you have to pass them through Roblox itself, there is no way for you to use local images from your machine on the website.

You can refer to this forum post if you are wanting to use client-Studio only images, ported from your machine:

I’m saying I want to use the method they use to import files. (I want to import decals from PC to roblox studio)

Awwww man and yet I was hoping to find something that imports decals that everyone can see, any idea how to import decals directly into workspace without having to right click and clicking insert with bulk import or just a command that will insert all files from bulk import into workspace? Since its gonna be a tremendous ammount of decals.
(Sorry for going off topic but this is the thing i’m looking for.)

Not that I know of. You could use the Asset Manager and select all of your images then upload them to your experience that way.

Asset manager is bulk import. ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ

Wow some people really aren’t that helpful

Anyway, you’ll want to look into PromptImportFile and PromptImportFiles from StudioService

-- This code asks the user to import a PNG or JPG and creates a decal

local files = StudioService:PromptImportFiles {"png", "jpg"}

for _, v in files do
  local decal = Instance.new("Decal")
  decal.Texture = v:GetTemporaryId()
  decal.Name = v.Name
  decal.Parent = workspace
end

If you want to import files regardless of extension, use the extension "*" which acts as a wild card for “all files”. Files imported like this can only be seen on your side since the temporary assets aren’t uploaded to Roblox.

2 Likes

I need something that uploads to roblox :frowning: