ScriptyPastes

eeeeeee nin

Jun 8th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.99 KB | None | 0 0
  1. --ui v4
  2.  
  3. local lib = {
  4. ToggleOn = Color3.fromRGB(40, 255, 40),
  5. ToggleOff = Color3.fromRGB(255, 40, 40),
  6. ToggleOut = Color3.fromRGB(255, 174, 10),
  7. BackColor = Color3.fromRGB(53, 53, 53),
  8. TopColor = Color3.fromRGB(43, 43, 43)
  9. }
  10.  
  11. local niggermenu = Instance.new("ScreenGui", game.CoreGui)
  12. local count = 0
  13.  
  14. function lib:Frame(Name)
  15. count=count+1
  16. local Top = Instance.new("Frame")
  17. local Container = Instance.new("Frame")
  18. --[[local TestSlider = Instance.new("Frame")
  19. local SliderLine = Instance.new("Frame")
  20. local TextButton = Instance.new("TextButton")
  21. local ValueLabel = Instance.new("TextLabel")
  22. local ToggleContainer = Instance.new("ImageLabel")
  23. local Toggle = Instance.new("TextButton")
  24. local Toggletext = Instance.new("TextLabel")
  25. local Toggle_2 = Instance.new("TextButton")
  26. local Button = Instance.new("TextButton")]]
  27. local TextLabel = Instance.new("TextLabel")
  28.  
  29. --Properties:
  30.  
  31. Top.Name = "Top"
  32. Top.Parent = niggermenu
  33. Top.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
  34. Top.BorderColor3 = Color3.fromRGB(200, 80, 32)
  35. Top.BorderSizePixel = 0
  36. Top.Position = UDim2.new(0.04 + (count*.13), 0, 0.0679886714, 0)
  37. Top.Size = UDim2.new(0, 200, 0, 30)
  38.  
  39. Container.Name = "Container"
  40. Container.Parent = Top
  41. Container.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  42. Container.BorderColor3 = Color3.fromRGB(200, 80, 32)
  43. Container.BorderSizePixel = 0
  44. Container.Position = UDim2.new(0, 0, 1.01400006, 0)
  45. Container.Size = UDim2.new(0, 200, 0, 28)
  46. local UIListLayout = Instance.new("UIListLayout")
  47. UIListLayout.Parent = Container
  48. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  49.  
  50. --[[TestSlider.Name = "TestSlider"
  51. TestSlider.Parent = Container
  52. TestSlider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  53. TestSlider.BackgroundTransparency = 0.900
  54. TestSlider.Size = UDim2.new(0, 200, 0, 28)
  55.  
  56. SliderLine.Name = "SliderLine"
  57. SliderLine.Parent = TestSlider
  58. SliderLine.BackgroundColor3 = Color3.fromRGB(229, 125, 39)
  59. SliderLine.BorderSizePixel = 0
  60. SliderLine.Position = UDim2.new(0.0352941193, 0, 0.357142866, 0)
  61. SliderLine.Size = UDim2.new(0, 157, 0, 2)
  62.  
  63. TextButton.Parent = SliderLine
  64. TextButton.BackgroundColor3 = Color3.fromRGB(255, 66, 28)
  65. TextButton.BorderSizePixel = 0
  66. TextButton.Position = UDim2.new(0, 0, -3, 0)
  67. TextButton.Size = UDim2.new(0, 6, 0, 14)
  68. TextButton.Font = Enum.Font.SourceSans
  69. TextButton.Text = ""
  70. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  71. TextButton.TextSize = 14.000
  72.  
  73. ValueLabel.Name = "ValueLabel"
  74. ValueLabel.Parent = SliderLine
  75. ValueLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  76. ValueLabel.BackgroundTransparency = 1.000
  77. ValueLabel.Size = UDim2.new(0, 156, 0, 17)
  78. ValueLabel.Font = Enum.Font.SourceSans
  79. ValueLabel.Text = "0"
  80. ValueLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  81. ValueLabel.TextSize = 14.000
  82.  
  83. ToggleContainer.Name = "ToggleContainer"
  84. ToggleContainer.Parent = Container
  85. ToggleContainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  86. ToggleContainer.BackgroundTransparency = 0.900
  87. ToggleContainer.Position = UDim2.new(0, 0, 0.124705881, 0)
  88. ToggleContainer.Size = UDim2.new(0, 200, 0, 28)
  89. ToggleContainer.Image = "rbxgameasset://Images/Rectangle 1"
  90. ToggleContainer.ImageTransparency = 1.000
  91. ToggleContainer.ScaleType = Enum.ScaleType.Crop
  92.  
  93. Toggle.Name = "Toggle"
  94. Toggle.Parent = ToggleContainer
  95. Toggle.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  96. Toggle.BorderColor3 = Color3.fromRGB(255, 174, 10)
  97. Toggle.BorderSizePixel = 2
  98. Toggle.Position = UDim2.new(0.859282851, 0, 0.123571128, 0)
  99. Toggle.Size = UDim2.new(0, 20, 0, 20)
  100. Toggle.Font = Enum.Font.SourceSans
  101. Toggle.Text = ""
  102. Toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  103. Toggle.TextSize = 14.000
  104.  
  105. Toggletext.Name = "Toggletext"
  106. Toggletext.Parent = ToggleContainer
  107. Toggletext.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  108. Toggletext.BackgroundTransparency = 1.000
  109. Toggletext.BorderSizePixel = 0
  110. Toggletext.Position = UDim2.new(0, 0, 0.052142553, 0)
  111. Toggletext.Size = UDim2.new(0, 136, 0, 24)
  112. Toggletext.Font = Enum.Font.SourceSans
  113. Toggletext.Text = "n i g g e r z"
  114. Toggletext.TextColor3 = Color3.fromRGB(255, 255, 255)
  115. Toggletext.TextSize = 20.000
  116. Toggletext.TextWrapped = true
  117.  
  118. Toggle_2.Name = "Toggle"
  119. Toggle_2.Parent = ToggleContainer
  120. Toggle_2.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  121. Toggle_2.BorderColor3 = Color3.fromRGB(255, 174, 10)
  122. Toggle_2.BorderSizePixel = 2
  123. Toggle_2.Position = UDim2.new(0.888438165, 0, 3.25928569, 0)
  124. Toggle_2.Size = UDim2.new(0, 20, 0, 20)
  125. Toggle_2.ZIndex = -3
  126. Toggle_2.Font = Enum.Font.SourceSans
  127. Toggle_2.Text = ""
  128. Toggle_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  129. Toggle_2.TextSize = 14.000
  130.  
  131.  
  132. ]]
  133. TextLabel.Parent = Top
  134. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  135. TextLabel.BackgroundTransparency = 1.000
  136. TextLabel.Size = UDim2.new(0, 200, 0, 30)
  137. TextLabel.Font = Enum.Font.SourceSans
  138. TextLabel.Text = Name
  139. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  140. TextLabel.TextSize = 20.000
  141. local lib2 = {buttons = 0}
  142. function lib2:Label(text)
  143. lib2.buttons=lib2.buttons+1
  144. Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons)
  145. local lel = Instance.new("TextLabel")
  146.  
  147. lel.Name = "lel"
  148. lel.Parent = Container
  149. lel.BackgroundColor3 = Color3.fromRGB(0,0,0)
  150. lel.BackgroundTransparency = 0.9
  151. lel.Size = UDim2.new(0, 200, 0, 20)
  152. lel.Font = Enum.Font.SourceSans
  153. lel.Text = text
  154. lel.TextColor3 = Color3.fromRGB(255, 255, 255)
  155. lel.TextSize = 25
  156. lel.TextScaled = true
  157. end
  158. function lib2:Slider(name, min, max, func)
  159. lib2.buttons=lib2.buttons+1
  160. Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons)
  161. local TestSlider = Instance.new("Frame")
  162. local SliderLine = Instance.new("Frame")
  163. local TextButton = Instance.new("TextButton")
  164. local ValueLabel = Instance.new("TextLabel")
  165.  
  166. TestSlider.Name = "TestSlider"
  167. TestSlider.Parent = Container
  168. TestSlider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  169. TestSlider.BackgroundTransparency = 1
  170. TestSlider.Size = UDim2.new(0, 200, 0, 28)
  171.  
  172. SliderLine.Name = "SliderLine"
  173. SliderLine.Parent = TestSlider
  174. SliderLine.BackgroundColor3 = Color3.fromRGB(229, 125, 39)
  175. SliderLine.BorderSizePixel = 0
  176. SliderLine.Position = UDim2.new(0.0352941193, 0, 0.357142866, 0)
  177. SliderLine.Size = UDim2.new(0, 170, 0, 2)
  178.  
  179. TextButton.Parent = SliderLine
  180. TextButton.BackgroundColor3 = Color3.fromRGB(255, 66, 28)
  181. TextButton.BorderSizePixel = 0
  182. TextButton.Position = UDim2.new(0, 0, -3, 0)
  183. TextButton.Size = UDim2.new(0, 6, 0, 14)
  184. TextButton.Font = Enum.Font.SourceSans
  185. TextButton.Text = ""
  186. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  187. TextButton.TextSize = 14.000
  188.  
  189. ValueLabel.Name = "ValueLabel"
  190. ValueLabel.Parent = SliderLine
  191. ValueLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  192. ValueLabel.BackgroundTransparency = 1.000
  193. ValueLabel.Size = UDim2.new(0, 170, 0, 17)
  194. ValueLabel.Font = Enum.Font.SourceSans
  195. ValueLabel.Text = tostring(name).." - 0"
  196. ValueLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  197. ValueLabel.TextSize = 14.000
  198.  
  199. local function WDACB_fake_script() -- TextButton.LocalScript
  200. local script = Instance.new('LocalScript', TextButton)
  201.  
  202. local o = false
  203.  
  204. script.Parent.MouseButton1Down:Connect(function()
  205. o = not o
  206. game:GetService('RunService').RenderStepped:connect(function()
  207. if o then
  208. local mouse = game:GetService("UserInputService"):GetMouseLocation()
  209. local percent = (mouse.X - script.Parent.Parent.AbsolutePosition.X) / (script.Parent.Parent.AbsoluteSize.X)
  210. percent = math.clamp(percent, 0, 1)
  211. percent = tonumber(string.format("%.2f", percent))
  212.  
  213. script.Parent.Position = UDim2.new(math.clamp(percent, 0, 0.99)-0.02, 0, 0, -7)
  214.  
  215. local num = min + (max - min) * percent
  216. local value = math.floor(num)
  217.  
  218. script.Parent.Parent.ValueLabel.Text = tostring(name).." - "..value;
  219. func(value)
  220. end
  221. end)
  222. end)
  223. end
  224. coroutine.wrap(WDACB_fake_script)()
  225. end
  226.  
  227.  
  228. function lib2:Button(text, func)
  229. lib2.buttons=lib2.buttons+1
  230. Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons)
  231. local Button = Instance.new("TextButton")
  232.  
  233. Button.Name = "Button"
  234. Button.Parent = Container
  235. Button.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  236. Button.BackgroundTransparency = 1.000
  237. Button.BorderColor3 = Color3.fromRGB(255, 174, 10)
  238. Button.BorderSizePixel = 2
  239. Button.Position = UDim2.new(0, 0, 0, 0)
  240. Button.Size = UDim2.new(0, 200, 0, 28)
  241. Button.Font = Enum.Font.SourceSans
  242. Button.Text = text
  243. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  244. Button.TextSize = 20.000
  245. Button.TextWrapped = true
  246. Button.MouseButton1Down:Connect(func)
  247. end
  248.  
  249. function lib2:Toggle(text, func)
  250. lib2.buttons=lib2.buttons+1
  251. Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons)
  252. local ToggleContainer = Instance.new("ImageLabel")
  253. local Toggle = Instance.new("TextButton")
  254. local Toggletext = Instance.new("TextLabel")
  255. local oof = false
  256. ToggleContainer.Name = "ToggleContainer"
  257. ToggleContainer.Parent = Container
  258. ToggleContainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  259. ToggleContainer.BackgroundTransparency = 1
  260. ToggleContainer.Position = UDim2.new(0, 0, 0, 0)
  261. ToggleContainer.Size = UDim2.new(0, 200, 0, 28)
  262. ToggleContainer.Image = "rbxgameasset://niggermenu"
  263. ToggleContainer.ImageTransparency = 1.000
  264. ToggleContainer.ScaleType = Enum.ScaleType.Crop
  265.  
  266. Toggle.Name = "Toggle"
  267. Toggle.Parent = ToggleContainer
  268. Toggle.BackgroundColor3 = lib.ToggleOff
  269. Toggle.BorderColor3 = lib.ToggleOut
  270. Toggle.BorderSizePixel = 2
  271. Toggle.Position = UDim2.new(0.859282851, 0, 0.123571128, 0)
  272. Toggle.Size = UDim2.new(0, 20, 0, 20)
  273. Toggle.Font = Enum.Font.SourceSans
  274. Toggle.Text = ""
  275. Toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  276. Toggle.TextSize = 14.000
  277.  
  278. Toggletext.Name = "Toggletext"
  279. Toggletext.Parent = ToggleContainer
  280. Toggletext.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  281. Toggletext.BackgroundTransparency = 1.000
  282. Toggletext.BorderSizePixel = 0
  283. Toggletext.Position = UDim2.new(0, 0.02, 0.052142553, 0)
  284. Toggletext.Size = UDim2.new(0, 136, 0, 24)
  285. Toggletext.Font = Enum.Font.SourceSans
  286. Toggletext.Text = text
  287. Toggletext.TextColor3 = Color3.fromRGB(255, 255, 255)
  288. Toggletext.TextSize = 20.000
  289. Toggletext.TextWrapped = true
  290. Toggle.MouseButton1Down:Connect(function()
  291. oof = not oof
  292. if oof == true then
  293. Toggle.BackgroundColor3 = lib.ToggleOn
  294. else
  295. Toggle.BackgroundColor3 = lib.ToggleOff
  296. end
  297. func(oof)
  298. end)
  299. end
  300. --[[ Scripts:
  301.  
  302. local function WDACB_fake_script() -- TextButton.LocalScript
  303. local script = Instance.new('LocalScript', TextButton)
  304.  
  305. local o = false
  306.  
  307. script.Parent.MouseButton1Down:Connect(function()
  308. o = not o
  309. end)
  310.  
  311. game:GetService('RunService').RenderStepped:connect(function()
  312. if o then
  313. local mouse = game:GetService("UserInputService"):GetMouseLocation()
  314. local percent = (mouse.X - script.Parent.Parent.AbsolutePosition.X) / (script.Parent.Parent.AbsoluteSize.X)
  315. percent = math.clamp(percent, 0, 1)
  316. percent = tonumber(string.format("%.2f", percent))
  317.  
  318. script.Parent.Position = UDim2.new(math.clamp(percent, 0, 0.99)-0.02, 0, 0, -7)
  319.  
  320. local num = 0 + (30 - 0) * percent
  321. local value = math.floor(num)
  322.  
  323. script.Parent.Parent.ValueLabel.Text = value;
  324. end
  325. end)
  326. end
  327. coroutine.wrap(WDACB_fake_script)()
  328. ]]
  329. local function AYNAIN_fake_script() -- Top.LocalScript
  330. local script = Instance.new('LocalScript', Top)
  331.  
  332. local Top = script.Parent
  333.  
  334. Top.Active = true
  335. Top.Draggable = true
  336. end
  337. coroutine.wrap(AYNAIN_fake_script)()
  338. return lib2
  339. end
  340. return lib
Advertisement
Add Comment
Please, Sign In to add comment