SHOW:
|
|
- or go back to the newest paste.
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 |
13 | + | |
14 | BTimes.Parent = RedBoy | |
15 | BTimes.Active = true | |
16 | BTimes.BackgroundColor3 = Color3.new(0, 0, 0) | |
17 | BTimes.BorderSizePixel = 0 | |
18 | BTimes.Draggable = true | |
19 | BTimes.Position = UDim2.new(0, 0, 0.312958449, 0) | |
20 | BTimes.Size = UDim2.new(0, 453, 0, 346) | |
21 | ||
22 | top.Name = "top" | |
23 | top.Parent = BTimes | |
24 | top.BackgroundColor3 = Color3.new(1, 1, 1) | |
25 | top.BackgroundTransparency = 1 | |
26 | top.Size = UDim2.new(0, 453, 0, 34) | |
27 | top.Font = Enum.Font.SourceSansBold | |
28 | top.Text = "NOSTALGIC - SYNAPSE FILE SAVER" | |
29 | top.TextColor3 = Color3.new(1, 0, 0) | |
30 | top.TextScaled = true | |
31 | top.TextSize = 14 | |
32 | top.TextStrokeColor3 = Color3.new(0.666667, 0, 0) | |
33 | top.TextStrokeTransparency = 0.5 | |
34 | top.TextWrapped = true | |
35 | ||
36 | name.Name = "name" | |
37 | name.Parent = BTimes | |
38 | name.BackgroundColor3 = Color3.new(0.0941177, 0, 0) | |
39 | name.BorderSizePixel = 0 | |
40 | name.Position = UDim2.new(0.0331125818, 0, 0.459537566, 0) | |
41 | name.Size = UDim2.new(0, 422, 0, 27) | |
42 | name.Font = Enum.Font.SourceSans | |
43 | name.Text = "Name" | |
44 | name.TextColor3 = Color3.new(1, 0, 0) | |
45 | name.TextScaled = true | |
46 | name.TextSize = 14 | |
47 | name.TextStrokeColor3 = Color3.new(0.666667, 0, 0) | |
48 | name.TextStrokeTransparency = 0.5 | |
49 | name.TextWrapped = true | |
50 | name.TextXAlignment = Enum.TextXAlignment.Left | |
51 | name.TextYAlignment = Enum.TextYAlignment.Top | |
52 | ||
53 | save.Name = "save" | |
54 | save.Parent = name | |
55 | save.BackgroundColor3 = Color3.new(0.184314, 0, 0) | |
56 | save.BorderSizePixel = 0 | |
57 | save.Position = UDim2.new(0.409952581, 0, 1.62450933, 0) | |
58 | save.Size = UDim2.new(0, 76, 0, 34) | |
59 | save.Font = Enum.Font.SourceSans | |
60 | save.Text = "Save" | |
61 | save.TextColor3 = Color3.new(1, 0, 0) | |
62 | save.TextScaled = true | |
63 | save.TextSize = 14 | |
64 | save.TextStrokeColor3 = Color3.new(0.666667, 0, 0) | |
65 | save.TextStrokeTransparency = 0.5 | |
66 | save.TextWrapped = true | |
67 | ||
68 | txt.Name = "txt" | |
69 | txt.Parent = BTimes | |
70 | txt.BackgroundColor3 = Color3.new(0.0941177, 0, 0) | |
71 | txt.BorderSizePixel = 0 | |
72 | txt.Position = UDim2.new(0.0331125818, 0, 0.346820801, 0) | |
73 | txt.Size = UDim2.new(0, 422, 0, 27) | |
74 | txt.Font = Enum.Font.SourceSans | |
75 | txt.Text = "Text" | |
76 | txt.TextColor3 = Color3.new(1, 0, 0) | |
77 | txt.TextScaled = true | |
78 | txt.TextSize = 14 | |
79 | txt.TextStrokeColor3 = Color3.new(0.666667, 0, 0) | |
80 | txt.TextStrokeTransparency = 0.5 | |
81 | txt.TextWrapped = true | |
82 | txt.TextXAlignment = Enum.TextXAlignment.Left | |
83 | txt.TextYAlignment = Enum.TextYAlignment.Top | |
84 | ||
85 | function savefile() | |
86 | Synapse:WriteFile(name.Text .. ".txt", txt.Text) | |
87 | end | |
88 | save.MouseButton1Click:connect(savefile) |