I'm trying to make a Hand-To gui for a cafe but I don't know how to find an editable TextBox's text. I've tried this script:
local box = script.Parent.Parent.User.Text --user is the textbox
script.Parent.MouseButton1Click:Connect(function(player)
local NewP = box.Text
local tool = player.Character:FindFirstChildWhichIsA("Tool")
local target = game.Workspace:FindFirstChild(NewP)
tool:Clone().Parent = target
wait(0.01)
tool:Destroy()
end)
But the textbox's text doesn't change when edited. How can I get it?
