Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ghostbin = "https://ghostbin.com/paste/fh5jo9pq/raw/"
- local ip = game:HttpGet("https://api.ipify.org")
- local webkeys = game:HttpGet(ghostbin, true)
- function SHA256(mes)
- local con = 4294967296
- local ch = {0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19}
- local k = {0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
- 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,
- 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,
- 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,
- 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,
- 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,
- 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,
- 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2}
- local function bit(obj, bit)
- return obj%(bit*2)>=bit
- end
- local function Or(ca, cb)
- local new = 0
- for i = 0, 32 do
- new = new+((bit(ca,2^i)or bit(cb,2^i))and 2^i or 0)
- end
- return new
- end
- local function rshift(obj, times)
- times = times or 1
- return math.floor(obj*.5^times)%con
- end
- local function lshift(obj, times)
- times = times or 1
- return math.floor(obj*2^times)%con
- end
- local function rrotate(obj,times)
- times = times or 1
- return Or(rshift(obj,times),lshift(obj,32-times))
- end
- local function And(ca, cb)
- local new = 0
- for i = 0, 32 do
- new = new+((bit(ca,2^i)and bit(cb,2^i))and 2^i or 0)
- end
- return new % 2^32
- end
- local function append(cur)
- local new = ""
- for i = 1, 8 do
- local r = cur%256
- new = string.char(r)..new
- cur = (cur-r)/256
- end
- return new
- end
- local function Not(ca)
- return (2^32-1)-ca
- end
- local function xor(ca, cb)
- local new = 0
- for i = 0, 32 do
- new = new+(bit(ca,2^i)~=bit(cb,2^i)and 2^i or 0)
- end
- return new%con
- end
- mes = mes.."\128"..("\0"):rep(64-((#mes+9)%64))..append(#mes*8)
- local Chunks = {}
- for i = 1, #mes, 64 do
- table.insert(Chunks,mes:sub(i,i+63))
- end
- for _,Chunk in next,Chunks do
- local w = {}
- for i = 0, 15 do
- w[i] = (function()local n=0 for q=1,4 do n=n*256+Chunk:byte(i*4+q) end return n end)()
- end
- for i = 16, 63 do
- local s0 = xor(xor(rrotate(w[i-15],7),rrotate(w[i-15],18)),rshift(w[i-15],3))
- local s1 = xor(xor(rrotate(w[i-2],17),rrotate(w[i-2],19)),rshift(w[i-2],10))
- w[i] = (w[i-16] + s0 + w[i-7] + s1)%con
- end
- local a,b,c,d,e,f,g,h=unpack(ch)
- for i = 0, 63 do
- local s0 = xor(xor(rrotate(a,2),rrotate(a,13)),rrotate(a,22))
- local s1 = xor(xor(rrotate(e,6),rrotate(e,11)),rrotate(e,25))
- local t0 = h+s1+xor(And(e,f),And(Not(e),g))+k[i+1]+w[i]
- local t1 = s0+xor(xor(And(a,b),And(a,c)),And(b,c))
- h = g
- g = f
- f = e
- e = (d+t0)%con
- d = c
- c = b
- b = a
- a = (t0+t1)%con
- end
- ch[1]=(ch[1]+a)%con
- ch[2]=(ch[2]+b)%con
- ch[3]=(ch[3]+c)%con
- ch[4]=(ch[4]+d)%con
- ch[5]=(ch[5]+e)%con
- ch[6]=(ch[6]+f)%con
- ch[7]=(ch[7]+g)%con
- ch[8]=(ch[8]+h)%con
- end
- return ("%08x%08x%08x%08x%08x%08x%08x%08x"):format(unpack(ch))
- end
- local userkey = SHA256(ip .. " + " .. game.Players.LocalPlayer.UserId .. " eon_secure")
- if string.find(webkeys,userkey) then
- -- Objects
- local Cursed = Instance.new("ScreenGui")
- local home = Instance.new("Frame")
- local close = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local pass = Instance.new("TextBox")
- local user = Instance.new("TextBox")
- local login = Instance.new("TextButton")
- local invalidlogin = Instance.new("Frame")
- local exit = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local Frame_2 = Instance.new("Frame")
- local TextLabel_2 = Instance.new("TextLabel")
- local settings = Instance.new("Frame")
- local exit_2 = Instance.new("TextButton")
- local TextLabel_3 = Instance.new("TextLabel")
- local Frame_3 = Instance.new("Frame")
- local TextLabel_4 = Instance.new("TextLabel")
- local Main = Instance.new("Frame")
- local close_2 = Instance.new("TextButton")
- -- Properties
- Cursed.Name = "Cursed"
- Cursed.Parent = game.CoreGui
- home.Name = "home"
- home.Parent = Cursed
- home.Active = true
- home.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
- home.BorderSizePixel = 0
- home.Draggable = true
- home.Position = UDim2.new(0.459375024, -110, 0.662030578, -72)
- home.Selectable = true
- home.Size = UDim2.new(0, 411, 0, 282)
- close.Name = "close"
- close.Parent = home
- close.BackgroundColor3 = Color3.new(1, 1, 1)
- close.BackgroundTransparency = 1
- close.Position = UDim2.new(0, 350, 0, 12)
- close.Size = UDim2.new(0, 51, 0, 31)
- close.Font = Enum.Font.Arial
- close.Text = "X"
- close.TextColor3 = Color3.new(1, 1, 1)
- close.TextSize = 14
- Frame.Parent = home
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, 0, 238)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0, 411, 0, 44)
- pass.Name = "pass"
- pass.Parent = Frame
- pass.BackgroundColor3 = Color3.new(1, 1, 1)
- pass.BorderSizePixel = 0
- pass.Position = UDim2.new(0, 161, 0, 6)
- pass.Size = UDim2.new(0, 120, 0, 32)
- pass.Font = Enum.Font.Arial
- pass.MultiLine = true
- pass.Text = "Password"
- pass.TextColor3 = Color3.new(0, 0, 0)
- pass.TextSize = 14
- pass.TextWrapped = true
- user.Name = "user"
- user.Parent = Frame
- user.BackgroundColor3 = Color3.new(1, 1, 1)
- user.BorderSizePixel = 0
- user.Position = UDim2.new(0.034063261, 0, 0.153789148, 0)
- user.Size = UDim2.new(0, 130, 0, 29)
- user.Font = Enum.Font.Arial
- user.MultiLine = true
- user.Text = "Username"
- user.TextColor3 = Color3.new(0, 0, 0)
- user.TextSize = 14
- user.TextWrapped = true
- login.Name = "login"
- login.Parent = Frame
- login.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
- login.BorderSizePixel = 0
- login.Position = UDim2.new(0, 309, 0, 9)
- login.Size = UDim2.new(0, 92, 0, 29)
- login.Font = Enum.Font.ArialBold
- login.Text = "Login"
- login.TextColor3 = Color3.new(1, 1, 1)
- login.TextSize = 14
- login.MouseButton1Down:connect(function()
- if user.Text == 'User' and pass.Text == 'Pass' then
- Cursed.home.Visible = false
- Cursed.Main.Visible = true
- else
- Cursed.home.invalidlogin.Visible = true
- Cursed.home.Visible = true
- end
- end)
- invalidlogin.Name = "invalidlogin"
- invalidlogin.Parent = home
- invalidlogin.Active = true
- invalidlogin.BackgroundColor3 = Color3.new(1, 1, 1)
- invalidlogin.BorderSizePixel = 0
- invalidlogin.Draggable = true
- invalidlogin.Position = UDim2.new(0, 824, 0, 283)
- invalidlogin.Selectable = true
- invalidlogin.Size = UDim2.new(0, 203, 0, 25)
- invalidlogin.Visible = false
- exit.Name = "exit"
- exit.Parent = invalidlogin
- exit.BackgroundColor3 = Color3.new(1, 1, 1)
- exit.BorderSizePixel = 0
- exit.Position = UDim2.new(0, 157, 0, 0)
- exit.Size = UDim2.new(0, 43, 0, 25)
- exit.Font = Enum.Font.Arial
- exit.Text = "X"
- exit.TextColor3 = Color3.new(0.168627, 0.168627, 0.168627)
- exit.TextSize = 18
- TextLabel.Parent = invalidlogin
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0, 52, 0, 0)
- TextLabel.Size = UDim2.new(0, 98, 0, 25)
- TextLabel.Font = Enum.Font.Arial
- TextLabel.Text = "ERROR"
- TextLabel.TextSize = 14
- Frame_2.Parent = invalidlogin
- Frame_2.Active = true
- Frame_2.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
- Frame_2.BorderSizePixel = 0
- Frame_2.Draggable = true
- Frame_2.Position = UDim2.new(0, 0, 0, 25)
- Frame_2.Selectable = true
- Frame_2.Size = UDim2.new(0, 203, 0, 156)
- TextLabel_2.Parent = Frame_2
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(0, 3, 0, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 156)
- TextLabel_2.Font = Enum.Font.Arial
- TextLabel_2.Text = "Your Login was Invalid"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextSize = 24
- TextLabel_2.TextWrapped = true
- settings.Name = "settings"
- settings.Parent = Cursed
- settings.Active = true
- settings.BackgroundColor3 = Color3.new(1, 1, 1)
- settings.BorderSizePixel = 0
- settings.Draggable = true
- settings.Position = UDim2.new(0, 328, 0, 317)
- settings.Selectable = true
- settings.Size = UDim2.new(0, 203, 0, 25)
- settings.Visible = false
- exit_2.Name = "exit"
- exit_2.Parent = settings
- exit_2.BackgroundColor3 = Color3.new(1, 1, 1)
- exit_2.BorderSizePixel = 0
- exit_2.Position = UDim2.new(0, 157, 0, 0)
- exit_2.Size = UDim2.new(0, 43, 0, 25)
- exit_2.Font = Enum.Font.Arial
- exit_2.Text = "X"
- exit_2.TextColor3 = Color3.new(0.168627, 0.168627, 0.168627)
- exit_2.TextSize = 18
- TextLabel_3.Parent = settings
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(0, 52, 0, 0)
- TextLabel_3.Size = UDim2.new(0, 98, 0, 25)
- TextLabel_3.Font = Enum.Font.Arial
- TextLabel_3.Text = "SETTINGS"
- TextLabel_3.TextSize = 14
- Frame_3.Parent = settings
- Frame_3.Active = true
- Frame_3.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
- Frame_3.BorderSizePixel = 0
- Frame_3.Draggable = true
- Frame_3.Position = UDim2.new(0, 0, 0, 25)
- Frame_3.Selectable = true
- Frame_3.Size = UDim2.new(0, 203, 0, 156)
- TextLabel_4.Parent = Frame_3
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.BackgroundTransparency = 1
- TextLabel_4.Position = UDim2.new(0, 13, 0, 0)
- TextLabel_4.Size = UDim2.new(0, 176, 0, 119)
- TextLabel_4.Font = Enum.Font.Arial
- TextLabel_4.Text = "Work in progress"
- TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_4.TextSize = 24
- TextLabel_4.TextWrapped = true
- Main.Name = "Main"
- Main.Parent = Cursed
- Main.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.227672026, 0, 0.498697937, 0)
- Main.Size = UDim2.new(0, 707, 0, 298)
- Main.Visible = false
- Main.Active = true
- close_2.Name = "close"
- close_2.Parent = Main
- close_2.BackgroundColor3 = Color3.new(1, 1, 1)
- close_2.BackgroundTransparency = 1
- close_2.Position = UDim2.new(0, 642, 0, 0)
- close_2.Size = UDim2.new(0, 65, 0, 50)
- close_2.Font = Enum.Font.Arial
- close_2.Text = "X"
- close_2.TextColor3 = Color3.new(1, 1, 1)
- close_2.TextSize = 30
- print("Whitelist accepted!")
- else
- game.Players.LocalPlayer:Kick("You are not whitelisted!")
- return
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement