Zyrenscripter

Key

May 2nd, 2026 (edited)
915
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.06 KB | None | 0 0
  1. -- ╔══════════════════════════════════════════╗
  2. -- ║ DELTA Key System — UI Blanca v2 ║
  3. -- ║ Coloca en StarterPlayerScripts ║
  4. -- ╚══════════════════════════════════════════╝
  5.  
  6. local Players = game:GetService("Players")
  7. local TweenService = game:GetService("TweenService")
  8. local RunService = game:GetService("RunService")
  9.  
  10. local player = Players.LocalPlayer
  11. local playerGui = player:WaitForChild("PlayerGui")
  12.  
  13. local SERVER_URL = "https://delta-server-gs8s.onrender.com"
  14.  
  15. -- ══════════════════════════════════════════
  16. -- COLORES
  17. -- ══════════════════════════════════════════
  18. local C = {
  19. white = Color3.fromRGB(255, 255, 255),
  20. off = Color3.fromRGB(245, 244, 240),
  21. gray = Color3.fromRGB(232, 230, 224),
  22. mid = Color3.fromRGB(154, 151, 144),
  23. dark = Color3.fromRGB(26, 25, 22),
  24. accent = Color3.fromRGB(255, 61, 0),
  25. accent2 = Color3.fromRGB(255, 149, 0),
  26. green = Color3.fromRGB(0, 200, 83),
  27. red = Color3.fromRGB(220, 50, 50),
  28. }
  29.  
  30. -- ══════════════════════════════════════════
  31. -- TWEEN HELPERS
  32. -- ══════════════════════════════════════════
  33. local function tween(obj, props, t, style, dir)
  34. local info = TweenInfo.new(t or 0.25, style or Enum.EasingStyle.Quart, dir or Enum.EasingDirection.Out)
  35. TweenService:Create(obj, info, props):Play()
  36. end
  37.  
  38. local function fadeIn(obj, duration)
  39. obj.BackgroundTransparency = 1
  40. tween(obj, {BackgroundTransparency = 0}, duration or 0.3)
  41. end
  42.  
  43. -- ══════════════════════════════════════════
  44. -- VERIFICACIÓN
  45. -- ══════════════════════════════════════════
  46. local function verifyKey(key)
  47. local ok, result = pcall(function()
  48. local url = SERVER_URL .. "/verify?key=" .. key
  49. local res = game:HttpGet(url, true)
  50. return game:GetService("HttpService"):JSONDecode(res)
  51. end)
  52. if not ok then
  53. return { status = "ERROR", message = "Sin conexión" }
  54. end
  55. return result
  56. end
  57.  
  58. -- ══════════════════════════════════════════
  59. -- GUI ROOT
  60. -- ══════════════════════════════════════════
  61. local ScreenGui = Instance.new("ScreenGui")
  62. ScreenGui.Name = "DeltaKeyUI"
  63. ScreenGui.ResetOnSpawn = false
  64. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  65. ScreenGui.IgnoreGuiInset = true
  66. ScreenGui.Parent = playerGui
  67.  
  68. -- Overlay oscuro de fondo
  69. local Overlay = Instance.new("Frame")
  70. Overlay.Size = UDim2.new(1, 0, 1, 0)
  71. Overlay.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  72. Overlay.BackgroundTransparency = 0.5
  73. Overlay.BorderSizePixel = 0
  74. Overlay.ZIndex = 1
  75. Overlay.Parent = ScreenGui
  76.  
  77. -- Partículas flotantes de fondo
  78. for i = 1, 6 do
  79. local dot = Instance.new("Frame")
  80. dot.Size = UDim2.new(0, math.random(4, 10), 0, math.random(4, 10))
  81. dot.Position = UDim2.new(math.random(0, 90)/100, 0, math.random(0, 90)/100, 0)
  82. dot.BackgroundColor3 = i % 2 == 0 and C.accent or C.accent2
  83. dot.BackgroundTransparency = 0.7
  84. dot.BorderSizePixel = 0
  85. dot.ZIndex = 2
  86. dot.Parent = ScreenGui
  87. Instance.new("UICorner", dot).CornerRadius = UDim.new(1, 0)
  88.  
  89. -- Animación flotante
  90. local startY = dot.Position.Y.Scale
  91. local speed = math.random(2, 5)
  92. local offset = math.random(0, 100) / 100 * math.pi * 2
  93. RunService.Heartbeat:Connect(function(dt)
  94. local t = tick() * speed * 0.3 + offset
  95. dot.Position = UDim2.new(dot.Position.X.Scale, 0, startY + math.sin(t) * 0.03, 0)
  96. end)
  97. end
  98.  
  99. -- ══════════════════════════════════════════
  100. -- CARD PRINCIPAL
  101. -- ══════════════════════════════════════════
  102. local Card = Instance.new("Frame")
  103. Card.Name = "Card"
  104. Card.Size = UDim2.new(0, 420, 0, 340)
  105. Card.Position = UDim2.new(0.5, -210, 0.5, -170)
  106. Card.BackgroundColor3 = C.white
  107. Card.BorderSizePixel = 0
  108. Card.ZIndex = 10
  109. Card.Parent = ScreenGui
  110. Instance.new("UICorner", Card).CornerRadius = UDim.new(0, 16)
  111.  
  112. -- Sombra
  113. local Shadow = Instance.new("Frame")
  114. Shadow.Size = UDim2.new(1, 20, 1, 20)
  115. Shadow.Position = UDim2.new(0, -10, 0, 10)
  116. Shadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  117. Shadow.BackgroundTransparency = 0.75
  118. Shadow.BorderSizePixel = 0
  119. Shadow.ZIndex = 9
  120. Shadow.Parent = ScreenGui
  121. Instance.new("UICorner", Shadow).CornerRadius = UDim.new(0, 20)
  122.  
  123. -- Línea superior degradé (accent)
  124. local TopBar = Instance.new("Frame")
  125. TopBar.Size = UDim2.new(1, 0, 0, 3)
  126. TopBar.BackgroundColor3 = C.accent
  127. TopBar.BorderSizePixel = 0
  128. TopBar.ZIndex = 11
  129. TopBar.Parent = Card
  130. Instance.new("UICorner", TopBar).CornerRadius = UDim.new(0, 16)
  131.  
  132. local TopGrad = Instance.new("UIGradient", TopBar)
  133. TopGrad.Color = ColorSequence.new{
  134. ColorSequenceKeypoint.new(0, C.accent),
  135. ColorSequenceKeypoint.new(1, C.accent2)
  136. }
  137.  
  138. -- ══════════════════════════════════════════
  139. -- HEADER
  140. -- ══════════════════════════════════════════
  141. local Header = Instance.new("Frame")
  142. Header.Size = UDim2.new(1, 0, 0, 56)
  143. Header.Position = UDim2.new(0, 0, 0, 3)
  144. Header.BackgroundColor3 = C.off
  145. Header.BorderSizePixel = 0
  146. Header.ZIndex = 11
  147. Header.Parent = Card
  148.  
  149. local Logo = Instance.new("TextLabel")
  150. Logo.Size = UDim2.new(0, 120, 1, 0)
  151. Logo.Position = UDim2.new(0, 20, 0, 0)
  152. Logo.BackgroundTransparency = 1
  153. Logo.Text = "DELTA"
  154. Logo.TextColor3 = C.dark
  155. Logo.Font = Enum.Font.GothamBold
  156. Logo.TextSize = 18
  157. Logo.TextXAlignment = Enum.TextXAlignment.Left
  158. Logo.ZIndex = 12
  159. Logo.Parent = Header
  160.  
  161. local HeaderTag = Instance.new("TextLabel")
  162. HeaderTag.Size = UDim2.new(0, 160, 1, 0)
  163. HeaderTag.Position = UDim2.new(1, -180, 0, 0)
  164. HeaderTag.BackgroundTransparency = 1
  165. HeaderTag.Text = "KEY SYSTEM v2"
  166. HeaderTag.TextColor3 = C.mid
  167. HeaderTag.Font = Enum.Font.Code
  168. HeaderTag.TextSize = 10
  169. HeaderTag.TextXAlignment = Enum.TextXAlignment.Right
  170. HeaderTag.ZIndex = 12
  171. HeaderTag.Parent = Header
  172.  
  173. local HeaderLine = Instance.new("Frame")
  174. HeaderLine.Size = UDim2.new(1, 0, 0, 1)
  175. HeaderLine.Position = UDim2.new(0, 0, 1, -1)
  176. HeaderLine.BackgroundColor3 = C.gray
  177. HeaderLine.BorderSizePixel = 0
  178. HeaderLine.ZIndex = 12
  179. HeaderLine.Parent = Header
  180.  
  181. -- Botón cerrar
  182. local CloseBtn = Instance.new("TextButton")
  183. CloseBtn.Size = UDim2.new(0, 28, 0, 28)
  184. CloseBtn.Position = UDim2.new(1, -44, 0.5, -14)
  185. CloseBtn.BackgroundColor3 = C.gray
  186. CloseBtn.BorderSizePixel = 0
  187. CloseBtn.Text = "✕"
  188. CloseBtn.TextColor3 = C.mid
  189. CloseBtn.Font = Enum.Font.GothamBold
  190. CloseBtn.TextSize = 11
  191. CloseBtn.ZIndex = 13
  192. CloseBtn.Parent = Header
  193. Instance.new("UICorner", CloseBtn).CornerRadius = UDim.new(0, 6)
  194. CloseBtn.MouseButton1Click:Connect(function()
  195. tween(Card, {Size = UDim2.new(0, 420, 0, 0), Position = UDim2.new(0.5, -210, 0.5, 0)}, 0.4, Enum.EasingStyle.Back, Enum.EasingDirection.In)
  196. tween(Overlay, {BackgroundTransparency = 1}, 0.3)
  197. task.delay(0.4, function() ScreenGui:Destroy() end)
  198. end)
  199.  
  200. -- ══════════════════════════════════════════
  201. -- BODY
  202. -- ══════════════════════════════════════════
  203. local Body = Instance.new("Frame")
  204. Body.Size = UDim2.new(1, -48, 1, -80)
  205. Body.Position = UDim2.new(0, 24, 0, 68)
  206. Body.BackgroundTransparency = 1
  207. Body.ZIndex = 11
  208. Body.Parent = Card
  209.  
  210. -- Eyebrow
  211. local Eyebrow = Instance.new("TextLabel")
  212. Eyebrow.Size = UDim2.new(1, 0, 0, 16)
  213. Eyebrow.BackgroundTransparency = 1
  214. Eyebrow.Text = "— ACCESO AL SCRIPT"
  215. Eyebrow.TextColor3 = C.mid
  216. Eyebrow.Font = Enum.Font.Code
  217. Eyebrow.TextSize = 9
  218. Eyebrow.TextXAlignment = Enum.TextXAlignment.Left
  219. Eyebrow.ZIndex = 12
  220. Eyebrow.Parent = Body
  221.  
  222. -- Título
  223. local Title = Instance.new("TextLabel")
  224. Title.Size = UDim2.new(1, 0, 0, 36)
  225. Title.Position = UDim2.new(0, 0, 0, 18)
  226. Title.BackgroundTransparency = 1
  227. Title.Text = "Ingresa tu Key"
  228. Title.TextColor3 = C.dark
  229. Title.Font = Enum.Font.GothamBold
  230. Title.TextSize = 28
  231. Title.TextXAlignment = Enum.TextXAlignment.Left
  232. Title.ZIndex = 12
  233. Title.Parent = Body
  234.  
  235. -- Input container
  236. local InputWrap = Instance.new("Frame")
  237. InputWrap.Size = UDim2.new(1, 0, 0, 44)
  238. InputWrap.Position = UDim2.new(0, 0, 0, 62)
  239. InputWrap.BackgroundColor3 = C.off
  240. InputWrap.BorderSizePixel = 1
  241. InputWrap.BorderColor3 = C.gray
  242. InputWrap.ZIndex = 12
  243. InputWrap.Parent = Body
  244. Instance.new("UICorner", InputWrap).CornerRadius = UDim.new(0, 10)
  245.  
  246. local InputBox = Instance.new("TextBox")
  247. InputBox.Size = UDim2.new(1, -24, 1, 0)
  248. InputBox.Position = UDim2.new(0, 12, 0, 0)
  249. InputBox.BackgroundTransparency = 1
  250. InputBox.Text = ""
  251. InputBox.PlaceholderText = "DELTA-XXXX-XXXX-XXXX-XXXX"
  252. InputBox.PlaceholderColor3 = C.mid
  253. InputBox.TextColor3 = C.dark
  254. InputBox.Font = Enum.Font.Code
  255. InputBox.TextSize = 13
  256. InputBox.ClearTextOnFocus = false
  257. InputBox.ZIndex = 13
  258. InputBox.Parent = InputWrap
  259.  
  260. InputBox:GetPropertyChangedSignal("Text"):Connect(function()
  261. local up = InputBox.Text:upper()
  262. if InputBox.Text ~= up then InputBox.Text = up end
  263. end)
  264. InputBox.Focused:Connect(function()
  265. tween(InputWrap, {BorderColor3 = C.accent}, 0.2)
  266. end)
  267. InputBox.FocusLost:Connect(function()
  268. tween(InputWrap, {BorderColor3 = C.gray}, 0.2)
  269. end)
  270.  
  271. -- Botón verificar
  272. local VerifyBtn = Instance.new("TextButton")
  273. VerifyBtn.Size = UDim2.new(1, 0, 0, 44)
  274. VerifyBtn.Position = UDim2.new(0, 0, 0, 116)
  275. VerifyBtn.BackgroundColor3 = C.dark
  276. VerifyBtn.BorderSizePixel = 0
  277. VerifyBtn.Text = "VERIFICAR KEY"
  278. VerifyBtn.TextColor3 = C.white
  279. VerifyBtn.Font = Enum.Font.GothamBold
  280. VerifyBtn.TextSize = 12
  281. VerifyBtn.ZIndex = 12
  282. VerifyBtn.Parent = Body
  283. Instance.new("UICorner", VerifyBtn).CornerRadius = UDim.new(0, 10)
  284.  
  285. local BtnGrad = Instance.new("UIGradient", VerifyBtn)
  286. BtnGrad.Color = ColorSequence.new{
  287. ColorSequenceKeypoint.new(0, C.dark),
  288. ColorSequenceKeypoint.new(1, Color3.fromRGB(40, 38, 34))
  289. }
  290.  
  291. VerifyBtn.MouseEnter:Connect(function()
  292. tween(VerifyBtn, {BackgroundColor3 = C.accent}, 0.2)
  293. end)
  294. VerifyBtn.MouseLeave:Connect(function()
  295. tween(VerifyBtn, {BackgroundColor3 = C.dark}, 0.2)
  296. end)
  297.  
  298. -- Resultado
  299. local ResultWrap = Instance.new("Frame")
  300. ResultWrap.Size = UDim2.new(1, 0, 0, 44)
  301. ResultWrap.Position = UDim2.new(0, 0, 0, 172)
  302. ResultWrap.BackgroundColor3 = C.off
  303. ResultWrap.BorderSizePixel = 0
  304. ResultWrap.Visible = false
  305. ResultWrap.ZIndex = 12
  306. ResultWrap.Parent = Body
  307. Instance.new("UICorner", ResultWrap).CornerRadius = UDim.new(0, 10)
  308.  
  309. local ResultIcon = Instance.new("TextLabel")
  310. ResultIcon.Size = UDim2.new(0, 44, 1, 0)
  311. ResultIcon.BackgroundTransparency = 1
  312. ResultIcon.Text = "⊘"
  313. ResultIcon.TextColor3 = C.mid
  314. ResultIcon.Font = Enum.Font.GothamBold
  315. ResultIcon.TextSize = 20
  316. ResultIcon.ZIndex = 13
  317. ResultIcon.Parent = ResultWrap
  318.  
  319. local ResultText = Instance.new("TextLabel")
  320. ResultText.Size = UDim2.new(1, -52, 0, 18)
  321. ResultText.Position = UDim2.new(0, 44, 0, 6)
  322. ResultText.BackgroundTransparency = 1
  323. ResultText.Text = "—"
  324. ResultText.TextColor3 = C.dark
  325. ResultText.Font = Enum.Font.GothamBold
  326. ResultText.TextSize = 13
  327. ResultText.TextXAlignment = Enum.TextXAlignment.Left
  328. ResultText.ZIndex = 13
  329. ResultText.Parent = ResultWrap
  330.  
  331. local ResultSub = Instance.new("TextLabel")
  332. ResultSub.Size = UDim2.new(1, -52, 0, 14)
  333. ResultSub.Position = UDim2.new(0, 44, 0, 24)
  334. ResultSub.BackgroundTransparency = 1
  335. ResultSub.Text = "—"
  336. ResultSub.TextColor3 = C.mid
  337. ResultSub.Font = Enum.Font.Code
  338. ResultSub.TextSize = 10
  339. ResultSub.TextXAlignment = Enum.TextXAlignment.Left
  340. ResultSub.ZIndex = 13
  341. ResultSub.Parent = ResultWrap
  342.  
  343. -- Loading bar
  344. local LoadBar = Instance.new("Frame")
  345. LoadBar.Size = UDim2.new(0, 0, 0, 2)
  346. LoadBar.Position = UDim2.new(0, 0, 0, 110)
  347. LoadBar.BackgroundColor3 = C.accent
  348. LoadBar.BorderSizePixel = 0
  349. LoadBar.Visible = false
  350. LoadBar.ZIndex = 12
  351. LoadBar.Parent = Body
  352. Instance.new("UICorner", LoadBar).CornerRadius = UDim.new(0, 1)
  353.  
  354. -- ══════════════════════════════════════════
  355. -- ANIMACIÓN DE ENTRADA
  356. -- ══════════════════════════════════════════
  357. Card.Size = UDim2.new(0, 420, 0, 0)
  358. Card.Position = UDim2.new(0.5, -210, 0.5, 0)
  359. Overlay.BackgroundTransparency = 1
  360.  
  361. tween(Overlay, {BackgroundTransparency = 0.5}, 0.4)
  362. tween(Card, {
  363. Size = UDim2.new(0, 420, 0, 340),
  364. Position = UDim2.new(0.5, -210, 0.5, -170)
  365. }, 0.6, Enum.EasingStyle.Back, Enum.EasingDirection.Out)
  366.  
  367. -- ══════════════════════════════════════════
  368. -- LÓGICA PRINCIPAL
  369. -- ══════════════════════════════════════════
  370. local function setResult(icon, text, sub, color, bgColor)
  371. ResultWrap.Visible = true
  372. ResultWrap.BackgroundColor3 = bgColor or C.off
  373. ResultIcon.Text = icon
  374. ResultIcon.TextColor3 = color
  375. ResultText.Text = text
  376. ResultText.TextColor3 = color
  377. ResultSub.Text = sub
  378. -- Animación pop
  379. ResultWrap.Size = UDim2.new(1, 0, 0, 0)
  380. tween(ResultWrap, {Size = UDim2.new(1, 0, 0, 44)}, 0.35, Enum.EasingStyle.Back)
  381. end
  382.  
  383. local function runVerify()
  384. local raw = InputBox.Text:upper():gsub("%s+", "")
  385. if raw == "" then
  386. setResult("!", "Campo vacío", "Escribe tu key primero", C.mid, C.off)
  387. return
  388. end
  389.  
  390. -- Loading bar animada
  391. VerifyBtn.Active = false
  392. VerifyBtn.Text = "Verificando..."
  393. ResultWrap.Visible = false
  394. LoadBar.Visible = true
  395. LoadBar.Size = UDim2.new(0, 0, 0, 2)
  396. tween(LoadBar, {Size = UDim2.new(0.7, 0, 0, 2)}, 1.5, Enum.EasingStyle.Quart)
  397.  
  398. task.spawn(function()
  399. local data = verifyKey(raw)
  400.  
  401. task.defer(function()
  402. LoadBar.Visible = false
  403. VerifyBtn.Active = true
  404. VerifyBtn.Text = "VERIFICAR KEY"
  405.  
  406. if data.status == "VALID" then
  407. setResult(
  408. "✓",
  409. "Key válida — Cargando script...",
  410. (data.type or "USER") .. " · " .. (data.expiry == "Lifetime" and "∞ Lifetime" or "Expira: " .. (data.expiry or "—")),
  411. C.green,
  412. Color3.fromRGB(240, 252, 245)
  413. )
  414. InputWrap.BorderColor3 = C.green
  415. task.delay(1.5, function()
  416. -- Animación de salida
  417. tween(Card, {
  418. Size = UDim2.new(0, 420, 0, 0),
  419. Position = UDim2.new(0.5, -210, 0.5, 0)
  420. }, 0.5, Enum.EasingStyle.Back, Enum.EasingDirection.In)
  421. tween(Overlay, {BackgroundTransparency = 1}, 0.4)
  422. task.delay(0.5, function()
  423. ScreenGui:Destroy()
  424. loadstring(game:HttpGet("https://obfucatorhub.onrender.com/api/s0dp4u2d", true))()
  425. end)
  426. end)
  427.  
  428. elseif data.status == "EXPIRED" then
  429. setResult(
  430. "⏳",
  431. "Key expirada",
  432. "Obtén una nueva key en el sitio",
  433. C.accent2,
  434. Color3.fromRGB(255, 252, 240)
  435. )
  436. InputWrap.BorderColor3 = C.accent2
  437. task.delay(1, function() InputWrap.BorderColor3 = C.gray end)
  438.  
  439. elseif data.status == "NOT_FOUND" then
  440. setResult(
  441. "✕",
  442. "Key incorrecta",
  443. "Esa key no existe en el servidor",
  444. C.red,
  445. Color3.fromRGB(255, 242, 242)
  446. )
  447. InputWrap.BorderColor3 = C.red
  448. -- Shake del input
  449. for i = 1, 4 do
  450. task.wait(0.05)
  451. tween(InputWrap, {Position = UDim2.new(0, i%2==0 and 6 or -6, 0, 62)}, 0.05)
  452. end
  453. task.wait(0.05)
  454. tween(InputWrap, {Position = UDim2.new(0, 0, 0, 62)}, 0.1)
  455. task.delay(1, function() InputWrap.BorderColor3 = C.gray end)
  456.  
  457. else
  458. setResult("⚠", "Sin conexión", "No se pudo conectar al servidor", C.mid, C.off)
  459. end
  460. end)
  461. end)
  462. end
  463.  
  464. VerifyBtn.MouseButton1Click:Connect(runVerify)
  465. InputBox.FocusLost:Connect(function(enter) if enter then runVerify() end end)
  466.  
  467. print("[DELTA] Key System v2 cargado ✓")
  468.  
Advertisement
Add Comment
Please, Sign In to add comment