You may have seen me around making scripts with ordertools in them
I'm trying to make a surface gui button move the requested tool from Lighting to a Folder but it doesn't work (I just wanna move ONE Item, even so loop doesn't work)
function onClicked()
local fname = script.Parent.Parent.Name
local tool = game.Lighting:FindFirstChild(fname.."Tool"):Clone()
tool.Parent = script.Parent.Parent.Parent.ordertools
end
script.Parent.MouseButton1Down:connect(onClicked)

2 comments
Is this a Localscript or a ServerScript?
Sorry I figured it out already, my tools were in a position so when they spawn they get deleted