Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Texts = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local OpenMain = Instance.new("Frame")
- local open = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
- Main.BorderColor3 = Color3.new(0, 0, 0)
- Main.BorderSizePixel = 6
- Main.Position = UDim2.new(0.043800123, 0, 0.33292383, 0)
- Main.Size = UDim2.new(0, 226, 0, 287)
- Main.Visible = false
- Main.Active = true
- Main.Draggable = true
- Title.Name = "Title"
- Title.Parent = Main
- Title.BackgroundColor3 = Color3.new(0.352941, 0, 0.529412)
- Title.BorderColor3 = Color3.new(0, 0, 0)
- Title.BorderSizePixel = 6
- Title.Size = UDim2.new(0, 200, 0, 50)
- Title.Font = Enum.Font.GothamBlack
- Title.Text = "Roblox Texting Sim GUI"
- Title.TextColor3 = Color3.new(0, 0, 0)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- Texts.Name = "Texts"
- Texts.Parent = Main
- Texts.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
- Texts.BorderColor3 = Color3.new(0, 0, 0)
- Texts.BorderSizePixel = 7
- Texts.Position = UDim2.new(0.0575221255, 0, 0.41114983, 0)
- Texts.Size = UDim2.new(0, 200, 0, 50)
- Texts.Font = Enum.Font.GothamBlack
- Texts.Text = "Click to get 1000 texts"
- Texts.TextColor3 = Color3.new(0, 0, 0)
- Texts.TextScaled = true
- Texts.TextSize = 14
- Texts.TextWrapped = true
- Texts.MouseButton1Down:connect(function()
- for x = 1,1000 do
- local tbl_main =
- {
- "Phone"
- }
- game:GetService("ReplicatedStorage").Events.SendTexts:FireServer(unpack(tbl_main))
- end
- end)
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.new(0.356863, 0.356863, 0.356863)
- Close.BorderColor3 = Color3.new(0, 0, 0)
- Close.BorderSizePixel = 5
- Close.Position = UDim2.new(1, 0, 0, 0)
- Close.Size = UDim2.new(0, 69, 0, 55)
- Close.Font = Enum.Font.GothamBlack
- Close.Text = "X"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextScaled = true
- Close.TextSize = 14
- Close.TextWrapped = true
- Close.MouseButton1Down:connect(function()
- Main.Visible = false
- OpenMain.Visible = true
- end)
- OpenMain.Name = "OpenMain"
- OpenMain.Parent = ScreenGui
- OpenMain.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenMain.Position = UDim2.new(0.0178901907, 0, 0.181818187, 0)
- OpenMain.Size = UDim2.new(0, 101, 0, 62)
- open.Name = "open"
- open.Parent = OpenMain
- open.BackgroundColor3 = Color3.new(0.45098, 0.45098, 0.45098)
- open.BorderColor3 = Color3.new(0, 0, 0)
- open.BorderSizePixel = 6
- open.Size = UDim2.new(0, 101, 0, 62)
- open.Font = Enum.Font.GothamBlack
- open.Text = "Open GUI"
- open.TextColor3 = Color3.new(0, 0, 0)
- open.TextScaled = true
- open.TextSize = 14
- open.TextWrapped = true
- open.MouseButton1Down:connect(function()
- OpenMain.Visible = false
- Main.Visible = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement