Hello, I am trying to make a system like Group recruiting plaza where a player inputs an ID for a decal and it then changes on their stall, the problem i am facing is i am getting a failed to load error as I am not using asset ID, How can i get the asset ID from a players input?, Thanks
local Colours = script.Parent.Parent.Colours local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:Connect(function() local rone = Colours.Wall1.R.Box.Text local gone = Colours.Wall1.G.Box.Text local bone = Colours.Wall1.B.Box.Text local rtwo = Colours.Wall2.R.Box.Text local gtwo = Colours.Wall2.G.Box.Text local btwo = Colours.Wall2.B.Box.Text local rthree = Colours.Ceiling.R.Box.Text local gthree = Colours.Ceiling.G.Box.Text local bthree = Colours.Ceiling.B.Box.Text local rfour = Colours.Platform.R.Box.Text local gfour = Colours.Platform.G.Box.Text local bfour = Colours.Platform.B.Box.Text local rfive = Colours.Back1.R.Box.Text local gfive = Colours.Back1.G.Box.Text local bfive = Colours.Back1.B.Box.Text local rsix = Colours.Back2.R.Box.Text local gsix = Colours.Back2.G.Box.Text local bsix = Colours.Back2.B.Box.Text local rseven = Colours.Floor1.R.Box.Text local gseven = Colours.Floor1.G.Box.Text local bseven = Colours.Floor1.B.Box.Text local reight = Colours.Sign.R.Box.Text local geight = Colours.Sign.G.Box.Text local beight = Colours.Sign.B.Box.Text local shopname = Colours.Parent.StoreName.StoreNameTextBox.Text local decal1 = Colours.Decal1.ImageID.Box.Text game.ReplicatedStorage.ChangeShop:FireServer(game.Players.LocalPlayer.HiddenData.ShopOwned.Value, rone, gone, bone, rtwo, gtwo, btwo, rthree, gthree, bthree, rfour, gfour, bfour, rfive, gfive, bfive, rsix, gsix, bsix, rseven, gseven, gseven, reight, geight, beight, shopname, decal1) end)
That is the firing script,
game.ReplicatedStorage.ChangeShop.OnServerEvent:Connect(function(plr, shop, rone, gone, bone,rtwo, gtwo, btwo, rthree, gthree, bthree, rfour, gfour, bfour, rfive, gfive, bfive, rsix, gsix, bsix, rseven, gseven, bseven, reight, geight, beight, shopname, decal1) local ChangeShop = workspace.Stores:FindFirstChild(shop) if ChangeShop.Owner.Value == plr.Name then ChangeShop.Walls.Color = Color3.fromRGB(rone, gone, bone) ChangeShop.Walls2.Color = Color3.fromRGB(rtwo, gtwo, btwo) ChangeShop.Roof.Color = Color3.fromRGB(rthree, gthree, bthree) ChangeShop.Floor_Pad.Color = Color3.fromRGB(rfour, gfour, bone) ChangeShop.Walls3.Color = Color3.fromRGB(rfive, gfive, bfive) ChangeShop.Walls4.Color = Color3.fromRGB(rsix, gsix, bsix) ChangeShop.Floor1.Color = Color3.fromRGB(rseven, gseven, bseven) ChangeShop.Store_Sign.GUI_Part.Color = Color3.fromRGB(reight, geight, beight) ChangeShop.Store_Sign.GUI_Part.SurfaceGui.Frame.ShopName.Text = shopname ChangeShop.Store_Sign.GUI_Part.SurfaceGui.Frame.Owner.Text = ChangeShop.Owner.Value.."'s Shop" ChangeShop.Decal1.Decal.Texture = "http://www.roblox.com/asset/?id="..decal1 print("Done") end end)
that's the Recieving one