Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent = game:GetService("Players").lepigeons.PlayerGui.ScreenGui.Frame.TextBox
- Instance.new("StringValue",script.Parent)
- local text = script.Parent.StringValue
- text.FocusLost:Connect(function(enterPressed)
- if enterPressed then
- script.Parent.Value = tostring(text.Text)
- print("script.Parent.Value")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement