R

Untitled

public
rrixh Mar 14, 2024 Never 183
Clone
Plaintext paste1.txt 208 lines (171 loc) | 6.71 KB
1
-- Gui to Lua
2
-- Version: 3.2
3
4
-- Instances:
5
6
local ScreenGui = Instance.new("ScreenGui")
7
local Executor = Instance.new("Frame")
8
local UICorner = Instance.new("UICorner")
9
local TopBar = Instance.new("TextLabel")
10
local UICorner_2 = Instance.new("UICorner")
11
local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
12
local Down = Instance.new("Frame")
13
local UICorner_3 = Instance.new("UICorner")
14
local UIAspectRatioConstraint_2 = Instance.new("UIAspectRatioConstraint")
15
local EditorScroller = Instance.new("ScrollingFrame")
16
local Editor = Instance.new("TextBox")
17
local UIAspectRatioConstraint_3 = Instance.new("UIAspectRatioConstraint")
18
local UIAspectRatioConstraint_4 = Instance.new("UIAspectRatioConstraint")
19
local ScriptTab = Instance.new("Frame")
20
local UICorner_4 = Instance.new("UICorner")
21
local UIAspectRatioConstraint_5 = Instance.new("UIAspectRatioConstraint")
22
local Execute = Instance.new("TextButton")
23
local UICorner_5 = Instance.new("UICorner")
24
local UIAspectRatioConstraint_6 = Instance.new("UIAspectRatioConstraint")
25
local Clear = Instance.new("TextButton")
26
local UICorner_6 = Instance.new("UICorner")
27
local UIAspectRatioConstraint_7 = Instance.new("UIAspectRatioConstraint")
28
local Save = Instance.new("TextButton")
29
local UICorner_7 = Instance.new("UICorner")
30
local UIAspectRatioConstraint_8 = Instance.new("UIAspectRatioConstraint")
31
local UIAspectRatioConstraint_9 = Instance.new("UIAspectRatioConstraint")
32
33
--Properties:
34
35
ScreenGui.Parent = game.CoreGui
36
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
37
38
Executor.Name = "Executor"
39
Executor.Parent = ScreenGui
40
Executor.BackgroundColor3 = Color3.fromRGB(12, 4, 20)
41
Executor.BackgroundTransparency = 0.120
42
Executor.BorderColor3 = Color3.fromRGB(27, 42, 53)
43
Executor.Position = UDim2.new(0.307999998, 0, 1.26199996, 0)
44
Executor.Size = UDim2.new(0, 481, 0, 287)
45
46
UICorner.Parent = Executor
47
48
TopBar.Name = "TopBar"
49
TopBar.Parent = Executor
50
TopBar.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
51
TopBar.BackgroundTransparency = 0.600
52
TopBar.Size = UDim2.new(0, 481, 0, 35)
53
TopBar.Font = Enum.Font.SourceSansItalic
54
TopBar.Text = "Executor"
55
TopBar.TextColor3 = Color3.fromRGB(255, 255, 255)
56
TopBar.TextSize = 25.000
57
58
UICorner_2.Parent = TopBar
59
60
UIAspectRatioConstraint.Parent = TopBar
61
UIAspectRatioConstraint.AspectRatio = 13.743
62
63
Down.Name = "Down"
64
Down.Parent = Executor
65
Down.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
66
Down.BackgroundTransparency = 0.700
67
Down.Position = UDim2.new(0, 0, 0, 281)
68
Down.Size = UDim2.new(0, 480, 0, 6)
69
70
UICorner_3.Parent = Down
71
72
UIAspectRatioConstraint_2.Parent = Down
73
UIAspectRatioConstraint_2.AspectRatio = 80.000
74
75
EditorScroller.Name = "EditorScroller"
76
EditorScroller.Parent = Executor
77
EditorScroller.Active = true
78
EditorScroller.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
79
EditorScroller.BackgroundTransparency = 0.600
80
EditorScroller.BorderSizePixel = 0
81
EditorScroller.Position = UDim2.new(0, 9, 0, 47)
82
EditorScroller.Size = UDim2.new(0, 367, 0, 191)
83
EditorScroller.ScrollBarThickness = 5
84
EditorScroller.AutomaticCanvasSize = "XY"
85
86
Editor.Name = "Editor"
87
Editor.Parent = EditorScroller
88
Editor.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
89
Editor.BackgroundTransparency = 1.000
90
Editor.Size = UDim2.new(0, 366, 0, 191)
91
Editor.ClearTextOnFocus = false
92
Editor.Font = Enum.Font.SourceSans
93
Editor.MultiLine = true
94
Editor.Text = ""
95
Editor.TextColor3 = Color3.fromRGB(255, 255, 255)
96
Editor.TextSize = 20.000
97
Editor.TextXAlignment = Enum.TextXAlignment.Left
98
Editor.TextYAlignment = Enum.TextYAlignment.Top
99
Editor.AutomaticSize = "XY"
100
101
UIAspectRatioConstraint_3.Parent = Editor
102
UIAspectRatioConstraint_3.AspectRatio = 1.916
103
104
UIAspectRatioConstraint_4.Parent = EditorScroller
105
UIAspectRatioConstraint_4.AspectRatio = 1.921
106
107
ScriptTab.Name = "ScriptTab"
108
ScriptTab.Parent = Executor
109
ScriptTab.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
110
ScriptTab.BackgroundTransparency = 0.600
111
ScriptTab.Position = UDim2.new(0, 386, 0, 46)
112
ScriptTab.Size = UDim2.new(0, 84, 0, 192)
113
114
UICorner_4.Parent = ScriptTab
115
116
UIAspectRatioConstraint_5.Parent = ScriptTab
117
UIAspectRatioConstraint_5.AspectRatio = 0.438
118
119
Execute.Name = "Execute"
120
Execute.Parent = Executor
121
Execute.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
122
Execute.BackgroundTransparency = 0.600
123
Execute.Position = UDim2.new(0, 70, 0, 248)
124
Execute.Size = UDim2.new(0, 102, 0, 25)
125
Execute.Font = Enum.Font.SourceSans
126
Execute.Text = "Exekute"
127
Execute.TextColor3 = Color3.fromRGB(255, 255, 255)
128
Execute.TextSize = 20.000
129
130
UICorner_5.Parent = Execute
131
132
UIAspectRatioConstraint_6.Parent = Execute
133
UIAspectRatioConstraint_6.AspectRatio = 4.080
134
135
Clear.Name = "Clear"
136
Clear.Parent = Executor
137
Clear.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
138
Clear.BackgroundTransparency = 0.600
139
Clear.Position = UDim2.new(0, 182, 0, 248)
140
Clear.Size = UDim2.new(0, 102, 0, 25)
141
Clear.Font = Enum.Font.SourceSans
142
Clear.Text = "Klear"
143
Clear.TextColor3 = Color3.fromRGB(255, 255, 255)
144
Clear.TextSize = 20.000
145
146
UICorner_6.Parent = Clear
147
148
UIAspectRatioConstraint_7.Parent = Clear
149
UIAspectRatioConstraint_7.AspectRatio = 4.080
150
151
Save.Name = "Save"
152
Save.Parent = Executor
153
Save.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
154
Save.BackgroundTransparency = 0.600
155
Save.Position = UDim2.new(0, 294, 0, 248)
156
Save.Size = UDim2.new(0, 102, 0, 25)
157
Save.Font = Enum.Font.SourceSans
158
Save.Text = "Save"
159
Save.TextColor3 = Color3.fromRGB(255, 255, 255)
160
Save.TextSize = 20.000
161
162
UICorner_7.Parent = Save
163
164
UIAspectRatioConstraint_8.Parent = Save
165
UIAspectRatioConstraint_8.AspectRatio = 4.080
166
167
UIAspectRatioConstraint_9.Parent = Executor
168
UIAspectRatioConstraint_9.AspectRatio = 1.676
169
170
-- Scripts:
171
172
local function QDVHE_fake_script() -- Execute.LocalScript
173
local script = Instance.new('LocalScript', Execute)
174
175
local execute = script.Parent
176
Editor = script.Parent.Parent.EditorScroller.Editor
177
178
execute.MouseButton1Click:Connect(
179
function()
180
assert(loadstring(Editor.Text))()
181
end
182
)
183
184
end
185
coroutine.wrap(QDVHE_fake_script)()
186
local function MLYQ_fake_script() -- Clear.LocalScript
187
local script = Instance.new('LocalScript', Clear)
188
189
Clear = script.Parent
190
Clear.MouseButton1Click:Connect(function()
191
script.Parent.Parent.EditorScroller.Editor.Text = ""
192
end)
193
end
194
coroutine.wrap(MLYQ_fake_script)()
195
local function ORCKN_fake_script() -- Executor.LocalScript
196
local script = Instance.new('LocalScript', Executor)
197
198
script.Parent.Active = true
199
script.Parent.Draggable = true
200
script.Parent.Parent.ResetOnSpawn = false
201
end
202
coroutine.wrap(ORCKN_fake_script)()
203
local function JPWI_fake_script() -- Executor.LocalScript
204
local script = Instance.new('LocalScript', Executor)
205
206
script.Parent:TweenPosition(UDim2.new(0.308, 0,0.262, 0), "Out", "Quint",1,true)
207
end
208
coroutine.wrap(JPWI_fake_script)()