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 Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(26, 26, 26)
- Frame.BackgroundTransparency = 0.500
- Frame.Position = UDim2.new(0.858712733, 0, 0.0237762257, 0)
- Frame.Size = UDim2.new(0.129513338, 0, 0.227972031, 0)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.BackgroundTransparency = 1.000
- TextButton.Size = UDim2.new(1, 0, 1, 0)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "KLOSE/OPEN"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 50.000
- TextButton.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextStrokeTransparency = 0.000
- TextButton.TextWrapped = true
- TextButton.MouseButton1Down:Connect(function()
- game:GetService("VirtualInputManager"):SendKeyEvent(true, "F6" , false , game)
- end)
- UITextSizeConstraint.Parent = TextButton
- UITextSizeConstraint.MaxTextSize = 50
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Maikderninja/Maikderninja/main/Test.lua"))();
- local Window = Library.CreateLib("Example", "Sentinel")
- local Tab1 = Window:NewTab("Example")
- local Section1 = Tab1:NewSection("Example")
- Section1:NewKeybind("Toggle ui", "Toggle the ui yes", Enum.KeyCode.F6, function()
- Library:ToggleUI()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement