Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local RedBoy = Instance.new("ScreenGui")
- local BTimes = Instance.new("Frame")
- local top = Instance.new("TextLabel")
- local name = Instance.new("TextBox")
- local save = Instance.new("TextButton")
- local txt = Instance.new("TextBox")
- -- Properties
- RedBoy.Name = "RedBoy"
- RedBoy.Parent = game.CoreGui
- BTimes.Name = "BTimes"
- BTimes.Parent = RedBoy
- BTimes.Active = true
- BTimes.BackgroundColor3 = Color3.new(0, 0, 0)
- BTimes.BorderSizePixel = 0
- BTimes.Draggable = true
- BTimes.Position = UDim2.new(0, 0, 0.312958449, 0)
- BTimes.Size = UDim2.new(0, 453, 0, 346)
- top.Name = "top"
- top.Parent = BTimes
- top.BackgroundColor3 = Color3.new(1, 1, 1)
- top.BackgroundTransparency = 1
- top.Size = UDim2.new(0, 453, 0, 34)
- top.Font = Enum.Font.SourceSansBold
- top.Text = "NOSTALGIC - SYNAPSE FILE SAVER"
- top.TextColor3 = Color3.new(1, 0, 0)
- top.TextScaled = true
- top.TextSize = 14
- top.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
- top.TextStrokeTransparency = 0.5
- top.TextWrapped = true
- name.Name = "name"
- name.Parent = BTimes
- name.BackgroundColor3 = Color3.new(0.0941177, 0, 0)
- name.BorderSizePixel = 0
- name.Position = UDim2.new(0.0331125818, 0, 0.459537566, 0)
- name.Size = UDim2.new(0, 422, 0, 27)
- name.Font = Enum.Font.SourceSans
- name.Text = "Name"
- name.TextColor3 = Color3.new(1, 0, 0)
- name.TextScaled = true
- name.TextSize = 14
- name.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
- name.TextStrokeTransparency = 0.5
- name.TextWrapped = true
- name.TextXAlignment = Enum.TextXAlignment.Left
- name.TextYAlignment = Enum.TextYAlignment.Top
- save.Name = "save"
- save.Parent = name
- save.BackgroundColor3 = Color3.new(0.184314, 0, 0)
- save.BorderSizePixel = 0
- save.Position = UDim2.new(0.409952581, 0, 1.62450933, 0)
- save.Size = UDim2.new(0, 76, 0, 34)
- save.Font = Enum.Font.SourceSans
- save.Text = "Save"
- save.TextColor3 = Color3.new(1, 0, 0)
- save.TextScaled = true
- save.TextSize = 14
- save.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
- save.TextStrokeTransparency = 0.5
- save.TextWrapped = true
- txt.Name = "txt"
- txt.Parent = BTimes
- txt.BackgroundColor3 = Color3.new(0.0941177, 0, 0)
- txt.BorderSizePixel = 0
- txt.Position = UDim2.new(0.0331125818, 0, 0.346820801, 0)
- txt.Size = UDim2.new(0, 422, 0, 27)
- txt.Font = Enum.Font.SourceSans
- txt.Text = "Text"
- txt.TextColor3 = Color3.new(1, 0, 0)
- txt.TextScaled = true
- txt.TextSize = 14
- txt.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
- txt.TextStrokeTransparency = 0.5
- txt.TextWrapped = true
- txt.TextXAlignment = Enum.TextXAlignment.Left
- txt.TextYAlignment = Enum.TextYAlignment.Top
- function savefile()
- Synapse:WriteFile(name.Text .. ".txt", txt.Text)
- end
- save.MouseButton1Click:connect(savefile)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement