Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.1
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Equip = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Equip.Name = "Equip"
- Equip.Parent = ScreenGui
- Equip.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Equip.Position = UDim2.new(0.18390806, 0, 0.203389838, 0)
- Equip.Size = UDim2.new(0, 153, 0, 77)
- TextButton.Parent = Equip
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- TextButton.BorderColor3 = Color3.fromRGB(255, 0, 0)
- TextButton.Position = UDim2.new(0, 0, 0.120661825, 0)
- TextButton.Size = UDim2.new(0, 153, 0, 22)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "EXECUTE"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 14.000
- TextLabel.Parent = Equip
- TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderColor3 = Color3.fromRGB(255, 0, 0)
- TextLabel.Position = UDim2.new(0, 0, 0.394893259, 0)
- TextLabel.Size = UDim2.new(0, 153, 0, 29)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Equip All"
- TextLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
- TextLabel.TextSize = 14.000
- TextLabel_2.Parent = Equip
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.Position = UDim2.new(0, 0, 0.789786518, 0)
- TextLabel_2.Size = UDim2.new(0, 152, 0, 11)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Press Q to hide"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 0, 0)
- TextLabel_2.TextSize = 14.000
- -- Scripts:
- local function NROSQYD_fake_script() -- TextButton.Script
- local script = Instance.new('Script', TextButton)
- TextButton.MouseButton1Click:Connect(function()
- -- Script here
- for _, tool in ipairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = game:GetService("Players").LocalPlayer.Character -- I didn't use Equip because the Equip function unequips any other tools in your character.
- end
- end
- end)
- end
- coroutine.wrap(NROSQYD_fake_script)()
- local function XAULB_fake_script() -- Equip.Script
- local script = Instance.new('Script', Equip)
- Equip.Active = true
- Equip.Draggable = true
- end
- coroutine.wrap(XAULB_fake_script)()
- local function VHXRM_fake_script() -- Equip.Script
- local script = Instance.new('Script', Equip)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Q then
- if Equip.Visible == false then
- Equip.Visible = true
- else
- Equip.Visible = false
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- end
- coroutine.wrap(VHXRM_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement