Well
same error
I think problem is in rbxassetid not in attribute
can you show a screenshot of the attribute in the properties tab?
read the attributes name and im sure you’ll find out what the problem is
spoiler it says ImadeID
I know lol, in script it’s ImadeID. It doesn’t gives error anymore, image just don’t load…
EDIT: Code:
if mapInfo:GetAttribute("ImadeID") then
button.Image = "www.roblox.com/asset/?id="..tostring(mapInfo:GetAttribute("ImadeID"))
print("image id:" .. button.Image) -- < This.
else
print("no Image ID")
try to paste the id into the image id box and see what the result is because there are images and decals, you probably have the decal id which doesn’t auto correct to the image id when set with a script im guessing That’s the problem then
just copy the id go to explorer select a decal or image object paste the id and the image will load but u will most likely also get a different id use the new id u get try that
no scripting only doing stuff with explorer and properties tab
yes and now copy that id or the entire string and use that
im talking abt this
they are different
You mean full string in attribute?
Well if i’m using full strng then it works in script. Not in attribute
Well it’s too big for attribute, i just can’t paste it
yea but the thing is the id in the attribute is the decal id which wont work and the id when u paste will change to the image id which is the actual id u need
just change the attribute id to the id in the image when u paste
Finally it works, thanks! (30 lettersssssssss)