What do you want to achieve?
I want the player to be able to insert IDs from the Roblox library into a floor texture on the client.
What is the issue?
The texture is being inserted, but it’s not appearing.
What solutions have you tried so far?
I have double checked the format is correct ("http://www.roblox.com/asset/?id=" .. ID).
Client Script:
local floorTexture = workspace.Area.Platform.FloorTexture
local customBox = script.Parent.Parent.CustomTextureBox
function onSelected()
floorTexture.Texture = "http://www.roblox.com/asset/?id=" .. customBox.Text
end
script.Parent.MouseButton1Click:Connect(onSelected)
This may be a simple fix, any help is appreciated.
Yes, I have tried a few random textures from the library. I also have another button which gives a random texture (not from the library), which it works. The transparency is set to 0.
That’s a decal id, not an image id. If you don’t want the players to go through the pain of manually finding the image id, you can probably use the rbxthumb:// content type.