Advertisement
sbfashfbsajfhsbafbas

uglyasfui

Jun 29th, 2020
22,344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.18 KB | None | 0 0
  1. local mouse = game.Players.LocalPlayer:GetMouse()
  2. function btnEffect(btn)
  3. spawn(function()
  4. if btn:IsA("TextButton") or btn:IsA("ImageButton") then
  5. local mouseDown = false
  6. local mouseUp
  7.  
  8. btn.MouseButton1Down:connect(function()
  9. mouseDown = true
  10. mouseUp = btn.MouseButton1Up:connect(function()
  11. mouseDown = false
  12. mouseUp:Disconnect()
  13. end)
  14. btn.AutoButtonColor = false
  15. btn.ClipsDescendants = true
  16.  
  17. local circle = Instance.new("ImageLabel",btn)
  18. circle.Size = UDim2.new(0,0,0,0)
  19. circle.ZIndex = 100
  20. circle.Image = "rbxassetid://1986366831"
  21. circle.ImageTransparency = 0.6
  22. circle.Position = UDim2.new(0, mouse.X - 0, 0, mouse.Y) - UDim2.new(0,btn.AbsolutePosition.X, 0, btn.AbsolutePosition.Y)
  23. circle.BackgroundTransparency = 1
  24. local endSize = {Size = UDim2.new(0, 500, 0, 500), Position = circle.Position - UDim2.new(0, 250, 0, 250)}
  25. local fade = {ImageTransparency = 1}
  26. local endTime = false
  27. game:GetService("TweenService"):Create(circle,TweenInfo.new(2,Enum.EasingStyle.Sine, Enum.EasingDirection.Out),endSize):Play()
  28. spawn(function()
  29. wait(2)
  30. endTime = true
  31. end)
  32. repeat wait() until endTime or not mouseDown
  33. mouseUp:Disconnect()
  34. game:GetService("TweenService"):Create(circle,TweenInfo.new(1,Enum.EasingStyle.Sine, Enum.EasingDirection.Out),fade):Play()
  35. repeat wait() until circle.ImageTransparency == 1
  36. circle:Destroy()
  37. end)
  38. end
  39. end)
  40. end
  41. local lib = {}
  42.  
  43. function lib:CreateUI()
  44. local GayASFUI = Instance.new("ScreenGui")
  45. local TopFrame = Instance.new("ImageLabel")
  46. local MainFrame = Instance.new("ImageLabel")
  47. local Title = Instance.new("TextLabel")
  48. local ItemFrame = Instance.new("ScrollingFrame")
  49. local UIListLayout = Instance.new("UIListLayout")
  50. local UIPadding = Instance.new("UIPadding")
  51.  
  52. GayASFUI.Name = "GayASFUI"
  53. GayASFUI.Parent = game.CoreGui
  54.  
  55. TopFrame.Name = "TopFrame"
  56. TopFrame.Parent = GayASFUI
  57. TopFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  58. TopFrame.BackgroundTransparency = 1.000
  59. TopFrame.Position = UDim2.new(0.363636374, 0, 0.226851851, 0)
  60. TopFrame.Size = UDim2.new(0, 350, 0, 16)
  61. TopFrame.ZIndex = 2
  62. TopFrame.Image = "rbxassetid://3570695787"
  63. TopFrame.ImageColor3 = Color3.fromRGB(15, 15, 15)
  64. TopFrame.ScaleType = Enum.ScaleType.Slice
  65. TopFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  66. TopFrame.SliceScale = 0.040
  67. TopFrame.Active = true
  68. TopFrame.Draggable = true
  69.  
  70. MainFrame.Name = "MainFrame"
  71. MainFrame.Parent = TopFrame
  72. MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  73. MainFrame.BackgroundTransparency = 1.000
  74. MainFrame.Size = UDim2.new(0, 350, 0, 370)
  75. MainFrame.Image = "rbxassetid://3570695787"
  76. MainFrame.ImageColor3 = Color3.fromRGB(39, 39, 39)
  77. MainFrame.ScaleType = Enum.ScaleType.Slice
  78. MainFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  79. MainFrame.SliceScale = 0.040
  80.  
  81. Title.Name = "Title"
  82. Title.Parent = MainFrame
  83. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. Title.BackgroundTransparency = 1.000
  85. Title.Position = UDim2.new(0.0142857144, 0, 0.0081081083, 0)
  86. Title.Size = UDim2.new(0, 66, 0, 10)
  87. Title.ZIndex = 3
  88. Title.Font = Enum.Font.SourceSansBold
  89. Title.Text = "TintenFisch"
  90. Title.TextColor3 = Color3.fromRGB(255, 119, 0)
  91. Title.TextSize = 14.000
  92. Title.TextXAlignment = Enum.TextXAlignment.Left
  93.  
  94. ItemFrame.Name = "ItemFrame"
  95. ItemFrame.Parent = MainFrame
  96. ItemFrame.Active = true
  97. ItemFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  98. ItemFrame.BackgroundTransparency = 1.000
  99. ItemFrame.Position = UDim2.new(0, 0, 0.0432432443, 0)
  100. ItemFrame.Size = UDim2.new(0, 350, 0, 354)
  101. ItemFrame.ScrollBarThickness = 0
  102.  
  103. UIListLayout.Parent = ItemFrame
  104. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  105. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  106. UIListLayout.Padding = UDim.new(0, 2)
  107.  
  108. UIPadding.Parent = ItemFrame
  109. UIPadding.PaddingTop = UDim.new(0, 2)
  110.  
  111. local gayShit = {}
  112.  
  113. function gayShit:Toggle(configShit)
  114. local toggled = false;
  115. local ToggleFrame = Instance.new("Frame")
  116. local ToggleButton = Instance.new("TextButton")
  117. local ToggleRoudningShit = Instance.new("ImageLabel")
  118. local ToggleText = Instance.new("TextLabel")
  119.  
  120. ToggleFrame.Name = "ToggleFrame"
  121. ToggleFrame.Parent = ItemFrame
  122. ToggleFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  123. ToggleFrame.BackgroundTransparency = 1.000
  124. ToggleFrame.Position = UDim2.new(0.357142866, 0, 0.158192083, 0)
  125. ToggleFrame.Size = UDim2.new(0, 340, 0, 25)
  126. btnEffect(ToggleButton)
  127. ToggleButton.Name = "ToggleButton"
  128. ToggleButton.Parent = ToggleFrame
  129. ToggleButton.AnchorPoint = Vector2.new(0.5, 0.5)
  130. ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  131. ToggleButton.BackgroundTransparency = 1.000
  132. ToggleButton.BorderSizePixel = 0
  133. ToggleButton.Position = UDim2.new(0.0359999985, 0, 0.5, 0)
  134. ToggleButton.Size = UDim2.new(0, 25, 0, 25)
  135. ToggleButton.ZIndex = 2
  136. ToggleButton.Font = Enum.Font.SourceSansBold
  137. ToggleButton.Text = ""
  138. ToggleButton.TextColor3 = Color3.fromRGB(255, 119, 0)
  139. ToggleButton.TextSize = 14.000
  140. ToggleButton.MouseButton1Down:Connect(function()
  141. toggled = not toggled
  142. local newText = toggled and "X" or ""
  143. configShit.callback(toggled)
  144. ToggleButton.Text = newText
  145. end)
  146.  
  147. ToggleRoudningShit.Name = "ToggleRoudningShit"
  148. ToggleRoudningShit.Parent = ToggleButton
  149. ToggleRoudningShit.Active = true
  150. ToggleRoudningShit.AnchorPoint = Vector2.new(0.5, 0.5)
  151. ToggleRoudningShit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  152. ToggleRoudningShit.BackgroundTransparency = 1.000
  153. ToggleRoudningShit.Position = UDim2.new(0.499999523, 0, 0.5, 0)
  154. ToggleRoudningShit.Selectable = true
  155. ToggleRoudningShit.Size = UDim2.new(1, 0, 1, 0)
  156. ToggleRoudningShit.Image = "rbxassetid://3570695787"
  157. ToggleRoudningShit.ImageColor3 = Color3.fromRGB(15, 15, 15)
  158. ToggleRoudningShit.ScaleType = Enum.ScaleType.Slice
  159. ToggleRoudningShit.SliceCenter = Rect.new(100, 100, 100, 100)
  160. ToggleRoudningShit.SliceScale = 0.040
  161.  
  162. ToggleText.Name = "ToggleText"
  163. ToggleText.Parent = ToggleFrame
  164. ToggleText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  165. ToggleText.BackgroundTransparency = 1.000
  166. ToggleText.Position = UDim2.new(0.0907564014, 0, 0.288107902, 0)
  167. ToggleText.Size = UDim2.new(0, 309, 0, 10)
  168. ToggleText.ZIndex = 3
  169. ToggleText.Font = Enum.Font.SourceSansBold
  170. ToggleText.Text = configShit.text
  171. ToggleText.TextColor3 = Color3.fromRGB(255, 119, 0)
  172. ToggleText.TextSize = 14.000
  173. ToggleText.TextXAlignment = Enum.TextXAlignment.Left
  174. end
  175.  
  176. function gayShit:Button(configShit)
  177. local ButtonYes = Instance.new("TextButton")
  178. local RoundingShit = Instance.new("ImageLabel")
  179.  
  180. ButtonYes.Name = "ButtonYes"
  181. ButtonYes.Parent = ItemFrame
  182. ButtonYes.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  183. ButtonYes.BackgroundTransparency = 1.000
  184. ButtonYes.BorderSizePixel = 0
  185. ButtonYes.Position = UDim2.new(-0.371428579, 0, 0.113757826, 0)
  186. ButtonYes.Size = UDim2.new(0, 340, 0, 25)
  187. ButtonYes.ZIndex = 2
  188. ButtonYes.Font = Enum.Font.SourceSansBold
  189. ButtonYes.Text = configShit.text
  190. ButtonYes.TextColor3 = Color3.fromRGB(255, 119, 0)
  191. ButtonYes.TextSize = 14.000
  192. ButtonYes.MouseButton1Down:Connect(configShit.callback)
  193. btnEffect(ButtonYes)
  194.  
  195. RoundingShit.Name = "RoundingShit"
  196. RoundingShit.Parent = ButtonYes
  197. RoundingShit.Active = true
  198. RoundingShit.AnchorPoint = Vector2.new(0.5, 0.5)
  199. RoundingShit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  200. RoundingShit.BackgroundTransparency = 1.000
  201. RoundingShit.Position = UDim2.new(0.5, 0, 0.5, 0)
  202. RoundingShit.Selectable = true
  203. RoundingShit.Size = UDim2.new(1, 0, 1, 0)
  204. RoundingShit.Image = "rbxassetid://3570695787"
  205. RoundingShit.ImageColor3 = Color3.fromRGB(15, 15, 15)
  206. RoundingShit.ScaleType = Enum.ScaleType.Slice
  207. RoundingShit.SliceCenter = Rect.new(100, 100, 100, 100)
  208. RoundingShit.SliceScale = 0.040
  209. end
  210.  
  211. function gayShit:Text(configShit)
  212. local LabelFrame = Instance.new("Frame")
  213. local LabelText = Instance.new("TextLabel")
  214.  
  215. LabelFrame.Name = "LabelFrame"
  216. LabelFrame.Parent = ItemFrame
  217. LabelFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  218. LabelFrame.BackgroundTransparency = 1.000
  219. LabelFrame.Position = UDim2.new(0.357142866, 0, 0.158192083, 0)
  220. LabelFrame.Size = UDim2.new(0, 340, 0, 25)
  221.  
  222. LabelText.Name = "LabelText"
  223. LabelText.Parent = LabelFrame
  224. LabelText.AnchorPoint = Vector2.new(0.5, 0.5)
  225. LabelText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  226. LabelText.BackgroundTransparency = 1.000
  227. LabelText.Position = UDim2.new(0.5, 0, 0.5, 0)
  228. LabelText.Size = UDim2.new(0, 309, 0, 10)
  229. LabelText.ZIndex = 3
  230. LabelText.Font = Enum.Font.SourceSansBold
  231. LabelText.Text = configShit.text
  232. LabelText.TextColor3 = Color3.fromRGB(255, 119, 0)
  233. LabelText.TextSize = 14.000
  234. end
  235.  
  236. function gayShit:TextBox(configShit)
  237. local TextBox = Instance.new("TextBox")
  238. local TextBoxRoudningSHit = Instance.new("ImageLabel")
  239.  
  240. TextBox.Parent = ItemFrame
  241. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  242. TextBox.BackgroundTransparency = 1.000
  243. TextBox.BorderSizePixel = 0
  244. TextBox.Size = UDim2.new(0, 340, 0, 25)
  245. TextBox.ZIndex = 2
  246. TextBox.Font = Enum.Font.SourceSansBold
  247. TextBox.PlaceholderColor3 = Color3.fromRGB(159, 74, 0)
  248. TextBox.PlaceholderText = configShit.text
  249. TextBox.Text = ""
  250. TextBox.TextColor3 = Color3.fromRGB(255, 119, 0)
  251. TextBox.TextSize = 14.000
  252. TextBox.FocusLost:Connect(function(enterpressed)
  253. local hehehe = configShit.type
  254. if hehehe == "string" then
  255. configShit.callback(tostring(TextBox.Text))
  256. TextBox.Text = ""
  257. end
  258. if hehehe == "number" then
  259. if tonumber(TextBox.Text) then
  260. configShit.callback(tonumber(TextBox.Text))
  261. TextBox.Text = ""
  262. end
  263. end
  264. TextBox.Text = ""
  265. end)
  266.  
  267. TextBoxRoudningSHit.Name = "TextBoxRoudningSHit"
  268. TextBoxRoudningSHit.Parent = TextBox
  269. TextBoxRoudningSHit.Active = true
  270. TextBoxRoudningSHit.AnchorPoint = Vector2.new(0.5, 0.5)
  271. TextBoxRoudningSHit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  272. TextBoxRoudningSHit.BackgroundTransparency = 1.000
  273. TextBoxRoudningSHit.Position = UDim2.new(0.5, 0, 0.5, 0)
  274. TextBoxRoudningSHit.Selectable = true
  275. TextBoxRoudningSHit.Size = UDim2.new(1, 0, 1, 0)
  276. TextBoxRoudningSHit.Image = "rbxassetid://3570695787"
  277. TextBoxRoudningSHit.ImageColor3 = Color3.fromRGB(15, 15, 15)
  278. TextBoxRoudningSHit.ScaleType = Enum.ScaleType.Slice
  279. TextBoxRoudningSHit.SliceCenter = Rect.new(100, 100, 100, 100)
  280. TextBoxRoudningSHit.SliceScale = 0.040
  281. end
  282.  
  283.  
  284. return gayShit
  285.  
  286.  
  287. end
  288.  
  289. return lib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement