Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local h0tuilib = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local Minimize = Instance.new("TextLabel")
  7. local Pin = Instance.new("ImageLabel")
  8. local NameLabel = Instance.new("TextLabel")
  9. local Backgroundframe = Instance.new("ScrollingFrame")
  10. local TextButton = Instance.new("TextButton")
  11. local UIListLayout = Instance.new("UIListLayout")
  12. --Properties:
  13. h0tuilib.Name = "h0t ui lib"
  14. h0tuilib.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  15. h0tuilib.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Frame.Parent = h0tuilib
  18. Frame.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  19. Frame.BorderSizePixel = 0
  20. Frame.Position = UDim2.new(0, 3, 0, 3)
  21. Frame.Size = UDim2.new(0, 179, 0, 28)
  22. Frame.ZIndex = 8
  23.  
  24. Minimize.Name = "Minimize"
  25. Minimize.Parent = Frame
  26. Minimize.BackgroundColor3 = Color3.new(1, 1, 1)
  27. Minimize.BackgroundTransparency = 1
  28. Minimize.Position = UDim2.new(0.905027926, 0, 0, 0)
  29. Minimize.Size = UDim2.new(0, 17, 0, 28)
  30. Minimize.Font = Enum.Font.SourceSans
  31. Minimize.Text = "-"
  32. Minimize.TextColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  33. Minimize.TextSize = 14
  34.  
  35. Pin.Name = "Pin"
  36. Pin.Parent = Frame
  37. Pin.BackgroundColor3 = Color3.new(1, 1, 1)
  38. Pin.BackgroundTransparency = 1
  39. Pin.Position = UDim2.new(0.899441302, 0, -2.67857146, 0)
  40. Pin.Size = UDim2.new(0, 28, 0, 28)
  41. Pin.Image = "rbxassetid://3523354118"
  42. Pin.ImageColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  43.  
  44. NameLabel.Name = "NameLabel"
  45. NameLabel.Parent = Frame
  46. NameLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  47. NameLabel.BackgroundTransparency = 1
  48. NameLabel.Position = UDim2.new(0.00999999978, 0, 0.156000003, 0)
  49. NameLabel.Size = UDim2.new(0, 104, 0, 19)
  50. NameLabel.Font = Enum.Font.Gotham
  51. NameLabel.Text = "h0t ui lib"
  52. NameLabel.TextColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  53. NameLabel.TextSize = 13
  54.  
  55. Backgroundframe.Name = "Backgroundframe"
  56. Backgroundframe.Parent = Frame
  57. Backgroundframe.BackgroundColor3 = Color3.new(1, 1, 1)
  58. Backgroundframe.BackgroundTransparency = 1
  59. Backgroundframe.BorderSizePixel = 0
  60. Backgroundframe.Size = UDim2.new(0, 179, 0, 396)
  61. Backgroundframe.ZIndex = -2
  62. Backgroundframe.ScrollBarThickness = 0
  63. Backgroundframe.ScrollingEnabled = false
  64.  
  65. TextButton.Parent = Backgroundframe
  66. TextButton.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  67. TextButton.BorderSizePixel = 0
  68. TextButton.Size = UDim2.new(0, 179, 0, 28)
  69. TextButton.ZIndex = -1
  70. TextButton.Font = Enum.Font.Gotham
  71. TextButton.Text = ""
  72. TextButton.TextColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  73. TextButton.TextSize = 14
  74.  
  75. UIListLayout.Parent = Backgroundframe
  76. -- Scripts:
  77. function SCRIPT_UDAY81_FAKESCRIPT() -- h0tuilib.LocalScript
  78. local script = Instance.new('LocalScript')
  79. script.Parent = h0tuilib
  80. --[[
  81. Update Log:
  82. I finally released this
  83.  
  84.  
  85. Create button Template
  86.  
  87.  
  88. local frame = script.Parent.Frame.Backgroundframe
  89. local button = frame.TextButton:Clone()
  90. button.Text = 'print("uwu")'
  91.  
  92. Script button Template
  93.  
  94. button.MouseButton1Click:connect(function()
  95. print("uwu") --or another script here
  96. end)
  97.  
  98.  
  99. Create new frame ᵒᵛᵉʳˡᵃᵖˢ
  100.  
  101. ]]
  102.  
  103. --Ignore:
  104. local function makedraggable(frame)
  105. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  106. local inputService = game:GetService('UserInputService')
  107. local heartbeat = game:GetService("RunService").Heartbeat
  108. local s, event = pcall(function()return(frame.MouseEnter)end)
  109. if s then
  110. frame.Active = true;
  111. event:Connect(function()
  112. local input = frame.InputBegan:Connect(function(key)
  113. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  114. local objectPosition = Vector2.new(mouse.X - frame.AbsolutePosition.X, mouse.Y - frame.AbsolutePosition.Y);
  115. while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  116. frame:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (frame.Size.X.Offset * frame.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (frame.Size.Y.Offset * frame.AnchorPoint.Y)), 'Out', 'Quad', 0.1, true);
  117. end
  118. end
  119. end)
  120. local leave;
  121. leave = frame.MouseLeave:Connect(function()
  122. input:disconnect();
  123. leave:disconnect();
  124. end)
  125. end)
  126. end
  127. end
  128. makedraggable(script.Parent)
  129.  
  130. end
  131. coroutine.resume(coroutine.create(SCRIPT_UDAY81_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement