Advertisement
RyanDaCoder

Nostalgic

Jun 22nd, 2018
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. -- Objects
  2.  
  3. local RedBoy = Instance.new("ScreenGui")
  4. local BTimes = Instance.new("Frame")
  5. local top = Instance.new("TextLabel")
  6. local name = Instance.new("TextBox")
  7. local save = Instance.new("TextButton")
  8. local txt = Instance.new("TextBox")
  9.  
  10. -- Properties
  11.  
  12. RedBoy.Name = "RedBoy"
  13. RedBoy.Parent = game.CoreGui
  14.  
  15. BTimes.Name = "BTimes"
  16. BTimes.Parent = RedBoy
  17. BTimes.Active = true
  18. BTimes.BackgroundColor3 = Color3.new(0, 0, 0)
  19. BTimes.BorderSizePixel = 0
  20. BTimes.Draggable = true
  21. BTimes.Position = UDim2.new(0, 0, 0.312958449, 0)
  22. BTimes.Size = UDim2.new(0, 453, 0, 346)
  23.  
  24. top.Name = "top"
  25. top.Parent = BTimes
  26. top.BackgroundColor3 = Color3.new(1, 1, 1)
  27. top.BackgroundTransparency = 1
  28. top.Size = UDim2.new(0, 453, 0, 34)
  29. top.Font = Enum.Font.SourceSansBold
  30. top.Text = "NOSTALGIC - SYNAPSE FILE SAVER"
  31. top.TextColor3 = Color3.new(1, 0, 0)
  32. top.TextScaled = true
  33. top.TextSize = 14
  34. top.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
  35. top.TextStrokeTransparency = 0.5
  36. top.TextWrapped = true
  37.  
  38. name.Name = "name"
  39. name.Parent = BTimes
  40. name.BackgroundColor3 = Color3.new(0.0941177, 0, 0)
  41. name.BorderSizePixel = 0
  42. name.Position = UDim2.new(0.0331125818, 0, 0.459537566, 0)
  43. name.Size = UDim2.new(0, 422, 0, 27)
  44. name.Font = Enum.Font.SourceSans
  45. name.Text = "Name"
  46. name.TextColor3 = Color3.new(1, 0, 0)
  47. name.TextScaled = true
  48. name.TextSize = 14
  49. name.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
  50. name.TextStrokeTransparency = 0.5
  51. name.TextWrapped = true
  52. name.TextXAlignment = Enum.TextXAlignment.Left
  53. name.TextYAlignment = Enum.TextYAlignment.Top
  54.  
  55. save.Name = "save"
  56. save.Parent = name
  57. save.BackgroundColor3 = Color3.new(0.184314, 0, 0)
  58. save.BorderSizePixel = 0
  59. save.Position = UDim2.new(0.409952581, 0, 1.62450933, 0)
  60. save.Size = UDim2.new(0, 76, 0, 34)
  61. save.Font = Enum.Font.SourceSans
  62. save.Text = "Save"
  63. save.TextColor3 = Color3.new(1, 0, 0)
  64. save.TextScaled = true
  65. save.TextSize = 14
  66. save.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
  67. save.TextStrokeTransparency = 0.5
  68. save.TextWrapped = true
  69.  
  70. txt.Name = "txt"
  71. txt.Parent = BTimes
  72. txt.BackgroundColor3 = Color3.new(0.0941177, 0, 0)
  73. txt.BorderSizePixel = 0
  74. txt.Position = UDim2.new(0.0331125818, 0, 0.346820801, 0)
  75. txt.Size = UDim2.new(0, 422, 0, 27)
  76. txt.Font = Enum.Font.SourceSans
  77. txt.Text = "Text"
  78. txt.TextColor3 = Color3.new(1, 0, 0)
  79. txt.TextScaled = true
  80. txt.TextSize = 14
  81. txt.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
  82. txt.TextStrokeTransparency = 0.5
  83. txt.TextWrapped = true
  84. txt.TextXAlignment = Enum.TextXAlignment.Left
  85. txt.TextYAlignment = Enum.TextYAlignment.Top
  86.  
  87. function savefile()
  88. Synapse:WriteFile(name.Text .. ".txt", txt.Text)
  89. end
  90. save.MouseButton1Click:connect(savefile)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement