Advertisement
kob123678

Key System Test

Jul 10th, 2022
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.73 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local KoSploit = Instance.new("ScreenGui")
  7. local MainFrame = Instance.new("Frame")
  8. local Fates = Instance.new("TextButton")
  9. local IvAdmin = Instance.new("TextButton")
  10. local Dex = Instance.new("TextButton")
  11. local KeyLogin = Instance.new("Frame")
  12. local TextLabel = Instance.new("TextLabel")
  13. local TextLabel_2 = Instance.new("TextLabel")
  14. local Check = Instance.new("TextBox")
  15. local Submit = Instance.new("TextButton")
  16. local GetKey = Instance.new("TextButton")
  17.  
  18. --Properties:
  19.  
  20. KoSploit.Name = "KoSploit"
  21. KoSploit.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22. KoSploit.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23.  
  24. MainFrame.Name = "MainFrame"
  25. MainFrame.Parent = KoSploit
  26. MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  27. MainFrame.Position = UDim2.new(0.241379306, 0, 0.273267329, 0)
  28. MainFrame.Size = UDim2.new(0, 404, 0, 228)
  29. MainFrame.Visible = false
  30.  
  31. Fates.Name = "Fates"
  32. Fates.Parent = MainFrame
  33. Fates.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  34. Fates.Position = UDim2.new(0.0544554442, 0, 0.0661764741, 0)
  35. Fates.Size = UDim2.new(0, 362, 0, 50)
  36. Fates.Font = Enum.Font.SourceSans
  37. Fates.Text = "Fates Admin"
  38. Fates.TextColor3 = Color3.fromRGB(0, 0, 0)
  39. Fates.TextScaled = true
  40. Fates.TextSize = 14.000
  41. Fates.TextWrapped = true
  42. Fates.MouseButton1Click:Connect(function()
  43. loadstring(game:HttpGet("https://raw.githubusercontent.com/fatesc/fates-admin/main/main.lua"))();
  44. end)
  45.  
  46. IvAdmin.Name = "IvAdmin"
  47. IvAdmin.Parent = MainFrame
  48. IvAdmin.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  49. IvAdmin.Position = UDim2.new(0.0519801974, 0, 0.349006712, 0)
  50. IvAdmin.Size = UDim2.new(0, 362, 0, 50)
  51. IvAdmin.Font = Enum.Font.SourceSans
  52. IvAdmin.Text = "Iv Admin"
  53. IvAdmin.TextColor3 = Color3.fromRGB(0, 0, 0)
  54. IvAdmin.TextScaled = true
  55. IvAdmin.TextSize = 14.000
  56. IvAdmin.TextWrapped = true
  57. IvAdmin.MouseButton1Click:Connect(function()
  58. loadstring(game:HttpGet('\104\116\116\112\115\58\47\47\114\97\119\46\103\105\116\104\117\98\117\115\101\114\99\111\110\116\101\110\116\46\99\111\109\47\79\109\110\105\112\111\116\101\110\99\101\68\101\118\101\108\111\112\101\114\47\78\117\109\98\101\114\47\109\97\105\110\47\49\46\108\117\97'))()
  59. end)
  60.  
  61. Dex.Name = "Dex"
  62. Dex.Parent = MainFrame
  63. Dex.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  64. Dex.Position = UDim2.new(0.0519801974, 0, 0.639189899, 0)
  65. Dex.Size = UDim2.new(0, 362, 0, 50)
  66. Dex.Font = Enum.Font.SourceSans
  67. Dex.Text = "Dex v3"
  68. Dex.TextColor3 = Color3.fromRGB(0, 0, 0)
  69. Dex.TextScaled = true
  70. Dex.TextSize = 14.000
  71. Dex.TextWrapped = true
  72. Dex.MouseButton1Click:Connect(function()
  73. loadstring(game:HttpGet("https://raw.githubusercontent.com/Babyhamsta/RBLX_Scripts/main/Universal/BypassedDarkDexV3.lua", true))()
  74. end)
  75.  
  76. KeyLogin.Name = "KeyLogin"
  77. KeyLogin.Parent = KoSploit
  78. KeyLogin.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  79. KeyLogin.Position = UDim2.new(0.287356317, 0, 0.299009889, 0)
  80. KeyLogin.Size = UDim2.new(0, 332, 0, 268)
  81.  
  82. TextLabel.Parent = KeyLogin
  83. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. TextLabel.Position = UDim2.new(0.036144577, 0, 0.0544554442, 0)
  85. TextLabel.Size = UDim2.new(0, 308, 0, 52)
  86. TextLabel.Font = Enum.Font.SciFi
  87. TextLabel.Text = "LOGIN"
  88. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  89. TextLabel.TextScaled = true
  90. TextLabel.TextSize = 47.000
  91. TextLabel.TextWrapped = true
  92.  
  93. TextLabel_2.Parent = KeyLogin
  94. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  95. TextLabel_2.Position = UDim2.new(0, 0, 0.924309194, 0)
  96. TextLabel_2.Size = UDim2.new(0, 60, 0, 20)
  97. TextLabel_2.Font = Enum.Font.SciFi
  98. TextLabel_2.Text = "Made by kob"
  99. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  100. TextLabel_2.TextScaled = true
  101. TextLabel_2.TextSize = 14.000
  102. TextLabel_2.TextWrapped = true
  103.  
  104. Check.Name = "Check"
  105. Check.Parent = KeyLogin
  106. Check.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  107. Check.Position = UDim2.new(0.144578308, 0, 0.304929018, 0)
  108. Check.Size = UDim2.new(0, 236, 0, 52)
  109. Check.Font = Enum.Font.SourceSans
  110. Check.Text = "PUT KEY HERE"
  111. Check.TextColor3 = Color3.fromRGB(0, 0, 0)
  112. Check.TextScaled = true
  113. Check.TextSize = 14.000
  114. Check.TextWrapped = true
  115.  
  116. Submit.Name = "Submit"
  117. Submit.Parent = KeyLogin
  118. Submit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  119. Submit.Position = UDim2.new(0.198795184, 0, 0.54531312, 0)
  120. Submit.Size = UDim2.new(0, 200, 0, 50)
  121. Submit.Font = Enum.Font.SourceSans
  122. Submit.Text = "Submit"
  123. Submit.TextColor3 = Color3.fromRGB(0, 0, 0)
  124. Submit.TextScaled = true
  125. Submit.TextSize = 14.000
  126. Submit.TextWrapped = true
  127. Submit.MouseButton1Click:Connect(function()
  128. if Check.Text == "Epik" then
  129. KeyLogin.Visible = false
  130. wait(0.5)
  131. MainFrame.Visible = true
  132. end
  133. end)
  134.  
  135. GetKey.Name = "GetKey"
  136. GetKey.Parent = KeyLogin
  137. GetKey.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  138. GetKey.Position = UDim2.new(0.198795199, 0, 0.773917019, 0)
  139. GetKey.Size = UDim2.new(0, 200, 0, 50)
  140. GetKey.Font = Enum.Font.SourceSans
  141. GetKey.Text = "Get Key"
  142. GetKey.TextColor3 = Color3.fromRGB(0, 0, 0)
  143. GetKey.TextScaled = true
  144. GetKey.TextSize = 14.000
  145. GetKey.TextWrapped = true
  146. GetKey.MouseButton1Click:Connect(function()
  147. game.StarterGui:SetCore("SendNotification", {Title = "Copied!", Text = "Link Successfully copied!", Icon = "", Duration = 4})
  148. wait(1)
  149. setclipboard("https://pastebin.com/raw/FhtvKszm")
  150. end)
  151.  
  152. -- Scripts:
  153.  
  154. local function BPVP_fake_script() -- MainFrame.Drag
  155. local script = Instance.new('LocalScript', MainFrame)
  156.  
  157. local UserInputService = game:GetService("UserInputService")
  158.  
  159. local gui = script.Parent
  160.  
  161. local dragging
  162. local dragInput
  163. local dragStart
  164. local startPos
  165.  
  166. local function update(input)
  167. local delta = input.Position - dragStart
  168. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  169. end
  170.  
  171. gui.InputBegan:Connect(function(input)
  172. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  173. dragging = true
  174. dragStart = input.Position
  175. startPos = gui.Position
  176.  
  177. input.Changed:Connect(function()
  178. if input.UserInputState == Enum.UserInputState.End then
  179. dragging = false
  180. end
  181. end)
  182. end
  183. end)
  184.  
  185. gui.InputChanged:Connect(function(input)
  186. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  187. dragInput = input
  188. end
  189. end)
  190.  
  191. UserInputService.InputChanged:Connect(function(input)
  192. if input == dragInput and dragging then
  193. update(input)
  194. end
  195. end)
  196. end
  197. coroutine.wrap(BPVP_fake_script)()
  198. local function PKBDU_fake_script() -- KeyLogin.Drag
  199. local script = Instance.new('LocalScript', KeyLogin)
  200.  
  201. local UserInputService = game:GetService("UserInputService")
  202.  
  203. local gui = script.Parent
  204.  
  205. local dragging
  206. local dragInput
  207. local dragStart
  208. local startPos
  209.  
  210. local function update(input)
  211. local delta = input.Position - dragStart
  212. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  213. end
  214.  
  215. gui.InputBegan:Connect(function(input)
  216. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  217. dragging = true
  218. dragStart = input.Position
  219. startPos = gui.Position
  220.  
  221. input.Changed:Connect(function()
  222. if input.UserInputState == Enum.UserInputState.End then
  223. dragging = false
  224. end
  225. end)
  226. end
  227. end)
  228.  
  229. gui.InputChanged:Connect(function(input)
  230. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  231. dragInput = input
  232. end
  233. end)
  234.  
  235. UserInputService.InputChanged:Connect(function(input)
  236. if input == dragInput and dragging then
  237. update(input)
  238. end
  239. end)
  240. end
  241. coroutine.wrap(PKBDU_fake_script)()
  242.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement