cortesjoren

Texting Simulator

Jan 12th, 2019
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. --+-+-+-+-+-+-+-+-+-+-+-+--
  2. -- NOTE --
  3. -- If you are using this
  4. -- script as public, please
  5. -- credit!
  6.  
  7. --GUI by ISaiD
  8. local TSGUI = Instance.new("ScreenGui")
  9. local frmOpen = Instance.new("Frame")
  10. local btnOpen = Instance.new("TextButton")
  11. local frmMain = Instance.new("Frame")
  12. local lblTitile = Instance.new("TextLabel")
  13. local lblCredits = Instance.new("TextLabel")
  14. local btnClose = Instance.new("TextButton")
  15. local btnCashGen = Instance.new("TextButton")
  16. local lblCash = Instance.new("TextLabel")
  17. local tboxCash = Instance.new("TextBox")
  18. local TextLabel = Instance.new("TextLabel")
  19. local btnDmdGen = Instance.new("TextButton")
  20.  
  21. TSGUI.Name = "TSGUI"
  22. TSGUI.Parent = game.CoreGui
  23.  
  24. frmMain.Active=true
  25. frmMain.Draggable=true
  26.  
  27. frmOpen.Name = "frmOpen"
  28. frmOpen.Parent = TSGUI
  29. frmOpen.BackgroundColor3 = Color3.new(0, 0, 0)
  30. frmOpen.Position = UDim2.new(0, 0, 0.75, 0)
  31. frmOpen.Size = UDim2.new(0, 118, 0, 22)
  32.  
  33. btnOpen.Name = "btnOpen"
  34. btnOpen.Parent = frmOpen
  35. btnOpen.BackgroundColor3 = Color3.new(0, 0, 0)
  36. btnOpen.BorderSizePixel = 0
  37. btnOpen.Position = UDim2.new(0.0677966103, 0, 0, 0)
  38. btnOpen.Size = UDim2.new(0, 99, 0, 22)
  39. btnOpen.Font = Enum.Font.SciFi
  40. btnOpen.Text = "Open"
  41. btnOpen.TextColor3 = Color3.new(1, 1, 1)
  42. btnOpen.TextSize = 14
  43. btnOpen.MouseButton1Click:connect(function()
  44. frmOpen.Visible = false
  45. frmMain.Visible = true
  46. end)
  47.  
  48. frmMain.Name = "frmMain"
  49. frmMain.Parent = TSGUI
  50. frmMain.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  51. frmMain.BackgroundTransparency = 0.099999994039536
  52. frmMain.Position = UDim2.new(0.305940598, 0, 0.356770843, 0)
  53. frmMain.Size = UDim2.new(0, 243, 0, 255)
  54. frmMain.Visible = false
  55.  
  56. lblTitile.Name = "lblTitile"
  57. lblTitile.Parent = frmMain
  58. lblTitile.BackgroundColor3 = Color3.new(0, 0, 0)
  59. lblTitile.Position = UDim2.new(-0.0246913582, 0, -0.0181818176, 0)
  60. lblTitile.Size = UDim2.new(0, 256, 0, 23)
  61. lblTitile.Font = Enum.Font.SciFi
  62. lblTitile.Text = "Texting Simulator GUI"
  63. lblTitile.TextColor3 = Color3.new(1, 1, 1)
  64. lblTitile.TextSize = 17
  65.  
  66. lblCredits.Name = "lblCredits"
  67. lblCredits.Parent = frmMain
  68. lblCredits.BackgroundColor3 = Color3.new(0, 0, 0)
  69. lblCredits.Position = UDim2.new(-0.028806584, 0, 0.933333337, 0)
  70. lblCredits.Size = UDim2.new(0, 256, 0, 23)
  71. lblCredits.Font = Enum.Font.SciFi
  72. lblCredits.Text = "GUI by ISaiD"
  73. lblCredits.TextColor3 = Color3.new(1, 1, 1)
  74. lblCredits.TextSize = 17
  75.  
  76. btnClose.Name = "btnClose"
  77. btnClose.Parent = frmMain
  78. btnClose.BackgroundColor3 = Color3.new(0, 0, 0)
  79. btnClose.BorderSizePixel = 0
  80. btnClose.Position = UDim2.new(0.893004119, 0, -0.0181818176, 0)
  81. btnClose.Size = UDim2.new(0, 33, 0, 23)
  82. btnClose.Font = Enum.Font.SourceSans
  83. btnClose.Text = "X"
  84. btnClose.TextColor3 = Color3.new(1, 1, 1)
  85. btnClose.TextSize = 18
  86. btnClose.MouseButton1Click:connect(function()
  87. frmMain.Visible = false
  88. frmOpen.Visible = true
  89. end)
  90.  
  91. btnCashGen.Name = "btnCashGen"
  92. btnCashGen.Parent = frmMain
  93. btnCashGen.BackgroundColor3 = Color3.new(0, 0, 0)
  94. btnCashGen.Position = UDim2.new(0.0905349776, 0, 0.345370352, 0)
  95. btnCashGen.Size = UDim2.new(0, 200, 0, 41)
  96. btnCashGen.Font = Enum.Font.SciFi
  97. btnCashGen.Text = "Generate"
  98. btnCashGen.TextColor3 = Color3.new(1, 1, 1)
  99. btnCashGen.TextSize = 25
  100. btnCashGen.MouseButton1Click:connect(function()
  101. local X = tboxCash.Text
  102. game.ReplicatedStorage.Events.G:FireServer(X, "{Lhxgbj *{{")
  103. end)
  104.  
  105.  
  106. lblCash.Name = "lblCash"
  107. lblCash.Parent = frmMain
  108. lblCash.BackgroundColor3 = Color3.new(1, 1, 1)
  109. lblCash.BackgroundTransparency = 100
  110. lblCash.Position = UDim2.new(0.0905349851, 0, 0.0654545426, 0)
  111. lblCash.Size = UDim2.new(0, 200, 0, 24)
  112. lblCash.Font = Enum.Font.SourceSans
  113. lblCash.Text = "Cash:"
  114. lblCash.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
  115. lblCash.TextSize = 14
  116.  
  117. tboxCash.Name = "tboxCash"
  118. tboxCash.Parent = frmMain
  119. tboxCash.BackgroundColor3 = Color3.new(1, 1, 1)
  120. tboxCash.Position = UDim2.new(0.0905349776, 0, 0.19422105, 0)
  121. tboxCash.Size = UDim2.new(0, 200, 0, 26)
  122. tboxCash.Font = Enum.Font.SourceSans
  123. tboxCash.Text = "amount of cash here"
  124. tboxCash.TextColor3 = Color3.new(0, 0, 0)
  125. tboxCash.TextSize = 14
  126.  
  127. TextLabel.Parent = frmMain
  128. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  129. TextLabel.BackgroundTransparency = 100
  130. TextLabel.Position = UDim2.new(0.0905349776, 0, 0.504580617, 0)
  131. TextLabel.Size = UDim2.new(0, 200, 0, 22)
  132. TextLabel.Font = Enum.Font.SourceSans
  133. TextLabel.Text = "Diamonds:"
  134. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  135. TextLabel.TextSize = 14
  136.  
  137. btnDmdGen.Name = "btnDmdGen"
  138. btnDmdGen.Parent = frmMain
  139. btnDmdGen.BackgroundColor3 = Color3.new(0, 0, 0)
  140. btnDmdGen.Position = UDim2.new(0.0905349776, 0, 0.737254918, 0)
  141. btnDmdGen.Size = UDim2.new(0, 200, 0, 41)
  142. btnDmdGen.Font = Enum.Font.SciFi
  143. btnDmdGen.Text = "Generate"
  144. btnDmdGen.TextColor3 = Color3.new(1, 1, 1)
  145. btnDmdGen.TextSize = 25
  146. btnDmdGen.MouseButton1Click:connect(function()
  147. local plr = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  148. local path = game.Workspace.Gems
  149. for i,v in pairs(path:GetChildren()) do
  150. if v.Name == 'Gem' then
  151. v.CFrame = plr.CFrame
  152. wait(0.2)
  153. v:Destroy()
  154. end
  155. end
  156. end)
Add Comment
Please, Sign In to add comment