-- Gui to Lua
-- Version: 3.2
-- Instances:
local ScriptViewer = Instance.new("ScreenGui")
local ActivateScripts = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local Scripts = Instance.new("Frame")
local Scripts_2 = Instance.new("ScrollingFrame")
local UIGridLayout = Instance.new("UIGridLayout")
local UICorner_2 = Instance.new("UICorner")
local LoadedScript = Instance.new("ScrollingFrame")
local TextLabel = Instance.new("TextLabel")
local TextButton = Instance.new("TextButton")
local Input = Instance.new("TextBox")
local ActivateCredits = Instance.new("TextButton")
local UICorner_3 = Instance.new("UICorner")
local Frame = Instance.new("Frame")
local UICorner_4 = Instance.new("UICorner")
local TextLabel_2 = Instance.new("TextLabel")
local UICorner_5 = Instance.new("UICorner")
local TextLabel_3 = Instance.new("TextLabel")
local UICorner_6 = Instance.new("UICorner")
local Guis = Instance.new("Folder")
local LocalScript = Instance.new("Frame")
local Image = Instance.new("ImageLabel")
local ScriptName = Instance.new("TextLabel")
local ActivationButton = Instance.new("TextButton")
local ModuleScript = Instance.new("Frame")
local Image_2 = Instance.new("ImageLabel")
local ScriptName_2 = Instance.new("TextLabel")
local ActivationButton_2 = Instance.new("TextButton")
local Main = Instance.new("Frame")
local UICorner_7 = Instance.new("UICorner")
--Properties:
ScriptViewer.Name = "ScriptViewer"
ScriptViewer.Parent = game:GetService("CoreGui")
ActivateScripts.Name = "ActivateScripts"
ActivateScripts.Parent = ScriptViewer
ActivateScripts.BackgroundColor3 = Color3.fromRGB(59, 59, 59)
ActivateScripts.Position = UDim2.new(0.276897401, 0, 0.219393939, 0)
ActivateScripts.Size = UDim2.new(0.166666672, 0, 0.0606060624, 0)
ActivateScripts.ZIndex = 18
ActivateScripts.Font = Enum.Font.SourceSans
ActivateScripts.Text = "Scripts"
ActivateScripts.TextColor3 = Color3.fromRGB(255, 255, 255)
ActivateScripts.TextScaled = true
ActivateScripts.TextSize = 14.000
ActivateScripts.TextWrapped = true
UICorner.CornerRadius = UDim.new(0.300000012, 0)
UICorner.Parent = ActivateScripts
Scripts.Name = "Scripts"
Scripts.Parent = ActivateScripts
Scripts.BackgroundColor3 = Color3.fromRGB(94, 94, 94)
Scripts.Position = UDim2.new(0.059, 0,0.82, 0)
Scripts.Size = UDim2.new(4.04, 0, 8.46, 0)
Scripts.ZIndex = 3
Scripts_2.Name = "Scripts"
Scripts_2.Parent = Scripts
Scripts_2.Active = true
Scripts_2.BackgroundColor3 = Color3.fromRGB(72, 72, 72)
Scripts_2.BorderSizePixel = 0
Scripts_2.ClipsDescendants = true
Scripts_2.Position = UDim2.new(0.03582149, 0, 0.285476804, 0)
Scripts_2.Size = UDim2.new(0.217821777, 0, 0.625, 0)
Scripts_2.ZIndex = 3
Scripts_2.CanvasSize = UDim2.new(0, 0, 50, 0)
Scripts_2.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
UIGridLayout.Parent = Scripts_2
UIGridLayout.HorizontalAlignment = Enum.HorizontalAlignment.Right
UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIGridLayout.CellSize = UDim2.new(0, 150, 0, 25)
UICorner_2.CornerRadius = UDim.new(0.0500000007, 0)
UICorner_2.Parent = Scripts
LoadedScript.Name = "LoadedScript"
LoadedScript.Parent = Scripts
LoadedScript.Active = true
LoadedScript.BackgroundColor3 = Color3.fromRGB(66, 66, 66)
LoadedScript.BorderSizePixel = 0
LoadedScript.Position = UDim2.new(0.278, 0 ,0.182, 0)
LoadedScript.Size = UDim2.new(0.684, 0 ,0.728, 0)
LoadedScript.ZIndex = 3
LoadedScript.CanvasSize = UDim2.new(0, 0, 50, 0)
TextLabel.Parent = LoadedScript
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1
TextLabel.Position = UDim2.new(0, 0, 0, 0)
TextLabel.Size = UDim2.new(0.9, 0, 26, 0)
TextLabel.Visible = true
TextLabel.ZIndex = 100
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = ''
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 20
TextLabel.TextWrapped = true
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.TextYAlignment = Enum.TextYAlignment.Top
TextButton.Parent = Scripts
TextButton.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
TextButton.BorderSizePixel = 0
TextButton.Position = UDim2.new(0.190537781, 0, 0.181603774, 0)
TextButton.Size = UDim2.new(0.0618811883, 0, 0.0754716992, 0)
TextButton.ZIndex = 7
TextButton.Font = Enum.Font.SourceSans
TextButton.Text = "Search"
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton.TextScaled = true
TextButton.TextSize = 14.000
TextButton.TextWrapped = true
Input.Name = "Input"
Input.Parent = TextButton
Input.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Input.BorderSizePixel = 0
Input.Position = UDim2.new(-2.50021482, 0, 0, 0)
Input.Size = UDim2.new(2.38000011, 0, 1, 0)
Input.ZIndex = 15
Input.Font = Enum.Font.SourceSans
Input.Text = ""
Input.TextColor3 = Color3.fromRGB(255, 255, 255)
Input.TextScaled = true
Input.TextSize = 14.000
Input.TextWrapped = true
ActivateCredits.Name = "ActivateCredits"
ActivateCredits.Parent = ScriptViewer
ActivateCredits.BackgroundColor3 = Color3.fromRGB(59, 59, 59)
ActivateCredits.Position = UDim2.new(0.806505442, 0, 0.219393939, 0)
ActivateCredits.Size = UDim2.new(0.166666672, 0, 0.0606060624, 0)
ActivateCredits.ZIndex = 18
ActivateCredits.Font = Enum.Font.SourceSans
ActivateCredits.Text = "Credits"
ActivateCredits.TextColor3 = Color3.fromRGB(255, 255, 255)
ActivateCredits.TextScaled = true
ActivateCredits.TextSize = 14.000
ActivateCredits.TextWrapped = true
UICorner_3.CornerRadius = UDim.new(0.300000012, 0)
UICorner_3.Parent = ActivateCredits
Frame.Parent = ActivateCredits
Frame.BackgroundColor3 = Color3.fromRGB(94, 94, 94)
Frame.Position = UDim2.new(-3.11893439, 0, 0.819999993, 0)
Frame.Size = UDim2.new(4.03499985, 0, 8.47999954, 0)
Frame.Visible = false
Frame.ZIndex = 3
UICorner_4.CornerRadius = UDim.new(0.0500000007, 0)
UICorner_4.Parent = Frame
TextLabel_2.Parent = Frame
TextLabel_2.BackgroundColor3 = Color3.fromRGB(77, 77, 77)
TextLabel_2.BorderSizePixel = 0
TextLabel_2.Position = UDim2.new(0.235439897, 0, 0.0683962256, 0)
TextLabel_2.Size = UDim2.new(0.527881026, 0, 0.323113233, 0)
TextLabel_2.ZIndex = 5
TextLabel_2.Font = Enum.Font.SourceSans
TextLabel_2.Text = "Scripted By DaSmoothDev"
TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.TextSize = 55.000
TextLabel_2.TextWrapped = true
UICorner_5.CornerRadius = UDim.new(0.300000012, 0)
UICorner_5.Parent = TextLabel_2
TextLabel_3.Parent = Frame
TextLabel_3.BackgroundColor3 = Color3.fromRGB(77, 77, 77)
TextLabel_3.BorderSizePixel = 0
TextLabel_3.Position = UDim2.new(0.235439897, 0, 0.488207519, 0)
TextLabel_3.Size = UDim2.new(0.527881026, 0, 0.323113233, 0)
TextLabel_3.ZIndex = 5
TextLabel_3.Font = Enum.Font.SourceSans
TextLabel_3.Text = "Gui By DaSmoothDev"
TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.TextSize = 55.000
TextLabel_3.TextWrapped = true
UICorner_6.CornerRadius = UDim.new(0.300000012, 0)
UICorner_6.Parent = TextLabel_3
Guis.Name = "Guis"
Guis.Parent = ScriptViewer
LocalScript.Name = "LocalScript"
LocalScript.Parent = Guis
LocalScript.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
LocalScript.BorderSizePixel = 0
LocalScript.Position = UDim2.new(0.00484778965, 100, 0.50242424, 0)
See AlsoHow to Use Scripts in RobloxLocalScript.Selectable = true
LocalScript.Size = UDim2.new(0.144999996, 0, 0.0363636352, 0)
LocalScript.Visible = false
LocalScript.ZIndex = 80
Image.Name = "Image"
Image.Parent = LocalScript
Image.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Image.BackgroundTransparency = 1.000
Image.Position = UDim2.new(0.827586234, 0, 0.100000001, 0)
Image.Size = UDim2.new(0.143678159, 0, 0.833333313, 0)
Image.ZIndex = 82
Image.Image = "http://www.roblox.com/asset/?id=5168599557"
ScriptName.Name = "ScriptName"
ScriptName.Parent = LocalScript
ScriptName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ScriptName.BackgroundTransparency = 1.000
ScriptName.BorderSizePixel = 0
ScriptName.Size = UDim2.new(1, 0, 1, 0)
ScriptName.ZIndex = 81
ScriptName.Font = Enum.Font.SourceSans
ScriptName.TextColor3 = Color3.fromRGB(255, 255, 255)
ScriptName.TextScaled = true
ScriptName.TextSize = 14.000
ScriptName.TextWrapped = true
ActivationButton.Name = "ActivationButton"
ActivationButton.Parent = LocalScript
ActivationButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ActivationButton.BackgroundTransparency = 1.000
ActivationButton.Size = UDim2.new(1, 0, 1, 0)
ActivationButton.ZIndex = 100
ActivationButton.Font = Enum.Font.SourceSans
ActivationButton.TextColor3 = Color3.fromRGB(0, 0, 0)
ActivationButton.TextSize = 14.000
ActivationButton.TextTransparency = 1.000
ModuleScript.Name = "ModuleScript"
ModuleScript.Parent = Guis
ModuleScript.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
ModuleScript.BorderSizePixel = 0
ModuleScript.Position = UDim2.new(0.00499999989, 100, 0.400000006, 0)
ModuleScript.Selectable = true
ModuleScript.Size = UDim2.new(0.144999996, 0, 0.0363636352, 0)
ModuleScript.Visible = false
ModuleScript.ZIndex = 80
Image_2.Name = "Image"
Image_2.Parent = ModuleScript
Image_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Image_2.BackgroundTransparency = 1.000
Image_2.Position = UDim2.new(0.827586234, 0, 0.100000001, 0)
Image_2.Size = UDim2.new(0.143678159, 0, 0.833333313, 0)
Image_2.ZIndex = 83
Image_2.Image = "http://www.roblox.com/asset/?id=5016313061"
ScriptName_2.Name = "ScriptName"
ScriptName_2.Parent = ModuleScript
ScriptName_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ScriptName_2.BackgroundTransparency = 1.000
ScriptName_2.BorderSizePixel = 0
ScriptName_2.Size = UDim2.new(1, 0, 1, 0)
ScriptName_2.ZIndex = 81
ScriptName_2.Font = Enum.Font.SourceSans
ScriptName_2.TextColor3 = Color3.fromRGB(255, 255, 255)
ScriptName_2.TextScaled = true
ScriptName_2.TextSize = 14.000
ScriptName_2.TextWrapped = true
ActivationButton_2.Name = "ActivationButton"
ActivationButton_2.Parent = ModuleScript
ActivationButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ActivationButton_2.BackgroundTransparency = 1.000
ActivationButton_2.Size = UDim2.new(1, 0, 1, 0)
ActivationButton_2.ZIndex = 100
ActivationButton_2.Font = Enum.Font.SourceSans
ActivationButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
ActivationButton_2.TextSize = 14.000
ActivationButton_2.TextTransparency = 1.000
-- Scripts:
local function XZQQ_fake_script() -- ActivateScripts.LocalScript
ActivateScripts.Activated:Connect(function()
local vis = ActivateScripts.Scripts.Visible
print(vis)
if vis then
return
else
ActivateScripts.Scripts.Visible = true
ActivateCredits.Frame.Visible = false
end
end)
end
coroutine.wrap(XZQQ_fake_script)()
local function CBMY_fake_script() -- ActivateCredits.LocalScript
ActivateCredits.Activated:Connect(function()
local vis = ActivateCredits.Frame.Visible
if vis then
return
else
ActivateScripts.Scripts.Visible = false
ActivateCredits.Frame.Visible = true
end
end)
end
coroutine.wrap(CBMY_fake_script)()
local function AHUB_fake_script()
local userInputService = game:GetService('UserInputService')
userInputService.InputBegan:Connect(function(key , istyping)
if key.KeyCode == Enum.KeyCode.RightShift and not istyping then
local vis = ScriptViewer.Enabled
if vis then
ScriptViewer.Enabled = false
else
ScriptViewer.Enabled = true
end
end
end)
end
coroutine.wrap(AHUB_fake_script)()
-- Gui Functions --
local HttpService = game:GetService("HttpService")
getgenv().Scripts = {}
local function DumpAllScripts()
for i,ScriptA in pairs(getscripts()) do
pcall(function()
local ScriptInfo = {}
ScriptInfo['Script'] = decompile(ScriptA)
ScriptInfo['Class'] = ScriptA.ClassName
ScriptInfo['Path'] = ScriptA:GetFullName()
ScriptInfo['Name'] = ScriptA.Name
getgenv().Scripts[ScriptA.Name] = ScriptInfo
end)
end
makefolder(tostring(game.PlaceId))
writefile(tostring(game.PlaceId)..'//Scripts.json' , HttpService:JSONEncode(getgenv().Scripts))
print('Dumped Scripts')
end
local function LoadScripts()
if not isfile(tostring(game.PlaceId)..'//Scripts.json') then
getgenv().Scripts = {}
DumpAllScripts()
end
print(isfolder(tostring(game.PlaceId)))
getgenv().Scripts = HttpService:JSONDecode(readfile(tostring(game.PlaceId)..'//Scripts.json'))
for i,v in pairs(getgenv().Scripts) do
local ScriptGuiObject = Guis[v['Class']]:Clone()
ScriptGuiObject.Parent = Scripts_2
ScriptGuiObject.Visible = true
ScriptGuiObject.ScriptName.Text = v['Name']
local path = Instance.new("StringValue")
path.Name = 'Path'
path.Parent = ScriptGuiObject
path.Value = v['Path']
getgenv()[path.Value] = v['Script']
ScriptGuiObject.ActivationButton.Activated:Connect(function()
getgenv().ScriptText = v['Script']
end)
end
end
local function Loop()
local RunService = game:GetService("RunService")
RunService.RenderStepped:Connect(function()
if getgenv().ScriptText then
TextLabel.Text = getgenv().ScriptText
end
end)
end
local function FindInScripts(Text)
for i,v in pairs(Scripts_2:GetChildren()) do
if v:IsA('Frame') then
if not string.find(getgenv()[v.Path.Value] , Text) then
v.Visible = false
elseif Text == '' then
v.Visible = true
end
end
end
end
TextButton.Activated:Connect(function()
FindInScripts(TextButton.Input.Text)
end)
LoadScripts()
Loop()
Roblox Script Viewer - Pastebin.com (2024)
Author: The Hon. Margery Christiansen
Last Updated:
Views: 6059
Rating: 5 / 5 (50 voted)
Reviews: 81% of readers found this page helpful
Name: The Hon. Margery Christiansen
Birthday: 2000-07-07
Address: 5050 Breitenberg Knoll, New Robert, MI 45409
Phone: +2556892639372
Job: Investor Mining Engineer
Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding
Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.