kill21_2

первоначальное приведствие

May 25th, 2025
20,654
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.65 KB | None | 0 0
  1.  
  2. local Players = game:GetService("Players")
  3. local TweenService = game:GetService("TweenService")
  4. local UserInputService = game:GetService("UserInputService")
  5. local player = Players.LocalPlayer
  6.  
  7. -- Создаем GUI
  8. local gui = Instance.new("ScreenGui")
  9. gui.Name = "1qluaScriptGUI"
  10. gui.Parent = player:WaitForChild("PlayerGui")
  11.  
  12. -- Основной фрейм с красивым дизайном
  13. local mainFrame = Instance.new("Frame")
  14. mainFrame.Name = "MainFrame"
  15. mainFrame.Size = UDim2.new(0.35, 0, 0.45, 0)
  16. mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  17. mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  18. mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
  19. mainFrame.BorderSizePixel = 0
  20. mainFrame.ClipsDescendants = true
  21. mainFrame.Parent = gui
  22.  
  23. -- Добавляем закругленные углы
  24. local corner = Instance.new("UICorner")
  25. corner.CornerRadius = UDim.new(0.03, 0)
  26. corner.Parent = mainFrame
  27.  
  28. -- Тень для фрейма
  29. local shadow = Instance.new("ImageLabel")
  30. shadow.Name = "Shadow"
  31. shadow.Size = UDim2.new(1, 10, 1, 10)
  32. shadow.Position = UDim2.new(0, -5, 0, -5)
  33. shadow.BackgroundTransparency = 1
  34. shadow.Image = "rbxassetid://1316045217"
  35. shadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
  36. shadow.ImageTransparency = 0.8
  37. shadow.ScaleType = Enum.ScaleType.Slice
  38. shadow.SliceCenter = Rect.new(10, 10, 118, 118)
  39. shadow.Parent = mainFrame
  40.  
  41. -- Заголовок с возможностью перемещения
  42. local title = Instance.new("Frame")
  43. title.Name = "Title"
  44. title.Size = UDim2.new(1, 0, 0.12, 0)
  45. title.Position = UDim2.new(0, 0, 0, 0)
  46. title.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
  47. title.BorderSizePixel = 0
  48. title.ZIndex = 2
  49. title.Parent = mainFrame
  50.  
  51. local titleCorner = Instance.new("UICorner")
  52. titleCorner.CornerRadius = UDim.new(0.03, 0)
  53. titleCorner.Parent = title
  54.  
  55. local titleText = Instance.new("TextLabel")
  56. titleText.Name = "TitleText"
  57. titleText.Size = UDim2.new(0.8, 0, 1, 0)
  58. titleText.Position = UDim2.new(0.1, 0, 0, 0)
  59. titleText.BackgroundTransparency = 1
  60. titleText.Text = "Скрипт 1qlua"
  61. titleText.TextColor3 = Color3.fromRGB(220, 220, 255)
  62. titleText.TextScaled = true
  63. titleText.Font = Enum.Font.GothamBold
  64. titleText.Parent = title
  65.  
  66. -- Иконка для перемещения
  67. local dragIcon = Instance.new("ImageLabel")
  68. dragIcon.Name = "DragIcon"
  69. dragIcon.Size = UDim2.new(0.07, 0, 0.7, 0)
  70. dragIcon.Position = UDim2.new(0.02, 0, 0.15, 0)
  71. dragIcon.BackgroundTransparency = 1
  72. dragIcon.Image = "rbxassetid://3926305904" -- Иконка перемещения
  73. dragIcon.ImageColor3 = Color3.fromRGB(180, 180, 220)
  74. dragIcon.ImageRectOffset = Vector2.new(164, 364)
  75. dragIcon.ImageRectSize = Vector2.new(36, 36)
  76. dragIcon.Parent = title
  77.  
  78. -- Фрейм для текста с прокруткой
  79. local scrollFrame = Instance.new("ScrollingFrame")
  80. scrollFrame.Name = "ScrollFrame"
  81. scrollFrame.Size = UDim2.new(1, -20, 0.68, -10)
  82. scrollFrame.Position = UDim2.new(0, 10, 0.12, 5)
  83. scrollFrame.BackgroundTransparency = 1
  84. scrollFrame.ScrollBarThickness = 6
  85. scrollFrame.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 150)
  86. scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  87. scrollFrame.Parent = mainFrame
  88.  
  89. -- Ваш текст обновлений с эмодзи и форматированием
  90. local updateText = [[
  91. [1qlua Script - Последние обновления]
  92.  
  93. Версия 20 🚀
  94. • Добавлено меню обновлений – Теперь вы можете легко следить за новыми функциями и изменениями прямо в клиенте.
  95.  
  96. • Переделан телепорт к игрокам – Улучшенный интерфейс и стабильность при телепортации к другим игрокам.
  97.  
  98. • Функция автоматического выбора игры – Клиент сам определяет подходящий режим игры, чтобы вы могли начать играть быстрее.
  99.  
  100. ─────────────────────
  101.  
  102. Версия 19 🔥
  103. • Переход на новую библиотеку – Повышена производительность и стабильность работы.
  104.  
  105. • Добавлены новые функции в Player Menu – Ещё больше возможностей для взаимодействия с игроками.
  106.  
  107. • Авто-фарм и крутые скрипты – Теперь фармить ресурсы стало проще, а также добавлены мощные скрипты для Ohio, чтобы вы могли играть с максимальным удобством.
  108.  
  109. ─────────────────────
  110.  
  111. Обновляйтесь и наслаждайтесь улучшенным геймплеем! 🎮✨
  112. ]]
  113.  
  114. local textLabel = Instance.new("TextLabel")
  115. textLabel.Name = "UpdateText"
  116. textLabel.Size = UDim2.new(1, -10, 0, 0)
  117. textLabel.Position = UDim2.new(0, 5, 0, 5)
  118. textLabel.BackgroundTransparency = 1
  119. textLabel.Text = updateText
  120. textLabel.TextColor3 = Color3.fromRGB(220, 220, 255)
  121. textLabel.TextSize = 18
  122. textLabel.TextXAlignment = Enum.TextXAlignment.Left
  123. textLabel.TextYAlignment = Enum.TextYAlignment.Top
  124. textLabel.TextWrapped = true
  125. textLabel.AutomaticSize = Enum.AutomaticSize.Y
  126. textLabel.Font = Enum.Font.Gotham
  127. textLabel.Parent = scrollFrame
  128.  
  129. -- Автоматическая настройка размера прокрутки
  130. textLabel:GetPropertyChangedSignal("AbsoluteSize"):Connect(function()
  131. scrollFrame.CanvasSize = UDim2.new(0, 0, 0, textLabel.AbsoluteSize.Y + 20)
  132. end)
  133.  
  134. -- Кнопка запуска с красивым дизайном
  135. local launchButton = Instance.new("TextButton")
  136. launchButton.Name = "LaunchButton"
  137. launchButton.Size = UDim2.new(0.8, 0, 0.15, 0)
  138. launchButton.Position = UDim2.new(0.1, 0, 0.82, 0)
  139. launchButton.BackgroundColor3 = Color3.fromRGB(50, 70, 120)
  140. launchButton.BorderSizePixel = 0
  141. launchButton.Text = "ЗАПУСТИТЬ"
  142. launchButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  143. launchButton.TextScaled = true
  144. launchButton.Font = Enum.Font.GothamBold
  145. launchButton.Parent = mainFrame
  146.  
  147. -- Закругление кнопки
  148. local buttonCorner = Instance.new("UICorner")
  149. buttonCorner.CornerRadius = UDim.new(0.2, 0)
  150. buttonCorner.Parent = launchButton
  151.  
  152. -- Эффекты при наведении на кнопку
  153. launchButton.MouseEnter:Connect(function()
  154. TweenService:Create(launchButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(70, 90, 140)}):Play()
  155. end)
  156.  
  157. launchButton.MouseLeave:Connect(function()
  158. TweenService:Create(launchButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(50, 70, 120)}):Play()
  159. end)
  160.  
  161. -- Функция загрузки
  162. local function showLoading()
  163. local loadingFrame = Instance.new("Frame")
  164. loadingFrame.Name = "LoadingFrame"
  165. loadingFrame.Size = UDim2.new(1, 0, 1, 0)
  166. loadingFrame.Position = UDim2.new(0, 0, 0, 0)
  167. loadingFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
  168. loadingFrame.BackgroundTransparency = 0.5
  169. loadingFrame.ZIndex = 5
  170. loadingFrame.Parent = mainFrame
  171.  
  172. local loadingCircle = Instance.new("ImageLabel")
  173. loadingCircle.Name = "LoadingCircle"
  174. loadingCircle.Size = UDim2.new(0.2, 0, 0.2, 0)
  175. loadingCircle.Position = UDim2.new(0.4, 0, 0.4, 0)
  176. loadingCircle.BackgroundTransparency = 1
  177. loadingCircle.Image = "rbxassetid://9125473262" -- ID крутящейся иконки загрузки
  178. loadingCircle.ZIndex = 6
  179. loadingCircle.Parent = loadingFrame
  180.  
  181. local loadingText = Instance.new("TextLabel")
  182. loadingText.Name = "LoadingText"
  183. loadingText.Size = UDim2.new(1, 0, 0.1, 0)
  184. loadingText.Position = UDim2.new(0, 0, 0.65, 0)
  185. loadingText.BackgroundTransparency = 1
  186. loadingText.Text = "Загрузка..."
  187. loadingText.TextColor3 = Color3.fromRGB(220, 220, 255)
  188. loadingText.TextScaled = true
  189. loadingText.ZIndex = 6
  190. loadingText.Parent = loadingFrame
  191.  
  192. -- Анимация вращения
  193. local rotateConnection
  194. rotateConnection = game:GetService("RunService").Heartbeat:Connect(function(dt)
  195. loadingCircle.Rotation = loadingCircle.Rotation + (dt * 180)
  196. end)
  197.  
  198. return loadingFrame, rotateConnection
  199. end
  200.  
  201. -- Логика перемещения GUI
  202. local dragging
  203. local dragInput
  204. local dragStart
  205. local startPos
  206.  
  207. local function update(input)
  208. local delta = input.Position - dragStart
  209. mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  210. end
  211.  
  212. title.InputBegan:Connect(function(input)
  213. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  214. dragging = true
  215. dragStart = input.Position
  216. startPos = mainFrame.Position
  217.  
  218. input.Changed:Connect(function()
  219. if input.UserInputState == Enum.UserInputState.End then
  220. dragging = false
  221. end
  222. end)
  223. end
  224. end)
  225.  
  226. title.InputChanged:Connect(function(input)
  227. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  228. dragInput = input
  229. end
  230. end)
  231.  
  232. UserInputService.InputChanged:Connect(function(input)
  233. if input == dragInput and dragging then
  234. update(input)
  235. end
  236. end)
  237.  
  238. -- Обработчик нажатия кнопки
  239. launchButton.MouseButton1Click:Connect(function()
  240. -- Блокируем кнопку
  241. launchButton.AutoButtonColor = false
  242. launchButton.BackgroundColor3 = Color3.fromRGB(80, 100, 150)
  243. launchButton.Text = "ЗАГРУЗКА..."
  244.  
  245. -- Показываем анимацию загрузки
  246. local loadingFrame, rotateConnection = showLoading()
  247.  
  248. -- Симулируем загрузку (замените на реальную загрузку)
  249. wait(2)
  250.  
  251. -- Убираем анимацию
  252. rotateConnection:Disconnect()
  253. loadingFrame:Destroy()
  254.  
  255. -- Закрываем GUI с анимацией
  256. local tween = TweenService:Create(mainFrame, TweenInfo.new(0.5), {
  257. Size = UDim2.new(0, 0, 0, 0),
  258. Position = UDim2.new(0.5, 0, 0.5, 0)
  259. })
  260. tween:Play()
  261.  
  262. tween.Completed:Wait()
  263. gui:Destroy()
  264.  
  265. loadstring(game:HttpGet("https://pastebin.com/raw/Kw1tndff"))()
  266. end)
  267.  
  268. -- Анимация появления
  269. mainFrame.Size = UDim2.new(0, 0, 0, 0)
  270. local appearTween = TweenService:Create(mainFrame, TweenInfo.new(0.7, Enum.EasingStyle.Back), {
  271. Size = UDim2.new(0.35, 0, 0.45, 0)
  272. })
  273. appearTween:Play()
Add Comment
Please, Sign In to add comment