Advertisement
kill21_2

профиль 1qlua

May 23rd, 2025 (edited)
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.96 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local LocalPlayer = Players.LocalPlayer
  3. local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
  4.  
  5. -- Создаем основной ScreenGui
  6. local ScreenGui = Instance.new("ScreenGui")
  7. ScreenGui.Name = "ProfileGUI"
  8. ScreenGui.ResetOnSpawn = false
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10. ScreenGui.Parent = PlayerGui
  11.  
  12. -- Основной фрейм (можно двигать)
  13. local MainFrame = Instance.new("Frame")
  14. MainFrame.Name = "MainFrame"
  15. MainFrame.Size = UDim2.new(0, 500, 0, 350)
  16. MainFrame.Position = UDim2.new(0.5, -250, 0.5, -175)
  17. MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  18. MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
  19. MainFrame.BorderSizePixel = 0
  20. MainFrame.Active = true
  21. MainFrame.Draggable = true
  22. MainFrame.Selectable = true
  23. MainFrame.Parent = ScreenGui
  24.  
  25. -- Стиль для фрейма
  26. local UICorner = Instance.new("UICorner")
  27. UICorner.CornerRadius = UDim.new(0, 12)
  28. UICorner.Parent = MainFrame
  29.  
  30. local UIStroke = Instance.new("UIStroke")
  31. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  32. UIStroke.Color = Color3.fromRGB(100, 50, 150)
  33. UIStroke.LineJoinMode = Enum.LineJoinMode.Round
  34. UIStroke.Thickness = 2
  35. UIStroke.Parent = MainFrame
  36.  
  37. -- Заголовок
  38. local Header = Instance.new("Frame")
  39. Header.Name = "Header"
  40. Header.Size = UDim2.new(1, 0, 0, 40)
  41. Header.Position = UDim2.new(0, 0, 0, 0)
  42. Header.BackgroundColor3 = Color3.fromRGB(30, 20, 40)
  43. Header.BorderSizePixel = 0
  44. Header.Parent = MainFrame
  45.  
  46. local UICornerHeader = UICorner:Clone()
  47. UICornerHeader.CornerRadius = UDim.new(0, 12)
  48. UICornerHeader.Parent = Header
  49.  
  50. local Title = Instance.new("TextLabel")
  51. Title.Name = "Title"
  52. Title.Size = UDim2.new(0, 200, 1, 0)
  53. Title.Position = UDim2.new(0.5, -100, 0, 0)
  54. Title.BackgroundTransparency = 1
  55. Title.Text = "Профиль 1qlua"
  56. Title.Font = Enum.Font.GothamBold
  57. Title.TextColor3 = Color3.fromRGB(200, 180, 255)
  58. Title.TextSize = 18
  59. Title.Parent = Header
  60.  
  61. -- Кнопка закрытия
  62. local CloseButton = Instance.new("TextButton")
  63. CloseButton.Name = "CloseButton"
  64. CloseButton.Size = UDim2.new(0, 30, 0, 30)
  65. CloseButton.Position = UDim2.new(1, -35, 0.5, -15)
  66. CloseButton.BackgroundColor3 = Color3.fromRGB(50, 30, 60)
  67. CloseButton.BorderSizePixel = 0
  68. CloseButton.Text = "X"
  69. CloseButton.Font = Enum.Font.GothamBold
  70. CloseButton.TextColor3 = Color3.fromRGB(200, 180, 255)
  71. CloseButton.TextSize = 16
  72. CloseButton.Parent = Header
  73.  
  74. local UICornerClose = UICorner:Clone()
  75. UICornerClose.Parent = CloseButton
  76.  
  77. CloseButton.MouseButton1Click:Connect(function()
  78. ScreenGui:Destroy()
  79. end)
  80.  
  81. -- Левая панель (кнопка переключения)
  82. local LeftPanel = Instance.new("Frame")
  83. LeftPanel.Name = "LeftPanel"
  84. LeftPanel.Size = UDim2.new(0, 60, 0, 270)
  85. LeftPanel.Position = UDim2.new(0, 10, 0, 50)
  86. LeftPanel.BackgroundTransparency = 1
  87. LeftPanel.Parent = MainFrame
  88.  
  89. local SwitchButton = Instance.new("TextButton")
  90. SwitchButton.Name = "SwitchButton"
  91. SwitchButton.Size = UDim2.new(1, 0, 0, 40)
  92. SwitchButton.Position = UDim2.new(0, 0, 0, 0)
  93. SwitchButton.BackgroundColor3 = Color3.fromRGB(50, 30, 70)
  94. SwitchButton.BorderSizePixel = 0
  95. SwitchButton.Text = ">>"
  96. SwitchButton.Font = Enum.Font.GothamBold
  97. SwitchButton.TextColor3 = Color3.fromRGB(200, 180, 255)
  98. SwitchButton.TextSize = 16
  99. SwitchButton.Parent = LeftPanel
  100.  
  101. local UICornerSwitch = UICorner:Clone()
  102. UICornerSwitch.Parent = SwitchButton
  103.  
  104. -- Правая панель (аватар и ник) print
  105. local RightPanel = Instance.new("Frame")
  106. RightPanel.Name = "RightPanel"
  107. RightPanel.Size = UDim2.new(0, 150, 0, 270)
  108. RightPanel.Position = UDim2.new(1, -160, 0, 50)
  109. RightPanel.BackgroundTransparency = 1
  110. RightPanel.Parent = MainFrame
  111.  
  112. -- Кнопка для показа ника
  113. local ShowNickButton = Instance.new("TextButton")
  114. ShowNickButton.Name = "ShowNickButton"
  115. ShowNickButton.Size = UDim2.new(1, 0, 0, 40)
  116. ShowNickButton.Position = UDim2.new(0, 0, 0, 0)
  117. ShowNickButton.BackgroundColor3 = Color3.fromRGB(50, 30, 70)
  118. ShowNickButton.BorderSizePixel = 0
  119. ShowNickButton.Text = "Показать ник"
  120. ShowNickButton.Font = Enum.Font.GothamMedium
  121. ShowNickButton.TextColor3 = Color3.fromRGB(200, 180, 255)
  122. ShowNickButton.TextSize = 14
  123. ShowNickButton.Parent = RightPanel
  124.  
  125. local UICornerNick = UICorner:Clone()
  126. UICornerNick.Parent = ShowNickButton
  127.  
  128. -- Аватарка
  129. local AvatarFrame = Instance.new("Frame")
  130. AvatarFrame.Name = "AvatarFrame"
  131. AvatarFrame.Size = UDim2.new(0, 120, 0, 120)
  132. AvatarFrame.Position = UDim2.new(0.5, -60, 0.5, -60)
  133. AvatarFrame.BackgroundColor3 = Color3.fromRGB(40, 30, 50)
  134. AvatarFrame.BorderSizePixel = 0
  135. AvatarFrame.Parent = RightPanel
  136.  
  137. local UICornerAvatar = UICorner:Clone()
  138. UICornerAvatar.Parent = AvatarFrame
  139.  
  140. local AvatarImage = Instance.new("ImageLabel")
  141. AvatarImage.Name = "AvatarImage"
  142. AvatarImage.Size = UDim2.new(1, -10, 1, -10)
  143. AvatarImage.Position = UDim2.new(0, 5, 0, 5)
  144. AvatarImage.BackgroundTransparency = 1
  145. AvatarImage.Image = "rbxthumb://type=AvatarHeadShot&id=" .. LocalPlayer.UserId .. "&w=420&h=420"
  146. AvatarImage.Parent = AvatarFrame
  147.  
  148. local ChangeAvatarButton = Instance.new("TextButton")
  149. ChangeAvatarButton.Name = "ChangeAvatarButton"
  150. ChangeAvatarButton.Size = UDim2.new(1, 0, 0, 30)
  151. ChangeAvatarButton.Position = UDim2.new(0, 0, 1, 10)
  152. ChangeAvatarButton.BackgroundColor3 = Color3.fromRGB(70, 40, 90)
  153. ChangeAvatarButton.BorderSizePixel = 0
  154. ChangeAvatarButton.Text = "Создать свой профиль"
  155. ChangeAvatarButton.Font = Enum.Font.GothamMedium
  156. ChangeAvatarButton.TextColor3 = Color3.fromRGB(200, 180, 255)
  157. ChangeAvatarButton.TextSize = 12
  158. ChangeAvatarButton.Parent = RightPanel
  159.  
  160. local UICornerChange = UICorner:Clone()
  161. UICornerChange.Parent = ChangeAvatarButton
  162.  
  163. -- Ник (скрыт по умолчанию)
  164. local NickLabel = Instance.new("TextLabel")
  165. NickLabel.Name = "NickLabel"
  166. NickLabel.Size = UDim2.new(1, 0, 0, 30)
  167. NickLabel.Position = UDim2.new(0, 0, 0, 50)
  168. NickLabel.BackgroundTransparency = 1
  169. NickLabel.Text = "@1qlua"
  170. NickLabel.Font = Enum.Font.GothamBold
  171. NickLabel.TextColor3 = Color3.fromRGB(180, 120, 255)
  172. NickLabel.TextSize = 16
  173. NickLabel.Visible = false
  174. NickLabel.Parent = RightPanel
  175.  
  176. -- Центральная панель (описание профиля)
  177. local CenterPanel = Instance.new("Frame")
  178. CenterPanel.Name = "CenterPanel"
  179. CenterPanel.Size = UDim2.new(0, 250, 0, 270)
  180. CenterPanel.Position = UDim2.new(0, 80, 0, 50)
  181. CenterPanel.BackgroundTransparency = 1
  182. CenterPanel.Parent = MainFrame
  183.  
  184. local DescriptionLabel = Instance.new("TextLabel")
  185. DescriptionLabel.Name = "DescriptionLabel"
  186. DescriptionLabel.Size = UDim2.new(1, -20, 1, -20)
  187. DescriptionLabel.Position = UDim2.new(0, 10, 0, 10)
  188. DescriptionLabel.BackgroundColor3 = Color3.fromRGB(30, 25, 40)
  189. DescriptionLabel.BorderSizePixel = 0
  190. DescriptionLabel.Text = "Добро пожаловать в профиль 1Qlua\n\nХорошый скрипты только у него\n\nБолее 200к скачивания у скриптов\n\nВсем спасибо кто пользуеться мойм скриптом❤️"
  191. DescriptionLabel.Font = Enum.Font.Gotham
  192. DescriptionLabel.TextColor3 = Color3.fromRGB(200, 180, 255)
  193. DescriptionLabel.TextSize = 14
  194. DescriptionLabel.TextWrapped = true
  195. DescriptionLabel.TextXAlignment = Enum.TextXAlignment.Left
  196. DescriptionLabel.TextYAlignment = Enum.TextYAlignment.Top
  197. DescriptionLabel.Parent = CenterPanel
  198.  
  199. local UICornerDesc = UICorner:Clone()
  200. UICornerDesc.Parent = DescriptionLabel
  201.  
  202. -- Второй слайд (скрыт по умолчанию)
  203. local SecondSlide = Instance.new("Frame")
  204. SecondSlide.Name = "SecondSlide"
  205. SecondSlide.Size = UDim2.new(1, -20, 1, -60)
  206. SecondSlide.Position = UDim2.new(0, 10, 0, 50)
  207. SecondSlide.BackgroundTransparency = 1
  208. SecondSlide.Visible = false
  209. SecondSlide.Parent = MainFrame
  210.  
  211. local ButtonsScroll = Instance.new("ScrollingFrame")
  212. ButtonsScroll.Name = "ButtonsScroll"
  213. ButtonsScroll.Size = UDim2.new(1, 0, 1, 0)
  214. ButtonsScroll.Position = UDim2.new(0, 0, 0, 0)
  215. ButtonsScroll.BackgroundTransparency = 1
  216. ButtonsScroll.BorderSizePixel = 0
  217. ButtonsScroll.ScrollBarThickness = 5
  218. ButtonsScroll.ScrollBarImageColor3 = Color3.fromRGB(100, 50, 150)
  219. ButtonsScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  220. ButtonsScroll.Parent = SecondSlide
  221.  
  222. local ButtonsLayout = Instance.new("UIListLayout")
  223. ButtonsLayout.Name = "ButtonsLayout"
  224. ButtonsLayout.Padding = UDim.new(0, 10)
  225. ButtonsLayout.FillDirection = Enum.FillDirection.Vertical
  226. ButtonsLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  227. ButtonsLayout.SortOrder = Enum.SortOrder.LayoutOrder
  228. ButtonsLayout.Parent = ButtonsScroll
  229.  
  230. -- Создаем несколько кнопок с описанием
  231. local buttonTemplates = {
  232. {
  233. Name = "Button1",
  234. Text = "Слаб батлс БЕТА 1",
  235. Description = "открывает скрипт",
  236. Script = function()
  237. loadstring(game:HttpGet("https://pastebin.com/raw/MsmSGyuR"))()
  238. end
  239. },
  240. {
  241. Name = "Button2",
  242. Text = "Основной скрипт",
  243. Description = "хорошый скрипт",
  244. Script = function()
  245. loadstring(game:HttpGet("https://pastebin.com/raw/EdUyxN7Z"))()
  246. end
  247. },
  248. {
  249. Name = "Button3",
  250. Text = "БЕЗ КЛУЧ ДОСТУПА",
  251. Description = "основной скрипт",
  252. Script = function()
  253. loadstring(game:HttpGet("https://pastebin.com/raw/ge7u6LST"))()
  254. end
  255. },
  256. {
  257. Name = "Button4",
  258. Text = "нечего",
  259. Description = "нечего",
  260. Script = function()
  261. print("Эта кнопка может быть скрыта!")
  262. end,
  263. CanHide = true
  264. }
  265. }
  266.  
  267. local buttons = {}
  268.  
  269. for i, template in ipairs(buttonTemplates) do
  270. local ButtonFrame = Instance.new("Frame")
  271. ButtonFrame.Name = template.Name .. "Frame"
  272. ButtonFrame.Size = UDim2.new(1, -20, 0, 80)
  273. ButtonFrame.BackgroundTransparency = 1
  274. ButtonFrame.LayoutOrder = i
  275. ButtonFrame.Parent = ButtonsScroll
  276.  
  277. local Button = Instance.new("TextButton")
  278. Button.Name = template.Name
  279. Button.Size = UDim2.new(1, 0, 0, 40)
  280. Button.Position = UDim2.new(0, 0, 0, 0)
  281. Button.BackgroundColor3 = Color3.fromRGB(60, 35, 85)
  282. Button.BorderSizePixel = 0
  283. Button.Text = template.Text
  284. Button.Font = Enum.Font.GothamMedium
  285. Button.TextColor3 = Color3.fromRGB(200, 180, 255)
  286. Button.TextSize = 14
  287. Button.Parent = ButtonFrame
  288.  
  289. local UICornerButton = UICorner:Clone()
  290. UICornerButton.Parent = Button
  291.  
  292. local DescLabel = Instance.new("TextLabel")
  293. DescLabel.Name = template.Name .. "Desc"
  294. DescLabel.Size = UDim2.new(1, 0, 0, 30)
  295. DescLabel.Position = UDim2.new(0, 0, 0, 45)
  296. DescLabel.BackgroundTransparency = 1
  297. DescLabel.Text = template.Description
  298. DescLabel.Font = Enum.Font.Gotham
  299. DescLabel.TextColor3 = Color3.fromRGB(180, 160, 220)
  300. DescLabel.TextSize = 12
  301. DescLabel.TextWrapped = true
  302. DescLabel.TextXAlignment = Enum.TextXAlignment.Left
  303. DescLabel.Parent = ButtonFrame
  304.  
  305. -- Сохраняем кнопку для возможного скрытия
  306. buttons[template.Name] = {
  307. Frame = ButtonFrame,
  308. Button = Button,
  309. CanHide = template.CanHide or false
  310. }
  311.  
  312. -- Назначаем скрипт
  313. Button.MouseButton1Click:Connect(function()
  314. template.Script()
  315. end)
  316. end
  317.  
  318. -- Обновляем размер CanvasSize для ScrollingFrame
  319. ButtonsLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
  320. ButtonsScroll.CanvasSize = UDim2.new(0, 0, 0, ButtonsLayout.AbsoluteContentSize.Y + 20)
  321. end)
  322.  
  323. -- Функции для кнопок
  324. ShowNickButton.MouseButton1Click:Connect(function()
  325. NickLabel.Visible = not NickLabel.Visible
  326. ShowNickButton.Text = NickLabel.Visible and "Скрыть ник" or "Показать ник"
  327. end)
  328.  
  329. ChangeAvatarButton.MouseButton1Click:Connect(function()
  330. -- LocalScript (должен быть в StarterPlayerScripts или подобном месте)
  331. local link = "https://discord.gg/Z9EuZUY67g"
  332.  
  333. -- Проверка платформы (копирование работает только на ПК)
  334. if not (game:GetService("UserInputService"):GetPlatform() == Enum.Platform.Windows) then
  335. warn("Скрипт работает только на ПК (Windows)")
  336. return
  337. end
  338.  
  339. -- Функция для копирования текста в буфер обмена
  340. local function copyToClipboard(text)
  341. local success, errorMsg = pcall(function()
  342. -- Попытка использовать setclipboard() (если доступно)
  343. if setclipboard then
  344. setclipboard(text)
  345. print("Ссылка скопирована (через setclipboard): " .. text)
  346. return
  347. end
  348.  
  349. -- Попытка через TextService (актуально для новых версий Roblox)
  350. local textService = game:GetService("TextService")
  351. if textService.SetClipboard then
  352. textService:SetClipboard(text)
  353. print("Ссылка скопирована (через TextService): " .. text)
  354. return
  355. end
  356.  
  357. warn("Не удалось скопировать: нет доступа к буферу обмена")
  358. end)
  359.  
  360. if not success then
  361. warn("Ошибка при копировании: " .. tostring(errorMsg))
  362. end
  363. end
  364.  
  365. -- Копируем ссылку при запуске
  366. copyToClipboard(link)
  367.  
  368. -- Уведомление для игрока
  369. game:GetService("StarterGui"):SetCore("SendNotification", {
  370. Title = "Ссылка скопирована",
  371. Text = "Ссылка " .. link .. " скопирована в буфер обмена",
  372. Duration = 5
  373. })
  374. end)
  375.  
  376. local isSecondSlideVisible = false
  377. SwitchButton.MouseButton1Click:Connect(function()
  378. isSecondSlideVisible = not isSecondSlideVisible
  379. CenterPanel.Visible = not isSecondSlideVisible
  380. RightPanel.Visible = not isSecondSlideVisible
  381. SecondSlide.Visible = isSecondSlideVisible
  382. SwitchButton.Text = isSecondSlideVisible and "<<" or ">>"
  383.  
  384. -- Пример скрытия кнопок (можно вызывать из скриптов кнопок)
  385. if isSecondSlideVisible then
  386. -- Показываем все кнопки при открытии
  387. for name, buttonData in pairs(buttons) do
  388. buttonData.Frame.Visible = true
  389. end
  390. end
  391. end)
  392.  
  393. -- Пример функции для скрытия кнопок (можно вызывать из других скриптов)
  394. function ToggleButtonVisibility(buttonName)
  395. if buttons[buttonName] and buttons[buttonName].CanHide then
  396. buttons[buttonName].Frame.Visible = not buttons[buttonName].Frame.Visible
  397. end
  398. end
  399.  
  400. -- Пример использования:
  401. -- ToggleButtonVisibility("Button4") -- Скрыть/показать кнопку 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement