Advertisement
dipf1

[LUA] Texting Simulator GUI

Dec 25th, 2018
6,028
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextButton = Instance.new("TextButton")
  6. local TextButton_2 = Instance.new("TextButton")
  7. local TextButton_3 = Instance.new("TextButton")
  8. local TextButton_4 = Instance.new("TextButton")
  9. local TextButton_5 = Instance.new("TextButton")
  10. local TextLabel = Instance.new("TextLabel")
  11. local TextButton_6 = Instance.new("TextButton")
  12.  
  13. -- Properties
  14.  
  15. ScreenGui.Parent = game.StarterGui
  16.  
  17. Frame.Parent = ScreenGui
  18. Frame.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  19. Frame.BackgroundTransparency = 0.20000000298023
  20. Frame.Position = UDim2.new(0.10742186, 0, 0.337792635, 0)
  21. Frame.Size = UDim2.new(0, 342, 0, 274)
  22. Frame.Selectable = true
  23. Frame.Active = true
  24. Frame.Draggable = true
  25.  
  26. TextButton.Parent = Frame
  27. TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
  28. TextButton.Position = UDim2.new(0.0418456681, 0, 0.142389446, 0)
  29. TextButton.Size = UDim2.new(0, 83, 0, 57)
  30. TextButton.Font = Enum.Font.SourceSansBold
  31. TextButton.FontSize = Enum.FontSize.Size18
  32. TextButton.Text = "Diamond"
  33. TextButton.TextColor3 = Color3.new(0, 0, 1)
  34. TextButton.TextSize = 18
  35.  
  36. TextButton_2.Parent = Frame
  37. TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
  38. TextButton_2.Position = UDim2.new(0.362791449, 0, 0.142389446, 0)
  39. TextButton_2.Size = UDim2.new(0, 83, 0, 57)
  40. TextButton_2.Font = Enum.Font.SourceSansBold
  41. TextButton_2.FontSize = Enum.FontSize.Size24
  42. TextButton_2.Text = "Reward"
  43. TextButton_2.TextColor3 = Color3.new(0, 0, 1)
  44. TextButton_2.TextSize = 20
  45.  
  46. TextButton_3.Parent = Frame
  47. TextButton_3.BackgroundColor3 = Color3.new(0, 0, 0)
  48. TextButton_3.Position = UDim2.new(0.68695271, 0, 0.142389446, 0)
  49. TextButton_3.Size = UDim2.new(0, 83, 0, 57)
  50. TextButton_3.Font = Enum.Font.SourceSansBold
  51. TextButton_3.FontSize = Enum.FontSize.Size18
  52. TextButton_3.Text = "Blue Chest"
  53. TextButton_3.TextColor3 = Color3.new(0, 0, 1)
  54. TextButton_3.TextSize = 17
  55.  
  56. TextButton_4.Parent = Frame
  57. TextButton_4.BackgroundColor3 = Color3.new(0, 0, 0)
  58. TextButton_4.Position = UDim2.new(0.0403558202, 0, 0.511658609, 0)
  59. TextButton_4.Size = UDim2.new(0, 83, 0, 57)
  60. TextButton_4.Font = Enum.Font.SourceSansBold
  61. TextButton_4.FontSize = Enum.FontSize.Size18
  62. TextButton_4.Text = "Purple Chest"
  63. TextButton_4.TextColor3 = Color3.new(0, 0, 1)
  64. TextButton_4.TextSize = 17
  65.  
  66. TextButton_5.Parent = Frame
  67. TextButton_5.BackgroundColor3 = Color3.new(0, 0, 0)
  68. TextButton_5.Position = UDim2.new(0.68695271, 0, 0.511658609, 0)
  69. TextButton_5.Size = UDim2.new(0, 83, 0, 57)
  70. TextButton_5.Font = Enum.Font.SourceSansBold
  71. TextButton_5.FontSize = Enum.FontSize.Size24
  72. TextButton_5.Text = "Red Chest"
  73. TextButton_5.TextColor3 = Color3.new(0, 0, 1)
  74. TextButton_5.TextSize = 19
  75.  
  76. TextLabel.Parent = Frame
  77. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  78. TextLabel.BackgroundTransparency = 90
  79. TextLabel.Position = UDim2.new(0.212041885, 0, 0.855072439, 0)
  80. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  81. TextLabel.Font = Enum.Font.SourceSans
  82. TextLabel.FontSize = Enum.FontSize.Size18
  83. TextLabel.Text = "made by dipf"
  84. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  85. TextLabel.TextSize = 17
  86.  
  87. TextButton_6.Parent = Frame
  88. TextButton_6.BackgroundColor3 = Color3.new(1, 1, 1)
  89. TextButton_6.BackgroundTransparency = 90
  90. TextButton_6.Position = UDim2.new(0.859727561, 0, 0, 0)
  91. TextButton_6.Size = UDim2.new(0, 54, 0, 39)
  92. TextButton_6.Font = Enum.Font.SourceSansBold
  93. TextButton_6.FontSize = Enum.FontSize.Size28
  94. TextButton_6.Text = "X"
  95. TextButton_6.TextColor3 = Color3.new(0, 0, 0)
  96. TextButton_6.TextSize = 25
  97.  
  98. --scripts
  99.  
  100.  
  101. TextButton.MouseButton1Down:connect(function()
  102. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-295.727814, 0.819720387, -643.793701)
  103. end)
  104.  
  105.  
  106. TextButton_2.MouseButton1Down:connect(function()
  107. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-157.656189, -1.91410303, -209.895935)
  108. end)
  109.  
  110.  
  111. TextButton_3.MouseButton1Down:connect(function()
  112. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-722.336304, 3.03027868, -743.035095)
  113. end)
  114.  
  115.  
  116. TextButton_4.MouseButton1Down:connect(function()
  117. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-618.005493, 3.03029013, -742.943665)
  118. end)
  119.  
  120.  
  121. TextButton_5.MouseButton1Down:connect(function()
  122. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-524.887085, 2.93027544, -743.876099)
  123. end)
  124.  
  125.  
  126. TextButton_6.MouseButton1Down:connect(function()
  127. Frame.Visible = false
  128. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement