Advertisement
DeltaTechnology

Untitled

Dec 8th, 2022 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Key = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local Login = Instance.new("Frame")
  10. local UICorner_2 = Instance.new("UICorner")
  11. local Frame = Instance.new("Frame")
  12. local UICorner_3 = Instance.new("UICorner")
  13. local keyBox = Instance.new("TextBox")
  14. local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
  15. local TextLabel = Instance.new("TextLabel")
  16. local UIAspectRatioConstraint_2 = Instance.new("UIAspectRatioConstraint")
  17. local UIAspectRatioConstraint_3 = Instance.new("UIAspectRatioConstraint")
  18. local Buttons = Instance.new("Frame")
  19. local getKey = Instance.new("TextButton")
  20. local UICorner_4 = Instance.new("UICorner")
  21. local UIAspectRatioConstraint_4 = Instance.new("UIAspectRatioConstraint")
  22. local verifyKey = Instance.new("TextButton")
  23. local UICorner_5 = Instance.new("UICorner")
  24. local UIAspectRatioConstraint_5 = Instance.new("UIAspectRatioConstraint")
  25. local joinDiscord = Instance.new("TextButton")
  26. local UICorner_6 = Instance.new("UICorner")
  27. local UIAspectRatioConstraint_6 = Instance.new("UIAspectRatioConstraint")
  28. local UIAspectRatioConstraint_7 = Instance.new("UIAspectRatioConstraint")
  29. local UIAspectRatioConstraint_8 = Instance.new("UIAspectRatioConstraint")
  30. local UIAspectRatioConstraint_9 = Instance.new("UIAspectRatioConstraint")
  31. local logo = Instance.new("ImageButton")
  32. local UIAspectRatioConstraint_10 = Instance.new("UIAspectRatioConstraint")
  33.  
  34. --Properties:
  35.  
  36. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  37.  
  38. Key.Name = "Key"
  39. Key.Parent = ScreenGui
  40. Key.BackgroundColor3 = Color3.fromRGB(4, 26, 28)
  41. Key.BackgroundTransparency = 0.160
  42. Key.Position = UDim2.new(0.133432746, 0, 0.340055406, 0)
  43. Key.Size = UDim2.new(0.732406616, 0, 0.34979403, 0)
  44.  
  45. UICorner.Parent = Key
  46.  
  47. Login.Name = "Login"
  48. Login.Parent = Key
  49. Login.BackgroundColor3 = Color3.fromRGB(4, 26, 28)
  50. Login.BackgroundTransparency = 1.000
  51. Login.Position = UDim2.new(3.12819353e-08, 0, -5.83184629e-08, 0)
  52. Login.Size = UDim2.new(1.00000012, 0, 1, 0)
  53.  
  54. UICorner_2.Parent = Login
  55.  
  56. Frame.Parent = Login
  57. Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  58. Frame.BackgroundTransparency = 0.700
  59. Frame.Position = UDim2.new(0.264367878, 0, 0.0428570732, 0)
  60. Frame.Size = UDim2.new(0.722222269, 0, 0.528571367, 0)
  61.  
  62. UICorner_3.Parent = Frame
  63.  
  64. keyBox.Name = "keyBox"
  65. keyBox.Parent = Frame
  66. keyBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  67. keyBox.BackgroundTransparency = 1.000
  68. keyBox.ClipsDescendants = true
  69. keyBox.Position = UDim2.new(0.0184762254, 0, 0.327122301, 0)
  70. keyBox.Size = UDim2.new(0.982183516, 0, 0.686008453, 0)
  71. keyBox.Font = Enum.Font.Arial
  72. keyBox.PlaceholderText = "..."
  73. keyBox.Text = ""
  74. keyBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  75. keyBox.TextSize = 14.000
  76. keyBox.TextXAlignment = Enum.TextXAlignment.Left
  77. keyBox.TextYAlignment = Enum.TextYAlignment.Top
  78.  
  79. UIAspectRatioConstraint.Parent = keyBox
  80. UIAspectRatioConstraint.AspectRatio = 7.294
  81.  
  82. TextLabel.Parent = Frame
  83. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. TextLabel.BackgroundTransparency = 1.000
  85. TextLabel.BorderSizePixel = 0
  86. TextLabel.ClipsDescendants = true
  87. TextLabel.Position = UDim2.new(0.0184762254, 0, 0.0850017071, 0)
  88. TextLabel.Size = UDim2.new(0.982183516, 0, 0.928129196, 0)
  89. TextLabel.Font = Enum.Font.Arial
  90. TextLabel.Text = "Key here"
  91. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  92. TextLabel.TextSize = 14.000
  93. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  94. TextLabel.TextYAlignment = Enum.TextYAlignment.Top
  95.  
  96. UIAspectRatioConstraint_2.Parent = TextLabel
  97. UIAspectRatioConstraint_2.AspectRatio = 5.391
  98.  
  99. UIAspectRatioConstraint_3.Parent = Frame
  100. UIAspectRatioConstraint_3.AspectRatio = 5.095
  101.  
  102. Buttons.Name = "Buttons"
  103. Buttons.Parent = Login
  104. Buttons.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  105. Buttons.BackgroundTransparency = 1.000
  106. Buttons.Position = UDim2.new(0.264367878, 0, 0.614285648, 0)
  107. Buttons.Size = UDim2.new(0.722222269, 0, 0.335714251, 0)
  108.  
  109. getKey.Name = "getKey"
  110. getKey.Parent = Buttons
  111. getKey.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  112. getKey.BackgroundTransparency = 0.700
  113. getKey.Position = UDim2.new(0.00527485646, 0, 0.0200845189, 0)
  114. getKey.Size = UDim2.new(0.316833377, 0, 0.995384812, 0)
  115. getKey.Font = Enum.Font.Arial
  116. getKey.Text = "Get Key"
  117. getKey.TextColor3 = Color3.fromRGB(255, 255, 255)
  118. getKey.TextSize = 20.000
  119.  
  120. UICorner_4.Parent = getKey
  121.  
  122. UIAspectRatioConstraint_4.Parent = getKey
  123. UIAspectRatioConstraint_4.AspectRatio = 2.553
  124.  
  125. verifyKey.Name = "verifyKey"
  126. verifyKey.Parent = Buttons
  127. verifyKey.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  128. verifyKey.BackgroundTransparency = 0.700
  129. verifyKey.Position = UDim2.new(0.340590149, 0, 0.0200845189, 0)
  130. verifyKey.Size = UDim2.new(0.316833377, 0, 0.995384812, 0)
  131. verifyKey.Font = Enum.Font.Arial
  132. verifyKey.Text = "Verify Key"
  133. verifyKey.TextColor3 = Color3.fromRGB(255, 255, 255)
  134. verifyKey.TextSize = 20.000
  135.  
  136. UICorner_5.Parent = verifyKey
  137.  
  138. UIAspectRatioConstraint_5.Parent = verifyKey
  139. UIAspectRatioConstraint_5.AspectRatio = 2.553
  140.  
  141. joinDiscord.Name = "joinDiscord"
  142. joinDiscord.Parent = Buttons
  143. joinDiscord.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  144. joinDiscord.BackgroundTransparency = 0.700
  145. joinDiscord.Position = UDim2.new(0.68118608, 0, 0.0200845189, 0)
  146. joinDiscord.Size = UDim2.new(0.316833377, 0, 0.995384812, 0)
  147. joinDiscord.Font = Enum.Font.Arial
  148. joinDiscord.Text = "Join Discord"
  149. joinDiscord.TextColor3 = Color3.fromRGB(255, 255, 255)
  150. joinDiscord.TextSize = 20.000
  151.  
  152. UICorner_6.Parent = joinDiscord
  153.  
  154. UIAspectRatioConstraint_6.Parent = joinDiscord
  155. UIAspectRatioConstraint_6.AspectRatio = 2.553
  156.  
  157. UIAspectRatioConstraint_7.Parent = Buttons
  158. UIAspectRatioConstraint_7.AspectRatio = 8.021
  159.  
  160. UIAspectRatioConstraint_8.Parent = Login
  161. UIAspectRatioConstraint_8.AspectRatio = 3.729
  162.  
  163. UIAspectRatioConstraint_9.Parent = Key
  164. UIAspectRatioConstraint_9.AspectRatio = 3.729
  165.  
  166. logo.Name = "logo"
  167. logo.Parent = Key
  168. logo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  169. logo.BackgroundTransparency = 1.000
  170. logo.BorderSizePixel = 0
  171. logo.Position = UDim2.new(0.0357252173, 0, 0.112734579, 0)
  172. logo.Size = UDim2.new(0.195282057, 0, 0.684913754, 0)
  173. logo.Image = "http://www.roblox.com/asset/?id=11770670481"
  174.  
  175. UIAspectRatioConstraint_10.Parent = logo
  176.  
  177. if not isfile("deltanadroid.key") then
  178. writefile("deltanadroid.key", "dontdelete")
  179. end
  180.  
  181. function confirmsavedkey()
  182.  
  183. local key = readfile("deltanadroid.key")
  184. local url = "https://redirect-api.work.ink/tokenValid/" .. key
  185. local realkey = game:HttpGet(url)
  186. local nonformat = '{"valid":true}'
  187.  
  188. if realkey == string.format("%q", nonformat) then
  189. Key.Parent = nil
  190. Key:Destroy()
  191. print"valid"
  192. end
  193.  
  194.  
  195. end
  196.  
  197. function confirmkey()
  198.  
  199. local key = keyBox.Text
  200. writefile("deltanadroid.key", key)
  201. local url = "https://redirect-api.work.ink/tokenValid/" .. key
  202. local realkey = game:HttpGet(url)
  203. local nonformat = '{"valid":true}'
  204.  
  205. if realkey == string.format("%q", nonformat) then
  206. Key.Parent = nil
  207. Key:Destroy()
  208. print"valid"
  209. end
  210.  
  211.  
  212. end
  213.  
  214. verifyKey.MouseButton1Click:Connect(confirmkey)
  215.  
  216.  
  217.  
  218. function getkey()
  219. setclipboard("https://workink.biz/2gD/deltaandroidkey")
  220. game.StarterGui:SetCore("SendNotification",
  221. {
  222. Title = "Delta Android";
  223. Text = "Copied Key link to clipboard!";
  224. Duration = 4;
  225. })
  226. end
  227.  
  228. getKey.MouseButton1Click:Connect(getkey)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement