Advertisement
Createok

Untitled

Oct 30th, 2019
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. --[[
  2. GTL_1.lua
  3. Eternitgamer (that's me) made this thing
  4. --]]
  5. --// SERVICES \--
  6. local Players = game:GetService("Players")
  7.  
  8. --// CLIENT \--
  9. local Player = Players.LocalPlayer
  10.  
  11. --// SHORTCUT VAR(s) \--
  12. local IT = Instance.new
  13. local C3 = Color3.new
  14. local RECT = Rect.new
  15. local UD1 = UDim.new
  16. local UD2 = UDim2.new
  17. local VT2 = Vector2.new
  18. local VT3 = Vector3.new
  19.  
  20. --// OBJECT INSTANCING \--
  21. local SSExecutor = IT("ScreenGui")
  22. local GUI = IT("Frame")
  23. local Source = IT("TextBox")
  24. local EXE = IT("TextButton")
  25.  
  26. --// PROPERTIES \--
  27. SSExecutor.Name = "SSExecutor"
  28. SSExecutor.Parent = Player:WaitForChild("CoreGui")
  29. SSExecutor.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  30.  
  31. GUI.Name = "GUI"
  32. GUI.Parent = SSExecutor
  33. GUI.BackgroundColor3 = C3(0.423529, 0.392157, 0.392157)
  34. GUI.Position = UD2(0.348939955, 0, 0.77888447, 0)
  35. GUI.Size = UD2(0, 389, 0, 40)
  36.  
  37. Source.Name = "Source"
  38. Source.Parent = GUI
  39. Source.BackgroundColor3 = C3(1, 1, 1)
  40. Source.BackgroundTransparency = 0.85000002384186
  41. Source.Size = UD2(0, 339, 0, 40)
  42. Source.Font = Enum.Font.SourceSans
  43. Source.Text = ""
  44. Source.TextColor3 = C3(0, 0, 0)
  45. Source.TextSize = 20
  46.  
  47. EXE.Name = "EXE"
  48. EXE.Parent = GUI
  49. EXE.BackgroundColor3 = C3(0.133333, 0.129412, 0.129412)
  50. EXE.Position = UD2(0.871465325, 0, 0, 0)
  51. EXE.Size = UD2(0, 50, 0, 40)
  52. EXE.Text = "EXE"
  53. EXE.TextColor3 = C3(0, 0, 0)
  54. EXE.TextSize = 14
  55.  
  56. EXE.MouseButton1Click:connect(function()
  57. game.ReplicatedStorage.RemoteEvent:FireServer(Source.text)
  58. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement