Trying to make a thing that where u put decal id in left bottom text box it updates whiteboard screen.
What happened:
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)
My scripts work all fine, any ideas? I don’t like decals >:(