ScriptyPastes

Test

Jul 1st, 2020
526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.97 KB | None | 0 0
  1. --ui v4
  2.  
  3. local lib = {
  4. ToggleOn = Color3.fromRGB(80, 255, 80),
  5. ToggleOff = Color3.fromRGB(255, 80, 80),
  6. ToggleOut = Color3.fromRGB(0, 0, 0),
  7. ToggleOutPixel = 1,
  8. BackColor = Color3.fromRGB(53, 53, 53),
  9. TopColor = Color3.fromRGB(43, 43, 43),
  10. LineColor = Color3.fromRGB(145, 45, 150),
  11. SliderColor1 = Color3.fromRGB(255, 255, 255),
  12. SliderColor2 = Color3.fromRGB(100, 100, 100)
  13. }
  14.  
  15. local niggermenu = Instance.new("ScreenGui")
  16. if syn_checkcaller then
  17. syn.protect_gui(niggermenu)
  18. end
  19. niggermenu.Parent = game.CoreGui
  20. local count = 0
  21.  
  22. function lib:Frame(Name)
  23. count=count+1
  24. local Top = Instance.new("ImageLabel")
  25. local Container = Instance.new("ImageLabel")
  26. local Line = Instance.new("Frame")
  27. --[[local TestSlider = Instance.new("Frame")
  28. local SliderLine = Instance.new("Frame")
  29. local TextButton = Instance.new("TextButton")
  30. local ValueLabel = Instance.new("TextLabel")
  31. local ToggleContainer = Instance.new("ImageLabel")
  32. local Toggle = Instance.new("TextButton")
  33. local Toggletext = Instance.new("TextLabel")
  34. local Toggle_2 = Instance.new("TextButton")
  35. local Button = Instance.new("TextButton")]]
  36. local TextLabel = Instance.new("TextLabel")
  37.  
  38. --Properties:
  39.  
  40. Top.Name = "Top"
  41. Top.Parent = niggermenu
  42. Top.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
  43. Top.BorderColor3 = Color3.fromRGB(200, 80, 32)
  44. Top.BorderSizePixel = 0
  45. Top.BackgroundTransparency = 1.000
  46. Top.Image = "rbxassetid://3570695787"
  47. Top.ImageColor3 = Color3.fromRGB(47, 47, 47)
  48. Top.ScaleType = Enum.ScaleType.Slice
  49. Top.SliceCenter = Rect.new(100, 100, 100, 100)
  50. Top.SliceScale = 0.065
  51. Top.Position = UDim2.new(0.04 + (count*.13), 0, 0.0679886714, 0)
  52. Top.Size = UDim2.new(0, 200, 0, 35)
  53.  
  54. Line.Name = "Line"
  55. Line.Parent = Top
  56. if lib.LineColor == "Rainbow" then
  57. spawn(function()
  58. while wait(0.01) do
  59. Line.BackgroundColor3 = Color3.fromHSV(tick()%5/5,1,1)
  60. end
  61. end)
  62. else
  63. Line.BackgroundColor3 = lib.LineColor
  64. end
  65. Line.BorderSizePixel = 0
  66. Line.Position = UDim2.new(0, 0, 0, 25)
  67. Line.Size = UDim2.new(0, 200, 0, 2)
  68. Line.ZIndex = 3
  69.  
  70. Container.Name = "Frame"
  71. Container.Parent = Top
  72. Container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  73. Container.BackgroundTransparency = 1.000
  74. Container.BorderSizePixel = 0
  75. Container.Position = UDim2.new(0, 0, .8, 0)
  76. Container.Size = UDim2.new(0, 200, 0, 28)
  77. Container.Image = "rbxassetid://3570695787"
  78. Container.ImageColor3 = Color3.fromRGB(47, 47, 47)
  79. Container.ScaleType = Enum.ScaleType.Slice
  80. Container.SliceCenter = Rect.new(100, 100, 100, 100)
  81. Container.SliceScale = 0.065
  82. local UIListLayout = Instance.new("UIListLayout")
  83.  
  84. UIListLayout.Parent = Container
  85. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  86.  
  87. --[[TestSlider.Name = "TestSlider"
  88. TestSlider.Parent = Container
  89. TestSlider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  90. TestSlider.BackgroundTransparency = 0.900
  91. TestSlider.Size = UDim2.new(0, 200, 0, 28)
  92.  
  93. SliderLine.Name = "SliderLine"
  94. SliderLine.Parent = TestSlider
  95. SliderLine.BackgroundColor3 = Color3.fromRGB(229, 125, 39)
  96. SliderLine.BorderSizePixel = 0
  97. SliderLine.Position = UDim2.new(0.0352941193, 0, 0.357142866, 0)
  98. SliderLine.Size = UDim2.new(0, 157, 0, 2)
  99.  
  100. TextButton.Parent = SliderLine
  101. TextButton.BackgroundColor3 = Color3.fromRGB(255, 66, 28)
  102. TextButton.BorderSizePixel = 0
  103. TextButton.Position = UDim2.new(0, 0, -3, 0)
  104. TextButton.Size = UDim2.new(0, 6, 0, 14)
  105. TextButton.Font = Enum.Font.SourceSans
  106. TextButton.Text = ""
  107. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  108. TextButton.TextSize = 14.000
  109.  
  110. ValueLabel.Name = "ValueLabel"
  111. ValueLabel.Parent = SliderLine
  112. ValueLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  113. ValueLabel.BackgroundTransparency = 1.000
  114. ValueLabel.Size = UDim2.new(0, 156, 0, 17)
  115. ValueLabel.Font = Enum.Font.SourceSans
  116. ValueLabel.Text = "0"
  117. ValueLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  118. ValueLabel.TextSize = 14.000
  119.  
  120. ToggleContainer.Name = "ToggleContainer"
  121. ToggleContainer.Parent = Container
  122. ToggleContainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  123. ToggleContainer.BackgroundTransparency = 0.900
  124. ToggleContainer.Position = UDim2.new(0, 0, 0.124705881, 0)
  125. ToggleContainer.Size = UDim2.new(0, 200, 0, 28)
  126. ToggleContainer.Image = "rbxgameasset://Images/Rectangle 1"
  127. ToggleContainer.ImageTransparency = 1.000
  128. ToggleContainer.ScaleType = Enum.ScaleType.Crop
  129.  
  130. Toggle.Name = "Toggle"
  131. Toggle.Parent = ToggleContainer
  132. Toggle.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  133. Toggle.BorderColor3 = Color3.fromRGB(255, 174, 10)
  134. Toggle.BorderSizePixel = 2
  135. Toggle.Position = UDim2.new(0.859282851, 0, 0.123571128, 0)
  136. Toggle.Size = UDim2.new(0, 20, 0, 20)
  137. Toggle.Font = Enum.Font.SourceSans
  138. Toggle.Text = ""
  139. Toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  140. Toggle.TextSize = 14.000
  141.  
  142. Toggletext.Name = "Toggletext"
  143. Toggletext.Parent = ToggleContainer
  144. Toggletext.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  145. Toggletext.BackgroundTransparency = 1.000
  146. Toggletext.BorderSizePixel = 0
  147. Toggletext.Position = UDim2.new(0, 0, 0.052142553, 0)
  148. Toggletext.Size = UDim2.new(0, 136, 0, 24)
  149. Toggletext.Font = Enum.Font.SourceSans
  150. Toggletext.Text = "n i g g e r z"
  151. Toggletext.TextColor3 = Color3.fromRGB(255, 255, 255)
  152. Toggletext.TextSize = 20.000
  153. Toggletext.TextWrapped = true
  154.  
  155. Toggle_2.Name = "Toggle"
  156. Toggle_2.Parent = ToggleContainer
  157. Toggle_2.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  158. Toggle_2.BorderColor3 = Color3.fromRGB(255, 174, 10)
  159. Toggle_2.BorderSizePixel = 2
  160. Toggle_2.Position = UDim2.new(0.888438165, 0, 3.25928569, 0)
  161. Toggle_2.Size = UDim2.new(0, 20, 0, 20)
  162. Toggle_2.ZIndex = -3
  163. Toggle_2.Font = Enum.Font.SourceSans
  164. Toggle_2.Text = ""
  165. Toggle_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  166. Toggle_2.TextSize = 14.000
  167.  
  168.  
  169. ]]
  170. TextLabel.Parent = Top
  171. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  172. TextLabel.BackgroundTransparency = 1.000
  173. TextLabel.Size = UDim2.new(0, 200, 0, 30)
  174. TextLabel.ZIndex = 3
  175. TextLabel.Font = Enum.Font.SourceSans
  176. TextLabel.Text = Name
  177. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  178. TextLabel.TextSize = 20.000
  179. local lib2 = {buttons = 0}
  180.  
  181. function lib2:Textbox(text, func)
  182.  
  183. lib2.buttons=lib2.buttons+1
  184. print(lib2.buttons)
  185. if lib2.buttons == 1 then
  186. Container.Size = UDim2.new(0, 200, 0, 28*2)
  187. else
  188. Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons)
  189. end
  190. local lel = Instance.new("TextBox")
  191.  
  192. lel.Name = "lel"
  193. lel.Parent = Container
  194. lel.BackgroundColor3 = Color3.fromRGB(50,50,50)
  195. lel.BackgroundTransparency = 0
  196. lel.Size = UDim2.new(0, 200, 0, 20)
  197. lel.Font = Enum.Font.SourceSans
  198. lel.PlaceholderText = text
  199. lel.Text = text
  200. lel.BorderSizePixel = 0
  201. lel.TextColor3 = Color3.fromRGB(255, 255, 255)
  202. lel.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  203. lel.TextSize = 25
  204. lel.TextScaled = true
  205. lel.FocusLost:Connect(function(enterPressed, inputThatCausedFocusLost)
  206. if enterPressed then
  207. func(lel.Text)
  208. end
  209. lel.Text = ""
  210. end)
  211. end
  212.  
  213. function lib2:Dropdown(text, tbl, func)
  214. lib2.buttons=lib2.buttons+1
  215. if lib2.buttons == 1 then Container.Size = UDim2.new(0, 200, 0, 28*2) else Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons) end
  216. local Button = Instance.new("TextButton")
  217. local ddFrame = Instance.new("Frame", Button)
  218. local ddBcount = 0
  219.  
  220. ddFrame.ClipsDescendants = true
  221. ddFrame.ZIndex = 5
  222. ddFrame.Size = UDim2.new(0,200,0,20)
  223. ddFrame.BackgroundColor3 = Color3.fromRGB(60,60,60)
  224. ddFrame.Visible = false
  225. ddFrame.Position = UDim2.new(0,0,1,0)
  226. ddFrame.BorderSizePixel = 0
  227. local UIListLayout = Instance.new("UIListLayout")
  228.  
  229. UIListLayout.Parent = ddFrame
  230. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  231.  
  232. Button.Name = "Button"
  233. Button.Parent = Container
  234. Button.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  235. Button.BackgroundTransparency = 1.000
  236. Button.BorderColor3 = Color3.fromRGB(255, 174, 10)
  237. Button.BorderSizePixel = 2
  238. Button.Position = UDim2.new(0, 0, 0, 0)
  239. Button.Size = UDim2.new(0, 200, 0, 28)
  240. Button.Font = Enum.Font.SourceSans
  241. Button.Text = text
  242. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  243. Button.TextSize = 20.000
  244. Button.TextWrapped = true
  245. Button.MouseButton1Down:Connect(function()
  246. ddFrame.Size = UDim2.new(0,200,0,20)
  247. ddFrame.Visible = true
  248. ddFrame:TweenSize(UDim2.new(0,200,0,20*ddBcount), Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.3, true)
  249. end)
  250.  
  251. for i,v in next, tbl do
  252. ddBcount = i
  253. ddFrame.Size = UDim2.new(0,200,0,20*ddBcount)
  254. local Button1 = Instance.new("TextButton")
  255.  
  256. Button1.Name = "1111"
  257. Button1.ZIndex = 6
  258. Button1.Visible = true
  259. Button1.Parent = ddFrame
  260. Button1.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  261. Button1.BackgroundTransparency = 1.000
  262. Button1.BorderColor3 = Color3.fromRGB(255, 174, 10)
  263. Button1.BorderSizePixel = 2
  264. Button1.Position = UDim2.new(0, 0, 0, 0)
  265. Button1.Size = UDim2.new(0, 200, 0, 20)
  266. Button1.Font = Enum.Font.SourceSans
  267. Button1.Text = v
  268. Button1.TextColor3 = Color3.fromRGB(255, 255, 255)
  269. Button1.TextSize = 20.000
  270. Button1.TextWrapped = true
  271. Button1.MouseButton1Down:Connect(function()
  272. ddFrame:TweenSize(UDim2.new(0,200,0,20), Enum.EasingDirection.In,Enum.EasingStyle.Quad,.3, true)
  273. wait(.3)
  274. ddFrame.Visible = false
  275. func(v)
  276. end)
  277. end
  278. end
  279. function lib2:Label(text)
  280.  
  281. lib2.buttons=lib2.buttons+1
  282. print(lib2.buttons)
  283. if lib2.buttons == 1 then
  284. Container.Size = UDim2.new(0, 200, 0, 28*2)
  285. else
  286. Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons)
  287. end
  288. local lel = Instance.new("TextLabel")
  289.  
  290. lel.Name = "lel"
  291. lel.Parent = Container
  292. lel.BackgroundColor3 = Color3.fromRGB(0,0,0)
  293. lel.BackgroundTransparency = 0.9
  294. lel.Size = UDim2.new(0, 200, 0, 20)
  295. lel.Font = Enum.Font.SourceSans
  296. lel.Text = text
  297. lel.TextColor3 = Color3.fromRGB(255, 255, 255)
  298. lel.TextSize = 25
  299. lel.TextScaled = true
  300. end
  301. function lib2:Slider(name, min, max, func)
  302. lib2.buttons=lib2.buttons+1
  303. if lib2.buttons == 1 then Container.Size = UDim2.new(0, 200, 0, 28*2) else Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons) end
  304. local TestSlider = Instance.new("Frame")
  305. local SliderLine = Instance.new("Frame")
  306. local TextButton = Instance.new("TextButton")
  307. local ValueLabel = Instance.new("TextLabel")
  308.  
  309. TestSlider.Name = "TestSlider"
  310. TestSlider.Parent = Container
  311. TestSlider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  312. TestSlider.BackgroundTransparency = 1
  313. TestSlider.Size = UDim2.new(0, 200, 0, 28)
  314.  
  315. SliderLine.Name = "SliderLine"
  316. SliderLine.Parent = TestSlider
  317. SliderLine.BackgroundColor3 = lib.SliderColor1
  318. SliderLine.BorderSizePixel = 0
  319. SliderLine.Position = UDim2.new(0.0352941193, 0, 0.357142866, 0)
  320. SliderLine.Size = UDim2.new(0, 170, 0, 2)
  321.  
  322. TextButton.Parent = SliderLine
  323. TextButton.BackgroundColor3 = lib.SliderColor2
  324. TextButton.BorderSizePixel = 0
  325. TextButton.Position = UDim2.new(0, 0, -3, 0)
  326. TextButton.Size = UDim2.new(0, 6, 0, 14)
  327. TextButton.Font = Enum.Font.SourceSans
  328. TextButton.Text = ""
  329. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  330. TextButton.TextSize = 14.000
  331.  
  332. ValueLabel.Name = "ValueLabel"
  333. ValueLabel.Parent = SliderLine
  334. ValueLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  335. ValueLabel.BackgroundTransparency = 1.000
  336. ValueLabel.Size = UDim2.new(0, 170, 0, 17)
  337. ValueLabel.Font = Enum.Font.SourceSans
  338. ValueLabel.Text = tostring(name).." - "..tostring(min)
  339. ValueLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  340. ValueLabel.TextSize = 14.000
  341.  
  342. local function WDACB_fake_script() -- TextButton.LocalScript
  343. local script = Instance.new('LocalScript', TextButton)
  344.  
  345. local o = false
  346.  
  347. script.Parent.MouseButton1Down:Connect(function()
  348. o = not o
  349. game:GetService('RunService').RenderStepped:connect(function()
  350. if o then
  351. local mouse = game:GetService("UserInputService"):GetMouseLocation()
  352. local percent = (mouse.X - script.Parent.Parent.AbsolutePosition.X) / (script.Parent.Parent.AbsoluteSize.X)
  353. percent = math.clamp(percent, 0, 1)
  354. percent = tonumber(string.format("%.2f", percent))
  355.  
  356. script.Parent.Position = UDim2.new(math.clamp(percent, 0, 0.99)-0.02, 0, 0, -7)
  357.  
  358. local num = min + (max - min) * percent
  359. local value = math.floor(num)
  360.  
  361. script.Parent.Parent.ValueLabel.Text = tostring(name).." - "..value;
  362. func(value)
  363. end
  364. end)
  365. end)
  366. end
  367. coroutine.wrap(WDACB_fake_script)()
  368. end
  369.  
  370.  
  371. function lib2:Button(text, func)
  372. lib2.buttons=lib2.buttons+1
  373. if lib2.buttons == 1 then Container.Size = UDim2.new(0, 200, 0, 28*2) else Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons) end
  374. local Button = Instance.new("TextButton")
  375.  
  376. Button.Name = "Button"
  377. Button.Parent = Container
  378. Button.BackgroundColor3 = Color3.fromRGB(81, 81, 81)
  379. Button.BackgroundTransparency = 1.000
  380. Button.BorderColor3 = Color3.fromRGB(255, 174, 10)
  381. Button.BorderSizePixel = 2
  382. Button.Position = UDim2.new(0, 0, 0, 0)
  383. Button.Size = UDim2.new(0, 200, 0, 28)
  384. Button.Font = Enum.Font.SourceSans
  385. Button.Text = text
  386. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  387. Button.TextSize = 20.000
  388. Button.TextWrapped = true
  389. Button.MouseButton1Down:Connect(func)
  390. end
  391.  
  392. function lib2:Toggle(text, func)
  393. lib2.buttons=lib2.buttons+1
  394. if lib2.buttons == 1 then Container.Size = UDim2.new(0, 200, 0, 28*2) else Container.Size = UDim2.new(0, 200, 0, 28*lib2.buttons) end
  395. local ToggleContainer = Instance.new("ImageLabel")
  396. local Toggle = Instance.new("TextButton")
  397. local Toggletext = Instance.new("TextLabel")
  398. local oof = false
  399. ToggleContainer.Name = "ToggleContainer"
  400. ToggleContainer.Parent = Container
  401. ToggleContainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  402. ToggleContainer.BackgroundTransparency = 1
  403. ToggleContainer.Position = UDim2.new(0, 0, 0, 0)
  404. ToggleContainer.Size = UDim2.new(0, 200, 0, 28)
  405. ToggleContainer.Image = "rbxgameasset://niggermenu"
  406. ToggleContainer.ImageTransparency = 1.000
  407. ToggleContainer.ScaleType = Enum.ScaleType.Crop
  408.  
  409. Toggle.Name = "Toggle"
  410. Toggle.Parent = ToggleContainer
  411. Toggle.BackgroundColor3 = lib.ToggleOff
  412. Toggle.BorderColor3 = lib.ToggleOut
  413. Toggle.BorderSizePixel = lib.ToggleOutPixel
  414. Toggle.Position = UDim2.new(0.859282851, 0, 0.123571128, 0)
  415. Toggle.Size = UDim2.new(0, 20, 0, 20)
  416. Toggle.Font = Enum.Font.SourceSans
  417. Toggle.Text = ""
  418. Toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  419. Toggle.TextSize = 14.000
  420.  
  421. Toggletext.Name = "Toggletext"
  422. Toggletext.Parent = ToggleContainer
  423. Toggletext.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  424. Toggletext.BackgroundTransparency = 1.000
  425. Toggletext.BorderSizePixel = 0
  426. Toggletext.Position = UDim2.new(0, 0.02, 0.052142553, 0)
  427. Toggletext.Size = UDim2.new(0, 136, 0, 24)
  428. Toggletext.Font = Enum.Font.SourceSans
  429. Toggletext.Text = text
  430. Toggletext.TextColor3 = Color3.fromRGB(255, 255, 255)
  431. Toggletext.TextSize = 20.000
  432. Toggletext.TextWrapped = true
  433. Toggle.MouseButton1Down:Connect(function()
  434. oof = not oof
  435. if oof == true then
  436. Toggle.BackgroundColor3 = lib.ToggleOn
  437. else
  438. Toggle.BackgroundColor3 = lib.ToggleOff
  439. end
  440. func(oof)
  441. end)
  442. end
  443. --[[ Scripts:
  444.  
  445. local function WDACB_fake_script() -- TextButton.LocalScript
  446. local script = Instance.new('LocalScript', TextButton)
  447.  
  448. local o = false
  449.  
  450. script.Parent.MouseButton1Down:Connect(function()
  451. o = not o
  452. end)
  453.  
  454. game:GetService('RunService').RenderStepped:connect(function()
  455. if o then
  456. local mouse = game:GetService("UserInputService"):GetMouseLocation()
  457. local percent = (mouse.X - script.Parent.Parent.AbsolutePosition.X) / (script.Parent.Parent.AbsoluteSize.X)
  458. percent = math.clamp(percent, 0, 1)
  459. percent = tonumber(string.format("%.2f", percent))
  460.  
  461. script.Parent.Position = UDim2.new(math.clamp(percent, 0, 0.99)-0.02, 0, 0, -7)
  462.  
  463. local num = 0 + (30 - 0) * percent
  464. local value = math.floor(num)
  465.  
  466. script.Parent.Parent.ValueLabel.Text = value;
  467. end
  468. end)
  469. end
  470. coroutine.wrap(WDACB_fake_script)()
  471. ]]
  472. local function AYNAIN_fake_script() -- Top.LocalScript
  473. local script = Instance.new('LocalScript', Top)
  474.  
  475. local Top = script.Parent
  476.  
  477. Top.Active = true
  478. Top.Draggable = true
  479. end
  480. coroutine.wrap(AYNAIN_fake_script)()
  481. return lib2
  482. end
  483. return lib
Advertisement
Add Comment
Please, Sign In to add comment