Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Bullet Hole with my own decal image?

Asked by 5 years ago

I'm just trying to figure out how to make my own bullet hole image. I'm using a standard Roblox gun, Phantom Forces style, so it works already, but when I change the bullet hole decal ID to my own instead, which is http://www.roblox.com/asset/?id=64291961, instead of the standard http://www.roblox.com/asset/?id=2041947104, the bullet holes stop appearing. I have no idea why the ID would matter.

0
Oh my bad, 64291961 is the standard ID and 2041947104 is mine. tygerupercut3 68 — 5y
0
I think the problem is that ContentProvider hasn't preloaded your decal. To solve this, you can use the ContentProvider service to Preload those assets saSlol2436 716 — 5y
0
Yes, I opened the output view and it says theres an error with ContentProvider. Ill read about it on the wiki. tygerupercut3 68 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

You're using the decal ID instead of the asset ID, if you paste the decal ID into a decal and then put it into an image or whatever you're using it for it will automatically change it to the asset ID of the image.

2041947096 is your asset ID and in scripts you should change decal ID's with the string "rbxassetid://2041947096"

Ad

Answer this question