Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Decal Changer GUI?

1 answer

local Decal = Workspace.Part.Decal -- Right?
local GUI = script.Parent -- LocalScript inside a TextBox?

GUI.Changed:connect(function()
	if tonumber(GUI.Text) ~= nil then
		Decal.Texture = "rbxassetid://" .. tonumber(GUI.Text)
	end
end)

1 comment

0

So would i make it a LocalScript and put it in the Gui?

This discussion is preserved as it was. New answers, comments, and votes are closed.