NG5.MouseButton1Down:connect(function() Mob = NG9.Text local Mob1 = game.Lighting[Mob]:Clone().Parent = workspace end)
I put the name of the mob in the textbox, and it doesnt clone.
It's a tad bit annoying.
For starters when using these [] you should always use ' or " around the name as it will find it. Also if this is in a textbutton or image button, use MouseButton1Click instead of Down. I also suggest defining NG9 and NG5.
local NG5 = --whatever NG5 is local NG9 = --whatever NG9 is NG5.MouseButton1Down:connect(function() local Mob = NG9.Text local Mob1 = game.Lighting["Mob"]:Clone().Parent = game.Workspace end)