Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Must be ran client-side!
- --Run in SB
- local UIS = game:GetService("UserInputService")
- local LP = game:GetService("Players").LocalPlayer
- local KeyWord = ""
- local KeyNums = {}
- local NewSource = ""
- local BreakCons = {}
- local Iter = 0
- local LastVal = 0
- local Valid = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}
- local isServerScript = false
- local Source = [===========================[
- 5992:5880:6099:5985:5617.5:5512.5:5885:5775:6206:6090:2140:2100:1819:1785:3852:3780:5403.5:5302.5:5778:5670:5778:5670:5938.5:5827.5:1712:1680:6366.5:6247.5:5938.5:5827.5:6099:5985:5778:5670:5350:5250:1765.5:1732.5:1819:1785:2193.5:2152.5:535:525
- ]===========================]
- function Decrypt()
- KeyWord = KeyWord:lower()
- for i = 1, #KeyWord do
- KeyNums[#KeyNums+1] = string.byte(KeyWord:sub(i, i))
- end
- for ASCII in Source:gmatch("[^:]+") do
- local Num = tonumber(ASCII)
- Iter = Iter + 1
- LastVal = LastVal + (Num/KeyNums[Iter])
- if Iter == #KeyNums then
- NewSource = NewSource .. string.char(LastVal)
- Iter = 0
- LastVal = 0
- end
- end
- print("-Running Script-")
- if isServerScript then
- NS(NewSource, Workspace)
- else
- NLS(NewSource, LP.Character)
- end
- end
- print("-Enter KeyWord-")
- BreakCons[#BreakCons+1] = UIS.InputBegan:connect(function(Input, Processed)
- if not Processed then
- local Key = tostring(Input.KeyCode):lower()
- if #Key > 4 and Key:sub(1, 4) == "enum" then
- Key = Key:sub(14)
- if Key == "backspace" then
- KeyWord = ""
- print("-Cleared KeyWord-")
- elseif Key == "return" then
- for _,v in pairs(BreakCons) do
- v:disconnect()
- end
- print("-KeyWord Sent-")
- Decrypt()
- else
- for _,v in pairs(Valid) do
- if v == Key then
- KeyWord = KeyWord .. Key
- print("Added Letter/Number to KeyWord")
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement