· 6 years ago · Apr 23, 2020, 11:32 AM
1-- Gui to Lua
2-- Version: 3.2
3
4-- Instances:
5
6local ScreenGui = Instance.new("ScreenGui")
7local OpenFrame = Instance.new("Frame")
8local Open = Instance.new("TextButton")
9local Main = Instance.new("Frame")
10local Btools = Instance.new("TextButton")
11local BETA1 = Instance.new("TextButton")
12local BETA2 = Instance.new("TextButton")
13local BETA3 = Instance.new("TextButton")
14local BETA4 = Instance.new("TextButton")
15local BETA5 = Instance.new("TextButton")
16local BETA6 = Instance.new("TextButton")
17local BETA7 = Instance.new("TextButton")
18local BETA8 = Instance.new("TextButton")
19local TextLabel = Instance.new("TextLabel")
20local TextLabel_2 = Instance.new("TextLabel")
21local TextLabel_3 = Instance.new("TextLabel")
22local Credit = Instance.new("Frame")
23local TextLabel_4 = Instance.new("TextLabel")
24local TextLabel_5 = Instance.new("TextLabel")
25local TextLabel_6 = Instance.new("TextLabel")
26local TextLabel_7 = Instance.new("TextLabel")
27local TextLabel_8 = Instance.new("TextLabel")
28local TextLabel_9 = Instance.new("TextLabel")
29local TextLabel_10 = Instance.new("TextLabel")
30local Close = Instance.new("TextButton")
31
32--Properties:
33
34ScreenGui.Parent = game.CoreGui
35
36OpenFrame.Name = "OpenFrame"
37OpenFrame.Parent = ScreenGui
38OpenFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
39OpenFrame.BackgroundTransparency = 1.000
40OpenFrame.Position = UDim2.new(-0.000763918622, 0, 0.471744478, 0)
41OpenFrame.Size = UDim2.new(0, 205, 0, 81)
42
43Open.Name = "Open"
44Open.Parent = OpenFrame
45Open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
46Open.BackgroundTransparency = 1.000
47Open.Position = UDim2.new(0.00138998032, 0, 0, 0)
48Open.Size = UDim2.new(0, 214, 0, 81)
49Open.Font = Enum.Font.SourceSansBold
50Open.Text = "RoSupliceGUI"
51Open.TextColor3 = Color3.fromRGB(239, 10, 33)
52Open.TextScaled = true
53Open.TextSize = 14.000
54Open.TextStrokeTransparency = 0.000
55Open.TextWrapped = true
56Open.MouseButton1Down:connect(function()
57Main.Visible = true
58OpenFrame.Visible = false
59end)
60
61Main.Name = "Main"
62Main.Parent = ScreenGui
63Main.BackgroundColor3 = Color3.fromRGB(85, 0, 255)
64Main.Position = UDim2.new(0.293210685, 0, 0.141277641, 0)
65Main.Size = UDim2.new(0, 839, 0, 583)
66Main.Draggable = true
67
68Btools.Name = "B-tools"
69Btools.Parent = Main
70Btools.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
71Btools.Position = UDim2.new(0.317044109, 0, 0.0343053155, 0)
72Btools.Size = UDim2.new(0, 306, 0, 50)
73Btools.Font = Enum.Font.SourceSansBold
74Btools.Text = "B-TOOLS"
75Btools.TextColor3 = Color3.fromRGB(0, 0, 0)
76Btools.TextScaled = true
77Btools.TextSize = 14.000
78Btools.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
79Btools.TextStrokeTransparency = 0.000
80Btools.TextWrapped = true
81Btools.MouseButton1Down:connect(function()
82local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
83local tool2 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
84local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
85local tool4 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
86local tool5 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
87tool1.BinType = "Clone"
88tool2.BinType = "GameTool"
89tool3.BinType = "Hammer"
90tool4.BinType = "Script"
91tool5.BinType = "Grab"
92end)
93
94madmonk.Name = "madmonk"
95madmonk.Parent = Main
96madmonk.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
97madmonk.Position = UDim2.new(0.317044109, 0, 0.373927951, 0)
98madmonk.Size = UDim2.new(0, 306, 0, 50)
99madmonk.Font = Enum.Font.SourceSansBold
100madmonk.Text = "BETA"
101madmonk.TextColor3 = Color3.fromRGB(0, 0, 0)
102madmonk.TextScaled = true
103madmonk.TextSize = 14.000
104madmonk.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
105madmonk.TextStrokeTransparency = 0.000
106madmonk.TextWrapped = true
107madmonk.MouseButton1Down:connect(function()
108loadstring(game:HttpGet(('https://pastebin.com/raw/CptbXMTS'),true))()
109end)
110
111
112BETA2.Name = "BETA2"
113BETA2.Parent = Main
114BETA2.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
115BETA2.Position = UDim2.new(0.317044109, 0, 0.267581463, 0)
116BETA2.Size = UDim2.new(0, 306, 0, 50)
117BETA2.Font = Enum.Font.SourceSansBold
118BETA2.Text = "BETA"
119BETA2.TextColor3 = Color3.fromRGB(0, 0, 0)
120BETA2.TextScaled = true
121BETA2.TextSize = 14.000
122BETA2.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
123BETA2.TextStrokeTransparency = 0.000
124BETA2.TextWrapped = true
125
126espbtn.Name = "espbtn"
127espbtn.Parent = Main
128espbtn.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
129espbtn.Position = UDim2.new(0.317044109, 0, 0.149228126, 0)
130espbtn.Size = UDim2.new(0, 306, 0, 50)
131espbtn.Font = Enum.Font.SourceSansBold
132espbtn.Text = "BETA"
133espbtn.TextColor3 = Color3.fromRGB(0, 0, 0)
134espbtn.TextScaled = true
135espbtn.TextSize = 14.000
136espbtn.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
137espbtn.TextStrokeTransparency = 0.000
138espbtn.TextWrapped = true
139espbtn.MouseButton1Down:connect(function()
140 ALLYCOLOR = {0,255,255} --//Color of the ESP of people on the same team
141 ENEMYCOLOR = {255,0,0} --//Color of the ESP of people on NOT the same team
142 TRANSPARENCY = 0.5 --//Transparency of the ESP
143 HEALTHBAR_ACTIVATED = true --//Renders the Healthbar
144--
145--
146
147-- !!!Don't Change Anything Below Here Unless You Know What You're Doing!!!
148
149function createFlex()
150-- -----------------------------------------------------------------------------------
151--[VARIABLES] //Changing may result in Errors!
152players = game:GetService("Players") --//Required for PF
153faces = {"Front","Back","Bottom","Left","Right","Top"} --//Every possible Enum face
154currentPlayer = nil --//Used for the Team-Check
155lplayer = players.LocalPlayer --//The LocalPlayer
156-- -----------------------------------------------------------------------------------
157players.PlayerAdded:Connect(function(p)
158 currentPlayer = p
159 p.CharacterAdded:Connect(function(character) --//For when a new Player joins the game
160 createESP(character)
161 end)
162end)
163-- -----------------------------------------------------------------------------------
164function checkPart(obj) if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Name~="HumanoidRootPart" then return true end end --//Check if the Part is suitable
165-- -----------------------------------------------------------------------------------
166function actualESP(obj)
167
168 for i=0,5 do
169 surface = Instance.new("SurfaceGui",obj) --//Creates the SurfaceGui
170 surface.Face = Enum.NormalId[faces[i+1]] --//Adjusts the Face and chooses from the face table
171 surface.AlwaysOnTop = true
172
173 frame = Instance.new("Frame",surface) --//Creates the viewable Frame
174 frame.Size = UDim2.new(1,0,1,0)
175 frame.BorderSizePixel = 0
176 frame.BackgroundTransparency = TRANSPARENCY
177 if currentPlayer.Team == players.LocalPlayer.Team then --//Checks the Players Team
178 frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3]) --//If in same Team
179 else
180 frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3]) --//If in another Team
181 end
182
183 end
184end
185-- -----------------------------------------------------------------------------------
186function createHealthbar(hrp)
187 board =Instance.new("BillboardGui",hrp) --//Creates the BillboardGui with HumanoidRootPart as the Parent
188 board.Name = "total"
189 board.Size = UDim2.new(1,0,1,0)
190 board.StudsOffset = Vector3.new(3,1,0)
191 board.AlwaysOnTop = true
192
193 bar = Instance.new("Frame",board) --//Creates the red background
194 bar.BackgroundColor3 = Color3.new(255,0,0)
195 bar.BorderSizePixel = 0
196 bar.Size = UDim2.new(0.2,0,4,0)
197 bar.Name = "total2"
198
199 health = Instance.new("Frame",bar) --//Creates the changing green Frame
200 health.BackgroundColor3 = Color3.new(0,255,0)
201 health.BorderSizePixel = 0
202 health.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
203 hrp.Parent.Humanoid.Changed:Connect(function(property) --//Triggers when any Property changed
204 hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0) --//Adjusts the size of the green Frame
205 end)
206end
207-- -----------------------------------------------------------------------------------
208function createESP(c) --//Checks and calls the proper function
209 bugfix = c:WaitForChild("Head") --// *Used so the children of the character arent nil.
210 for i,v in pairs(c:GetChildren()) do
211 if checkPart(v) then
212 actualESP(v)
213 end
214 end
215 if HEALTHBAR_ACTIVATED then --//If the user decided to
216 createHealthbar(c:WaitForChild("HumanoidRootPart")) --//Calls the function of the creation
217 end
218end
219-- -----------------------------------------------------------------------------------
220for i,people in pairs(players:GetChildren())do
221 if people ~= players.LocalPlayer then
222 currentPlayer = people
223 --//Used for Players already in the Game
224 createESP(people.Character)
225 people.CharacterAdded:Connect(function(character)
226 createESP(character)
227 end)
228 end
229end
230-- -----------------------------------------------------------------------------------
231end --//End of the entire function
232
233createFlex() --// Does exactly that :)
234end)
235
236
237BETA4.Name = "BETA4"
238BETA4.Parent = Main
239BETA4.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
240BETA4.Position = UDim2.new(0.317044109, 0, 0.583190441, 0)
241BETA4.Size = UDim2.new(0, 306, 0, 50)
242BETA4.Font = Enum.Font.SourceSansBold
243BETA4.Text = "BETA"
244BETA4.TextColor3 = Color3.fromRGB(0, 0, 0)
245BETA4.TextScaled = true
246BETA4.TextSize = 14.000
247BETA4.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
248BETA4.TextStrokeTransparency = 0.000
249BETA4.TextWrapped = true
250
251BETA5.Name = "BETA5"
252BETA5.Parent = Main
253BETA5.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
254BETA5.Position = UDim2.new(0.317044109, 0, 0.792452812, 0)
255BETA5.Size = UDim2.new(0, 306, 0, 50)
256BETA5.Font = Enum.Font.SourceSansBold
257BETA5.Text = "BETA"
258BETA5.TextColor3 = Color3.fromRGB(0, 0, 0)
259BETA5.TextScaled = true
260BETA5.TextSize = 14.000
261BETA5.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
262BETA5.TextStrokeTransparency = 0.000
263BETA5.TextWrapped = true
264
265BETA6.Name = "BETA6"
266BETA6.Parent = Main
267BETA6.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
268BETA6.Position = UDim2.new(0.317044109, 0, 0.684391081, 0)
269BETA6.Size = UDim2.new(0, 306, 0, 50)
270BETA6.Font = Enum.Font.SourceSansBold
271BETA6.Text = "BETA"
272BETA6.TextColor3 = Color3.fromRGB(0, 0, 0)
273BETA6.TextScaled = true
274BETA6.TextSize = 14.000
275BETA6.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
276BETA6.TextStrokeTransparency = 0.000
277BETA6.TextWrapped = true
278
279BETA7.Name = "BETA7"
280BETA7.Parent = Main
281BETA7.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
282BETA7.Position = UDim2.new(0.317044109, 0, 0.481989771, 0)
283BETA7.Size = UDim2.new(0, 306, 0, 50)
284BETA7.Font = Enum.Font.SourceSansBold
285BETA7.Text = "BETA"
286BETA7.TextColor3 = Color3.fromRGB(0, 0, 0)
287BETA7.TextScaled = true
288BETA7.TextSize = 14.000
289BETA7.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
290BETA7.TextStrokeTransparency = 0.000
291BETA7.TextWrapped = true
292
293BETA8.Name = "BETA8"
294BETA8.Parent = Main
295BETA8.BackgroundColor3 = Color3.fromRGB(172, 27, 54)
296BETA8.Position = UDim2.new(0.317044109, 0, 0.891938269, 0)
297BETA8.Size = UDim2.new(0, 306, 0, 45)
298BETA8.Font = Enum.Font.SourceSansBold
299BETA8.Text = "BETA"
300BETA8.TextColor3 = Color3.fromRGB(0, 0, 0)
301BETA8.TextScaled = true
302BETA8.TextSize = 14.000
303BETA8.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
304BETA8.TextStrokeTransparency = 0.000
305BETA8.TextWrapped = true
306
307TextLabel.Parent = Main
308TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
309TextLabel.BackgroundTransparency = 1.000
310TextLabel.Size = UDim2.new(0, 266, 0, 50)
311TextLabel.Font = Enum.Font.SourceSans
312TextLabel.Text = "RoSupliceGUI"
313TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
314TextLabel.TextScaled = true
315TextLabel.TextSize = 14.000
316TextLabel.TextWrapped = true
317
318TextLabel_2.Parent = Main
319TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
320TextLabel_2.BackgroundTransparency = 1.000
321TextLabel_2.Position = UDim2.new(0, 0, 0.806174934, 0)
322TextLabel_2.Size = UDim2.new(0, 266, 0, 50)
323TextLabel_2.Font = Enum.Font.SourceSans
324TextLabel_2.Text = "Powered by"
325TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
326TextLabel_2.TextScaled = true
327TextLabel_2.TextSize = 14.000
328TextLabel_2.TextWrapped = true
329
330TextLabel_3.Parent = Main
331TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
332TextLabel_3.BackgroundTransparency = 1.000
333TextLabel_3.Position = UDim2.new(0.061978545, 0, 0.891938269, 0)
334TextLabel_3.Size = UDim2.new(0, 161, 0, 50)
335TextLabel_3.Font = Enum.Font.SourceSans
336TextLabel_3.Text = "WRD api"
337TextLabel_3.TextColor3 = Color3.fromRGB(0, 0, 0)
338TextLabel_3.TextScaled = true
339TextLabel_3.TextSize = 14.000
340TextLabel_3.TextWrapped = true
341
342Credit.Name = "Credit"
343Credit.Parent = Main
344Credit.BackgroundColor3 = Color3.fromRGB(39, 0, 118)
345Credit.Position = UDim2.new(0.796185911, 0, 0, 0)
346Credit.Size = UDim2.new(0, 171, 0, 583)
347
348TextLabel_4.Parent = Credit
349TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
350TextLabel_4.BackgroundTransparency = 1.000
351TextLabel_4.Position = UDim2.new(0.0243675709, 0, 0, 0)
352TextLabel_4.Size = UDim2.new(0, 161, 0, 50)
353TextLabel_4.Font = Enum.Font.SourceSans
354TextLabel_4.Text = "WRD api"
355TextLabel_4.TextColor3 = Color3.fromRGB(0, 0, 0)
356TextLabel_4.TextScaled = true
357TextLabel_4.TextSize = 14.000
358TextLabel_4.TextWrapped = true
359
360TextLabel_5.Parent = Credit
361TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
362TextLabel_5.BackgroundTransparency = 1.000
363TextLabel_5.Position = UDim2.new(0.0243675709, 0, 0.0857632905, 0)
364TextLabel_5.Size = UDim2.new(0, 161, 0, 50)
365TextLabel_5.Font = Enum.Font.SourceSans
366TextLabel_5.Text = "BlueWall"
367TextLabel_5.TextColor3 = Color3.fromRGB(0, 0, 0)
368TextLabel_5.TextScaled = true
369TextLabel_5.TextSize = 14.000
370TextLabel_5.TextWrapped = true
371
372TextLabel_6.Parent = Credit
373TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
374TextLabel_6.BackgroundTransparency = 1.000
375TextLabel_6.Position = UDim2.new(0.0243675709, 0, 0.181818187, 0)
376TextLabel_6.Size = UDim2.new(0, 161, 0, 50)
377TextLabel_6.Font = Enum.Font.SourceSans
378TextLabel_6.Text = "F4D Team"
379TextLabel_6.TextColor3 = Color3.fromRGB(0, 0, 0)
380TextLabel_6.TextScaled = true
381TextLabel_6.TextSize = 14.000
382TextLabel_6.TextWrapped = true
383
384TextLabel_7.Parent = Credit
385TextLabel_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
386TextLabel_7.BackgroundTransparency = 1.000
387TextLabel_7.Position = UDim2.new(0.0243675709, 0, 0.277873069, 0)
388TextLabel_7.Size = UDim2.new(0, 161, 0, 50)
389TextLabel_7.Font = Enum.Font.SourceSans
390TextLabel_7.Text = "WeAreDevs.com"
391TextLabel_7.TextColor3 = Color3.fromRGB(0, 0, 0)
392TextLabel_7.TextScaled = true
393TextLabel_7.TextSize = 14.000
394TextLabel_7.TextWrapped = true
395
396TextLabel_8.Parent = Credit
397TextLabel_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
398TextLabel_8.BackgroundTransparency = 1.000
399TextLabel_8.Position = UDim2.new(0.0243675709, 0, 0.373927951, 0)
400TextLabel_8.Size = UDim2.new(0, 161, 0, 50)
401TextLabel_8.Font = Enum.Font.SourceSans
402TextLabel_8.Text = "RoSuplice"
403TextLabel_8.TextColor3 = Color3.fromRGB(0, 0, 0)
404TextLabel_8.TextScaled = true
405TextLabel_8.TextSize = 14.000
406TextLabel_8.TextWrapped = true
407
408TextLabel_9.Parent = Credit
409TextLabel_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
410TextLabel_9.BackgroundTransparency = 1.000
411TextLabel_9.Position = UDim2.new(0.0243675709, 0, 0.891938269, 0)
412TextLabel_9.Size = UDim2.new(0, 161, 0, 50)
413TextLabel_9.Font = Enum.Font.SourceSans
414TextLabel_9.Text = "Exploit"
415TextLabel_9.TextColor3 = Color3.fromRGB(0, 0, 0)
416TextLabel_9.TextScaled = true
417TextLabel_9.TextSize = 14.000
418TextLabel_9.TextWrapped = true
419
420TextLabel_10.Parent = Credit
421TextLabel_10.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
422TextLabel_10.BackgroundTransparency = 1.000
423TextLabel_10.Position = UDim2.new(0.0243675709, 0, 0.567753017, 0)
424TextLabel_10.Size = UDim2.new(0, 161, 0, 50)
425TextLabel_10.Font = Enum.Font.SourceSans
426TextLabel_10.Text = "NO KEY NEEDED"
427TextLabel_10.TextColor3 = Color3.fromRGB(0, 0, 0)
428TextLabel_10.TextScaled = true
429TextLabel_10.TextSize = 14.000
430TextLabel_10.TextWrapped = true
431
432Close.Name = "Close"
433Close.Parent = Main
434Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
435Close.BackgroundTransparency = 1.000
436Close.Position = UDim2.new(0.829559028, 0, -0.156089187, 0)
437Close.Size = UDim2.new(0, 346, 0, 141)
438Close.Font = Enum.Font.Cartoon
439Close.Text = "X"
440Close.TextColor3 = Color3.fromRGB(255, 0, 0)
441Close.TextScaled = true
442Close.TextSize = 14.000
443Close.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
444Close.TextWrapped = true
445Close.MouseButton1Down:connect(function()
446Open.Visible = true
447Main.Visible = false
448end)
449
450-- RoSuplice GUI for roblox by BlueWall (discord : ??? ❘❘ ????????#6692 )