Advertisement
rrixh

kavo mobile toggle ui

Jul 5th, 2023
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextButton = Instance.new("TextButton")
  9. local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
  10.  
  11. --Properties:
  12.  
  13. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  14. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. Frame.Parent = ScreenGui
  17. Frame.BackgroundColor3 = Color3.fromRGB(26, 26, 26)
  18. Frame.BackgroundTransparency = 0.500
  19. Frame.Position = UDim2.new(0.858712733, 0, 0.0237762257, 0)
  20. Frame.Size = UDim2.new(0.129513338, 0, 0.227972031, 0)
  21.  
  22. TextButton.Parent = Frame
  23. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  24. TextButton.BackgroundTransparency = 1.000
  25. TextButton.Size = UDim2.new(1, 0, 1, 0)
  26. TextButton.Font = Enum.Font.SourceSans
  27. TextButton.Text = "KLOSE/OPEN"
  28. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  29. TextButton.TextScaled = true
  30. TextButton.TextSize = 50.000
  31. TextButton.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  32. TextButton.TextStrokeTransparency = 0.000
  33. TextButton.TextWrapped = true
  34. TextButton.MouseButton1Down:Connect(function()
  35. game:GetService("VirtualInputManager"):SendKeyEvent(true, "F6" , false , game)
  36. end)
  37.  
  38. UITextSizeConstraint.Parent = TextButton
  39. UITextSizeConstraint.MaxTextSize = 50
  40.  
  41. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Maikderninja/Maikderninja/main/Test.lua"))();
  42.  
  43. local Window = Library.CreateLib("Example", "Sentinel")
  44.  
  45. local Tab1 = Window:NewTab("Example")
  46.  
  47. local Section1 = Tab1:NewSection("Example")
  48.  
  49. Section1:NewKeybind("Toggle ui", "Toggle the ui yes", Enum.KeyCode.F6, function()
  50. Library:ToggleUI()
  51. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement