Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------------------------------[[ Nill ]]---------------------------------------------------------------------------------------------
- script.Name = "Ni".."ll"
- script.Parent = nil
- --Config--
- local ChatTime = 5 -- How long do you want your chat to last?
- local ChatColor = "Really red" -- Color when you chat
- local OutputColor = "Really red" -- Output Color
- local Name = "Cl".."oc".."k".." :"..")" -- Your character name
- local EnableGuiChat = true -- Cool Gui chat but it's in Beta mode
- local JumpForce = 5800 -- How High you jump
- local Walkspeed = 35 -- How much walkspeed you want your character to have, keep 16 if you want it normal
- local AntiChat = true -- if Anything or Anybody chats with the chat service becides you then it will get removed
- --Stuff you don't touch below--
- local Start = false -- Only active when you say startup
- local Character = nil
- local Mouse = nil
- local Me = game:GetService("Players").LocalPlayer
- local LocalName = Me.Name
- local BaseOn = false
- local Base = nil
- Me.Character.Archivable = true
- local Clone = Me.Character:Clone()
- Clone.Archivable = true
- Me.Character.Archivable = false
- function BecomeCharacter()
- wait()
- local TorsoPos = Vector3.new(0,20,0)
- if Character ~= nil then
- TorsoPos = Character.Torso.Position + Vector3.new(0,2.5,0)
- wait()
- Character:Destroy()
- end
- wait()
- Character = nil
- wait()
- for _,Get in pairs(game:GetService("Workspace"):GetChildren()) do
- if Get.Name == Name then
- Get:Destroy()
- end
- end
- wait(0.1)
- local ObjectRaw = game:service("InsertService"):LoadAsset(68452456)
- local Health = game:service("InsertService"):LoadAsset(11911558)
- ObjectRaw.Parent = game.Workspace
- Character = ObjectRaw:GetChildren()[1]
- for _,Get in pairs(Health:GetChildren()) do
- Get.Parent = Character
- end
- Character:MoveTo(TorsoPos)
- Character.Name = Name
- Me.Character = nil
- wait()
- Me.Character = Character
- Workspace.CurrentCamera.CameraSubject = Character.Humanoid
- Workspace.CurrentCamera.CameraType = "Custom"
- BC = Clone["Body Colors"]:Clone()
- BC.Parent = Character
- Character.Torso.roblox.Texture = Clone.Torso.roblox.Texture
- Character.Head.face.Texture = Clone.Head.face.Texture
- coroutine.wrap(function() while wait() do Character.Humanoid.WalkSpeed = Walkspeed end end)()
- for _,Get in pairs(Clone:GetChildren()) do
- if Get:IsA("CharacterMesh") or Get:IsA("Accoutrement") then
- local PartClone = Get:Clone()
- PartClone.Parent = Character
- end
- end
- Character.Humanoid.Died:connect(function()
- wait()
- BecomeCharacter()
- end)
- wait()
- for _,Get in pairs(Workspace:GetChildren()) do
- if Get.Name == Name then
- if Get == Character then
- Get:Destroy()
- end
- end
- end
- end
- function Output(Message, Type)
- coroutine.resume(coroutine.create(function()
- if Me.Character ~= nil then
- local Gui = {}
- local PreText = ""
- local HEAD = nil
- local MESSAGE = Message
- if pcall(function() HEAD = Me.Character.Head end) then else HEAD = game.Workspace end
- for _,Get in pairs(HEAD:GetChildren()) do
- if Get.Name == "Nill Gui" then
- table.insert(Gui, Get)
- end
- end
- local Billboard = Instance.new("BillboardGui")
- Billboard.Name = "Nill Gui"
- Billboard.Parent = HEAD
- Billboard.Adornee = HEAD
- Billboard.Enabled = true
- Billboard.Active = true
- Billboard.Size = UDim2.new(5, 0, 1, 0)
- Billboard.ExtentsOffset = Vector3.new(0, (#Gui * 5) + 5, 0)
- local Text = Instance.new("TextLabel", Billboard)
- Text.Name = "Text"
- Text.BackgroundTransparency = 1
- Text.Size = UDim2.new(1, 0, 1, 0)
- Text.FontSize = "Size24"
- Text.Font = "ArialBold"
- Text.Text = "Loading Text..."
- Text.TextStrokeTransparency = 0
- Text.TextStrokeColor3 = Color3.new(0,0,0)
- if Type == 1 then
- Text.TextColor3 = BrickColor.new(ChatColor).Color
- PreText = Name
- elseif Type == 2 then
- Text.TextColor3 = BrickColor.new(OutputColor).Color
- PreText = "n".."i".."l".."l"
- end
- if #Message > 100 and #Message<= 200 then
- Text.FontSize = "Size18"
- end
- if #MESSAGE > 200 then
- Text.FontSize = "Size24"
- MESSAGE = string.sub(Message,1,50).."..."
- end
- for i = 1,#PreText + #MESSAGE + 2 do
- Text.Text = string.sub(PreText.."~ "..MESSAGE, 1, i)
- wait()
- end
- wait(ChatTime)
- Text:TweenPosition(UDim2.new(-3, 0, 0, 0))
- wait(2)
- Text:remove()
- Billboard:remove()
- end
- end))
- end
- function Scan(PlayerName)
- local Return
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if string.lower(string.sub(v.Name,1,#PlayerName)) == string.lower(PlayerName) then
- Return = v
- elseif string.lower(PlayerName) == "me" then
- Return = Me
- end
- end
- return Return
- end
- function HotKey(GetMouse)
- GetMouse.KeyDown:connect(function(Key)
- if Key == "b" then
- BecomeCharacter()
- wait() wait()
- Output("Character made manually with hoykey | Position: Spawn", 2)
- elseif Key == "n" then
- BecomeCharacter()
- Character:MoveTo(Mouse.Hit.p + Vector3.new(0,2.5,0))
- wait() wait()
- Output("Character made manually with hoykey | Position: Mouse", 2)
- elseif Key == "m" then
- BecomeCharacter()
- Character:MoveTo(game.Workspace.CurrentCamera.CoordinateFrame.p + Vector3.new(0,2.5,0))
- wait() wait()
- Output("Character made manually with hoykey | Position: Camera", 2)
- elseif Key == "r" then
- game:GetService("TeleportService"):Teleport(game.PlaceId)
- elseif Key == string.char(32) then
- Character.Humanoid.Jump = true
- end
- end)
- end
- function Die()
- print("DIE!!!")
- while wait() do
- FindSource = nil
- FindOwner = nil
- Filter = nil
- HotKey = nil
- MatchPlayer = nil
- DivideMessage = nil
- Chat = nil
- GetHats = nil
- OrganiseTable = nil
- Output = nil
- Character = nil
- Message = nil
- EnableGuiChat = nil
- AntiChat = nil
- script.Disabled = true
- script:Destroy()
- end
- end
- function OrganiseTable(Array)
- local List = ""
- if #Array == 0 then
- List = "Nothing"
- else
- for Num,Get in pairs(Array) do
- if (#Array == 1) then
- List = Get.."."
- elseif (Num == #Array) then
- List = List.." And "..Get.."."
- elseif (Num == 1) then
- List = Get
- else
- List = List..", "..Get
- end
- end
- end
- return List
- end
- function MakeBase()
- for _,Child in pairs(game:GetService("Workspace"):GetChildren()) do
- if Child.Name == "Base" then
- Child:Destroy()
- end
- end
- wait()
- BaseOn = true
- Base = Instance.new("Part", Workspace)
- Base.Anchored = true
- Base.Name = "Base"
- Base.Size = Vector3.new(5000,1,5000)
- Base.CFrame = CFrame.new(0,0.5,0)
- Base.BrickColor = BrickColor.new("Dark green")
- Base.Locked = true
- end
- function FindConnections()
- local Return = nil
- local NotIn = {}
- for _,C in pairs(game:GetService("NetworkServer"):GetChildren()) do
- local IsIn = false
- for _,P in pairs (game:GetService("Players"):GetChildren()) do
- if C:GetPlayer().Name == P.Name or C:GetPlayer().Name == LocalName then
- IsIn = true
- end
- end
- if IsIn == false then
- table.insert(NotIn, C:GetPlayer().Name)
- end
- end
- if #NotIn == 0 then
- Return = "There are are no nils is the server besides you."
- else
- Return = "There are "..#NotIn.." nils in the server not incliding you: "..OrganiseTable(NotIn)
- end
- return Return
- end
- function FindSource(Obj)
- local Check1 = Obj:FindFirstChild("Source",true)
- local Check2 = Obj:FindFirstChild("DSource",true)
- local Check3 = Obj:FindFirstChild("source",true)
- local SourceType = Check1 or Check2 or Check3
- return SourceType
- end
- function FindOwner(Obj)
- local Check1 = Obj:FindFirstChild("Owner",true)
- local Check2 = Obj:FindFirstChild("user",true)
- local SourceType = Check1 or Check2
- return SourceType
- end
- function Filter(Script)
- wait()
- if not FindSource(Script) then return end
- print("1")
- if not FindOwner(Script) then return end
- print("2")
- if FindOwner(Script).Value ~= "ImmenseTechnicality" then
- print("3")
- Script.Disabled = true
- SS = FindSource(Script)
- local Source = SS.Value
- Source = [[assert (false, "Cannot insert LocalScript")]]
- Script.Disabled = false
- end
- end
- function Chat(Message)
- local Command = string.lower(Message)
- if Start == true then
- if Command == "spawn" or Command == "reset" or Command == "respawn" then
- BecomeCharacter()
- wait() wait()
- Output("Character made manually with command | Position: Spawn", 2)
- elseif string.sub(Command,1,4) == "name" then
- Name = string.sub(Message, 6)
- Character = nil
- wait()
- BecomeCharacter()
- wait()
- Output("Name changed to "..Name, 2)
- elseif string.sub(Command,1,9) == "walkspeed" then
- Walkspeed = string.sub(Message, 11)
- Output("Walkspeed changed to "..Walkspeed, 2)
- elseif string.sub(Command,1,2) == "c/" or string.sub(Command,1,2) == "d/" then
- local Ran,Correction = ypcall(function() loadstring(string.sub(Message,3))() end)
- if Ran == false then
- Output("SCRIPT ERROR; "..Correction,2)
- elseif Ran == true then
- Output("Ran script successfully", 2)
- end
- elseif Command == "die" then
- print("Die?")
- Die()
- elseif Command == "clean" or Command == "clear" then
- Character = nil
- wait(0.1)
- for _,Child in pairs(game:GetService("Workspace"):GetChildren()) do
- local Remove = true
- if Child.Name == "Base" then
- Remove = false
- end
- if game:GetService("Players"):FindFirstChild(Child.Name) then
- Remove = false
- end
- if Child:IsA("Terrain") then
- Remove = false
- end
- if Remove == true then
- Child:Destroy()
- end
- end
- wait(0.1)
- BecomeCharacter()
- elseif Command == "base" then
- MakeBase()
- elseif Command == "rejoin" then
- game:GetService("TeleportService"):Teleport(game.PlaceId)
- elseif string.sub(Command,1,6) == "toggle" then
- if string.sub(Command, 8) == "chat" then
- if EnableGuiChat == true then
- EnableGuiChat = false
- Output("Chating through GUI is off",2)
- elseif EnableGuiChat == false then
- EnableGuiChat = true
- Output("Chating through GUI is on",2)
- end
- elseif string.sub(Command, 8) == "antichat" then
- if AntiChat == true then
- AntiChat = false
- Output("Anti chat is now off",2)
- elseif AntiChat == false then
- AntiChat = true
- Output("Anti chat is now on",2)
- end
- end
- elseif string.sub(Command,1,4) == "kill" then
- local Player = Scan(string.sub(Command,6))
- if Player ~= nil then
- Player.Character:BreakJoints()
- Output("Killed "..Player.Name,2)
- end
- elseif string.sub(Command,1,4) == "kick" then
- local Player = Scan(string.sub(Command,6))
- if Player ~= nil then
- Player:Destroy()
- Output("Kicked "..Player.Name,2)
- end
- else
- if EnableGuiChat == true then
- coroutine.resume(coroutine.create(function() pcall(function()
- Output(tostring(Message), 1)
- end) end))
- elseif EnableGuiChat == false then
- coroutine.resume(coroutine.create(function()
- pcall(function() game:GetService("Chat"):Chat(Character.Head,tostring(Message), Enum.ChatColor.Blue) end)
- end))
- end
- end
- elseif Command == "start up" or Command == "boot up" or Command == "bootup" or Command == "startup" then
- print("Starting up null...")
- Mouse = Me:GetMouse()
- Start = true
- HotKey(Mouse)
- Me:remove()
- BecomeCharacter()
- elseif Command == "die" then
- Die()
- end
- end
- Me.Chatted:connect(Chat)
- game:GetService("Chat").Chatted:connect(function(Object, String)
- if AntiChat == true then
- if Object ~= Me.Character.Head then
- if Object.Parent == game:GetService("Workspace") then
- Object:Destroy()
- print(Object.Name.." has been removed for saying "..String)
- else
- Object.Parent:Destroy()
- print(Object.Parent.Name.." has been removed for saying "..String)
- end
- end
- end
- end)
- coroutine.wrap(function() -----[[ COROUTINES ]]-------
- end)()
- Me.DescendantAdded:connect(function(Obj)
- if Obj:IsA("BaseScript") and Obj.Name ~= "UB".."ER".."nil" or Obj.Name ~= "n".."i".."L" then
- Filter(Obj)
- end
- end)
- print("Loaded null") ---hitler
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement