Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --game:GetService("CoreGui").LoginGUI:Destroy()
- --local Player = game:GetService("Players").LocalPlayer
- local LoginGUI = Instance.new("ScreenGui")
- local LoginFrame = Instance.new("Frame")
- local Shadow = Instance.new("Frame")
- local LogoText = Instance.new("TextLabel")
- local UsernameOEmailInput = Instance.new("TextBox")
- local PasswordInput = Instance.new("TextBox")
- local LoginButton = Instance.new("TextButton")
- local ForgotPasswordButton = Instance.new("TextButton")
- local ForgotUsernameButton = Instance.new("TextButton")
- local CreateAccountButton = Instance.new("TextButton")
- local UOEInputErrorText = Instance.new("TextLabel")
- LoginGUI.Name = "LoginGUI"
- LoginGUI.Parent = game:GetService("CoreGui")
- LoginFrame.Name = "LoginFrame"
- LoginFrame.Parent = LoginGUI
- LoginFrame.BackgroundColor3 = Color3.new(0.215686, 0.568627, 1)
- LoginFrame.BackgroundTransparency = 0.10000000149012
- LoginFrame.BorderSizePixel = 0
- LoginFrame.Position = UDim2.new(0.5, -200, 0.5, -175)
- LoginFrame.Size = UDim2.new(0, 400, 0, 350)
- Shadow.Name = "Shadow"
- Shadow.Parent = LoginFrame
- Shadow.BackgroundColor3 = Color3.new(0, 0, 0)
- Shadow.BackgroundTransparency = 0.69999998807907
- Shadow.BorderSizePixel = 0
- Shadow.Position = UDim2.new(0, 0, 1, 0)
- Shadow.Size = UDim2.new(1, 0, 0, 3)
- LogoText.Name = "LogoText"
- LogoText.Parent = LoginFrame
- LogoText.BackgroundColor3 = Color3.new(0.188235, 0.505882, 0.886275)
- LogoText.BorderSizePixel = 0
- LogoText.Size = UDim2.new(1, 0, 0, 40)
- LogoText.Font = Enum.Font.SourceSansSemibold
- LogoText.Text = ""
- LogoText.TextColor3 = Color3.new(1, 1, 1)
- LogoText.TextSize = 30
- UsernameOEmailInput.Name = "UsernameOEmailInput"
- UsernameOEmailInput.Parent = LoginFrame
- UsernameOEmailInput.BackgroundColor3 = Color3.new(0.168627, 0.466667, 0.807843)
- UsernameOEmailInput.BorderSizePixel = 0
- UsernameOEmailInput.Position = UDim2.new(0, 0, 0, 60)
- UsernameOEmailInput.Size = UDim2.new(1, 0, 0, 40)
- UsernameOEmailInput.ClearTextOnFocus = false
- UsernameOEmailInput.Font = Enum.Font.SourceSansSemibold
- UsernameOEmailInput.PlaceholderColor3 = Color3.new(1, 1, 1)
- UsernameOEmailInput.Text = ""
- UsernameOEmailInput.TextColor3 = Color3.new(1, 1, 1)
- UsernameOEmailInput.TextSize = 24
- PasswordInput.Name = "PasswordInput"
- PasswordInput.Parent = LoginFrame
- PasswordInput.BackgroundColor3 = Color3.new(0.168627, 0.466667, 0.807843)
- PasswordInput.BorderSizePixel = 0
- PasswordInput.Position = UDim2.new(0, 0, 0, 120)
- PasswordInput.Size = UDim2.new(1, 0, 0, 40)
- PasswordInput.ClearTextOnFocus = false
- PasswordInput.Font = Enum.Font.SourceSansSemibold
- PasswordInput.PlaceholderColor3 = Color3.new(1, 1, 1)
- PasswordInput.Text = ""
- PasswordInput.TextColor3 = Color3.new(1, 1, 1)
- PasswordInput.TextSize = 24
- LoginButton.Name = "LoginButton"
- LoginButton.Parent = LoginFrame
- LoginButton.BackgroundColor3 = Color3.new(0.129412, 0.384314, 0.658824)
- LoginButton.BorderSizePixel = 0
- LoginButton.Position = UDim2.new(0, 50, 0, 285)
- LoginButton.Size = UDim2.new(0, 0, 0, 45)
- LoginButton.Font = Enum.Font.SourceSansSemibold
- LoginButton.Text = ""
- LoginButton.TextColor3 = Color3.new(1, 1, 1)
- LoginButton.TextSize = 26
- ForgotPasswordButton.Name = "ForgotPasswordButton"
- ForgotPasswordButton.Parent = LoginFrame
- ForgotPasswordButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ForgotPasswordButton.BackgroundTransparency = 1
- ForgotPasswordButton.BorderSizePixel = 0
- ForgotPasswordButton.Position = UDim2.new(0, 5, 0, 170)
- ForgotPasswordButton.Size = UDim2.new(0, 190, 0, 30)
- ForgotPasswordButton.Font = Enum.Font.SourceSansSemibold
- ForgotPasswordButton.Text = "I Forgot My Password"
- ForgotPasswordButton.TextColor3 = Color3.new(1, 1, 1)
- ForgotPasswordButton.TextSize = 20
- ForgotPasswordButton.TextWrapped = true
- ForgotUsernameButton.Name = "ForgotUsernameButton"
- ForgotUsernameButton.Parent = LoginFrame
- ForgotUsernameButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ForgotUsernameButton.BackgroundTransparency = 1
- ForgotUsernameButton.BorderSizePixel = 0
- ForgotUsernameButton.Position = UDim2.new(0, 205, 0, 170)
- ForgotUsernameButton.Size = UDim2.new(0, 190, 0, 30)
- ForgotUsernameButton.Font = Enum.Font.SourceSansSemibold
- ForgotUsernameButton.Text = "I Forgot My Username"
- ForgotUsernameButton.TextColor3 = Color3.new(1, 1, 1)
- ForgotUsernameButton.TextSize = 20
- ForgotUsernameButton.TextWrapped = true
- CreateAccountButton.Name = "CreateAccountButton"
- CreateAccountButton.Parent = LoginFrame
- CreateAccountButton.BackgroundColor3 = Color3.new(1, 1, 1)
- CreateAccountButton.BackgroundTransparency = 1
- CreateAccountButton.BorderSizePixel = 0
- CreateAccountButton.Position = UDim2.new(0, 100, 0, 210)
- CreateAccountButton.Size = UDim2.new(0, 200, 0, 30)
- CreateAccountButton.Font = Enum.Font.SourceSansSemibold
- CreateAccountButton.Text = "Create An Account"
- CreateAccountButton.TextColor3 = Color3.new(1, 1, 1)
- CreateAccountButton.TextSize = 20
- CreateAccountButton.TextWrapped = true
- UOEInputErrorText.Name = "UOEInputErrorText"
- UOEInputErrorText.Parent = LoginFrame
- UOEInputErrorText.BackgroundColor3 = Color3.new(0.603922, 0, 0)
- UOEInputErrorText.BorderSizePixel = 0
- UOEInputErrorText.Position = UDim2.new(0, 400, 0, 0)
- UOEInputErrorText.Size = UDim2.new(0, 0, 0, 40)
- UOEInputErrorText.Font = Enum.Font.SourceSansSemibold
- UOEInputErrorText.Text = ""
- UOEInputErrorText.TextColor3 = Color3.new(1, 1, 1)
- UOEInputErrorText.TextSize = 20
- UOEInputErrorText.TextWrapped = true
- wait()
- local IsLogged = false
- local PasswordInputText = ""
- local function GetSiteBody(Link)
- local Body = nil
- pcall(function()
- Body = HttpGet(Link)
- end)
- if Body then
- return Body
- end
- pcall(function()
- Body = game:HttpGetAsync(Link)
- end)
- if Body then
- return Body
- end
- pcall(function()
- Body = HttpS:GetAsync(Link)
- end)
- return Body
- end
- local function DoAnimate(Object, Value, Type)
- spawn(function()
- Player.Character:WaitForChild("Humanoid",15).WalkSpeed = 0
- Player.Character:WaitForChild("Humanoid",15).JumpPower = 0
- end)
- spawn(function()
- if Object.Text == "" or Object.Text == " " then
- if Type == "Text" then
- for i = 1,#Value do
- Object.Text = Object.Text..Value:sub(i,i)
- wait(0.03)
- end
- elseif Type == "PlaceHolder" then
- for i = 1,#Value do
- Object.PlaceholderText = Object.PlaceholderText..Value:sub(i,i)
- wait(0.03)
- end
- end
- else
- if Type == "Text" then
- for i = 1,#Object.Text do
- Object.Text = Object.Text:sub(1,#Object.Text-1)
- wait(0.02)
- end
- elseif Type == "PlaceHolder" then
- for i = 1,#Object.Text do
- Object.PlaceholderText = Object.PlaceholderText:sub(1,#Object.PlaceholderText-1)
- wait(0.02)
- end
- end
- DoAnimate(Object, Value, Type)
- end
- end)
- end
- spawn(function()
- spawn(function()
- LoginButton:TweenSize(UDim2.new(0,300,0,45),"Out","Quad",0.5)
- end)
- wait(0.5)
- spawn(function()
- local Blur = Instance.new("BlurEffect")
- Blur.Size = 3
- Blur.Parent = game:GetService("Lighting")
- for i = 1,15 do
- Blur.Size = Blur.Size+1
- wait(0.01)
- end
- end)
- wait()
- spawn(function()
- DoAnimate(LogoText, "Demeter", "Text")
- wait()
- DoAnimate(UsernameOEmailInput, "Username / Email", "PlaceHolder")
- DoAnimate(PasswordInput, "Password", "PlaceHolder")
- wait()
- DoAnimate(ForgotPasswordButton, "I Forgot My Password", "Text")
- DoAnimate(ForgotUsernameButton, "I Forgot My Username", "Text")
- DoAnimate(CreateAccountButton, "Create An Account", "Text")
- wait()
- DoAnimate(LoginButton, "Login", "Text")
- end)
- LoginButton.MouseEnter:Connect(function()
- if LoginButton.TextSize == 26 then
- spawn(function()
- for i = 1,4 do
- LoginButton.TextSize = LoginButton.TextSize + 1
- LoginButton.BackgroundTransparency = LoginButton.BackgroundTransparency + 0.2
- wait(0.02)
- end
- end)
- end
- end)
- LoginButton.MouseLeave:Connect(function()
- if LoginButton.TextSize == 30 then
- spawn(function()
- for i = 1,4 do
- LoginButton.TextSize = LoginButton.TextSize - 1
- LoginButton.BackgroundTransparency = LoginButton.BackgroundTransparency - 0.2
- wait(0.02)
- end
- end)
- end
- end)
- ForgotPasswordButton.MouseEnter:Connect(function()
- if ForgotPasswordButton.TextSize == 20 then
- spawn(function()
- for i = 1,3 do
- ForgotPasswordButton.TextSize = ForgotPasswordButton.TextSize + 1
- ForgotPasswordButton.BackgroundTransparency = ForgotPasswordButton.BackgroundTransparency - 0.1
- wait(0.02)
- end
- end)
- end
- end)
- ForgotPasswordButton.MouseLeave:Connect(function()
- if ForgotPasswordButton.TextSize == 23 then
- spawn(function()
- for i = 1,3 do
- ForgotPasswordButton.TextSize = ForgotPasswordButton.TextSize - 1
- ForgotPasswordButton.BackgroundTransparency = ForgotPasswordButton.BackgroundTransparency + 0.1
- wait(0.02)
- end
- end)
- end
- end)
- ForgotUsernameButton.MouseEnter:Connect(function()
- if ForgotUsernameButton.TextSize == 20 then
- spawn(function()
- for i = 1,3 do
- ForgotUsernameButton.TextSize = ForgotUsernameButton.TextSize + 1
- ForgotUsernameButton.BackgroundTransparency = ForgotUsernameButton.BackgroundTransparency - 0.1
- wait(0.02)
- end
- end)
- end
- end)
- ForgotUsernameButton.MouseLeave:Connect(function()
- if ForgotUsernameButton.TextSize == 23 then
- spawn(function()
- for i = 1,3 do
- ForgotUsernameButton.TextSize = ForgotUsernameButton.TextSize - 1
- ForgotUsernameButton.BackgroundTransparency = ForgotUsernameButton.BackgroundTransparency + 0.1
- wait(0.02)
- end
- end)
- end
- end)
- CreateAccountButton.MouseEnter:Connect(function()
- if CreateAccountButton.TextSize == 20 then
- spawn(function()
- for i = 1,3 do
- CreateAccountButton.TextSize = CreateAccountButton.TextSize + 1
- CreateAccountButton.BackgroundTransparency = CreateAccountButton.BackgroundTransparency - 0.1
- wait(0.02)
- end
- end)
- end
- end)
- CreateAccountButton.MouseLeave:Connect(function()
- if CreateAccountButton.TextSize == 23 then
- spawn(function()
- for i = 1,3 do
- CreateAccountButton.TextSize = CreateAccountButton.TextSize - 1
- CreateAccountButton.BackgroundTransparency = CreateAccountButton.BackgroundTransparency + 0.1
- wait(0.02)
- end
- end)
- end
- end)
- PasswordInput.Changed:Connect(function()
- if #PasswordInputText+1 == #PasswordInput.Text then
- PasswordInputText = PasswordInputText..PasswordInput.Text:sub(#PasswordInput.Text)
- local NewText = ""
- for i = 1,#PasswordInput.Text do
- NewText = NewText.."*"
- end
- PasswordInput.Text = NewText
- elseif #PasswordInputText-1 == #PasswordInput.Text then
- PasswordInputText = PasswordInputText:sub(1,#PasswordInputText-1)
- local NewText = ""
- for i = 1,#PasswordInput.Text do
- NewText = NewText.."*"
- end
- PasswordInput.Text = NewText
- elseif #PasswordInput.Text ~= #PasswordInputText then
- PasswordInputText = PasswordInputText..PasswordInput.Text
- end
- end)
- LoginFrame.Changed:Connect(function()
- if not LoginFrame.Parent then
- Player:Kick("Wasted")
- LoginGUI:Destroy()
- for i=1/0,1/0 do print(i)end
- elseif not LoginFrame.Visible and not IsLogged then
- Player:Kick("Wasted.")
- LoginGUI:Destroy()
- for i=1/0,1/0 do print(i)end
- end
- end)
- end)
- --{0, 140},{0, 40}
- LoginButton.Mouse1ButtonClick:Connect(function()
- local Check = GetSiteBody("https://demetersite.000webhostapp.com/_Login.php?UOE="..UsernameOEmailInput.Text.."&Password="..PasswordInputText)
- if
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement