Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Frame = Instance.new("Frame")
- local TextFrame = Instance.new("ScrollingFrame")
- local ScriptBox = Instance.new("TextBox")
- local ScriptBox_2 = Instance.new("TextBox")
- local Open = Instance.new("TextButton")
- local Update = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = ScreenGui
- MainFrame.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0.0751824826, 0, 0.220663279, 0)
- MainFrame.Size = UDim2.new(0, 750, 0, 500)
- Frame.Parent = MainFrame
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, 0.159999996, 0)
- Frame.Size = UDim2.new(1, 0, 0.839999974, 0)
- TextFrame.Name = "TextFrame"
- TextFrame.Parent = Frame
- TextFrame.Active = true
- TextFrame.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- TextFrame.BorderSizePixel = 0
- TextFrame.Size = UDim2.new(1, 0, 1, 0)
- TextFrame.CanvasSize = UDim2.new(0, 0, 10, 0)
- TextFrame.ScrollBarThickness = 10
- ScriptBox.Name = "ScriptBox"
- ScriptBox.Parent = TextFrame
- ScriptBox.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- ScriptBox.BorderSizePixel = 0
- ScriptBox.Size = UDim2.new(1, 0, 1, 0)
- ScriptBox.ClearTextOnFocus = false
- ScriptBox.Font = Enum.Font.SourceSans
- ScriptBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
- ScriptBox.Text = ""
- ScriptBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptBox.TextSize = 20.000
- ScriptBox.TextXAlignment = Enum.TextXAlignment.Left
- ScriptBox.TextYAlignment = Enum.TextYAlignment.Top
- ScriptBox_2.Name = "ScriptBox"
- ScriptBox_2.Parent = MainFrame
- ScriptBox_2.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- ScriptBox_2.BorderSizePixel = 0
- ScriptBox_2.Position = UDim2.new(0, 0, 0.0560000017, 0)
- ScriptBox_2.Size = UDim2.new(0.843999982, 0, 0.0480000004, 0)
- ScriptBox_2.Font = Enum.Font.SourceSans
- ScriptBox_2.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
- ScriptBox_2.PlaceholderText = "Module script path here"
- ScriptBox_2.Text = ""
- ScriptBox_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptBox_2.TextSize = 20.000
- ScriptBox_2.TextXAlignment = Enum.TextXAlignment.Left
- ScriptBox_2.TextYAlignment = Enum.TextYAlignment.Top
- Open.Name = "Open"
- Open.Parent = MainFrame
- Open.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0.843999982, 0, 0.0560000017, 0)
- Open.Size = UDim2.new(0, 117, 0, 24)
- Open.Font = Enum.Font.SourceSans
- Open.Text = "Open"
- Open.TextColor3 = Color3.fromRGB(255, 255, 255)
- Open.TextScaled = true
- Open.TextSize = 14.000
- Open.TextWrapped = true
- Update.Name = "Update"
- Update.Parent = MainFrame
- Update.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- Update.BorderSizePixel = 0
- Update.Position = UDim2.new(0.421333343, 0, 0.104000002, 0)
- Update.Size = UDim2.new(0, 117, 0, 28)
- Update.Font = Enum.Font.SourceSans
- Update.Text = "Update"
- Update.TextColor3 = Color3.fromRGB(255, 255, 255)
- Update.TextScaled = true
- Update.TextSize = 14.000
- Update.TextWrapped = true
- -- Scripts:
- local function LJCVKNB_fake_script() -- Open.LocalScript
- local script = Instance.new('LocalScript', Open)
- script.Parent.MouseButton1Click:Connect(function()
- local dump = "";
- loadstring("module = "..script.Parent.Parent.ScriptBox.Text)();
- for i,v in pairs(require(module)) do
- if type(v) == "function" or type(v) == "table" then wait() else
- dump = dump.."[\""..tostring(i) .. "\"] = "
- if type(v) == "string" then
- dump = dump.."\"".. tostring(v).."\"\n"
- else
- dump = dump..tostring(v).."\n"
- end
- end
- end
- script.Parent.Parent.Frame.TextFrame.ScriptBox.Text = dump
- end)
- end
- coroutine.wrap(LJCVKNB_fake_script)()
- local function ZUWSX_fake_script() -- Update.LocalScript
- local script = Instance.new('LocalScript', Update)
- script.Parent.MouseButton1Click:Connect(function()
- local code = script.Parent.Parent.Frame.TextFrame.ScriptBox.Text
- loadstring("module = "..script.Parent.Parent.ScriptBox.Text)();
- for i,v in pairs(string.split(code,"\n")) do
- loadstring("require(module)"..tostring(v))();
- end
- end)
- end
- coroutine.wrap(ZUWSX_fake_script)()
- local function WNJFWSW_fake_script() -- MainFrame.Drag script
- local script = Instance.new('LocalScript', MainFrame)
- --Credits go to whoever made this script.
- local UIS = game:GetService("UserInputService")
- function drag (Frame)
- dragToggle = nil
- dragSpeed = 0.23
- dragInput = nil
- dragStart = nil
- dragPos = nil
- function updateInput(input)
- Delta = input.Position - dragStart
- Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragToggle then
- updateInput(input)
- end
- end)
- end
- drag(script.Parent)
- end
- coroutine.wrap(WNJFWSW_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement