Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local screenGui = Instance.new("ScreenGui")
- screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(0, 200, 0, 100)
- frame.Position = UDim2.new(0.5, -100, 0.5, -50)
- frame.BackgroundColor3 = Color3.new(1, 1, 1)
- frame.Parent = screenGui
- local title = Instance.new("TextLabel")
- title.Size = UDim2.new(1, 0, 0, 20)
- title.Position = UDim2.new(0, 0, 0, -20)
- title.Text = "Key in Discord"
- title.TextColor3 = Color3.new(1, 1, 1)
- title.BackgroundColor3 = Color3.new(0, 0, 0)
- title.Parent = frame
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- title.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- title.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- title.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = false
- dragInput = nil
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- local KeySystem = Instance.new("TextBox")
- KeySystem.Size = UDim2.new(1, 0, 0.5, 0)
- KeySystem.Position = UDim2.new(0, 0, 0, 0)
- KeySystem.Text = "Enter the Key"
- KeySystem.TextColor3 = Color3.new(0, 0, 0)
- KeySystem.BackgroundTransparency = 0.5
- KeySystem.BackgroundColor3 = Color3.new(1, 1, 1)
- KeySystem.TextWrapped = true
- KeySystem.Parent = frame
- local SubmitButton = Instance.new("TextButton")
- SubmitButton.Size = UDim2.new(0.5, 0, 0.5, 0)
- SubmitButton.Position = UDim2.new(0, 0, 0.5, 0)
- SubmitButton.Text = "Submit"
- SubmitButton.Parent = frame
- local CloseButton = Instance.new("TextButton")
- CloseButton.Size = UDim2.new(0, 20, 0, 20)
- CloseButton.Position = UDim2.new(1, -20, 0, 0)
- CloseButton.Text = "X"
- CloseButton.TextColor3 = Color3.new(1, 1, 1)
- CloseButton.BackgroundColor3 = Color3.new(1, 0, 0)
- CloseButton.Parent = frame
- CloseButton.MouseButton1Click:Connect(function()
- screenGui:Destroy()
- end)
- local GetKeyButton = Instance.new("TextButton")
- GetKeyButton.Size = UDim2.new(0.5, 0, 0.5, 0)
- GetKeyButton.Position = UDim2.new(0.5, 0, 0.5, 0)
- GetKeyButton.Text = "Get Key"
- GetKeyButton.Parent = frame
- --------------------------------------------------------------------------
- SubmitButton.MouseButton1Click:Connect(function()
- local KeySystem = KeySystem.Text
- if KeySystem == "Kikimora" then
- screenGui:Destroy()
- loadstring(game:HttpGet("https://pastebin.com/raw/Wqks4bX2"))()
- end
- end)
- GetKeyButton.MouseButton1Click:Connect(function()
- setclipboard("https://discord.com/invite/p63eJrYhZG")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement