Decals are goddam annoying and dont work for me

Trying to make a thing that where u put decal id in left bottom text box it updates whiteboard screen.
What happened:

(please note that I did put the id below but it doesnt show in image)

Here is wat should happen:

my server script:

local decalIdSubmitEvent = game:GetService(“ReplicatedStorage”):WaitForChild(“DecalIdSubmitEvent”)

decalIdSubmitEvent.OnServerEvent:Connect(function(player, decalId)
	local decal = Instance.new("Decal")
	decal.Texture = "http://www.roblox.com/asset/?id="..decalId
	decal.Parent = script.Parent.WhiteBoard
	decal.Face = Enum.NormalId.Back
end)

local script for textbox

local decalIdSubmitEvent = game:GetService("ReplicatedStorage"):WaitForChild("DecalIdSubmitEvent")

script.Parent.Changed:Connect(function()
	if script.Parent.Text ~= nil and script.Parent.Text ~= "" then
		decalIdSubmitEvent:FireServer(script.Parent.Text)
	end
end)

image
image

My scripts work all fine, any ideas? I don’t like decals >:(

try use a preloadasync on the client side. add a new event and a clienthandler for loading the image.

1 Like

Pretty sure you have to use rbxassetid:// and then insert the Id.

3 Likes