Advertisement
Eproq012

Purify

Sep 14th, 2024
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 KB | None | 0 0
  1. local screenGui = Instance.new("ScreenGui")
  2. screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  3.  
  4. -- Create a shadow effect for the frame
  5. local shadow = Instance.new("ImageLabel")
  6. shadow.Size = UDim2.new(0, 210, 0, 110)
  7. shadow.Position = UDim2.new(0.5, -105, 0.5, -55)
  8. shadow.BackgroundTransparency = 1
  9. shadow.Image = "rbxassetid://1316045217" -- Use a shadow image asset ID
  10. shadow.ImageColor3 = Color3.new(0, 0, 0)
  11. shadow.ImageTransparency = 0.5 -- Adjust for a shadow effect
  12. shadow.Parent = screenGui
  13.  
  14. -- Create the main frame
  15. local frame = Instance.new("Frame")
  16. frame.Size = UDim2.new(0, 200, 0, 100)
  17. frame.Position = UDim2.new(0.5, -100, 0.5, -50)
  18. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  19. frame.BorderSizePixel = 0
  20. frame.Parent = screenGui
  21.  
  22. -- Gradient for the frame background
  23. local gradient = Instance.new("UIGradient")
  24. gradient.Color = ColorSequence.new{
  25. ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), -- Start with sea blue
  26. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 105, 180)) -- End with a pinkish color
  27. }
  28. gradient.Parent = frame
  29.  
  30. -- Rounded rainbow sea-blue corner
  31. local corner = Instance.new("UICorner")
  32. corner.CornerRadius = UDim.new(0, 12) -- Adjust for rounded corners
  33. corner.Parent = frame
  34.  
  35. local title = Instance.new("TextLabel")
  36. title.Size = UDim2.new(1, 0, 0, 20)
  37. title.Position = UDim2.new(0, 0, 0, -20)
  38. title.Text = "Purify Key System"
  39. title.TextColor3 = Color3.new(1, 1, 1)
  40. title.BackgroundColor3 = Color3.new(0, 0, 0)
  41. title.Parent = frame
  42.  
  43. local dragging
  44. local dragInput
  45. local dragStart
  46. local startPos
  47.  
  48. local function update(input)
  49. local delta = input.Position - dragStart
  50. frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  51. end
  52.  
  53. title.InputBegan:Connect(function(input)
  54. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  55. dragging = true
  56. dragStart = input.Position
  57. startPos = frame.Position
  58.  
  59. input.Changed:Connect(function()
  60. if input.UserInputState == Enum.UserInputState.End then
  61. dragging = false
  62. end
  63. end)
  64. end
  65. end)
  66.  
  67. title.InputChanged:Connect(function(input)
  68. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  69. dragInput = input
  70. end
  71. end)
  72.  
  73. title.InputEnded:Connect(function(input)
  74. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  75. dragging = false
  76. dragInput = nil
  77. end
  78. end)
  79.  
  80. game:GetService("UserInputService").InputChanged:Connect(function(input)
  81. if input == dragInput and dragging then
  82. update(input)
  83. end
  84. end)
  85.  
  86. local KeySystem = Instance.new("TextBox")
  87. KeySystem.Size = UDim2.new(1, 0, 0.5, 0)
  88. KeySystem.Position = UDim2.new(0, 0, 0, 0)
  89. KeySystem.Text = "Enter the Key"
  90. KeySystem.TextColor3 = Color3.new(0, 0, 0)
  91. KeySystem.BackgroundTransparency = 0.5
  92. KeySystem.BackgroundColor3 = Color3.new(1, 1, 1)
  93. KeySystem.TextWrapped = true
  94. KeySystem.Parent = frame
  95.  
  96. local SubmitButton = Instance.new("TextButton")
  97. SubmitButton.Size = UDim2.new(0.5, 0, 0.5, 0)
  98. SubmitButton.Position = UDim2.new(0, 0, 0.5, 0)
  99. SubmitButton.Text = "Submit"
  100. SubmitButton.Parent = frame
  101.  
  102. local CloseButton = Instance.new("TextButton")
  103. CloseButton.Size = UDim2.new(0, 20, 0, 20)
  104. CloseButton.Position = UDim2.new(1, -20, 0, 0)
  105. CloseButton.Text = "X"
  106. CloseButton.TextColor3 = Color3.new(1, 1, 1)
  107. CloseButton.BackgroundColor3 = Color3.new(1, 0, 0)
  108. CloseButton.Parent = frame
  109.  
  110. CloseButton.MouseButton1Click:Connect(function()
  111. screenGui:Destroy()
  112. end)
  113.  
  114. local GetKeyButton = Instance.new("TextButton")
  115. GetKeyButton.Size = UDim2.new(0.5, 0, 0.5, 0)
  116. GetKeyButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  117. GetKeyButton.Text = "discord to get key"
  118. GetKeyButton.Parent = frame
  119.  
  120. -- Handle key submission with a 24-hour expiration
  121. local function keyExpired(expirationTime)
  122. local currentTime = os.time() -- Get current time in seconds
  123. return currentTime >= expirationTime -- Return true if time has expired
  124. end
  125.  
  126. SubmitButton.MouseButton1Click:Connect(function()
  127. local keyEntered = KeySystem.Text
  128. local expirationTime = os.time() + 24 * 3600 -- Current time + 24 hours in seconds
  129.  
  130. if keyEntered == "PURIFYISTHEVEST" and not keyExpired(expirationTime) then
  131. screenGui:Destroy()
  132. -- Add your main script after key verification here
  133. loadstring(game:HttpGet("https://raw.githubusercontent.com/Eren-arch/Noskids/main/SIGMALIGMASKIBIDISIGMAPURIFY"))()
  134. else
  135. KeySystem.Text = "Invalid or Expired Key!"
  136. end
  137. end)
  138.  
  139. GetKeyButton.MouseButton1Click:Connect(function()
  140. setclipboard("https://discord.gg/6SVXPGJz")
  141. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement