Advertisement
Guest User

Texting Simulator GUI

a guest
Nov 2nd, 2019
16,173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local Title = Instance.new("TextLabel")
  9. local Texts = Instance.new("TextButton")
  10. local Close = Instance.new("TextButton")
  11. local OpenMain = Instance.new("Frame")
  12. local open = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. ScreenGui.Parent = game.CoreGui
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Main.Name = "Main"
  20. Main.Parent = ScreenGui
  21. Main.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  22. Main.BorderColor3 = Color3.new(0, 0, 0)
  23. Main.BorderSizePixel = 6
  24. Main.Position = UDim2.new(0.043800123, 0, 0.33292383, 0)
  25. Main.Size = UDim2.new(0, 226, 0, 287)
  26. Main.Visible = false
  27. Main.Active = true
  28. Main.Draggable = true
  29.  
  30. Title.Name = "Title"
  31. Title.Parent = Main
  32. Title.BackgroundColor3 = Color3.new(0.352941, 0, 0.529412)
  33. Title.BorderColor3 = Color3.new(0, 0, 0)
  34. Title.BorderSizePixel = 6
  35. Title.Size = UDim2.new(0, 200, 0, 50)
  36. Title.Font = Enum.Font.GothamBlack
  37. Title.Text = "Roblox Texting Sim GUI"
  38. Title.TextColor3 = Color3.new(0, 0, 0)
  39. Title.TextScaled = true
  40. Title.TextSize = 14
  41. Title.TextWrapped = true
  42.  
  43. Texts.Name = "Texts"
  44. Texts.Parent = Main
  45. Texts.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  46. Texts.BorderColor3 = Color3.new(0, 0, 0)
  47. Texts.BorderSizePixel = 7
  48. Texts.Position = UDim2.new(0.0575221255, 0, 0.41114983, 0)
  49. Texts.Size = UDim2.new(0, 200, 0, 50)
  50. Texts.Font = Enum.Font.GothamBlack
  51. Texts.Text = "Click to get 1000 texts"
  52. Texts.TextColor3 = Color3.new(0, 0, 0)
  53. Texts.TextScaled = true
  54. Texts.TextSize = 14
  55. Texts.TextWrapped = true
  56. Texts.MouseButton1Down:connect(function()
  57. for x = 1,1000 do
  58. local tbl_main =
  59. {
  60. "Phone"
  61. }
  62. game:GetService("ReplicatedStorage").Events.SendTexts:FireServer(unpack(tbl_main))
  63. end
  64. end)
  65.  
  66. Close.Name = "Close"
  67. Close.Parent = Main
  68. Close.BackgroundColor3 = Color3.new(0.356863, 0.356863, 0.356863)
  69. Close.BorderColor3 = Color3.new(0, 0, 0)
  70. Close.BorderSizePixel = 5
  71. Close.Position = UDim2.new(1, 0, 0, 0)
  72. Close.Size = UDim2.new(0, 69, 0, 55)
  73. Close.Font = Enum.Font.GothamBlack
  74. Close.Text = "X"
  75. Close.TextColor3 = Color3.new(0, 0, 0)
  76. Close.TextScaled = true
  77. Close.TextSize = 14
  78. Close.TextWrapped = true
  79. Close.MouseButton1Down:connect(function()
  80. Main.Visible = false
  81. OpenMain.Visible = true
  82. end)
  83.  
  84. OpenMain.Name = "OpenMain"
  85. OpenMain.Parent = ScreenGui
  86. OpenMain.BackgroundColor3 = Color3.new(1, 1, 1)
  87. OpenMain.Position = UDim2.new(0.0178901907, 0, 0.181818187, 0)
  88. OpenMain.Size = UDim2.new(0, 101, 0, 62)
  89.  
  90. open.Name = "open"
  91. open.Parent = OpenMain
  92. open.BackgroundColor3 = Color3.new(0.45098, 0.45098, 0.45098)
  93. open.BorderColor3 = Color3.new(0, 0, 0)
  94. open.BorderSizePixel = 6
  95. open.Size = UDim2.new(0, 101, 0, 62)
  96. open.Font = Enum.Font.GothamBlack
  97. open.Text = "Open GUI"
  98. open.TextColor3 = Color3.new(0, 0, 0)
  99. open.TextScaled = true
  100. open.TextSize = 14
  101. open.TextWrapped = true
  102. open.MouseButton1Down:connect(function()
  103. OpenMain.Visible = false
  104. Main.Visible = true
  105. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement