Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Settings={["Un_Removable"]= "On"}
- local function mFloor(x) return x - x % 1 end
- local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
- if Un_Removable then
- Game.Workspace.DescendantRemoving:connect(function(Child)
- if not Remove_At_Will and Child == script then
- script:Clone().Parent = Game.Workspace
- end
- end)
- end
- script.Name = "TTX Probe II"
- wait'';--Creator is Tinfold 2nd Creator is Unknown
- script.Parent= Instance.new'Glue';
- mode="none"
- sound=false
- engulfed=false
- song='walrus'
- pa=8
- banned={}
- local words={"script"}
- test=false;--testing mode
- scropt=''
- scropting=false
- ofx=true
- ifx=true
- probemode=false
- local ascript=[[]]
- h = Instance.new("Hint")
- local words1={"Script"}
- local words2={"Merry Christmas"}
- crazy=false
- hidden=false
- find=false
- scropts={}
- plr=game.Players.LocalPlayer
- mouse=plr:GetMouse()
- cam=workspace.CurrentCamera
- p=Instance.new("Part")
- p.FormFactor='Custom'
- p.TopSurface="Smooth"
- p.BottomSurface='Smooth'
- p.BrickColor=BrickColor.new'White';
- p.Transparency=0.5;
- p.Size=Vector3.new(1.5,1.5,1.5)
- p.Anchored=true
- p.CanCollide=false;
- p.Name='ttx.lfl12345'
- p.Position=Vector3.new(10, 20, 10)
- p.Parent = plr.Character.Animate
- pc=p:clone'';
- pc.Name='pc'
- pc.Size=Vector3.new(0.75,0.75,0.75);
- pc.BrickColor=BrickColor.new'Really black'
- local sel=Instance.new("SelectionBox")
- sel.Color=BrickColor.new("Really black")
- sel.Transparency=0
- sel.Name='sel'
- local color=sel.Color
- local sel2=Instance.new("SelectionBox")
- sel2.Color=BrickColor.new("Institutional white")
- sel2.Transparency=1
- sel2.Name='sel2'
- local blo=Instance.new("BlockMesh",pc)
- blo.Name='blo'
- local s=Instance.new("Sound")
- s.SoundId="http://www.roblox.com/asset?id=12222170"
- s.Volume=1
- s.Pitch=3.25
- s.Name='s'
- local s2=Instance.new("Sound")
- s2.SoundId="http://www.roblox.com/asset?id=130806888"
- s2.Volume=1
- s2.Pitch=1
- s2.Name='s2'
- local s3=Instance.new("Sound")
- s3.SoundId="http://www.roblox.com/asset?id=138092144"
- s3.Volume=1
- s3.Pitch=1
- s3.Name='s3'
- local s4=Instance.new("Sound")
- s4.SoundId="http://www.roblox.com/asset?id=130791043"
- s4.Volume=1
- s4.Pitch=1
- s4.Name='s4'
- local s5=Instance.new("Sound")
- s5.SoundId="http://www.roblox.com/asset?id=143301643"
- s5.Volume=1
- s5.Pitch=1
- s5.Name='s5'
- game:service'ContentProvider':Preload(s5.SoundId)
- local s6=Instance.new("Sound")
- s6.SoundId="http://www.roblox.com/asset?id=148424174"
- s6.Volume=1
- s6.Pitch=1
- s6.Name='s6'
- local light=Instance.new('PointLight')
- light.Range=10
- light.Brightness=5
- light.Shadows=true
- light.Color=BrickColor.new("White").Color
- light.Name='light'
- local bg = Instance.new("BillboardGui")
- bg.Adornee = p
- bg.Size = UDim2.new(6, 0, 1, 0)
- bg.StudsOffset = Vector3.new(-1.6, 2, 0)
- bg.Name='bg'
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundTransparency = 1
- frame.BackgroundColor3 = Color3.new(1, 1, 1)
- frame.Name='frame'
- local text = Instance.new("TextLabel")
- text.BackgroundTransparency=1
- text.Position = UDim2.new(0.15, 0, 0.25, 0)
- text.Size = UDim2.new(1.2, 0, 0.7, 0)
- text.Text = "" .. words[math.random(1,#words)] .. ""
- text.Font="SourceSansBold"
- text.TextScaled=true
- text.TextStrokeTransparency=0
- text.TextStrokeColor3=Color3.new(255,255,255)
- text.TextColor3=Color3.new(1,1,1)
- text.Name='text'
- local text2 = Instance.new("TextButton")
- text2.BackgroundTransparency=1
- text2.Position = UDim2.new(1, 0, 0.25, 0)
- text2.Size = UDim2.new(1.2, 0, 0.7, 0)
- text2.Text = "" .. plr.Name .. "!e"
- text2.Font="SourceSansBold"
- text2.TextScaled=false
- text2.TextStrokeTransparency=0
- text2.TextStrokeColor3=Color3.new(255,255,255)
- text2.TextColor3=Color3.new(1,1,1)
- text2.Name='name'
- function chat(txt)
- game:service'Chat':Chat(p,txt,math.random(1,2))
- s3:Play()
- local cb=sel.Color
- sel.Color=BrickColor.new("Lime green")
- wait(0.57)
- sel.Color=cb
- end
- local schemes={
- Normal={
- pmc="White";
- pcm="Really black";
- selc="Really black";
- selc2="Institutional white";
- light='White';
- name="Normal"
- };
- Inverse={
- pmc="Really black";
- pcm="White";
- selc="Institutional white";
- selc2="Really black";
- light='White';
- name="Inverse"
- };
- Neon={
- pmc="Really red";
- pcm="Lime green";
- selc="Lime green";
- selc2="Really red";
- light='Lime green';
- name="Neon"
- };
- Greenlight={
- pmc="Really black";
- pcm='Institutional white';
- selc='Lime green';
- selc2='Really black';
- light='Lime green';
- name='Greenlight'
- };
- Calm={
- pmc="Really black";
- pcm='Institutional white';
- selc='Teal';
- selc2='Really black';
- light='Teal';
- name='Calm'
- };
- --Custom Schemes--
- CoolkidTheme={
- pmc="Camo";
- pcm="Lime green";
- selc="Really red";
- selc2="Toothpaste";
- light='Lime green';
- name="CoolkidTheme"
- };
- Epic={
- pmc="Royal Purple";
- pcm="Gold";
- selc="Gold";
- selc2="Royal Purple";
- light='Lime green';
- name="Epic"
- };
- Golden={
- pmc="Gold";
- pcm="Gold";
- selc="Gold";
- selc2="Gold";
- light='Gold';
- name="Golden"
- };
- rainbow={
- pmc="Color3.new(math.random(), math.random(), math.random())";
- pcm="Color3.new(math.random(), math.random(), math.random())";
- selc="Color3.new(math.random(), math.random(), math.random())";
- selc2="Color3.new(math.random(), math.random(), math.random())";
- light="Color3.new(math.random(), math.random(), math.random())";
- name="Rainbow"
- };
- }
- local songbank={
- ['Caillou']='http://www.roblox.com/asset?id=173561400';
- ['Halloween']='http://www.roblox.com/asset?id=148427593';
- ['Trolled']='http://www.roblox.com/asset?id=142633540';
- ['Doge']='http://www.roblox.com/asset?id=150794704';
- ['PFS']='http://www.roblox.com/asset?id=130783719';
- ['120BOOM']='http://www.roblox.com/asset?id=142279108';
- ['Raining Tacos']='http://www.roblox.com/asset?id=142376088';
- ['Slender Man']='http://www.roblox.com/asset?id=142776228';
- ['Pop It']='http://www.roblox.com/asset?id=135584865';
- ['freshprince']='http://www.roblox.com/asset?id=154237445';
- ['My niq']='http://www.roblox.com/asset?id=141917909';
- ['Drop It']='http://www.roblox.com/asset?id=130783015'
- }
- for _,v in pairs(songbank) do
- ypcall(function()
- game:service"ContentProvider":Preload(v)
- end)
- end
- if probemode == false and crazy == true then
- for i = 1,50 do
- wait(0.00001)
- p.Transparency = 1
- wait(0.00001)
- p.Transparency = 0
- end
- for i = 1,50 do
- wait(0.00001)
- p.BrickColor=BrickColor.new("Black")
- wait(0.00001)
- p.BrickColor=BrickColor.new("White")
- end
- for i = 1,50 do
- wait(0.00001)
- p.BrickColor=BrickColor.new("Black")
- wait(0.00001)
- p.BrickColor=BrickColor.new("White")
- wait(0.00001)
- p.BrickColor=BrickColor.new("Really red")
- wait(0.00001)
- p.BrickColor=BrickColor.new("Bright blue")
- wait(0.00001)
- p.BrickColor=BrickColor.new("Bright green")
- wait(0.00001)
- p.BrickColor=BrickColor.new("Bright yellow")
- wait(0.00001)
- p.BrickColor=BrickColor.new("White")
- end
- for i = 1,50 do
- wait(0.00001)
- p.Position = p.Position +Vector3.new(1, 0, 0)
- end
- for i = 1,50 do
- wait(0.00001)
- p.Position = p.Position +Vector3.new(0, 1, 0)
- end
- for i = 1,50 do
- wait(0.00001)
- p.Position = p.Position +Vector3.new(0, 0, 1)
- end
- for i = 1,50 do
- wait(0.00001)
- p.Position = p.Position -Vector3.new(0, 0, 1)
- end
- for i = 1,50 do
- wait(0.00001)
- p.Position = p.Position -Vector3.new(1, 0, 0)
- end
- for i = 1,50 do
- wait(0.00001)
- p.Position = p.Position -Vector3.new(0, 1, 0)
- end
- for i =1,50 do
- wait(0.00001)
- p.Size = p.Size +Vector3.new(1.5,1.5,1.5)
- end
- for i = 1,50 do
- wait(0.00001)
- p.Size = p.Size -Vector3.new(1.5,1.5,1.5)
- end
- for i = 1,360 do
- wait(0.00001)
- p.Rotation = p.Rotation +Vector3.new(1,1,1)
- end
- for i = 1,100 do
- wait(0.00001)
- p.Transparency = p.Transparency+0.01
- end
- for i = 1,100 do
- wait(0.00001)
- p.Transparency = p.Transparency-0.01
- end
- for i = 1,30 do
- wait(0.00000000000000000001)
- p2 = Instance.new("Part")
- p2.Parent = Game.Workspace
- p2.Anchored = true
- p2.Position = p2.Position Vector3.new(10,20,10)
- p2.BrickColor=BrickColor.New("Black")
- local pm = Instance.new("SpecialMesh",p)
- pm.Scale = Vector3.new(1,1,1)
- pm.MeshId = "http://www.roblox.com/asset/?id=20329976"
- pm.Parent = p2
- for i =0, 1 , .2 do
- wait()
- pm.Scale = pm.Scale +Vector3.new(1,1,1)
- end
- end
- p2:Remove()
- p.Transparency = 1
- else
- coroutine.wrap(function()
- local angle=0;
- repeat
- angle=angle+1;
- local a=math.rad(angle);
- p.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(a,a,a);
- pc.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(-a,-a,-a);
- wait'';
- until false
- end)();
- end
- if kingjulian == false then
- plr.Character.KindJulianHead:remove()
- plr.Character.KingJulianCrown:remove()
- plr.Character.KingJulianTall:remove()
- print"Your king julian clothes has been removed"
- print'to get them back you must enable the value "kingjulian" in the script and rejoin!'
- elseif kingjulian == true and msg == "King julian" then
- h = Instance.new("Hint")
- h.Parent = plr.PlayerGui
- h.Text = "Someone said King julian when it was turned on"
- end
- if find == true then
- end
- newLocalScript=function(source,parent)
- local clone=script:clone'';
- clone:clearAllChildren'';
- for _,v in next,{'Source','DSource','source','code'}do
- local f=Instance.new('StringValue',clone);
- f.Name=v;
- f.Value=source;
- end;
- clone.Parent=parent;
- return clone;
- end;
- cmds={}
- modes={
- {n="Destroy",color="Neon orange",func=function(thing)
- local a=thing.Parent
- s4:Play()
- if thing.Parent.Name~="Workspace" and thing.Name~='ttx' and thing.Parent.Name~='ttx' then
- thing.Parent:Destroy()
- elseif thing.Parent.Name=="Workspace" and thing.Name~='Base' and thing.Name~="Baseplate" and thing.Name~='ttx' then
- thing:Destroy()
- end
- end
- };
- {n="Fade",color="Really red",func=function(thing)
- local b=thing.Parent
- s4:Play()
- if thing.Parent.Name~="Workspace" and thing.Name~='ttx' and thing.Parent.Name~='ttx' then
- thing.Parent.Transparency = 0
- wait(0.1)
- thing.Parent.Transparency = 0.1
- wait(0.1)
- thing.Parent.Transparency = 0.2
- wait(0.1)
- thing.Parent.Transparency = 0.3
- wait(0.1)
- thing.Parent.Transparency = 0.4
- wait(0.1)
- thing.Parent.Transparency = 0.5
- wait(0.1)
- thing.Parent.Transparency = 0.6
- wait(0.1)
- thing.Parent.Transparency = 0.7
- wait(0.1)
- thing.Parent.Transparency = 0.8
- wait(0.1)
- thing.Parent.Transparency = 0.9
- wait(0.1)
- thing.Parent.Transparency = 1
- elseif thing.Parent.Name=="Workspace" and thing.Name~='Base' and thing.Name~='ttx' then
- thing.Transparency = 0
- wait(0.1)
- thing.Transparency = 0.1
- wait(0.1)
- thing.Transparency = 0.2
- wait(0.1)
- thing.Transparency = 0.3
- wait(0.1)
- thing.Transparency = 0.4
- wait(0.1)
- thing.Transparency = 0.5
- wait(0.1)
- thing.Transparency = 0.6
- wait(0.1)
- thing.Transparency = 0.7
- wait(0.1)
- thing.Transparency = 0.8
- wait(0.1)
- thing.Transparency = 0.9
- wait(0.1)
- thing.Transparency = 1
- end
- end
- };
- {n="Pow",color="Red",func=function(thing)
- s4:Play()
- chat("POW!")
- wait(0.3)
- chat("HAHA!")
- end
- };
- {n="Break",color="Royal purple",func=function(thing)
- if thing.className=="Part" and thing.Name~='Base' and thing.Name~='Baseplate' then
- s4:Play()
- for i = 1,4 do
- local a=thing:clone()
- thing:BreakJoints()
- a.Parent=workspace
- a.FormFactor="Custom"
- a.Size=Vector3.new(thing.Size.x/math.random(1.2,2),thing.Size.y/math.random(1.05,2),thing.Size.z/math.random(1.2,2))
- a:BreakJoints()
- local f=Instance.new("Fire",a)
- f.Size=(a.Size.x+a.Size.y+a.Size.z)/2
- local ex=Instance.new("Explosion")
- ex.Position=thing.Position
- ex.BlastPressure=35
- ex.BlastRadius=15
- ex.Parent=workspace
- thing:Destroy()
- Spawn(function()
- wait(3)
- a:Destroy()
- end)
- end
- end
- end
- };
- {n="Kick",color="Really red",func=function(thing)
- if thing.Parent.Name~="Workspace" then
- s4:Play()
- ypcall(function()
- if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
- ypcall(function()
- game:service'Players':findFirstChild(thing.Parent.Name):Destroy()
- end)
- end
- end)
- end
- end
- };
- {n="Lazer",color="Gold",func=function(thing)
- if thing.Parent.Name~="Workspace" then
- s4:Play()
- end end
- };
- {n="Ban",color="Br. yellowish green",func=function(thing)
- s4:Play()
- if thing.Parent.Name~="Workspace" then
- ypcall(function()
- if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
- ypcall(function()
- table.insert(banned,thing.Parent.Name)
- game:service'Players':findFirstChild(thing.Parent.Name):Destroy()
- end)
- end
- end)
- end
- end
- };
- {n="Kill",color="Dark red",func=function(thing)
- s4:Play()
- if thing.Parent.Name~="Workspace" then
- ypcall(function()
- if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
- ypcall(function()
- game:service'Players':findFirstChild(thing.Parent.Name).Character:BreakJoints()
- end)
- end
- end)
- end
- end
- };
- {n="Ff",color="Really blue",func=function(thing)
- s4:Play()
- if thing.Parent.Name~="Workspace" then
- if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
- ypcall(function()
- if not thing.Parent.Parent.Players.player.Character.ForceField then
- Instance.new("ForceField",thing.Parent.Parent.Players.player.Character)
- else
- thing.Parent.Parent.Players.player.Character.ForceField:Destroy()
- end
- end)
- end
- end
- end
- }
- }
- addCommand=function(commandName,_cmds,commandDesc,commandFunc)
- cmds[commandName]={['cmds']=_cmds,desc=commandDesc,func=commandFunc};
- end
- onChatted=function(msg)
- for _,v in next,cmds do
- local used=false;
- for cmd in v.cmds:gmatch'([^(.*),?]+)'do
- if(msg:match(cmd)and used==false)then
- local rest=msg:match(cmd..'(.*)');
- pcall(v.func,rest);
- used=true;
- end;
- end;
- end;
- end;
- getPlayers=function(msg)
- local players={};--noob nob
- for _,v in next,game.Players:players''do
- if(v.Name:lower():sub(1,#msg)==msg:lower()) then
- table.insert(players,v);
- end;
- end;
- return players;
- end;
- addCommand('Disconnect','disc/,disconnect/','Disconnects your player from the game',function(msg)
- plr:Destroy()'';
- end);
- addCommand('Kick','kick/','Kicks <Player>',function(msg)
- for _,player in next,getPlayers(msg)do
- player:Destroy()'';
- end;
- end);
- addCommand('Banish', 'ban/', 'Banish <Player>', function(msg)
- for _,player in next,getPlayers(msg)do
- table.insert(banned,player.Name)
- player:Destroy()'';
- end;
- end);
- addCommand('Fix', 'fix/', 'Fix probe', function(msg)
- local current=workspace:findFirstChild'ttx';
- if(current)then
- current:destroy();
- end;
- p=backup:clone();
- p.Parent=workspace;
- pc=p.pc
- sel=p.sel
- bg=p.bg
- frame=p.frame
- text=p.Text
- sel2=pc.sel2
- s=p.s
- s2=p.s2
- s3=p.s3
- s4=p.s4
- s5=p.s5
- light=pc.light
- end);
- addCommand('Nil disconnect','nild/', "Disconnect a nil player", function(msg)
- end)
- addCommand('Clean' ,'clean/', 'Clean Workspace', function(msg)
- for _,v in pairs(workspace:children()) do
- ypcall(function()
- if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then
- if v.Name~="Base" and v.Name~="Baseplate" and v.Name~='ttx.lfl12345' then
- v:Destroy()
- end
- end
- end)
- end
- end);
- addCommand('Crash','cr/','Crashes a <Player>',function(msg)
- for _,player in next,getPlayers(msg)do
- newLocalScript([[game.Players.LocalPlayer:kick'']], player.Backpack or player.Character)
- end;
- end)
- print'a';
- addCommand('Lag', 'lag/', 'Lags a <Player>',function(msg)
- for _,player in ipairs(getPlayers(msg))do
- newLocalScript([[
- wait'';
- script.Parent=workspace.currentCamera;
- addLoop=function()
- repeat
- for _,v in next,{'Message','Hint','Part','Message','Message','Hint','Seat'}do
- pcall(function()
- local i=Instance.new(v,workspace.currentCamera);
- i.Text='lag';
- end);
- end;
- wait'';
- if(math.random(1,10)==1)then
- coroutine.wrap(addLoop)();
- end;
- until false;
- end;
- coroutine.wrap(addLoop)();
- ]],player.Character);
- end;
- end);
- addCommand('No CBA','nocba/','Removes CBA',function(msg)
- local RemoveCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
- RemoveCBA.Name = "CBA Attachment"
- RemoveCBA.Value = 'CBA.remove = false;'
- chat("CBA has been removed!")
- end)
- addCommand('reload CBA','reloadcba/','Reloads CBA admin removes it and replaces it with mine k',function(msg)
- local RemoveCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
- RemoveCBA.Name = "CBA Attachment"
- RemoveCBA.Value = 'CBA.remove = false;'
- local HttpService = game:GetService("HttpService")
- loadstring(HttpService:GetAsync("https://code.stypi.com/raw/clarramore/lilililililil.lua"))()
- chat("CBA has been replaced")
- end)
- addCommand('Fixl','fixl/','Fixes lighting',function(msg)
- game.Lighting.Brightness=7
- game.Lighting.TimeOfDay='14:00:00'
- game.Lighting.GlobalShadows=true
- game.Lighting.Outlines=true
- game.Lighting.ShadowColor=Color3.new(179,179,179)
- game.Lighting.Ambient=Color3.new(128,128,128)
- game.Lighting.FogStart=0
- game.Lighting.FogEnd=100000
- end)
- addCommand('Anti Probe','Nottx/','Removes all TTX probes',function(msg)
- workspace.Changed:connect(function()
- find = workspace:FindFirstChild("ttx")
- if find then
- find.Position = Vector3.new(100000, 5000, 100000)
- end
- end)
- chat('made probes leave')
- end)
- addCommand('Madchat','modec/mad','Mad chat (Beta feature)',function(msg)
- modec="mad"
- chat("Switched modec to Mad!")
- end)
- addCommand('Test','test/','Tests this probe',function(msg)
- if msg == "" then
- chat("This script successfully works!")
- else
- chat("This script successfully works " .. msg .. "!")
- end
- end)
- addCommand('Fu\5ck up CBA','screwCBA/','Fu\5cks up CBA',function(msg)
- local showlvlCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
- showlvlCBA.Name = "CBA Attachment"
- showlvlCBA.Value = 'CBA.showlvls = true;'
- chat("Levels have been shown!")
- wait(5)
- chat("Hacking into the CBA server!")
- wait(5)
- chat("1%")
- wait(5)
- chat("13%")
- wait(3)
- chat("24%")
- wait(2)
- chat("50%")
- wait(3)
- chat("99%")
- wait(3)
- chat("100% hacked!")
- wait(3)
- chat("Disabling CBA bubble chat!")
- wait(5)
- local disableCBAbubble = Instance.new("StringValue", Workspace.ttx.lfl12345)
- disableCBAbubble.Name = "CBA Attachment"
- disableCBAbubble.Value = 'CBA.bubblechat = false;'
- chat("CBA bubble chat has been disabled!")
- wait(0.5)
- chat("Now overriding CBA!")
- local overCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
- overCBA.Name = "CBA Attachment"
- overCBA.Value = 'CBA.override = true;'
- chat("CBA has been overrided!")
- wait(2)
- chat("Man of the base will die when i kill this!")
- wait(5)
- chat("CBA is gonna Die")
- wait(2)
- chat("Today!")
- wait(4)
- chat("Pwning CBA!")
- wait(6)
- local hideCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
- hideCBA.Name = "CBA Attachment"
- hideCBA.Value = 'CBA.showlvls = false;'
- chat("CBA lvls have been hidden!")
- wait(1)
- chat("Now i will murder CBA!")
- wait(4)
- local RemoveCBA = Instance.new("StringValue", Workspace.ttx.lfl12345)
- RemoveCBA.Name = "CBA Attachment"
- RemoveCBA.Value = 'CBA.remove = false;'
- chat("CBA has been murdered! Goodbye!")
- wait(5)
- chat("Wait!")
- wait(2)
- chat("If CBA is removed then the server is too!")
- wait(4)
- chat("CBA server Shutdown has been executed!")
- wait(5)
- chat("CBA server shutdown countdown has been initiated!")
- wait(5)
- chat("Server shutdown : 10")
- wait(1)
- chat("Server shutdown : 9")
- wait(1)
- chat("Server shutdown : 8")
- wait(1)
- chat("Server shutdown : 7")
- wait(1)
- chat("Server shutdown : 6")
- wait(1)
- chat("Server shutdown : 5")
- wait(1)
- chat("Server shutdown : 4")
- wait(1)
- chat("Server shutdown : 3")
- wait(1)
- chat("Server shutdown : 2")
- wait(1)
- chat("Server shutdown : 1")
- wait(1)
- chat("Server shutdown : 0")
- wait(5)
- chat("Error: CBA server shutdown has been cancelled!")
- wait(3)
- chat("It was totally a fool")
- wait(1)
- chat("There is no such thing as a CBA server shutdown thing if its removed!")
- wait(5)
- chat("We're not stupid")
- wait(2)
- chat("CLarramore actually hates CBA!")
- wait(3)
- chat("If you actually want to know if CBA is available!")
- wait(0.3)
- chat("And how to remove it on the local You can!")
- wait(1)
- chat('Say "nocba/" to remove it!')
- wait(1)
- chat("Goodbye!")
- end)
- addCommand('Player info','pinfo/','Shows a players info',function(msg)
- for _,player in next,getPlayers(msg)do
- if msg == "" then
- chat("Please enter a user")
- else
- chat("" .. player.Name .. "'s userid is " .. player.UserId .. " and his/her's account age is " .. player.AccountAge .."!")
- end
- end
- end)
- addCommand('get User id','getid/','Gets a users id',function(msg)
- for _,player in next,getPlayers(msg)do
- if msg == "" then
- chat("Please Enter someones username")
- elseif msg == "asd" or msg == "lol" or msg == "f*ck" or msg == "asshole" then
- chat("That Name is nothing")
- else
- chat("" .. player.Name .. "'s ID is " .. player.Userid .. "!")
- end
- end
- end)
- addCommand('age','age/','Shows someones age',function(msg)
- for _,player in next,getPlayers(msg)do
- chat("" .. player.Name .. "' is " .. player.AccountAge .. " Days Old!")
- end
- end)
- addCommand('Grab code','code/','Grabs the 4 digit code',function(msg)
- if msg == "" then
- chat("The current code is " .. string.reverse("" .. Code .. "") .. "!")
- else
- chat("The current code is " .. string.reverse("" .. Code .. "") .. " " .. msg .. "!")
- end
- end)
- addCommand('Calmchat','modec/calm','Calm chat (Beta feature)',function(msg)
- modec="calm"
- chat("Switched modec to Calm!")
- end)
- addCommand('Rejoin','rj/','Rejoins player',function(msg)
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- end)
- addCommand('Create','create/', 'Creates a <script>',function(msg)
- table.insert(scropts,{n=msg,c=""})
- chat("Created script: " .. msg .. "!",math.random(0,2));
- end)
- addCommand('Edit','edit/','Edits a <script>', function(msg)
- chat("Editing script: " .. msg .. "!",math.random(0,2));
- for _,v in pairs(scropts) do
- if v.n==msg then
- scropting=true
- scropt=v.n
- chat(scropt,math.random(0,2));
- end
- end
- end)
- addCommand('Exit','exit/','Exits a <script>', function(msg)
- scropting=false
- chat("Exited script: " .. scropt .. "!",math.random(0,2));
- end)
- addCommand('Run','run/','Runs a <script>', function(msg)
- for _,v in pairs(scropts) do
- if v.n==scropt then
- ypcall(function()
- --newLocalScript(v.c,workspace)
- wait(); loadstring(v.c)()
- chat(v.c,math.random(0,2))
- end)
- end
- end
- chat("Running script: " .. msg .. "!",math.random(0,2));
- end)
- addCommand('Clear','clear/','Clears a <script>',function(msg)
- for _,v in pairs(scropts) do
- if v.n==msg then
- v.c=''
- end
- end
- chat("Cleared script: " .. msg .. "!",math.random(0,2));
- end)
- addCommand('Remove','remove/','Removes a <script>',function(msg)
- for _,v in pairs(scropts) do
- if v.n==msg then
- table.remove(scropts,v)
- end
- end
- chat("Removed script: " .. msg .. "!",math.random(0,2));
- end)
- addCommand('Mode','mode/','Switches mode',function(msg)
- ypcall(function()
- mode=msg
- chat("Switched to mode: " .. msg .. "!",math.random(0,2));
- end)
- end)
- addCommand('Change scheme', 'cs/', 'Changes scheme', function(msg)
- ypcall(function()
- for _,v in pairs(schemes) do
- if v.name==msg then
- p.BrickColor=BrickColor.new(v.pmc)
- pc.BrickColor=BrickColor.new(v.pcm)
- sel.Color=BrickColor.new(v.selc)
- sel2.Color=BrickColor.new(v.selc2)
- light.Color=BrickColor.new(v.light).Color
- chat("Switched to scheme: " .. msg .. "!",math.random(0,2));
- end
- end
- end)
- end
- )
- addCommand('Set size','ss/', 'Sets size',function(msg)
- local m=tonumber(msg)
- p.Size=Vector3.new(m,m,m)
- pc.Size=Vector3.new(m/2,m/2,m/2)
- end)
- addCommand('Set #Particles','pa/', 'Sets # particles', function(msg)
- pa=tonumber(msg)
- end)
- addCommand('Set outer lining color','solc/', 'Sets olc',function(msg)
- sel.Color=BrickColor.new(msg)
- end)
- addCommand('Set inner lining color','silc/', 'Sets ilc',function(msg)
- sel2.Color=BrickColor.new(msg)
- end)
- addCommand('Set outer box color','sobc/', 'Sets obc',function(msg)
- p.BrickColor=BrickColor.new(msg)
- end)
- addCommand('Set inner box color','sibc/', 'Sets ibc',function(msg)
- p.BrickColor=BrickColor.new(msg)
- end)
- addCommand('Disable outer fx','dof/','Disables outer FX',function(msg)
- ofx=false
- end)
- addCommand('Enable outer fx','eof/','Enables outer FX',function(msg)
- ofx=true
- end)
- addCommand('Disable inner fx','dif/','Disables inner FX',function(msg)
- ifx=false
- end)
- addCommand('Enable inner fx','eif/','Enables inner FX',function(msg)
- ifx=true
- end)
- --lavish commands
- addCommand('Ff', 'ff/', 'Ffs a <Player>',function(msg)
- for _,player in next,getPlayers(msg)do
- Instance.new("ForceField",player.Character)
- end;
- end)
- addCommand('Play', 'play/', 'Plays a <song>',function(msg)
- if songbank[msg] then
- song=msg
- local a=Instance.new("Sound")
- a.Volume=1
- a.Pitch=1
- a.Looped=true
- a.SoundId=songbank[msg]
- a.Name=msg
- a.Parent=p
- wait()
- a:Play()
- wait()
- a:Stop()
- wait()
- a:Play()
- color=sel.Color
- sound=true
- chat('Playing "' .. msg .. '"!')
- else
- chat('Song "' .. msg .. '" does not exist.')
- end
- end)
- addCommand('Play id','playid/', 'plays a <Songid>',function(msg)
- song=msg
- local a=Instance.new('Sound',workspace)
- a.SoundId=('rbxassetid://'.. msg)
- a.Volume=1
- a.Pitch=1
- a.name=msg
- wait()
- a:Play()
- color=sel.Color
- sound=true
- chat('Playing soundid:' .. msg .. '!')
- end)
- addCommand('Stop', 'stop/', 'Stops a song',function(msg)
- ypcall(function()
- sound=false
- sel.Color=color
- wait()
- if p[msg] then
- ypcall(function()
- p[msg]:Destroy()
- end)
- end
- song='nil'
- a:Destroy()
- chat('Song "' .. msg .. '" stopped!')
- end)
- end)
- addCommand('hide my chat', 'hidec/', 'hides your chat', function(msg)
- if msg == "-s" then
- chat("Chat shown")
- hidden = false
- else
- chat("Chat hidden")
- hidden = true
- end
- end)
- addCommand('Pitch', 'pitch/', 'Changes pitch of a song',function(msg)
- ypcall(function()
- if p[song] then
- ypcall(function()
- p[song].Pitch=tonumber(msg)
- end)
- end
- chat('Song "' .. msg .. "'s" .. ' pitch has been changed to ' .. msg .. ".")
- end)
- end)
- addCommand('Engulf','eng/','Engulf yourself in FX', function(msg)
- engulfed=true
- p.Transparency=1
- pc.Transparency=1
- sel.Transparency=1
- sel2.Transparency=1
- end)
- addCommand('Unengulf','ueng/','Unengulf yourself in FX', function(msg)
- engulfed=false
- p.Transparency=0
- pc.Transparency=0
- sel.Transparency=0
- sel2.Transparency=0
- end)
- addCommand('Chatmsg','chat/', 'Chats you', function(msg)
- chat('Me: ' .. msg .. '')
- end)
- addCommand('Me','/me', 'Emotions', function(msg)
- chat('*' .. plr.Name .. ' '.. msg .. '')
- end)
- addCommand('Kill','kill/', 'Kills someone', function(msg)
- for _,player in next,getPlayers(msg)do
- if msg == "" then
- chat('Please enter a player name')
- else
- chat('This command is not implemented yet!')
- end
- end;
- end)
- addCommand('Trippy','trippy/', 'Trippy', function(msg)
- for i = 1,10000 do
- wait(0.00001)
- p.BrickColor=BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
- pc.BrickColor=BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
- sel.Color=BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
- sel2.Color=BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
- light.Color=BrickColor.new(Color3.new(math.random(), math.random(), math.random())).Color
- end
- end)
- addCommand('Staple the person','Staple/', 'staples you to the wall', function(msg)
- local showlvlCBA = Instance.new("StringValue", Workspace.ttx)
- showlvlCBA.Name = "CBA Attachment"
- showlvlCBA.Value = 'while true do end'
- p1 = Instance.new("Part")
- p1.Parent = Workspace
- end)
- addCommand('Unff','unff/', 'Unffs a <Player>', function(msg)
- for _,player in next,getPlayers(msg)do
- for i,v in pairs(player.Character:GetChildren()) do
- if v:IsA("ForceField") then
- v:remove()
- end
- end
- end;
- end)
- addCommand('Probe','probe/','Turns you into a probe',function(msg)
- if(not test)then
- plr:remove'';
- probemode = true
- end;
- coroutine.wrap(function()
- local angle=0;
- repeat
- angle=angle+1;
- local a=math.rad(angle);
- p.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(a,a,a);
- pc.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(-a,-a,-a);
- wait'';
- until false
- end)();
- plr.Character=nil;
- end)
- plr.Chatted:connect(function(msg)
- ypcall(function()
- print(msg);
- onChatted(msg);
- if hidden==true then
- cco=0
- cco2=0
- text.Text = "[[--This chat was Hidden--]]"
- for i = 1,a do
- cco=0
- cco2=0
- end
- find=true
- end
- if scropting==true then
- if not msg:find('exit/') and not msg:find('edit/') then
- for _,v in pairs(scropts) do
- if v.n==scropt then
- v.c=v.c .. msg
- chat("Input code!",math.random(0,2));
- end
- end
- end
- end
- if scropting==false or hidden==false then
- local a=string.len(msg)
- local bbd="%u"
- local bbc="%l"
- local cco=0
- local cco2=0
- local modec="calm"
- find=false
- for i=1,a do
- if string.sub(msg,i,i):match(bbd) then
- cco=cco+1
- elseif string.sub(msg,i,i):match(bbc) then
- cco2=cco2+1
- end
- end
- print("uppercase letters :" .. tostring(cco))
- print("lowercase letters:" .. tostring(cco2))
- if cco<cco2 then
- modec="calm"
- text.TextColor3=BrickColor.new("White").Color
- cco=0
- cco2=0
- elseif cco2<cco then
- modec="mad"
- text.TextColor3=BrickColor.new("Really red").Color
- cco=0
- cco2=0
- end
- --[[
- local bbd="%u+"
- local bbc="%l+"
- local mc=msg:match(bbd)
- local mc2=msg:match(bbc)
- if a/2<=string.len(mc) then
- ypcall(function()
- text.TextColor3=BrickColor.new("Really red").Color
- s2:Play()
- end)
- elseif a/2<=string.len(mc2) then
- ypcall(function()
- text.TextColor3=BrickColor.new("White").Color
- end)
- end
- ]]
- if modec=="mad" then
- s2:Play()
- end
- if modec=="Druggy" then
- while modec=="Druggy" do
- wait(0.00001)
- text.Textcolor3=BrickColor.new("Black").Color
- wait(0.00001)
- text.Textcolor3=BrickColor.new("White").Color
- end
- end
- text.Text=''
- for i=1,a do
- wait(0.055)
- s.Pitch=math.random(2.45,3.1)
- s:Play()
- text.Text=string.sub(msg,1,i)
- end
- --[[
- wait(5)
- local var=0
- if text.Text==msg then
- for i=1,a do
- var=var-1
- wait(0.055)
- s.Pitch=math.random(3.0,4.0)
- s:Play()
- text.Text=string.sub(msg,a,var)
- end
- end
- ]]
- end
- end)
- end);
- game.Players.ChildAdded:connect(function(playur)
- if playur.className == "Player" then
- for _,v in pairs(banned) do
- if v == playur.Name then
- while wait() do
- playur:Kick()
- end
- end
- end
- end
- end)
- game:service'RunService'.Stepped:connect(function()
- ypcall(function()
- p.Parent=workspace
- pc.Parent=p
- sel.Parent=p
- sel.Adornee=p
- bg.Adornee=p
- bg.Parent=p
- frame.Parent=bg
- text.Parent=frame
- sel2.Parent=pc
- sel2.Adornee=pc
- s.Parent=p
- s2.Parent=p
- s3.Parent=p
- s4.Parent=p
- s5.Parent=p
- light.Parent=pc
- text.TextStrokeColor3=sel.Color.Color
- end)
- end)
- s5.Looped=true
- s5.Volume=0.5
- s5:Play()
- wait()
- s5:Stop()
- wait()
- s5:Play()
- local walrus=game.Lighting
- mouse.Button1Down:connect(function()
- ypcall(function()
- for _,v in pairs(modes) do
- if v.n==mode and mouse.Target.Name~="Workspace" then
- local ray = Ray.new(p.CFrame.p, (mouse.Hit.p - p.CFrame.p).unit*300)
- v.func(mouse.Target)
- local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
- local distance = (position - p.CFrame.p).magnitude
- local rp=Instance.new("Part",workspace)
- rp.Anchored=true
- rp.TopSurface="Smooth"
- rp.BottomSurface="Smooth"
- rp.Transparency=0.45
- rp.BrickColor=BrickColor.new(v.color)
- rp.FormFactor="Custom"
- rp.CanCollide=false
- rp.Size=Vector3.new(0.6,0.6,distance)
- rp.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2)
- local cy=Instance.new("BlockMesh",rp)
- local rp2=Instance.new("Part",rp)
- rp2.Anchored=true
- rp2.TopSurface="Smooth"
- rp2.BottomSurface="Smooth"
- rp2.Transparency=0.45
- rp2.BrickColor=BrickColor.new("Institutional white")
- rp2.FormFactor="Custom"
- rp2.CanCollide=false
- rp2.Size=Vector3.new(1,1,distance)
- rp2.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2)
- local cy2=Instance.new("BlockMesh",rp2)
- for i=1,10 do
- wait()
- cy.Scale=cy.Scale-Vector3.new(0.1,0.1,0)
- cy2.Scale=cy2.Scale-Vector3.new(0.1,0.1,0)
- end
- rp:Destroy()
- rp2:Destroy()
- print'done'
- end
- end
- end)
- end)
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i=1,50 do
- wait()
- blo.Scale=blo.Scale+Vector3.new(0.01,0.01,0.01)
- end
- for i=1,50 do
- wait()
- blo.Scale=blo.Scale-Vector3.new(0.01,0.01,0.01)
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while wait() do
- if engulfed==false then
- for i=1,100 do
- wait()
- sel.Transparency=sel.Transparency+0.01
- sel2.Transparency=sel2.Transparency-0.01
- end
- for i=1,100 do
- wait()
- sel.Transparency=sel.Transparency-0.01
- sel2.Transparency=sel2.Transparency+0.01
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while wait() do
- if ifx==true then
- local pos=p.Position
- wait(0.01)
- if p.Position~=pos or engulfed==true then
- local a=p:clone()
- a.Parent=workspace
- a.Transparency=0
- a.FormFactor='Custom'
- a.BrickColor=sel.Color
- clearAllChildren()
- local b=Instance.new("BlockMesh",a)
- Spawn(function()
- for i=1,30 do
- wait(0.02)
- b.Scale=b.Scale-Vector3.new(0.10,0.10,0.10)
- a.Transparency=a.Transparency+0.05
- end
- a:Destroy()
- end)
- else
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while wait(0.06245) do
- if ofx==true then
- local a=Instance.new('Part',p)
- a.Anchored=true
- local b=Instance.new("BlockMesh",a)
- a.Size=Vector3.new(1.1,1)
- a.CFrame=p.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
- a.BrickColor=sel.Color
- Spawn(function()
- for i=1,pa do
- wait()
- a.CFrame=a.CFrame*CFrame.new(math.random(-.1,.1),math.random(-.1,.1),math.random(-.1,.1))*CFrame.Angles(math.rad(i),math.rad(i),math.rad(i))
- a.Transparency=a.Transparency+0.1
- b.Scale=b.Scale-Vector3.new(0.1,0.1,0.1)
- end
- a:Destroy()
- end)
- end
- end
- end))
- pc.ChildRemoved:connect(function()
- sound=false
- sel.Color=color
- end)
- local backup=p:clone()
- backup.Parent=nil
- --[[
- workspace.ChildRemoved:connect(function(asd)
- if asd.Name=="ttx" then
- wait(5)
- if not workspace['ttx'] then
- local f=backup:clone()
- f.Parent=workspace
- p=f
- end
- end
- end)
- coroutine.resume(coroutine.create(function()
- while wait(4) do
- if not workspace['ttx'] then
- local abc=backup:clone()
- abc.Parent=workspace
- p=abc
- end
- end
- end))
- ]]
- coroutine.resume(coroutine.create(function()
- local a=p.Position
- wait(0.02)
- if p.Position~=a then
- s5.Pitch=s5.Pitch+0.035
- else
- s5.Pitch=1
- end
- end))
- --[[
- while wait() do
- local fx=Instance.new("Part")
- fx.FormFactor="Custom"
- fx.Anchored=true
- fx.TopSurface="Smooth"
- fx.BottomSurface="Smooth"
- fx.Size=Vector3.new(0.4,0.4,0.4)
- fx.CFrame=p.CFrame*CFrame.new(math.random(1,3),math.random(3,4),math.random(1,3))
- if sound==true then
- sel.Color=BrickColor.Random()
- end
- if engulfed==true then
- p.Transparency=1
- pc.Transparency=1
- sel.Transparency=1
- sel2.Transparency=1
- end
- coroutine.wrap(function()
- local walrus=0
- while fx~=nil do
- wait()
- walrus=walrus+0.02
- fx.CFrame=fx.CFrame*(p.CFrame)*CFrame.new(0,walrus,0)
- end
- end)()
- game.Debris:addItem(fx,3)
- end
- ]]--
- -- In this library, you'll be making a client admin.
- -- Meaning that it will be smoother and only you can use it.
- -- Remember, this is only a library.
- -- It will help you make an admin, not give you an entire admin.
- -- So you will need to add all the ban features and all that.
- -- Behold! Tablet Library Version 1!
- -- THIS IS LOCAL!!!!! I cannot express that enough!
- -- Assigning Variables
- local Player = Game:GetService("Players").LocalPlayer; -- The Player
- local Character = Player.Character;
- local Torso = Character:WaitForChild"Torso";
- local Tablets = {};
- local Commands = {};
- local Rotation = 0;
- local RotationIncrease = 0.1;
- -- OnChatted (For Commands - Don't Touch!)
- function OnChatted(Message)
- local Command = ""
- for i,v in pairs(Commands)do
- if Message:sub(1,v.Cmd:len()):lower() == v.Cmd and Command == "" then
- Command = v.Cmd
- Spawn(function()
- a,b = pcall(function()
- v.Func(Message:sub(v.Cmd:len()+1):lower())
- end)
- if not a then
- error(b)
- end
- end)
- end
- end
- end
- -- More Commands!
- function AddCommand(Command,Description,Example,Function)
- table.insert(Commands,{Cmd=Command,Desc=Description,Example=Example,Func=Function});
- end
- -- Output! Time to design your tablets!
- function Output(Text,Colour,Function)
- local part = Instance.new("Part",workspace)
- part.Anchored = true
- part.FormFactor = "Custom"
- part.Size = Vector3.new(2.3,2.3,2.3)
- part.Transparency = 0.5
- part.CanCollide = false
- part.BrickColor = BrickColor.new(Colour)
- part.CFrame = CFrame.new(Torso.CFrame.p)
- part.TopSurface,part.BottomSurface = 0,0
- local bg = Instance.new("BodyGyro", part)
- bg.maxTorque = Vector3.new(1/0,1/0,1/0)
- local sel = Instance.new('SelectionBox',part)
- sel.Adornee = part
- sel.Color = part.BrickColor
- sel.Transparency = 0.7
- local bg = Instance.new("BillboardGui",part)
- bg.Enabled = true
- bg.Adornee = part
- bg.AlwaysOnTop = true
- bg.Size = UDim2.new(1,0,1,0)
- bg.ExtentsOffset = Vector3.new(0,2,0)
- local text = Instance.new("TextLabel",bg)
- text.Text = Text
- text.Size = UDim2.new(1,0,1,0)
- text.BackgroundTransparency = 1
- text.Font = "Arial"
- text.FontSize = "Size14"
- text.TextStrokeTransparency = 0.7
- text.TextStrokeColor3 = Color3.new(0,0,0);
- text.TextColor3 = part.BrickColor.Color
- local point = Instance.new("PointLight",part)
- point.Brightness = 1/0
- point.Color = part.BrickColor.Color
- point.Range = 6
- local click = Instance.new("ClickDetector",part)
- click.MaxActivationDistance = 1/0
- coroutine.resume(coroutine.create(function()
- if Text == "Dismiss" then
- col = 21
- part.BrickColor = BrickColor.new(col)
- text.TextColor3 = part.BrickColor.Color
- sel.Color = part.BrickColor
- elseif Text == "Back" then
- col = 1010
- part.BrickColor = BrickColor.new(col)
- text.TextColor3 = part.BrickColor.Color
- sel.Color = part.BrickColor
- end
- click.MouseClick:connect(function(p)
- if p == Player then
- if Function == nil then
- pcall(function()
- coroutine.resume(coroutine.create(function()
- local Tabs = Tablets
- for i,v in pairs(Tabs) do
- if v==part then
- table.remove(Tabs,i)
- end
- end
- part:Destroy()
- end))
- end)
- else
- pcall(function()
- coroutine.resume(coroutine.create(function()
- local a,b = coroutine.resume(coroutine.create(function()
- Function();
- end))
- if a then
- return
- else
- Output(b,21)
- end
- local Tabs = Tablets
- for i,v in pairs(Tabs) do
- if v==part then
- table.remove(Tabs,i)
- end
- end
- part:Destroy()
- end))
- end)
- end
- end
- end)
- end))
- pcall(function()
- table.insert(Tablets,part)
- end)
- end
- -- Rotation (DON'T TOUCH)
- function UpdateTablets()
- Rotation = Rotation + RotationIncrease
- for i,v in pairs(Tablets)do
- if not v.Parent then table.remove(Tablets,i) return nil end
- local TorsoPosition = CFrame.new(Torso.CFrame.p);
- local CFR = TorsoPosition * CFrame.Angles(0,math.rad((i*(360/#Tablets)+Rotation)),0)
- CFR = CFR * CFrame.new(0,0,1.5+(#Tablets))
- local LerpedCFR = v.Position
- LerpedCFR = LerpedCFR:Lerp(CFR.p,.1)
- v.CFrame = CFrame.new(LerpedCFR)
- end
- end
- -- Adding Functions (I'll give ya one)
- function RemoveTablets()
- for o,p in pairs(Tablets)do
- for i,v in pairs(Tablets)do
- wait(0)
- pcall(function()
- table.remove(Tablets,i)
- v:Destroy()
- end)
- end
- end
- end
- -- Adding Commands (I'll give you three commands)
- AddCommand("ff;","Gives a player a forcefield","ff;12packkid",function(Message)
- for i,v in pairs(Game:GetService("Players"):GetPlayers())do
- if v.Name:lower():find(Message:lower())then
- pcall(function()
- Instance.new('ForceField',v.Character);
- Output("Gave a forcefield to "..v.Name,1020);
- end)
- end
- end
- end)
- AddCommand("unff;","Remove(s) (all) forcefields from a player","unff;12packkid",function(Message)
- for i,v in pairs(Game:GetService("Players"):GetPlayers())do
- if v.Name:lower():find(Message:lower())then
- pcall(function()
- local ForceFields = {};
- for i,v in pairs(v.Character:GetChildren())do
- if v:IsA"ForceField" then
- table.insert(ForceFields,v)
- end
- end
- if #ForceFields == 0 then
- Output(v.Name.." doesn't have any forcefields!",21);
- else
- Output("Removed "..tostring(#ForceFields).." forcefield(s) from "..v.Name,1020)
- for i,v in pairs(ForceFields) do
- v:Destroy()
- end
- end
- end)
- end
- end
- end)
- AddCommand("dt;","Dismisses the tablets!","dt;",function(Message)
- RemoveTablets();
- end)
- AddCommand("audio;","Plays an audio!","audio;id",function(Message)
- pcall(function()
- for i,v in pairs(Workspace:GetChildren())do
- if v:IsA"Sound" then
- v:Stop()
- v:Destroy()
- end
- end
- local Sound = Instance.new("Sound",Workspace)
- Sound.SoundId = "rbxassetid://"..Message
- Sound.Volume = 1
- wait(0)
- Sound:Play()
- Output("Song Playing: "..Message,1020)
- Chat("Playing id: ".. Message .."!")
- end)
- end)
- AddCommand("stop;","Stops all audios in Workspace","stop;",function(Message)
- pcall(function()
- local Sounds = {}
- for i,v in pairs(Workspace:GetChildren())do
- if v:IsA"Sound" then
- table.insert(Sounds,v)
- end
- end
- if #Sounds == 0 then
- Output("There are no sounds in Workspace",21)
- else
- Output("Stopped all sounds in Workspace!",1020)
- for i,v in pairs(Sounds)do
- v:Stop()
- v:Destroy()
- end
- end
- end)
- end)
- AddCommand("Ask/","Ask's the Probe!","Ask/",function(Message)
- chat("Test")
- Output("Test",1020)
- end)
- AddCommand("no;","No tablets plz","no;",function(Message)
- Output("Goodbye tabs",0)
- wait(3)
- Output("Are you sure you wanna do this?",403)
- wait(3)
- Output("OK!",333)
- wait(3)
- Output("Dismiss",21,"Dismiss")
- wait(3)
- Output("Remove Plz dont",1000,function(Click)
- RemoveTablets()
- Commands = nil
- Tablets = nil
- end)
- end)
- AddCommand("asterslol","asters","asterslol/",function(Message)
- Output("I like asters",1020)
- Output("And so do you",1020)
- Output("Now you would play them",1020)
- Output("Why Wont you!",1020)
- wait(5)
- Output("Dont click me!",21,function(Click)
- Output("You fool!",10)
- Output("I told you not to click on it!",10)
- Wait(5)
- RemoveTablets()
- for i = 1,100 do
- Output("You fool!",math.random(420))
- end
- wait(5)
- RemoveTablets()
- Output("What the fuuuuuuuuuuuuuuuuuuuu!",0)
- wait(5)
- Output("Now your really gonna get it now!",200)
- wait(3)
- Commands = nil
- Tablets = nil
- while true do
- Output("iojfdvkjgfsdojiofdjgiojfdiojgiojdiogjiofsdjgiojdiofjgiojsijgiojsdioj",0)
- end
- Output("TTX probe Tablets have Crashed! Game over! You clicked on him!",21)
- end)
- Output("Dismiss",21,"Dismiss")
- end)
- Player.Chatted:connect(OnChatted)
- Output("Welcome to TTX Probe II",1020)
- Output("This is Currently under DevelopMent",1020)
- Output("Hope you have fun, "..Player.Name.."!",1020)
- Output("Credit to 12packkid For tablets!",1020)
- Output("And Dont you dare Click on that tablet When you execute asterslol/",21)
- Output("Dismiss",21,"Dismiss")
- coroutine.resume(coroutine.create(function()
- Game:GetService("RunService").RenderStepped:connect(function()
- UpdateTablets()
- end)
- end))
- -- almost at 2000 lines
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement