Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local metamethod = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- local Frame = Instance.new("Frame")
- local SUMBIT = Instance.new("TextButton")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local x = Instance.new("TextButton")
- local TextLabel_2 = Instance.new("TextLabel")
- local SEEVALUE = Instance.new("TextButton")
- local changevalue = Instance.new("TextButton")
- local rat = Instance.new("Frame")
- local ScrollingFrame_2 = Instance.new("ScrollingFrame")
- local TextBox = Instance.new("TextBox")
- local GoBACK = Instance.new("TextButton")
- local CopyScript = Instance.new("TextButton")
- local changeinvokedawg = Instance.new("Frame")
- local ScrollingFrame_3 = Instance.new("ScrollingFrame")
- local TextBox_2 = Instance.new("TextBox")
- local back = Instance.new("TextButton")
- local Clear = Instance.new("TextButton")
- --Properties:
- metamethod.Name = "metamethod"
- metamethod.Parent = game:GetService("CoreGui")
- metamethod.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- metamethod.DisplayOrder = 1566666666
- metamethod.ResetOnSpawn = false
- TextLabel.Parent = metamethod
- TextLabel.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.170283809, 0, 0.196277469, 0)
- TextLabel.Size = UDim2.new(0, 760, 0, 23)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Hookmetamethod"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 14.000
- Frame.Parent = TextLabel
- Frame.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, 0.956522405, 0)
- Frame.Size = UDim2.new(0, 760, 0, 314)
- SUMBIT.Name = "SUMBIT"
- SUMBIT.Parent = Frame
- SUMBIT.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- SUMBIT.BorderColor3 = Color3.fromRGB(0, 0, 0)
- SUMBIT.BorderSizePixel = 0
- SUMBIT.Position = UDim2.new(0.0273978375, 0, 0.864725471, 0)
- SUMBIT.Size = UDim2.new(0, 248, 0, 28)
- SUMBIT.Font = Enum.Font.Cartoon
- SUMBIT.Text = "SUMBIT"
- SUMBIT.TextColor3 = Color3.fromRGB(255, 255, 255)
- SUMBIT.TextSize = 14.000
- ScrollingFrame.Parent = Frame
- ScrollingFrame.Active = true
- ScrollingFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- ScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0.0157894734, 0, 0.0286624208, 0)
- ScrollingFrame.Size = UDim2.new(0, 738, 0, 206)
- x.Name = "x"
- x.Parent = ScrollingFrame
- x.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- x.BorderColor3 = Color3.fromRGB(0, 0, 0)
- x.BorderSizePixel = 0
- x.Size = UDim2.new(0, 738, 0, 14)
- x.Font = Enum.Font.SourceSans
- x.Text = "example"
- x.TextColor3 = Color3.fromRGB(255, 255, 255)
- x.TextSize = 14.000
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.0263157897, 0, 0.707006395, 0)
- TextLabel_2.Size = UDim2.new(0, 730, 0, 23)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Selected RemoteFunction : "
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextWrapped = true
- SEEVALUE.Name = "SEEVALUE"
- SEEVALUE.Parent = Frame
- SEEVALUE.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- SEEVALUE.BorderColor3 = Color3.fromRGB(0, 0, 0)
- SEEVALUE.BorderSizePixel = 0
- SEEVALUE.Position = UDim2.new(0.353713661, 0, 0.864725471, 0)
- SEEVALUE.Size = UDim2.new(0, 250, 0, 28)
- SEEVALUE.Font = Enum.Font.Cartoon
- SEEVALUE.Text = "See Returned Value"
- SEEVALUE.TextColor3 = Color3.fromRGB(255, 255, 255)
- SEEVALUE.TextSize = 14.000
- changevalue.Name = "changevalue"
- changevalue.Parent = Frame
- changevalue.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- changevalue.BorderColor3 = Color3.fromRGB(0, 0, 0)
- changevalue.BorderSizePixel = 0
- changevalue.Position = UDim2.new(0.682661057, 0, 0.864725471, 0)
- changevalue.Size = UDim2.new(0, 231, 0, 28)
- changevalue.Font = Enum.Font.Cartoon
- changevalue.Text = "Change Value Frame"
- changevalue.TextColor3 = Color3.fromRGB(255, 255, 255)
- changevalue.TextSize = 14.000
- rat.Name = "rat"
- rat.Parent = TextLabel
- rat.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
- rat.BorderColor3 = Color3.fromRGB(0, 0, 0)
- rat.BorderSizePixel = 0
- rat.Position = UDim2.new(0, 0, 1.00000072, 0)
- rat.Size = UDim2.new(0, 760, 0, 313)
- rat.Visible = false
- ScrollingFrame_2.Parent = rat
- ScrollingFrame_2.Active = true
- ScrollingFrame_2.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- ScrollingFrame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame_2.BorderSizePixel = 0
- ScrollingFrame_2.Position = UDim2.new(0.0105263162, 0, 0.0223642178, 0)
- ScrollingFrame_2.Size = UDim2.new(0, 744, 0, 270)
- TextBox.Parent = ScrollingFrame_2
- TextBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.BorderSizePixel = 0
- TextBox.Position = UDim2.new(0.0107526882, 0, 1.54129182e-07, 0)
- TextBox.Size = UDim2.new(0, 735, 0, 900)
- TextBox.ClearTextOnFocus = false
- TextBox.Font = Enum.Font.SourceSans
- TextBox.MultiLine = true
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.TextSize = 14.000
- TextBox.TextXAlignment = Enum.TextXAlignment.Left
- TextBox.TextYAlignment = Enum.TextYAlignment.Top
- GoBACK.Name = "GoBACK"
- GoBACK.Parent = rat
- GoBACK.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- GoBACK.BorderColor3 = Color3.fromRGB(0, 0, 0)
- GoBACK.BorderSizePixel = 0
- GoBACK.Position = UDim2.new(0.020818932, 0, 0.906269193, 0)
- GoBACK.Size = UDim2.new(0, 248, 0, 21)
- GoBACK.Font = Enum.Font.Cartoon
- GoBACK.Text = "Go Back"
- GoBACK.TextColor3 = Color3.fromRGB(255, 255, 255)
- GoBACK.TextSize = 14.000
- CopyScript.Name = "CopyScript"
- CopyScript.Parent = rat
- CopyScript.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- CopyScript.BorderColor3 = Color3.fromRGB(0, 0, 0)
- CopyScript.BorderSizePixel = 0
- CopyScript.Position = UDim2.new(0.365555763, 0, 0.906269193, 0)
- CopyScript.Size = UDim2.new(0, 248, 0, 21)
- CopyScript.Font = Enum.Font.Cartoon
- CopyScript.Text = "Copy Script"
- CopyScript.TextColor3 = Color3.fromRGB(255, 255, 255)
- CopyScript.TextSize = 14.000
- changeinvokedawg.Name = "changeinvokedawg"
- changeinvokedawg.Parent = TextLabel
- changeinvokedawg.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
- changeinvokedawg.BorderColor3 = Color3.fromRGB(0, 0, 0)
- changeinvokedawg.BorderSizePixel = 0
- changeinvokedawg.Position = UDim2.new(0, 0, 1.00000072, 0)
- changeinvokedawg.Size = UDim2.new(0, 760, 0, 313)
- changeinvokedawg.Visible = false
- ScrollingFrame_3.Parent = changeinvokedawg
- ScrollingFrame_3.Active = true
- ScrollingFrame_3.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- ScrollingFrame_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame_3.BorderSizePixel = 0
- ScrollingFrame_3.Position = UDim2.new(0.0157894734, 0, 0.0319488831, 0)
- ScrollingFrame_3.Size = UDim2.new(0, 733, 0, 257)
- TextBox_2.Parent = ScrollingFrame_3
- TextBox_2.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- TextBox_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextBox_2.BorderSizePixel = 0
- TextBox_2.Position = UDim2.new(0, 0, -5.73638701e-08, 0)
- TextBox_2.Size = UDim2.new(0, 733, 0, 900)
- TextBox_2.ClearTextOnFocus = false
- TextBox_2.Font = Enum.Font.SourceSans
- TextBox_2.MultiLine = true
- TextBox_2.PlaceholderText = "-- TYPE HERE YOUR VALUE YOU WANNA CHANGE THEN GO BACK THEN CLICK SUMBIT ASAP!!"
- TextBox_2.Text = ""
- TextBox_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox_2.TextSize = 14.000
- TextBox_2.TextXAlignment = Enum.TextXAlignment.Left
- TextBox_2.TextYAlignment = Enum.TextYAlignment.Top
- back.Name = "back"
- back.Parent = changeinvokedawg
- back.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- back.BorderColor3 = Color3.fromRGB(0, 0, 0)
- back.BorderSizePixel = 0
- back.Position = UDim2.new(0.0155557729, 0, 0.883904994, 0)
- back.Size = UDim2.new(0, 248, 0, 28)
- back.Font = Enum.Font.Cartoon
- back.Text = "Go Back"
- back.TextColor3 = Color3.fromRGB(255, 255, 255)
- back.TextSize = 14.000
- Clear.Name = "Clear"
- Clear.Parent = changeinvokedawg
- Clear.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Clear.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Clear.BorderSizePixel = 0
- Clear.Position = UDim2.new(0.653713644, 0, 0.883904994, 0)
- Clear.Size = UDim2.new(0, 248, 0, 28)
- Clear.Font = Enum.Font.Cartoon
- Clear.Text = "Clear TextBox"
- Clear.TextColor3 = Color3.fromRGB(255, 255, 255)
- Clear.TextSize = 14.000
- -- Scripts:
- local function YOSEWZT_fake_script() -- Frame.LocalScript
- local script = Instance.new('LocalScript', Frame)
- end
- coroutine.wrap(YOSEWZT_fake_script)()
- local function FUWSF_fake_script() -- ScrollingFrame.LocalScript
- local script = Instance.new('LocalScript', ScrollingFrame)
- local game = game
- local x = script.Parent.x
- local scroll = script.Parent
- local frameReturned = script.Parent.Parent.Parent.rat
- local main = scroll.Parent.Parent.Frame
- local frame = frameReturned.Parent.changeinvokedawg
- local toSumbitTextBox = frame.ScrollingFrame.TextBox
- local changevaluebutton = main.changevalue
- changevaluebutton.MouseButton1Click:Connect(function()
- main.Visible = false
- frame.Visible = true
- end)
- local text = script.Parent.Parent.TextLabel
- local RESULT = frameReturned.ScrollingFrame.TextBox
- local Object = Instance.new("ObjectValue")
- Object.Name = "RemoteFunction Selected"
- Object.Parent = scroll
- local Sumbit = scroll.Parent.SUMBIT
- local seevalue = scroll.Parent.SEEVALUE
- local function EXIT()
- main.Visible = false
- frameReturned.Visible = true
- end
- seevalue.MouseButton1Click:Connect(EXIT)
- local offset = 15
- local function Clear()
- for i,v in pairs(scroll:GetChildren()) do
- if v~= script and v~= x then
- v:Destroy()
- offset = 15
- end
- end
- end
- local function Sum()
- if hookmetamethod then
- local namecall;
- namecall = hookmetamethod(game,"__namecall", function(Self,...)
- local method = getnamecallmethod()
- local obj = Object.Value
- local exec = toSumbitTextBox
- if method == "InvokeServer" and Self == obj and exec ~= nil and exec.Text ~= "" then
- return loadstring(exec.Text)
- end
- return namecall(Self,...)
- end)
- else
- warn("bro u dont have hookmetamethod function give up.")
- end
- end
- Sumbit.MouseButton1Click:Connect(function()
- Sum()
- end)
- local function Get()
- for i,v in pairs(game:GetDescendants()) do
- if v:IsA("RemoteFunction") then
- local Function = x:Clone()
- Function.Name = tostring(v)
- Function.Text = tostring(v)
- Function.Parent = scroll
- Function.Position = UDim2.new(0,0,0,offset)
- -- FUNCTION
- Function.MouseButton1Click:Connect(function()
- Object.Value = v
- local value = Object.Value
- text.Text = "Selected RemoteFunction : " .. tostring(value)
- print("game."..value:GetFullName())
- --end)
- --Function.MouseButton1Click:Connect(function()
- local value = Object.Value
- if value and value ~= nil then
- local result = value:InvokeServer()
- print(result)
- local DEBUG_TEST = tostring(value)
- if type(result) == 'table' then
- local final = "local args = {\n"
- for i, v in next, result do
- if type(v) == "table" then
- for ii, tab in ipairs(v) do
- final = final .. " [" .. tostring(ii) .. "] = " .. tostring(tab) .. ",\n"
- end
- else
- final = final .. " [" .. tostring(i) .. "] = " .. tostring(v) .. ",\n"
- end
- end
- final = final .. "}\n" .. "game." .. value:GetFullName() ..":InvokeServer(args)"
- RESULT.Text = final
- else
- RESULT.Text = tostring(result)
- end
- end
- end)
- offset = offset + 15
- end
- end
- end
- game.DescendantAdded:Connect(function(d)
- if d:IsA("RemoteFunction") then
- Clear()
- Get()
- end
- end)
- Get()
- end
- coroutine.wrap(FUWSF_fake_script)()
- local function YOAZLEY_fake_script() -- TextLabel.LocalScript
- local script = Instance.new('LocalScript', TextLabel)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.wrap(YOAZLEY_fake_script)()
- local function VHSRA_fake_script() -- rat.LocalScript
- local script = Instance.new('LocalScript', rat)
- local main = script.Parent.Parent.rat.Parent.Frame
- local textbox = script.Parent.ScrollingFrame.TextBox
- textbox.PlaceholderText = "-- SCRIPT GENERATED BY " .. game.Name
- local function copy()
- if setclipboard and identifyexecutor then
- setclipboard(textbox.Text)
- else
- warn("no setclipboard function? ", print(identifyexecutor() .. "is this your executor? :sob:"))
- end
- end
- local button = script.Parent.GoBACK
- local copyscript = script.Parent.CopyScript
- function EXIT()
- main.Visible = true
- script.Parent.Visible = false
- end
- copyscript.MouseButton1Click:Connect(copy)
- button.MouseButton1Click:Connect(EXIT)
- end
- coroutine.wrap(VHSRA_fake_script)()
- local function THTJXRY_fake_script() -- changeinvokedawg.LocalScript
- local script = Instance.new('LocalScript', changeinvokedawg)
- local frame = script.Parent
- local main = frame.Parent.Frame
- local goback = frame.back
- local clear = frame.Clear
- local textbox = frame.ScrollingFrame.TextBox
- local function c()
- textbox.Text = ""
- end
- local function GoBACK()
- frame.Visible = false
- main.Visible = true
- end
- goback.MouseButton1Click:Connect(GoBACK)
- clear.MouseButton1Click:Connect(c)
- end
- coroutine.wrap(THTJXRY_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement