What i am asking is how to fix this script because as of now it does nothing. It was intended for a player to type in and the input was supposed to be added to that players leaderstat named "Money" I have no idea how to fix this can someone please teach me!!!
The Local Script:
script.Parent.TextBox.FocusLost:Connect(function()
local text = script.Parent.TextBox.Text
local money = game.Players.LocalPlayer:WaitForChild("leaderstats").Money.Value
money = money + text
end)
Screen GUI Setup:

1 comment
You can't have any letters in your textbox.If you do have any and want to keep them, i'd look into string patterns. http://wiki.roblox.com/index.php?title=String_pattern