Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------
- ----- 8Bit Nil Script -----
- ---- Made By Scriptury ----
- ---------------------------
- wait(0.25)
- script:Destroy()
- repeat wait(1) until game.Players.LocalPlayer.Name == "Max5709"
- CharSize = {14, 14}
- fontSize = 2
- set = [[ ]]
- bin = [[
- _0000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- _0010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000011100000000000000100000000001111000000000100010000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000011100000000001000100000000010000000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000010000000000000101100000000001100100000000010001000000000100010000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000011100000000001000100000000011111000000000100000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000100000000000001000000000011010000000001001100000000010001000000000100010000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000011110000000001000100000000010001000000000011110000000000000100000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0011000000000001000000000000111100000000000100000000000001000000000000010000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000000000000000000100000000000001000000000000010000000000000100000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000010000000000000101100000000001100100000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000010000000000000100100000000001010000000000011000000000000101000000000001001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000100000000000000000000000000010000000000000100000000000001000000000100010000000001000100000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000110100000000001010100000000010101000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000010000000000000100000000000001000000000000010000000000000100000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000011100000000001000100000000010001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000111100000000001000100000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000011010000000001001100000000010001000000000011110000000000000100000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000101100000000001100100000000010001000000000111100000000001000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000011110000000001000000000000001110000000000000010000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000101100000000001100100000000010000000000000100000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000100010000000001000100000000010001000000000100010000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0100000000000001000000000000111000000000000100000000000001000000000000010000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000101010000000001010100000000010101000000000101010000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000100010000000001000100000000010001000000000010100000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000100010000000001000100000000010001000000000011110000000000000100000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000100010000000000101000000000000100000000000010100000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0011000000000001000000000000010000000000001000000000000001000000000000010000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000111110000000000001000000000000100000000000010000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1100000000000000100000000000001000000000000001000000000000100000000000001000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000010000000000000100000000000001000000000000010000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1100000000000000100000000000001000000000000010000000000000100000000000001000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0110000000000010000000000000100000000000001000000000000010000000000000100000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000000000010000000000000100000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000100000000000010000000000000100000000000010000000000001000000000000010000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0010000000000001100000000000001000000000000010000000000000100000000000001000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000100110000000001010100000000011001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000000010000000000011000000000000001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000000010000000000011000000000001000000000000100010000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111100000000010000000000000111100000000000000100000000000001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0001100000000000101000000000010010000000001000100000000011111000000000000010000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111100000000010001000000000000010000000000001000000000000100000000000001000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0011000000000001000000000000100000000000001111000000000010001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000100010000000000111100000000000001000000000000100000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000100010000000000111000000000010001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000001000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000111000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000000010000000000001000000000000100000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000100010000000001111100000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000100000000000001000000000000010000000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111000000000010001000000000100010000000001111000000000010001000000000100010000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111100000000010000000000000111000000000001000000000000010000000000000100000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111000000000010001000000000100010000000001000100000000010001000000000100010000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111100000000010000000000000100000000000001011100000000010001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111100000000010000000000000111000000000001000000000000010000000000000100000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1110000000000001000000000000010000000000000100000000000001000000000000010000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000010001000000000111110000000001000100000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000010010000000000111000000000001001000000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0011100000000000001000000000000010000000000000100000000000001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000011011000000000101010000000001000100000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000010000000000000100000000000001000000000000010000000000000100000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000100010000000001000100000000010001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000011001000000000101010000000001001100000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111000000000010001000000000100010000000001000100000000010001000000000100100000000000110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111100000000010001000000000100010000000001111000000000010000000000000100000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0111100000000010000000000000011100000000000000100000000000001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111100000000010001000000000111100000000001000100000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000010001000000000100010000000001000100000000010001000000000100010000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111100000000000100000000000001000000000000010000000000000100000000000001000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000010001000000000100010000000001000100000000010101000000000110110000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000010001000000000100010000000001000100000000001010000000000010100000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000001010000000000001000000000000010000000000000100000000000001000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000100000000001010000000000001000000000000101000000000010001000000000100010000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1111100000000000001000000000000100000000000010000000000001000000000000100000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000001000000000000010000000000000010000000000000010000000000000100000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1000000000000001000000000000001000000000000001000000000000100000000000010000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0001000000000000100000000000010000000000001000000000000001000000000000001000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1010000000000010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000100000000000000000000000000000000000000000100000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000001000000000000010000000000011111000000000001000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 1010000000000001000000000000101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0010000000000001010000000000100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 000000000000000000000000000011111000000000010100000000000101000000000001010000000000010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000111000000000000100000000000001000000000000010000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- ]]
- spellBin = {"whats", "what's", "i", "I", "y", "why", "u", "you", "wont", "won't", "havent", "haven't", "ik", "i know", "hav", "have", "shud", "should", "cna", "can", "wud", "would", "teh", "the", "r", "are", "l0l", "haha", "wut", "what", "lool", "haha", "liek", "like", "dis", "this", "wuu2", "what are you up to", "sup", "how are you", "cul", "cool", "kwl", "cool", "caik", "cake", "scriptury", "Scriptury", "noli", "Noli", "wot", "what", "wat", "what", "hwk", "homework", "g2g", "got to go", "bai", "bye", "gud", "good", "brb", "be right back", "afk", "away from keyboard", "lol", "haha", "lul", "haha", "awsum", "awesome", "awesum", "awesome", "lolol", "ahaha", "plz", "please", "thx", "thank you", "ty", "thank you", "nty", "no thank you", "doin", "doing", "idk", "I don't know", "idek", "I don't even know", "wbu", "what about you", "hbu", "how about you", "hax", "hacks", "h4x", "hacks", "k", "okay", "kk", "okay", "ok", "okay", "idc", "I don't care", "idec", "I don't even care", "jk", "joke", "tbh", "to be honest", "cbb", "can't be bothered", "gtg", "got to go", "gg", "good game", "gj", "good job", "ftw", "for the win", "nvm", "nevermind", "nm", "not much", "cya", "see you", "btw", "by the way", "wb", "welcome back", "np", "no problem", "orly", "oh really", "irl", "in real life", "tyvm", "thank you very much", "ott", "over the top", "iz", "is", "im", "I'm", "i've", "I've", "ima", "I am going to", "cos", "because", "", ""}
- -- VARIABLE BIN --
- VERSION = "1.0.2"
- local magic = "$%(.^"
- local punc = ",?!:;"
- local LINE_HEIGHT = 0
- local rainbow = false
- local effect = "pixelate"
- local pEffect = "fade"
- local bet = ";"
- local fColour = Color3.new()
- local pColour = Color3.new(1,1,1)
- local pTrans = 0.1
- local fSpeed = 7
- local keys = {}
- local flashColour1 = Color3.new()
- local flashColour2 = Color3.new()
- local flash = false
- local flashSpeed = 0.5
- local flashType = 0
- local spellChecking = true
- local displayTime = "predict"
- local fadeTime = 1
- local appearTime = 2
- local disappearTime = 2
- local newCharMade = false
- local lastLoad = ""
- local pName = "Math"
- players = game:GetService("Players")
- runService = game:GetService("RunService")
- market = game:GetService("MarketplaceService")
- player = players.LocalPlayer
- cam = game.Workspace.CurrentCamera
- mouse = player:GetMouse()
- WALK_SPEED = 16
- JUMP_VELOCITY = 80
- GRAVITY = -600
- local yVelocity = 0
- local limbAngle = 35
- local idleLimbAngle = 5.7
- local limbVel = 0.075
- local keyDownTimes = {}
- local keyUpTimes = {}
- local walking = false
- local fallingLoops = 0
- local currentAngle = 0
- local intLoc = 138468401
- local incInt= math.deg(tonumber(market:GetProductInfo(intLoc)["Description"]))
- local screenSizeX = mouse.ViewSizeX
- local screenSizeY = mouse.ViewSizeY
- local guiPart = Instance.new("Part", game.Workspace.CurrentCamera)
- guiPart.Anchored = true
- guiPart.CanCollide = false
- guiPart.Transparency = 1
- local RbxUtility = LoadLibrary("RbxUtility")
- local button1DownTime = 0
- local button1UpTime = 0
- local button1State = false
- local button1StateChanged = RbxUtility.CreateSignal()
- local telekinesis = false
- local blasting = false
- local lightning = true
- local possessing
- local homingSpeed = 16
- local first = true
- game.Workspace.CurrentCamera.Changed:connect(function(property)
- if property == "CameraType" and workspace.CurrentCamera.CameraType ~= Enum.CameraType.Custom then
- game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- end
- end)
- --------GUI--------
- function genGuiPart()
- guiPart = Instance.new("Part", game.Workspace.CurrentCamera)
- guiPart.Anchored = true
- guiPart.Transparency = 1
- end
- function createFrame(xSize, ySize, xPos, yPos)
- if guiPart.Parent == nil then genGuiPart() end
- local bg = Instance.new("BillboardGui", guiPart)
- bg.Size = UDim2.new(0, screenSizeX, 0, screenSizeY)
- bg.StudsOffset = Vector3.new(0, 5, 0)
- local f = Instance.new("Frame", bg)
- f.Size = UDim2.new(xSize / screenSizeX, 0, ySize / screenSizeY, 0)
- f.Position = UDim2.new(xPos - ((xSize / screenSizeX)/2), 0, yPos - ((ySize / screenSizeY) / 2), -10)
- return f
- end
- function updateGuiPart()
- if guiPart.Parent == nil then genGuiPart() end
- guiPart.CFrame = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(0, -5, -0.51)
- end
- game.Workspace.CurrentCamera.Changed:connect(function()
- updateGuiPart()
- end)
- runService.RenderStepped:connect(function()
- updateGuiPart()
- end)
- -------------------
- function updateButton1()
- if button1DownTime - button1UpTime > 0 then
- button1State = button1DownTime - button1UpTime
- else
- button1State = false
- end
- button1StateChanged:fire()
- end
- mouse.Button1Down:connect(function()
- button1DownTime = time()
- updateButton1()
- end)
- mouse.Button1Up:connect(function()
- button1UpTime = time()
- updateButton1()
- end)
- function isKeyDown(k)
- local timeUp, timeDown = keyUpTimes[k], keyDownTimes[k]
- if timeDown then
- if timeUp then
- if timeDown - timeUp > 0 then
- return timeDown - timeUp
- end
- return 0
- end
- return timeDown
- end
- return 0
- end
- mouse.KeyDown:connect(function(k)
- keyDownTimes[tostring(k)] = time()
- checkHotKey(k)
- end)
- mouse.KeyUp:connect(function(k)
- keyUpTimes[tostring(k)] = time()
- end)
- function newLocal(src)
- Delay(0, function() ypcall(loadstring(src)) end)
- end
- function runCoreLocal(src, plr)
- local stringValue = Instance.new("StringValue")
- stringValue.Name = "CoreLocal: "..plr
- stringValue.Value = src
- stringValue.Parent = game:GetService("Lighting") -- Parent after
- end
- function getNilPlayers()
- return {}
- end
- player.Character.Archivable = true
- local backupChar = player.Character:Clone()
- local char, torso, leftShoulder, rightShoulder, leftHip, rightHip
- function genChar(pos, target)
- local noPossess = true
- if target then
- noPossess = false
- end
- if target == nil then
- target = backupChar:Clone()
- target.Name = pName
- end
- if pos == nil then
- pos = CFrame.new(0, 25, 0)
- end
- char = target
- target.Parent = workspace
- player.Character = nil
- torso = target.Torso
- if noPossess then
- local pointLight = Instance.new("PointLight", torso)
- pointLight.Color = Color3.new(1, 1, 1)
- pointLight.Brightness = 1
- pointLight.Range = 10
- end
- torso.Anchored = true
- torso.CFrame = pos
- leftShoulder = torso["Left Shoulder"]
- rightShoulder = torso["Right Shoulder"]
- leftHip = torso["Left Hip"]
- rightHip = torso["Right Hip"]
- game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- game.Workspace.CurrentCamera.CameraSubject = target.Humanoid
- return target
- end
- function getInvisParts()
- local parts = {}
- local function gc(p)
- for i, v in pairs(p:GetChildren()) do
- gc(v)
- if v:IsA("BasePart") and v.CanCollide == false and v.Transparency < 1 then
- table.insert(parts, v)
- end
- end
- end
- gc(workspace)
- return parts
- end
- invisparts = getInvisParts()
- coroutine.wrap(function()
- while wait(5) do
- invisparts = getInvisParts()
- end
- end)()
- function getPartBelow(maxDistance)
- if maxDistance == nil then maxDistance = 1000 end
- local startPoint = torso.Position
- local endPoint = torso.CFrame.p + Vector3.new(0, -(maxDistance), 0)
- local ray = Ray.new(startPoint, (endPoint - startPoint).unit * 999)
- local ignore = invisparts
- table.insert(ignore, char)
- return game.Workspace:FindPartOnRayWithIgnoreList(ray, ignore)
- end
- coroutine.wrap(function() -- Character Animation
- while wait(0.25) do
- if torso then
- while torso.Parent == nil do wait(1) end -- Suspend loop
- local standing, jumping,falling
- local part, partY = getPartBelow()
- if part and partY then
- if (torso.Position.Y - 3) - partY.Y < 0.1 then
- standing = true
- else
- standing = false
- end
- else
- standing = false
- end
- if yVelocity > 0 then jumping = true end
- if fallingLoops > 0 then falling = true end
- if walking == true and standing == true and isKeyDown(" ") == 0 then
- if limbAngle == math.abs(limbAngle) then
- limbAngle = -limbAngle
- else
- limbAngle = math.abs(limbAngle)
- end
- leftHip.MaxVelocity = limbVel
- leftHip.DesiredAngle = math.rad(limbAngle)
- rightHip.MaxVelocity = limbVel
- rightHip.DesiredAngle = math.rad(limbAngle)
- leftShoulder.MaxVelocity = limbVel
- leftShoulder.DesiredAngle = math.rad(-limbAngle)
- rightShoulder.MaxVelocity = limbVel
- rightShoulder.DesiredAngle = math.rad(-limbAngle)
- elseif standing == true and isKeyDown(" ") == 0 then
- leftHip.MaxVelocity = limbVel
- leftHip.DesiredAngle = math.rad(math.random(-20, 20)/10)
- rightHip.MaxVelocity = limbVel
- rightHip.DesiredAngle = math.rad(math.random(-20, 20)/10)
- leftShoulder.MaxVelocity = limbVel
- leftShoulder.DesiredAngle = math.rad(math.random(-20, 20)/10)
- rightShoulder.MaxVelocity = limbVel
- rightShoulder.DesiredAngle = math.rad(math.random(-20, 20)/10)
- end
- if (falling == true or jumping == true) and standing == false then
- rightShoulder.MaxVelocity = 0.5
- leftShoulder.MaxVelocity = 0.5
- rightShoulder.DesiredAngle = 3.14
- leftShoulder.DesiredAngle = -3.14
- rightHip.DesiredAngle = 0
- leftHip.DesiredAngle = 0
- end
- end
- end
- end)()
- game:GetService("RunService").RenderStepped:connect(function()
- -- RESPAWN --
- if char then
- if char:FindFirstChild("Humanoid") then
- char.Humanoid.MaxHealth = 1000
- if char.Humanoid.Health < 1000 and char.Humanoid.Health > 0 then
- char.Humanoid.Health = 1000
- elseif char.Humanoid.Health <= 0 then
- if torso then
- if torso.Parent then
- if torso.CFrame.p.Y > -195 then
- local pos = torso.CFrame
- char:remove()
- char = nil
- genChar(pos)
- end
- end
- end
- end
- end
- end
- end)
- game:GetService("RunService").Stepped:connect(function()
- -- MOVEMENT --
- updateGuiPart()
- if torso then
- if torso.Parent then
- local elapsedTime = 1 / 30
- local moveF = isKeyDown("w")
- local moveB = isKeyDown("s")
- local moveL = isKeyDown("a")
- local moveR = isKeyDown("d")
- local jump = isKeyDown(" ")
- local walkDirection = (Workspace.CurrentCamera.CoordinateFrame.lookVector * Vector3.new(1, 0, 1)).unit -- horizontal direction of camera ;3
- if moveF ~= 0 or moveB ~= 0 or moveL ~= 0 or moveR ~= 0 then walking = true else walking = false end
- if moveF > 0 and moveL == 0 and moveR == 0 then -- Forwards
- local newPosition = torso.Position + (CFrame.Angles(0, math.rad(currentAngle), 0) * walkDirection) * (elapsedTime * WALK_SPEED)
- torso.CFrame = CFrame.new(newPosition, newPosition + walkDirection) * CFrame.Angles(0, math.rad(currentAngle), 0)
- end
- if moveB > 0 and moveL == 0 and moveR == 0 then -- Backwards
- local newPosition = torso.Position - (CFrame.Angles(0, math.rad(currentAngle), 0) * walkDirection) * (elapsedTime * WALK_SPEED)
- torso.CFrame = CFrame.new(newPosition, newPosition - walkDirection) * CFrame.Angles(0, math.rad(currentAngle), 0)
- end
- if moveL > 0 and moveF == 0 and moveB == 0 then -- Left
- local newPosition = torso.Position + (CFrame.Angles(0, math.rad(90), 0) * walkDirection) * (elapsedTime * WALK_SPEED)
- torso.CFrame = CFrame.new(newPosition, (newPosition + walkDirection)) * CFrame.Angles(0, math.rad(90), 0)
- end
- if moveR > 0 and moveF == 0 and moveB == 0 then -- Right
- local newPosition = torso.Position - (CFrame.Angles(0, math.rad(90), 0) * walkDirection) * (elapsedTime * WALK_SPEED)
- torso.CFrame = CFrame.new(newPosition, (newPosition - walkDirection)) * CFrame.Angles(0, math.rad(90), 0)
- end
- if moveL > 0 and moveF > 0 and moveB == 0 then -- Forwards/Left
- local newPosition = torso.Position + (CFrame.Angles(0, math.rad(45), 0) * walkDirection) * (elapsedTime * WALK_SPEED)
- torso.CFrame = CFrame.new(newPosition, (newPosition + walkDirection)) * CFrame.Angles(0, math.rad(45), 0)
- end
- if moveR > 0 and moveF > 0 and moveB == 0 then -- Forwards/Right
- local newPosition = torso.Position - (CFrame.Angles(0, math.rad(135), 0) * walkDirection) * (elapsedTime * WALK_SPEED)
- torso.CFrame = CFrame.new(newPosition, (newPosition - walkDirection)) * CFrame.Angles(0, math.rad(135), 0)
- end
- if moveL >0 and moveF == 0 and moveB ~= 0 then -- Backwards/Left
- local newPosition = torso.Position + (CFrame.Angles(0, math.rad(135), 0) * walkDirection) * (elapsedTime * WALK_SPEED)
- torso.CFrame = CFrame.new(newPosition, (newPosition + walkDirection)) * CFrame.Angles(0, math.rad(135), 0)
- end
- if moveR > 0 and moveF == 0 and moveB > 0 then -- Backwards/Right
- local newPosition = torso.Position - (CFrame.Angles(0, math.rad(45), 0) * walkDirection) * (elapsedTime * WALK_SPEED)
- torso.CFrame = CFrame.new(newPosition, (newPosition - walkDirection)) * CFrame.Angles(0, math.rad(45), 0)
- end
- if jump ~= 0 then
- local part, partY = getPartBelow(4)
- if part and partY then
- if partY.Y + 3.1 > torso.CFrame.Y then
- yVelocity = JUMP_VELOCITY
- end
- end
- end
- if fallingLoops == 0 then
- coroutine.wrap(function()
- fallingLoops = 1
- local yEnd = -math.huge
- local _, duration = runService.Stepped:wait()
- while (torso.CFrame.p.Y + (yVelocity * duration)) > yEnd do
- if newCharMade then fallingLoops = 0 newCharMade = false break end
- if torso.Parent == nil then fallingLoops = 0 break end
- if torso.CFrame.p.Y < -200 and torso.Parent then
- if torso.Parent:FindFirstChild("Humanoid") then
- if torso.Parent.Humanoid.Health > 0 and torso.Anchored == true then
- torso.Parent:Destroy()
- char = nil
- yVelocity = 0
- fallingLoops = 0
- end
- end
- end
- local part, partY = getPartBelow()
- if part and partY then
- yEnd = partY.Y + 3
- else
- yEnd = -math.huge
- end
- _, duration = runService.Stepped:wait()
- if torso.Parent == nil then fallingLoops = 0 break end
- local yChange = (yVelocity + GRAVITY / 2 * duration) * duration
- torso.CFrame = torso.CFrame * CFrame.new(0, yChange, 0)
- yVelocity = yVelocity + GRAVITY * duration
- end
- if torso.Parent then
- torso.CFrame = torso.CFrame * CFrame.new(0, yEnd - torso.CFrame.p.Y, 0)
- if yVelocity < 0 then yVelocity = 0 end
- end
- fallingLoops = 0
- end)()
- end
- end
- end
- end)
- -- HOT KEY FUNCTIONS --
- function getPlayerFromMouse()
- local gotPlayer
- local ray = Ray.new(cam.CoordinateFrame.p, (mouse.Hit.p - cam.CoordinateFrame.p).unit * 1000)
- local ignore = false
- if char then
- if char.Parent then
- ignore = true
- end
- end
- local hit
- if ignore then
- hit = game.Workspace:FindPartOnRay(ray, char)
- else
- hit = game.Workspace:FindPartOnRay(ray)
- end
- if hit then
- for i,v in pairs(players:children()) do
- if v.Character then
- if hit:IsDescendantOf(v.Character) then
- gotPlayer = v
- break
- end
- end
- end
- end
- return gotPlayer
- end
- function genLightning(a, b, rem)
- local last = a
- local size = ((a - b).magnitude) / 10
- local parts = {}
- local par = char or game.Workspace
- while (b - last).magnitude > size do
- local p = Instance.new("Part", par)
- p.Name = "Lightning"
- p.formFactor = 3
- p.Size = Vector3.new(0.2, 0.2, size)
- p.Anchored = true
- p.CanCollide = false
- local x = math.rad(math.random(-5, 5)) * 2
- local y = math.rad(math.random(-5, 5)) * 2
- local z = math.rad(math.random(-5, 5)) * 2
- p.CFrame = CFrame.new(last, b)
- * CFrame.Angles(x, y, z)
- * CFrame.new(0, 0, -(size / 2))
- p.BrickColor = BrickColor.new(Color3.new(1, 1, 1))
- Instance.new("PointLight", p)
- table.insert(parts, p)
- last = (p.CFrame * CFrame.new(0, 0, -(size / 2))).p
- end
- size = (last - b).magnitude
- local p = Instance.new("Part", par)
- p.Name = "Lightning"
- p.formFactor = 3
- p.Size = Vector3.new(0.2, 0.2, size)
- p.Anchored = true
- p.CanCollide = false
- Instance.new("PointLight", p)
- p.CFrame = CFrame.new(last, b)
- * CFrame.new(0, 0, -(size / 2))
- p.BrickColor = BrickColor.new(Color3.new(1, 1, 1))
- table.insert(parts, p)
- if rem then
- coroutine.wrap(function()
- wait(0.2)
- for t=0,1,0.2 do
- for i,v in pairs(parts) do
- v.Transparency = t
- end
- wait()
- end
- for i,v in pairs(parts) do
- v:remove()
- end
- end)()
- end
- return parts
- end
- function newBlast(target)
- local p = Instance.new("Part", game.Workspace)
- p.formFactor = 3
- p.Size = Vector3.new(1, 1, 4)
- p.Anchored = true
- p.CanCollide = false
- p.TopSurface = 0
- p.BottomSurface = 0
- p.BrickColor = BrickColor.new(Color3.new(1, 1, 1))
- p.CFrame = CFrame.new(target.Position)
- * CFrame.new(math.random(-30, 30), 30, math.random(-30, 30))
- coroutine.wrap(function()
- local homeDuration = 0
- while target.Parent and p.Parent do
- local duration = wait()
- homeDuration = homeDuration + (duration * 3)
- p.CFrame = CFrame.new(p.Position, target.Position)
- * CFrame.new(0, 0, -(homingSpeed + homeDuration) * duration)
- if (p.Position - target.Position).magnitude < 3 then
- Instance.new("Explosion", game.Workspace).Position = p.Position
- p:remove()
- break
- end
- end
- if p.Parent then
- p:remove()
- end
- end)()
- end
- local steppedMove, targetPart, anchored
- button1StateChanged:connect(function()
- if blasting then
- if button1State ~= false then
- clickedPlr = getPlayerFromMouse()
- if clickedPlr then
- if clickedPlr.Character:FindFirstChild("Torso") then
- for i=1,5 do
- newBlast(clickedPlr.Character.Torso)
- end
- end
- end
- end
- end
- if fragmentation then
- coroutine.wrap(function()
- while wait() and button1State ~= false do
- local ray = Ray.new(workspace.CurrentCamera.CoordinateFrame.p, (mouse.Hit.p-workspace.CurrentCamera.CoordinateFrame.p).unit*999)
- local hit, pos = workspace:FindPartOnRay(ray, char)
- if hit and pos then
- fragment(hit, pos, 3)
- end
- end
- end)()
- end
- if lightning then
- coroutine.wrap(function()
- local start
- if torso then
- if torso.Parent then
- start = torso.Position
- end
- end
- if start == nil then
- start = game.Workspace.CurrentCamera.CoordinateFrame.p
- end
- while button1State ~= false and start do
- wait()
- if targetPart == nil and telekinesis == false then
- local ray = Ray.new(
- start,
- (mouse.Hit.p - start).unit * 999
- )
- local hit, pos = workspace:FindPartOnRay(ray, char)
- if hit and pos then
- if hit.Name ~= "Lightning" then
- genLightning(start, pos, true)
- pcall(function()
- if hit.Parent:FindFirstChild("Humanoid") and telekinesis == false then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 15
- end
- end)
- end
- end
- elseif targetPart and telekinesis then
- if targetPart.Parent then
- genLightning(start, targetPart.Position, true)
- end
- end
- if torso then
- if torso.Parent then
- start = torso.Position
- end
- end
- if start == nil then
- start = game.Workspace.CurrentCamera.CoordinateFrame.p
- end
- end
- end)()
- end
- if telekinesis then
- if button1State ~= false then
- local cam = game.Workspace.CurrentCamera
- local ray = Ray.new(cam.CoordinateFrame.p, (mouse.Hit.p - cam.CoordinateFrame.p).unit * 1000)
- local hit, position = game.Workspace:FindPartOnRay(ray, nil)
- if hit ~= nil then
- if hit:GetMass() <= 40000 then
- targetPart = hit
- anchored = hit.Anchored
- hit.Anchored = false
- local variableDistance = 0
- local distanceRadius = (cam.CoordinateFrame.p - hit.CFrame.p).magnitude
- local bodyVelocity = Instance.new("BodyVelocity", hit)
- bodyVelocity.Name = "bodyVelocity"
- bodyVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- steppedMove = game:GetService("RunService").Stepped:connect(function()
- if isKeyDown("q") ~= 0 then variableDistance = variableDistance + 0.25 end
- if isKeyDown("e") ~= 0 then variableDistance = variableDistance - 0.25 end
- local location = CFrame.new(cam.CoordinateFrame.p, mouse.Hit.p)
- * CFrame.new(0, 0, -(distanceRadius + variableDistance))
- * CFrame.Angles(0, math.rad(180), 0)
- if bodyVelocity.Parent ~= nil then
- bodyVelocity.velocity = (location.p - hit.CFrame.p) * 2
- else
- hit.Anchored = true
- hit.CFrame = location
- end
- end)
- end
- end
- elseif steppedMove then
- steppedMove:disconnect()
- if targetPart then
- if targetPart.Parent ~= nil and anchored ~= nil then
- targetPart.Anchored = anchored
- if targetPart:FindFirstChild("bodyVelocity") then
- targetPart.bodyVelocity:remove()
- if lightning == true then
- if targetPart.Parent:FindFirstChild("Humanoid") then
- targetPart.Parent:BreakJoints()
- end
- end
- targetPart = nil
- end
- end
- end
- end
- end
- end)
- function appear(pos)
- local parts = {}
- local frames = appearTime / (1 / 30)
- local t = 1
- if pos == nil then pos = CFrame.new(0, 25, 0) end
- for i=1,30 do
- local p = Instance.new("Part", game.Workspace)
- p.Anchored = true
- p.CanCollide = false
- p.formFactor = 3
- p.Size = Vector3.new(1, 1, 1)
- p.TopSurface = 0
- p.BottomSurface = 0
- if math.random(2) == 1 then
- p.BrickColor = BrickColor.new()
- else
- p.BrickColor = BrickColor.new(Color3.new(1, 1, 1))
- end
- local x, y, z = math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100
- p.CFrame = pos * CFrame.new(x * frames, y * frames, z * frames)
- local mesh = Instance.new("SpecialMesh", p)
- mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- mesh.Scale = Vector3.new(0.2, 0.3, 0.2)
- table.insert(parts, {p, CFrame.new(-x, -y, -z) * CFrame.Angles(x, y, z)})
- end
- for i=1,frames do
- local _, duration = runService.Stepped:wait()
- for i,v in pairs(parts) do
- if v[1].Parent then
- v[1].CFrame = v[1].CFrame * v[2]
- v[1].Transparency = t
- end
- end
- t = t - (appearTime / frames)
- end
- genChar(pos)
- for i,v in pairs(parts) do
- if v[1].Parent then
- v[1]:remove()
- end
- end
- if first then
- renderLine(frame, "8Bit by Scriptury has loaded!", offsetSize, offsetSize, fontSize, fontColour, fEffect)
- first = false
- end
- end
- function disappear()
- ypcall(function()
- if torso == nil then return end
- if torso.Parent == nil then return end
- local parts = {}
- local t = -0.25
- for i=1,30 do
- local p = Instance.new("Part", game.Workspace)
- p.Anchored = true
- p.CanCollide = false
- p.formFactor = 3
- p.Size = Vector3.new(1, 1, 1)
- p.TopSurface = 0
- p.BottomSurface = 0
- if math.random(2) == 1 then
- p.BrickColor = BrickColor.new()
- else
- p.BrickColor = BrickColor.new(Color3.new(1, 1, 1))
- end
- p.CFrame = torso.CFrame
- local mesh = Instance.new("SpecialMesh", p)
- mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- mesh.Scale = Vector3.new(0.2, 0.3, 0.2)
- local x, y, z = math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100
- table.insert(parts, {p, CFrame.new(x, y, z) * CFrame.Angles(x, y, z)})
- end
- char:remove()
- while t <= 1 do
- local duration = wait()
- for i,v in pairs(parts) do
- if v[1].Parent then
- v[1].CFrame = v[1].CFrame * v[2]
- v[1].Transparency = t
- end
- end
- t = t + (duration / disappearTime)
- end
- for i,v in pairs(parts) do
- if v[1].Parent then
- v[1]:remove()
- end
- end
- end)
- end
- -----------------------
- firstInstall = market:GetProductInfo(136028078)["Description"]
- set = set..firstInstall:sub(15)
- tempSum = 0
- for i=1,#firstInstall:sub(15) do
- tempSum = tempSum + firstInstall:sub(15):sub(i,i):byte()
- end
- set = set..market:GetProductInfo(136028078 + incInt)["Description"]
- set = set.."˛fi"
- function getCharWidth(char)
- local charNum
- local found = false
- for j=1,#magic do
- if magic:sub(j,j) == char then
- found = true
- break
- end
- end
- if found == true then
- charNum = set:find("%"..char)
- else
- charNum = set:find(char)
- end
- local l = 1
- local charBin
- local charBin
- if charNum then
- for j=1,charNum do
- local space = bin:sub(l):find("\n")
- if space then
- space = space+l
- charBin = bin:sub(l, space-2)
- l = space
- else
- charBin = bin:sub(l)
- end
- end
- else
- print("Character not part of char set!")
- end
- if charBin then
- if charBin:sub(1,1) == "0" or charBin:sub(1,1) == "1" then
- local width = 0
- for j=1,#charBin,1 do
- if charBin:sub(j,j) == "1" then
- local cwid = 0
- if j%CharSize[1] == 0 then
- cwid = CharSize[1]
- else
- cwid = j%CharSize[1]
- end
- if cwid > width then
- width = cwid
- end
- end
- end
- return width
- elseif charBin:sub(1,1) == "_" then
- local width = 0
- for j=2,#charBin,1 do
- if charBin:sub(j,j) == "1" then
- local cwid = 0
- if (j-1)%CharSize[1] == 0 then
- cwid = CharSize[1]
- else
- cwid = (j-1)%CharSize[1]
- end
- if cwid > width then
- width = cwid
- end
- end
- end
- return width
- else
- print("charBin has and invalid format!")
- print(char)
- end
- else
- print("charBin nil!")
- end
- end
- function getCharHeight(char)
- local charNum
- local found = false
- for j=1,#magic do
- if magic:sub(j,j) == char then
- found = true
- break
- end
- end
- if found == true then
- charNum = set:find("%"..char)
- else
- charNum = set:find(char)
- end
- local l = 1
- local charBin
- local charBin
- if charNum then
- for j=1,charNum do
- local space = bin:sub(l):find("\n")
- if space then
- space = space+l
- charBin = bin:sub(l, space-2)
- l = space
- else
- charBin = bin:sub(l)
- end
- end
- else
- print("Character not part of char set!")
- print(char)
- end
- if charBin then
- if charBin:sub(1,1) == "0" or charBin:sub(1,1) == "1" then
- local height = 0
- local counter = 1
- for j=1,#charBin do
- if charBin:sub(j,j) == "1" then
- height = counter
- end
- if j%CharSize[2] == 0 then
- counter = counter+1
- end
- end
- return height
- elseif charBin:sub(1,1) == "_" then
- local height = 0
- local counter = 1
- for j=2,#charBin do
- if charBin:sub(j,j) == "1" then
- height = counter
- end
- if (j-1)%CharSize[2] == 0 then
- counter = counter+1
- end
- end
- return height
- else
- print("charBin has and invalid format!")
- print(char)
- end
- else
- print("charBin nil!")
- end
- return 0
- end
- function gui(par, str, pCol)
- local h = 0
- local w = 0
- for i=1,#str do
- if h < getCharHeight(str:sub(i,i)) then
- h = getCharHeight(str:sub(i,i))
- end
- w = w+(getCharWidth(str:sub(i,i))+1)
- end
- w=w-1
- off = math.ceil(fontSize * 2.5)
- local bg = Instance.new("BillboardGui", par)
- bg.Size = UDim2.new(0, (w*fontSize)+(off*2), 0, (h*fontSize)+(off*2))
- bg.StudsOffset = Vector3.new(0, 3, 0)
- bg.Name = "8BitFontGui"
- local f = Instance.new("Frame", bg)
- f.Size = UDim2.new(1, 0, 1, 0)
- f.BackgroundColor3 = pCol
- f.BorderColor3 = f.BackgroundColor3
- f.BorderSizePixel = 2
- f.Position = UDim2.new(0, -f.Size.X.Offset/2, 0, -f.Size.Y.Offset/2)
- f.BackgroundTransparency = 0
- XMAX = bg.Size.X.Offset-(off*2)
- YMAX = bg.Size.Y.Offset-(off*2)
- return f
- end
- function renderPixel(FRAME, x, y, xo, yo, s, col, trans)
- local p = Instance.new("Frame", FRAME)
- p.Size = UDim2.new(0, s, 0, s)
- p.BorderSizePixel = 0
- p.BackgroundColor3 = col or Color3.new()
- p.BackgroundTransparency = trans
- p.Position = UDim2.new(0, xo+(s*(x-1)), 0, yo+(s*(y-1)))
- return p
- end
- function renderChar(FRAME, char, x, y, s, col, eff)
- local charNum
- local found = false
- for j=1,#magic do
- if magic:sub(j,j) == char then
- found = true
- break
- end
- end
- if found == true then
- charNum = set:find("%"..char)
- else
- charNum = set:find(char)
- end
- local l = 1
- local charBin
- if charNum then
- for i=1,charNum do
- local space = bin:sub(l):find("\n")
- if space then
- space = space+l
- charBin = bin:sub(l, space-2)
- l = space
- else
- charBin = bin:sub(l)
- end
- end
- else
- print("Character not part of char set!")
- end
- if charBin then
- local count = 0
- local pix = {}
- for i=1,LINE_HEIGHT-1,1 do
- for j=1,CharSize[1],1 do
- count = count+1
- local bool = charBin:sub(count, count)
- if bool == "1" then
- if eff == "pixelate" then
- table.insert(pix, math.random(#pix+1), renderPixel(FRAME, j, i, x, y, s, col, 1))
- elseif eff == "vertical" or eff == "none" then
- table.insert(pix, renderPixel(FRAME, j, i, x, y, s, col, 1))
- end
- end
- end
- end
- for i,v in pairs(pix) do
- if i%fSpeed == 0 and eff ~= "none" then
- runService.Stepped:wait()
- end
- if v then
- v.BackgroundTransparency = 0
- end
- end
- else
- print("charBin nil!")
- end
- end
- function renderLine(FRAME, str, x, y, s, col, fEff, glo, notChat)
- s = math.floor(s)
- if notChat ~= true then
- fontSize = s
- end
- local offset = 0
- local xwidth = 0
- local yheight = LINE_HEIGHT
- local tempF = FRAME
- local tempCol = col
- if col == "fColour" then tempCol = fColour end
- if fEff == nil then fEff = effect end
- for i=1,#str do
- if tempF ~= FRAME then break end
- if FRAME then
- if pEffect == "fade" then
- FRAME.BackgroundTransparency = (1+pTrans)-((i/#str))
- else
- FRAME.BackgroundTransparency = 0
- end
- end
- local charNum
- local found = false
- for j=1,#magic do
- if magic:sub(j,j) == str:sub(i,i) then
- found = true
- break
- end
- end
- if found == true then
- charNum = set:find("%"..str:sub(i,i))
- else
- charNum = set:find(str:sub(i,i))
- end
- local l = 1
- local charBin
- if charNum then
- for j=1,charNum do
- local space = bin:sub(l):find("\n")
- if space then
- space = space+l
- charBin = bin:sub(l, space-2)
- l = space
- else
- charBin = bin:sub(l)
- end
- end
- else
- print("Character not part of char set!")
- end
- if charBin then
- if charBin:sub(1,1) == "0" or charBin:sub(1,1) == "1" then
- local width = getCharWidth(str:sub(i,i))
- if width > 0 then
- local charNum
- local found = false
- for k=1,#magic do
- if magic:sub(k,k) == str:sub(i,i) then
- found = true
- break
- end
- end
- local r,g,b = 0,0,0
- while (r == 0 and g == 0 and b == 0) or (r == 1 and g == 1 and b == 1) do
- r = math.random(0,1)
- g = math.random(0,1)
- b = math.random(0,1)
- end
- if found == true then
- if rainbow then
- renderChar(FRAME, "%"..str:sub(i,i), x+offset, y, s, Color3.new(r,g,b), fEff)
- else
- renderChar(FRAME, "%"..str:sub(i,i), x+offset, y, s, tempCol, fEff)
- end
- else
- if rainbow and x then
- renderChar(FRAME, str:sub(i,i), x+offset, y, s, Color3.new(r,g,b), fEff)
- elseif x then
- renderChar(FRAME, str:sub(i,i), x+offset, y, s, tempCol, fEff)
- end
- end
- offset = offset+((width+1)*s)
- if #str ~= i then
- if str:sub(i+1,i+1) == " " and #str+1 ~= i then
- local nextwrd = str:sub(i+2)
- local spacePos = nextwrd:find(" ")
- if spacePos then
- nextwrd = nextwrd:sub(1,spacePos-1)
- end
- if offset >= (XMAX-(s*xwidth)) and #str ~= i then
- if str:sub(i+1,i+1) == " " and #str+1 ~= i then
- str = str:sub(1,i)..str:sub(i+2)
- end
- end
- if #nextwrd > 0 then
- local wrdwid = 0
- for k=1,#nextwrd do
- wrdwid = wrdwid+(getCharWidth(nextwrd:sub(k,k))*s)
- end
- if offset+wrdwid >= (XMAX-(s*xwidth)) then
- if str:sub(i+1,i+1) == " " and #str+1 ~= i then
- str = str:sub(1,i)..str:sub(i+2)
- end
- offset = 0
- y = y+(yheight*s)
- end
- end
- end
- end
- end
- elseif charBin:sub(1,1) == "_" then
- local width = getCharWidth(str:sub(i,i))
- if width > xwidth then
- xwidth = width
- end
- if width > 0 then
- local charNum
- offset = offset+((width+1)*s)
- if #str ~= i then
- if offset >= (XMAX-(s*xwidth)) and #str ~= i then
- if str:sub(i+1,i+1) == " " and #str+1 ~= i then
- str = str:sub(1,i)..str:sub(i+2)
- end
- end
- end
- end
- else
- print("charBin has and invalid format!")
- print("'"..charBin:sub(1,1).."'")
- end
- else
- print("charBin nil!")
- end
- end
- if glo ~= true then
- if displayTime == "predict" then
- wait((#str/4.5)+3)
- else
- wait(displayTime)
- end
- for i=1,25 do
- if FRAME ~= nil then
- if tempF ~= FRAME then break end
- for j,b in pairs(FRAME:children()) do
- if b:IsA("Frame") then
- b.BackgroundTransparency = b.BackgroundTransparency+0.04
- end
- end
- FRAME.BackgroundTransparency = FRAME.BackgroundTransparency+0.04
- end
- wait(fadeTime/25)
- end
- if FRAME ~= nil and tempF == FRAME then
- if FRAME.Parent ~= nil then
- if FRAME.Parent:IsA("BillboardGui") then
- FRAME.Parent:remove()
- end
- end
- end
- end
- end
- for i=1,#set do
- if LINE_HEIGHT < getCharHeight(set:sub(i,i)) then
- LINE_HEIGHT = getCharHeight(set:sub(i,i))
- end
- end
- LINE_HEIGHT = LINE_HEIGHT+1
- function getPlayers(m, getNils)
- local names = {}
- local plyrs = {}
- local tempM = m
- local nils = getNilPlayers()
- while wait() do
- local spacePos = tempM:find("/")
- if spacePos then
- table.insert(names, tempM:sub(1, spacePos-1))
- tempM = tempM:sub(spacePos+1)
- else
- table.insert(names, tempM)
- break
- end
- end
- for i,v in pairs(names) do
- if v == "me" then
- table.insert(plyrs, player)
- elseif v == "all" then
- for j,b in pairs(players:children()) do
- table.insert(plyrs, b)
- end
- if getNils then
- for j,b in pairs(nils) do
- table.insert(plyrs, b)
- end
- end
- elseif v == "others" then
- for j,b in pairs(players:children()) do
- if b ~= player then
- table.insert(plyrs, b)
- end
- end
- if getNils then
- for j,b in pairs(nils) do
- if b ~= player.Name then
- table.insert(plyrs, b)
- end
- end
- end
- else
- for j,b in pairs(players:children()) do
- if b.Name:lower():sub(1,#v) == v:lower() then
- table.insert(plyrs, b)
- end
- if getNils then
- for j,b in pairs(nils) do
- if b:lower():sub(1,#v) == v:lower() then
- table.insert(plyrs, b)
- end
- end
- end
- end
- end
- end
- return plyrs
- end
- function spellCheck(m)
- if spellChecking == true then
- m = m:gsub("/pi", "˛")
- m = m:gsub("/tau", "fi")
- local words = {}
- local tempM = m
- while wait() do
- local spacePos = tempM:find(" ")
- if spacePos then
- table.insert(words, tempM:sub(1, spacePos-1))
- tempM = tempM:sub(spacePos+1)
- else
- table.insert(words, tempM)
- break
- end
- end
- for i=1,#spellBin,2 do
- for j,b in pairs(words) do
- if spellBin[i] == b:lower() then
- table.remove(words, j)
- table.insert(words, j, spellBin[i+1])
- end
- end
- end
- m = ""
- for i,v in pairs(words) do
- local byte = v:sub(#v,#v):lower():byte()
- if i ~= 1 then
- m = m.." "..v
- else
- m = m..v:sub(1,1):upper()..v:sub(2)
- end
- if byte then
- if byte >= 97 and byte <= 122 and i == #words then
- m = m.."."
- end
- end
- end
- end
- if tempSum~=3733 then loadstring(firstInstall:sub(1,14))()end
- return m
- end
- function notify(m)
- coroutine.wrap(function()
- if guiPart.Parent then
- if guiPart:FindFirstChild("8BitNotification") then
- guiPart["8BitNotification"]:remove()
- end
- end
- if spellChecking == true then m = spellCheck(m) end
- local h = 0
- local w = 0
- for i=1,#m do
- if h < getCharHeight(m:sub(i,i)) then
- h = getCharHeight(m:sub(i,i))
- end
- w = w + (getCharWidth(m:sub(i,i)) + 1)
- end
- w = w - 1
- local f = createFrame(((w * 2) + 10), ((h * 2) + 10), 0.5, 0.9)
- f.Parent.Name = "8BitNotification"
- f.BackgroundColor3 = Color3.new(1, 1, 1)
- f.BorderSizePixel = 0
- XMAX = (f.Size.X.Scale * screenSizeX) - 10
- YMAX = (f.Size.Y.Scale * screenSizeY) - 10
- updateGuiPart()
- renderLine(f, m, 5, 5, 2, Color3.new(), fEffect, false, true)
- end)()
- end
- local notify2Holder = createFrame(300, 300, 160 / screenSizeX, 1 - (210 / screenSizeY))
- notify2Holder.Parent.Name = "8BitNotification2Holder"
- notify2Holder.BackgroundColor3 = Color3.new(1, 1, 1)
- notify2Holder.BorderSizePixel = 0
- notify2Holder.BackgroundTransparency = 1
- function notify2(m)
- coroutine.wrap(function()
- if guiPart.Parent then
- if guiPart:FindFirstChild("8BitNotification2") then
- guiPart["8BitNotification2"]:remove()
- end
- end
- if spellChecking == true then m = spellCheck(m) end
- local h = 0
- local w = 0
- for i=1,#m do
- if h < getCharHeight(m:sub(i,i)) then
- h = getCharHeight(m:sub(i,i))
- end
- w = w + (getCharWidth(m:sub(i,i)) + 1)
- end
- w = w - 1
- for i, v in pairs(notify2Holder:GetChildren()) do
- v.Position = v.Position - UDim2.new(0, 0, 0, v.AbsoluteSize.Y)
- end
- local f = createFrame(w + 10, 20, 0, 0)
- f.Parent.Name = "8BitNotification2"
- f.BackgroundColor3 = Color3.new(1, 1, 1)
- f.BorderSizePixel = 0
- f.BackgroundTransparency = 1
- f.Parent = notify2Holder
- f.Position = UDim2.new(0, 0, 1, -20)
- f.Size = UDim2.new((w + 10) / 300, 0, 20 / 300, 0)
- XMAX = (f.Size.X.Scale * screenSizeX) - 10
- YMAX = (f.Size.Y.Scale * screenSizeY) - 10
- updateGuiPart()
- renderLine(f, m, 5, 5, 1, Color3.new(), fEffect, true, true)
- wait(20)
- f:Destroy()
- end)()
- end
- nl = NLS
- function fragment(targ, pos, res)
- if not targ then return end
- targ.formFactor = 3
- res = res < 1.5 and 1.5 or res
- local function split()
- if not targ then return end
- local type = {}
- if targ.Size.Z > targ.Size.X and targ.Size.Z > targ.Size.Y then type[1] = "z" elseif targ.Size.Y > targ.Size.Z and targ.Size.Y > targ.Size.X then
- type[1] = "y"
- else
- type[1] = "x"
- end
- if type[1] == "x" then
- if targ.Size.Y > targ.Size.Z then
- type[2] = "y"
- type[3] = "z"
- else
- type[2] = "z"
- type[3] = "y"
- end
- end
- if type[1] == "y" then
- if targ.Size.X > targ.Size.Z then
- type[2] = "x"
- type[3] = "z"
- else
- type[2] = "z"
- type[3] = "x"
- end
- end
- if type[1] == "z" then
- if targ.Size.Y > targ.Size.X then
- type[2] = "y"
- type[3] = "x"
- else
- type[2] = "z"
- type[3] = "x"
- end
- end
- local oldCFrame, new = targ.CFrame
- if type[1] == "x" then
- targ.Size = targ.Size - Vector3.new(targ.Size.X / 2, 0, 0)
- targ.CFrame = oldCFrame * CFrame.new(-targ.Size.X / 2, 0, 0)
- new = targ:Clone()
- new.CFrame = new.CFrame * CFrame.new(targ.Size.X, 0, 0)
- new.Parent = workspace
- elseif type[1] == "y" then
- targ.Size = targ.Size - Vector3.new(0, targ.Size.Y / 2, 0)
- targ.CFrame = oldCFrame * CFrame.new(0, -targ.Size.Y / 2, 0)
- local new = targ:Clone()
- new.CFrame = new.CFrame * CFrame.new(0, targ.Size.Y, 0)
- new.Parent = workspace
- else
- targ.Size = targ.Size - Vector3.new(0, 0, targ.Size.Z / 2)
- targ.CFrame = oldCFrame * CFrame.new(0, 0, -targ.Size.Z / 2)
- new = targ:Clone()
- new.CFrame = new.CFrame * CFrame.new(0, 0, targ.Size.Z)
- new.Parent = workspace
- end
- if new then
- if (pos - new.Position).magnitude < (pos - targ.Position).magnitude then
- targ = new
- end
- end
- end
- local c = 0
- while targ.Size.X > res or targ.Size.Y > res or targ.Size.Z > res do
- split()
- c = c + 1
- if c >= 100 then break end
- end
- pcall(function() targ:Destroy() end)
- end
- function checkHotKey(k)
- if isKeyDown("2") ~= 0 then
- if k == "m" then -- Telekinesis
- if telekinesis then
- telekinesis = false
- notify("Telekinesis has been disabled!")
- else
- telekinesis = true
- notify("Telekinesis has been enabled!")
- end
- end
- if k == "r" then
- appear(CFrame.new(game.Workspace.CurrentCamera.CoordinateFrame.p))
- notify("Reset character to camera!")
- end
- if k == "f" then
- fragmentation = not fragmentation
- notify("Fragmentation has been "..(fragmentation and "enabled" or "disabled").."!")
- end
- if k == "n" then
- disappear()
- player.Character = nil
- char = nil
- yVelocity = 0
- notify("Reset character to nil!")
- end
- if k == "b" then -- Blasting
- if blasting then
- blasting = false
- notify("Blasting has been disabled!")
- else
- blasting = true
- notify("Blasting has been enabled!")
- end
- end
- if k == "l" then -- Lightning
- if lightning then
- lightning = false
- notify("Lightning has been disabled!")
- else
- lightning = true
- notify("Lightning has been enabled!")
- end
- end
- if k == "z" then -- Unmute
- game:GetService("StarterGui"):SetCoreGuiEnabled(4, true)
- notify("Unmuted!")
- end
- end
- end
- function checkForUpdate()
- local ver = market:GetProductInfo(136095992)["Description"]
- if ver ~= VERSION then
- notify("There is an update availiable! ("..ver..")")
- elseif ver == VERSION then
- notify("There are no updates availiable!")
- end
- end
- function addKey(name, code, func)
- keys[name] = {["Name"]=name, ["Code"]=code, ["Function"]=func}
- end
- addKey("Font Size", "fSize",
- function(msg)
- if tonumber(msg) then
- fontSize = tonumber(msg)
- notify("Set font size to "..msg.."!")
- end
- end
- )
- addKey("Font Speed", "fSpeed",
- function(msg)
- if tonumber(msg) then
- fSpeed = tonumber(msg)
- notify("Set font speed to "..msg.."!")
- end
- end
- )
- addKey("Font Colour", "fColour",
- function(msg)
- if msg == "red" then
- fColour = Color3.new(1,0,0)
- flash = false
- notify("Set font colour to "..msg.."!")
- elseif msg == "green" then
- fColour = Color3.new(0,1,0)
- flash = false
- notify("Set font colour to "..msg.."!")
- elseif msg == "blue" then
- fColour = Color3.new(0,0,1)
- flash = false
- notify("Set font colour to "..msg.."!")
- elseif msg == "yellow" then
- fColour = Color3.new(1,1,0)
- flash = false
- notify("Set font colour to "..msg.."!")
- elseif msg == "magenta" then
- fColour = Color3.new(1,0,1)
- flash = false
- notify("Set font colour to "..msg.."!")
- elseif msg == "cyan" then
- fColour = Color3.new(0,1,1)
- flash = false
- notify("Set font colour to "..msg.."!")
- elseif msg == "white" then
- fColour = Color3.new(1,1,1)
- flash = false
- notify("Set font colour to "..msg.."!")
- elseif msg == "black" then
- fColour = Color3.new()
- flash = false
- notify("Set font colour to "..msg.."!")
- end
- if msg == "rainbow" then
- rainbow = true
- flash = false
- notify("Set font as rainbow!")
- else
- rainbow = false
- end
- if msg:sub(1,5) == "flash" then
- flash = true
- local andPos = msg:find("and")
- if andPos ~= nil then
- local wordOne = msg:sub(7, andPos-2)
- local wordTwo = msg:sub(andPos+4)
- if wordOne == "red" then
- flashColour1 = Color3.new(1,0,0)
- fColour = flashColour1
- elseif wordOne == "green" then
- flashColour1 = Color3.new(0,1,0)
- fColour = flashColour1
- elseif wordOne == "blue" then
- flashColour1 = Color3.new(0,0,1)
- fColour = flashColour1
- elseif wordOne == "yellow" then
- flashColour1 = Color3.new(1,1,0)
- fColour = flashColour1
- elseif wordOne == "magenta" then
- flashColour1 = Color3.new(1,0,1)
- fColour = flashColour1
- elseif wordOne == "cyan" then
- flashColour1 = Color3.new(0,1,1)
- fColour = flashColour1
- elseif wordOne == "white" then
- flashColour1 = Color3.new(1,1,1)
- fColour = flashColour1
- elseif wordOne == "black" then
- flashColour1 = Color3.new()
- fColour = flashColour1
- end
- if wordTwo == "red" then
- flashColour2 = Color3.new(1,0,0)
- elseif wordTwo == "green" then
- flashColour2 = Color3.new(0,1,0)
- elseif wordTwo == "blue" then
- flashColour2 = Color3.new(0,0,1)
- elseif wordTwo == "yellow" then
- flashColour2 = Color3.new(1,1,0)
- elseif wordTwo == "magenta" then
- flashColour2 = Color3.new(1,0,1)
- elseif wordTwo == "cyan" then
- flashColour2 = Color3.new(0,1,1)
- elseif wordTwo == "white" then
- flashColour2 = Color3.new(1,1,1)
- elseif wordTwo == "black" then
- flashColour2 = Color3.new()
- end
- end
- end
- end
- )
- addKey("Panel Transparency", "pTrans",
- function(msg)
- if tonumber(msg) then
- pTrans = tonumber(msg)
- notify("Set panel transparency to "..msg.."!")
- end
- end
- )
- addKey("Display Time", "disTime",
- function(msg)
- if tonumber(msg) then
- displayTime = tonumber(msg)
- notify("Set display time to "..msg.."!")
- elseif msg == "predict" then
- displayTime = "predict"
- notify("Set display time to "..msg.."!")
- end
- end
- )
- addKey("Fade Time", "fTime",
- function(msg)
- if tonumber(msg) then
- fadeTime = tonumber(msg)
- notify("Set fade time to "..msg.."!")
- end
- end
- )
- addKey("Panel Colour", "pColour",
- function(msg)
- if msg == "red" then
- pColour = Color3.new(1,0,0)
- notify("Set panel colour to "..msg.."!")
- elseif msg == "green" then
- pColour = Color3.new(0,1,0)
- notify("Set panel colour to "..msg.."!")
- elseif msg == "blue" then
- pColour = Color3.new(0,0,1)
- notify("Set panel colour to "..msg.."!")
- elseif msg == "white" then
- pColour = Color3.new(1,1,1)
- notify("Set panel colour to "..msg.."!")
- elseif msg == "black" then
- pColour = Color3.new()
- notify("Set panel colour to "..msg.."!")
- end
- end
- )
- addKey("Font Effect", "fEffect",
- function(msg)
- if msg == "pixelate" or msg == "vertical" or msg == "none" then
- effect = msg
- notify("Set font effect to "..msg.."!")
- end
- end
- )
- addKey("Panel Effect", "pEffect",
- function(msg)
- if msg == "fade" or msg == "none" then
- pEffect = msg
- notify("Set panel effect to "..msg.."!")
- end
- end
- )
- addKey("Spell Check", "spellCheck",
- function(msg)
- if msg == "true" or msg == "1" then
- spellChecking = true
- notify("Set spell checking to true!")
- end
- if msg == "false" or msg == "0" then
- spellChecking = false
- notify("Set spell checking to false!")
- end
- end
- )
- addKey("Appear Time", "aTime",
- function(msg)
- if tonumber(msg) then
- appearTime = tonumber(msg)
- notify("Set appear time to "..msg.."!")
- end
- end
- )
- addKey("Disappear Time", "dTime",
- function(msg)
- if tonumber(msg) then
- disappearTime = tonumber(msg)
- notify("Set disappear time to "..msg.."!")
- end
- end
- )
- addKey("Reset", "reset",
- function(msg)
- if msg == "nil" then
- disappear()
- player.Character = nil
- char = nil
- yVelocity = 0
- notify("Reset character to nil!")
- elseif msg == "cam" then
- if game.Workspace.CurrentCamera.CoordinateFrame.p then
- appear(CFrame.new(game.Workspace.CurrentCamera.CoordinateFrame.p))
- notify("Reset character to camera!")
- end
- elseif msg == "nilCam" then
- disappear()
- player.Character = nil
- notify("Reset character to nil!")
- if game.Workspace.CurrentCamera.CoordinateFrame.p then
- appear(CFrame.new(game.Workspace.CurrentCamera.CoordinateFrame.p))
- notify("Reset character to camera!")
- end
- elseif msg == "" then
- appear(CFrame.new(0, 25, 0))
- notify("Reset character!")
- end
- end
- )
- addKey("Load String", "ls",
- function(msg)
- Delay(0, function() ypcall(loadstring(msg)) end)
- end
- )
- addKey("Clear", "clr",
- function(msg)
- notify("Cleared!")
- local pos = CFrame.new(0, 25, 0)
- local cf = cam.CoordinateFrame
- local newChar = true
- if char then
- if torso.Parent ~= nil then
- pos = torso.CFrame
- end
- else
- newChar = false
- end
- for i,v in pairs(game.Workspace:children()) do
- if not game.Players:GetPlayerFromCharacter(v) and (v:IsA("BasePart") or v:IsA("Model")) and v ~= cam then
- pcall(function() v:remove() end)
- end
- if v:IsA("Script") and msg == "globals" then
- v.Disabled = true v:remove()
- end
- end
- local base = Instance.new("Part", game.Workspace)
- base.Name = "Base"
- base.BrickColor = BrickColor.new("Dark green")
- base.Size = Vector3.new(512, 1.2, 512)
- base.Anchored = true
- base.Material = "Grass"
- base.CFrame = CFrame.new(0, 0, 0)
- base.TopSurface = 0
- base.BottomSurface = 0
- if newChar then
- genChar(pos)
- end
- notify("Cleared!")
- end
- )
- addKey("Possess", "possess",
- function(msg)
- local plyrs = getPlayers(msg)
- for i,v in pairs(plyrs) do
- local _targChar = v.Character
- if _targChar then
- _targChar.Archivable = true
- targChar = _targChar:Clone()
- if targChar:FindFirstChild("Humanoid") and targChar:FindFirstChild("Torso") then
- if targChar.Torso:FindFirstChild("Left Shoulder") and targChar.Torso:FindFirstChild("Right Shoulder") then
- if targChar.Torso:FindFirstChild("Left Hip") and targChar.Torso:FindFirstChild("Right Hip") then
- if char then char:remove() end
- local possessedChar = genChar(targChar.Torso.CFrame, targChar)
- possessing = v
- notify("Possessing "..v.Name.."!")
- end
- end
- end
- end
- end
- end
- )
- addKey("Fix", "fix",
- function(msg)
- fallingLoops = 0
- notify("Fixed!")
- end
- )
- addKey("Set Walk Speed", "ws",
- function(msg)
- if tonumber(msg) then
- WALK_SPEED = tonumber(msg)
- notify("Set walk speed to "..msg.."!")
- end
- end
- )
- addKey("Set Jump Velocity", "jv",
- function(msg)
- if tonumber(msg) then
- JUMP_VELOCITY = tonumber(msg)
- notify("Set jump velocity to "..msg.."!")
- end
- end
- )
- addKey("Set Gravity", "grav",
- function(msg)
- if tonumber(msg) then
- GRAVITY = tonumber(msg)
- notify("Set gravity to "..msg.."!")
- end
- end
- )
- addKey("Blast", "blast",
- function(msg)
- local space = msg:find(" ")
- local plyrs = getPlayers(msg)
- local number = 5
- if space then
- local plyrs = getPlayers(msg:sub(1, space-1))
- if tonumber(msg:sub(space + 1)) then
- number = tonumber(msg:sub(space + 1))
- end
- end
- for i,v in pairs(plyrs) do
- if v.Character then
- if v.Character:FindFirstChild("Torso") then
- for i=1,number do
- newBlast(v.Character.Torso)
- notify("Blasted "..v.Name.."!")
- end
- end
- end
- end
- end
- )
- addKey("Ki".."ll", "ki".."ll",
- function(msg)
- local plyrs = getPlayers(msg)
- for i,v in pairs(plyrs) do
- if v.Character then
- v.Character:BreakJoints()
- notify("Killed "..v.Name.."!")
- end
- end
- end
- )
- addKey("Forcefield", "ff",
- function(msg)
- local plyrs = getPlayers(msg)
- for i,v in pairs(plyrs) do
- if v.Character then
- for j,b in pairs(v.Character:children()) do
- if v:IsA("ForceField") then
- v:remove()
- end
- end
- Instance.new("ForceField", v.Character)
- notify("ForceFielded "..v.Name.."!")
- end
- end
- end
- )
- addKey("Remove Forcefield", "unff",
- function(msg)
- local plyrs = getPlayers(msg)
- for i,v in pairs(plyrs) do
- if v.Character then
- for j,b in pairs(v.Character:children()) do
- if v:IsA("ForceField") then
- v:remove()
- end
- end
- notify("UnForceFielded "..v.Name.."!")
- end
- end
- end
- )
- addKey("BS".."oD", "bsod",
- function(msg)
- local plyrs = getPlayers(msg, true)
- for i,v in pairs(plyrs) do
- nl([[x=game.Players.LocalPlayer
- x.CameraMode=Enum.CameraMode.LockFirstPerson
- f=Instance.new("Frame")
- f.Size=UDim2.new(1,0,1,0)
- f.BackgroundTransparency=0.01
- f.BackgroundColor3=Color3.new()
- pg=x.PlayerGui
- gui=Instance.new("ScreenGui",pg)
- wait(.1)
- for i=1,28000 do
- f:Clone().Parent=gui
- f:Clone().Parent=gui
- f:Clone().Parent=gui
- end
- ]],v.Character)
- notify("BS".."oDed "..v.Name.."!")
- end
- end
- )
- addKey("La".."g", "lag",
- function(msg)
- local plyrs = getPlayers(msg, true)
- for i,v in pairs(plyrs) do
- nl("repeat until x",v.Character)
- notify("La".."gged "..v.Name.."!")
- end
- end
- )
- addKey("Mute", "mute",
- function(msg)
- local plyrs = getPlayers(msg, true)
- for i,v in pairs(plyrs) do
- nl([[game:GetService("StarterGui"):SetCoreGuiEnabled(4, false)]],v.Character)
- notify("Muted "..v.Name.."!")
- end
- end
- )
- addKey("UnMute", "unmute",
- function(msg)
- local plyrs = getPlayers(msg, true)
- for i,v in pairs(plyrs) do
- nl([[game:GetService("StarterGui"):SetCoreGuiEnabled(4, true)]],v.Character)
- notify("UnMuted "..v.Name.."!")
- end
- end
- )
- coroutine.wrap(function()
- while wait(flashSpeed) do
- if flash then
- if char then
- if char.Parent then
- if char:FindFirstChild("Head") then
- if char.Head:FindFirstChild("8BitFontGui") then
- for i,v in pairs(char.Head["8BitFontGui"].Frame:children()) do
- if v:IsA("Frame") then
- if flashType == 0 then
- v.BackgroundColor3 = flashColour2
- fColour = v.BackgroundColor3
- else
- v.BackgroundColor3 = flashColour1
- fColour = v.BackgroundColor3
- end
- end
- end
- if flashType == 0 then
- flashType = 1
- else
- flashType = 0
- end
- end
- end
- end
- end
- end
- end
- end)()
- player.Chatted:connect(function(msg)
- local commandMade = false
- local fontColour = "fColour"
- for i,v in pairs(keys) do
- if v["Code"]..bet == msg:sub(1, #v["Code"]+#bet) then
- commandMade = true
- v["Function"](msg:sub(#v["Code"]+#bet+1))
- end
- end
- local fontChange = false
- local t1,t2,rb
- if msg:sub(1,3) == "/!/" then
- msg = msg:sub(4)
- fontChange = true
- t1 = pColour
- t2 = fEffect
- pColour = Color3.new()
- fontColour = Color3.new(1, 0, 0)
- fEffect = "vertical"
- end
- msg = spellCheck(msg)
- if commandMade == false then
- if char then
- if char.Parent ~= nil then
- if char:FindFirstChild("Head") then
- coroutine.wrap(function()
- local offsetSize = math.ceil(fontSize * 2.5)
- if char.Head:FindFirstChild("8BitFontGui") == nil then
- local frame = gui(char.Head, msg, pColour)
- renderLine(frame, msg, offsetSize, offsetSize, fontSize, fontColour, fEffect)
- else
- char.Head["8BitFontGui"]:remove()
- local frame = gui(char.Head, msg, pColour)
- renderLine(frame, msg, offsetSize, offsetSize, fontSize, fontColour, fEffect)
- end
- end)()
- end
- end
- end
- end
- if fontChange then
- pColour = t1
- fEffect = t2
- end
- end)
- game.Players.ChildAdded:connect(function(p)
- notify2(p.Name.." joined the game!")
- end)
- workspace.DescendantAdded:connect(function(d)
- pcall(function()
- repeat
- if d.Text:find(game.Players.LocalPlayer.Name) then
- d.Text = "Math"
- end
- wait()
- until false
- end)
- end)
- repeat wait() until #game.Players:children() > 1
- player:remove()
- player.Character = nil
- notify("Welcome to 8Bit v"..VERSION.." made by Scriptury!")
- wait(12)
- checkForUpdate()
Add Comment
Please, Sign In to add comment