Advertisement
Guest User

msg script

a guest
Oct 19th, 2019
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local TextBox = Instance.new("TextBox")
  6. local TextButton = Instance.new("TextButton")
  7. --Properties:
  8. ScreenGui.Parent = game.StarterGui
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. TextBox.Parent = ScreenGui
  12. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  13. TextBox.Position = UDim2.new(0.01369863, 0, 0.173306778, 0)
  14. TextBox.Size = UDim2.new(0, 200, 0, 50)
  15. TextBox.Font = Enum.Font.SourceSans
  16. TextBox.Text = ""
  17. TextBox.TextColor3 = Color3.new(0, 0, 0)
  18. TextBox.TextSize = 14
  19.  
  20. TextButton.Parent = ScreenGui
  21. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  22. TextButton.Size = UDim2.new(0, 200, 0, 50)
  23. TextButton.Font = Enum.Font.SourceSans
  24. TextButton.Text = "Send"
  25. TextButton.TextColor3 = Color3.new(0, 0, 0)
  26. TextButton.TextSize = 14
  27. -- Scripts:
  28. function SCRIPT_KQIB72_FAKESCRIPT() -- TextButton.LocalScript
  29. local script = Instance.new('LocalScript')
  30. script.Parent = TextButton
  31. script.Parent.MouseButton1Click:Connect(function()
  32. local msg = Instance.new("Hint")
  33. msg.Parent = workspace
  34. msg.Text = script.Parent.Parent.TextBox.Text
  35. msg.Parent = workspace
  36. end)
  37. print("load")
  38.  
  39. end
  40. coroutine.resume(coroutine.create(SCRIPT_KQIB72_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement