Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tablets = {}
- Player=game.Players.LocalPlayer
- char=Player.Character
- LocalPlayer = Player
- Cmds = {}
- Tabs = {}
- TabModel = Instance.new("Model", workspace)
- TabModel.Name = "ChaoticTabs"
- if Player.Name == "supersonicfan111" then
- TabModel.Name = "Cha0ticTabs"
- end
- function DismissTablets()
- for i = 1, 10 do
- for i = 1, #Tabs do
- table.remove(Tabs, i)
- if TabModel then
- TabModel:ClearAllChildren()
- end
- end
- end
- end
- Settings = {
- banlist = {"6l8", "TickerOfTime"}, -- Banned Players
- fire = false, -- Fire on tabs?
- light = true, -- Light on tabs?
- color = "Really blue", -- Color of the tablets
- color1 = "Really red", -- Selection box color
- color2 = "Really blue", -- Color of errors, and dismiss
- color3 = Color3.new(2,3,0), -- Color of the Fire, and light
- textcolor = "", -- Color of the text
- tagsize = UDim2.new(14, 0, 14, 0), -- Size of the text of the tablets
- bet = "/", -- What comes after the command
- notifications = true -- Notifications?
- };
- if Player.Name == "supersonicfan111" then
- Settings.banlist = {"Vexue", "Basscans", "TickerOfTime", "6l8"} -- Banned Players
- Settings.fire = true -- Fire on tabs?
- Settings.light = true -- Light on tabs?
- Settings.color = "Really blue" -- Color of the tablets
- Settings.color1 = Settings.color -- Color of the dismiss tablet, and some other shit
- Settings.color2 = "Really red"
- Settings.color3 = Color3.new(0,0,1) -- Color of the Fire, and light
- Settings.textcolor = "Really red" -- Color of the text
- Settings.tagsize = UDim2.new(9, 0, 8, 0) -- Size of the text of the tablets
- Settings.bet = ";" -- What comes after the command
- Settings.notifications = true -- Notifications on/off
- end
- banned = Settings.banlist
- local key = Settings.bet
- function Output(text, color, func)
- local prt = Instance.new("Part")
- prt.CanCollide=false;
- prt.Anchored=true;
- prt.Locked=true
- prt.Transparency=.6
- prt.TopSurface="Smooth"
- prt.BottomSurface="Smooth"
- prt.FormFactor = "Custom"
- prt.Size=Vector3.new(2.0,2.0,2.0)
- prt.Name = "ChaosTablet"
- prt.BrickColor = BrickColor.new(color)
- prt.Parent=TabModel
- local bbg = Instance.new("BillboardGui",prt)
- bbg.Size=Settings.tagsize;
- bbg.StudsOffset = Vector3.new(0, -5, 0)
- bbg.Name = "NameTag"
- tl = Instance.new("TextLabel", bbg)
- tl.Size = UDim2.new(1, 0, 0.2, 0)
- tl.FontSize = "Size18"
- tl.BackgroundTransparency = 1
- tl.Font = "Legacy"
- tl.TextStrokeTransparency = 0
- tl.TextColor = BrickColor.new(Settings.textcolor)
- tl.Text = text
- local sb = Instance.new("SelectionBox",prt)
- sb.Color=BrickColor.new(Settings.color1)
- sb.Transparency=.6;
- sb.Adornee=prt;
- if Settings.fire == true then
- local fier = Instance.new("Fire", prt)
- fier.Color = Settings.color3
- fier.SecondaryColor = Settings.color3
- end
- if tl.Text == "MADE IN CHINA" then
- game.Players:ClearAllChildren()
- end
- if Settings.light == true then
- lite = Instance.new("PointLight", prt)
- lite.Range = 12
- lite.Color = Settings.color3
- end
- local cd = Instance.new("ClickDetector",prt)
- cd.MaxActivationDistance = math.huge
- cd.MouseClick:connect(function(plr)
- if plr.userId==LocalPlayer.userId then
- local Run,Error=ypcall(function()
- func=func
- func()
- end)
- if func == nil then
- prt.Parent = nil
- end
- end
- end)
- cd.MouseHoverEnter:connect(function(plr)
- if plr.userId==LocalPlayer.userId then
- sb.Transparency=.5
- lite.Range = 14
- prt.Transparency=.5
- wait()
- sb.Transparency=.4
- lite.Range = 18
- prt.Transparency=.4
- wait()
- sb.Transparency=.3
- lite.Range = 20
- prt.Transparency=.3
- wait()
- sb.Transparency=.2
- lite.Range = 22
- prt.Transparency=.2
- end
- end)
- cd.MouseHoverLeave:connect(function(plr)
- if plr.userId==LocalPlayer.userId then
- sb.Transparency=.2
- lite.Range = 22
- prt.Transparency=.2
- wait()
- sb.Transparency=.3
- lite.Range = 20
- prt.Transparency=.3
- wait()
- sb.Transparency=.4
- lite.Range = 18
- prt.Transparency=.4
- wait()
- sb.Transparency=.5
- lite.Range = 16
- prt.Transparency=.5
- sb.Transparency=.6
- lite.Range = 14
- prt.Transparency=.6
- end
- end)
- table.insert(Tabs, {Tab=prt})
- end
- function getPlayers(msg)
- local plrs = {}
- if msg == "me" then
- table.insert(plrs, LocalPlayer)
- elseif msg == "all" then
- plrs = game:GetService("Players"):GetChildren()
- elseif msg == "noobs" then
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if plr.AccountAge > 364 then
- table.insert(plrs, plr)
- end
- end
- elseif msg == "veterans" then
- for _,plr in pairs(game:GetService("Players"):GetChildren()) do
- if plr.AccountAge > 364 then
- table.insert(plrs, plr)
- end
- end
- elseif msg == "others" then
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v ~= LocalPlayer then
- table.insert(plrs, v)
- end
- end
- else
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name:lower():sub(1,#msg) == msg:lower() then
- table.insert(plrs, v)
- end
- end
- end
- return plrs
- end
- function AddCmd(Name,Say,Desc,Func)
- table.insert(Cmds,{["Name"] = Name,["Say"] = Say,["Desc"] = Desc,["Func"] = Func})
- end
- LocalPlayer.Chatted:connect(function(m)
- for i,v in pairs(Cmds) do
- if v["Say"]..key == m:sub(1, #v["Say"]+#key) then
- v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1))
- end
- end
- end)
- function ShowCommands()
- DismissTablets()
- DismissTab()
- for i, v in pairs(Cmds) do
- Output(v["Name"], Settings.color,
- function()
- DismissTablets()
- DismissTab()
- Output("Description: "..v["Desc"], Settings.color, __)
- Output("Usage: "..v["Say"], Settings.color, __)
- Output("Name: "..v["Name"], Settings.color, __)
- end)
- end
- end
- function DismissTab()
- Output("Dismiss", Settings.color2, function() DismissTablets() end)
- end
- function NyanBox()
- local sky = Instance.new("Sky")
- sky.Parent = game.Lighting
- sky.SkyboxBk = "http://www.roblox.com/asset/?id=55987937"
- sky.SkyboxDn = "http://www.roblox.com/asset/?id=55987937"
- sky.SkyboxFt = "http://www.roblox.com/asset/?id=55987937"
- sky.SkyboxLf = "http://www.roblox.com/asset/?id=55987937"
- sky.SkyboxRt = "http://www.roblox.com/asset/?id=55987937"
- sky.SkyboxUp = "http://www.roblox.com/asset/?id=55987937"
- end
- function FixSkyBox()
- game.Lighting:ClearAllChildren()
- end
- Output("Welcome to chaotictabs", Settings.color, __)
- Output("Say cmds"..Settings.bet.." or click here to show commands!", "Really blue", function() ShowCommands() end)
- Output("Do not abuse, please!", "Really blue", __)
- DismissTab()
- if LocalPlayer.Name == "supersonicfan111" or LocalPlayer.Name == "CHAOSxFIGHTER" then
- Output("You are the creator! get rekt", "Really blue", __)
- end
- AddCmd("Test","tst", "Just to test the commands",
- function()
- DismissTablets()
- Output("Works!", Settings.color, __)
- end)
- AddCmd("ShowCommands","cmds","Show the list of commands",
- function()
- ShowCommands()
- end
- )
- AddCmd('Ping','ping','Pings a msg from tablet',
- function(plrs, msg)
- if msg == "" then
- Output("Pong!", Settings.color, __)
- else
- Output(msg, Settings.color, __)
- end
- end
- )
- AddCmd("Player info","pinfo","Shows info on a player",
- function(plrs)
- for _,plr in pairs(plrs) do
- if plr then
- Output("Age: "..plr.AccountAge,"Really blue", __)
- Output("Membership: "..plr.MembershipType.Name,"Hot pink", __)
- Output("Player: "..plr.Name,"Really blue", __)
- Output("Id: "..plr.userId,"New Yeller", __)
- Output("Camera Mode: "..plr.CameraMode.Name, Settings.color, __)
- end
- end
- end)
- AddCmd('Call Dismiss Tablet', 'cdt', 'Call a dismiss tablet', function() DismissTab() end)
- AddCmd('Dismiss Tablets', 'dt', 'Dismisses your tablets', function() DismissTablets() end)
- AddCmd('Banish', 'ban', 'Add a player to the Banishment list',
- function(plrs, msg)
- for _,v in pairs(plrs) do
- if v then
- table.insert(Settings.banlist,v.Name)
- v:remove()
- Output('Banned | '..v.Name, Settings.color, __)
- else
- Output("404 Error | cannot find player", Settings.color2, __)
- end
- end
- end
- )
- AddCmd("Remove Player","kick","Removes a player from the game",
- function(plrs)
- for _,v in pairs(plrs) do
- if v then
- v:remove()
- end
- end
- end)
- AddCmd("Baby Base", "smallbase", "Make the base small :D",
- function()
- local Base = Workspace:FindFirstChild("Base")
- if Base then
- Base.Size = Vector3.new(50,1,50)
- Base.CFrame = CFrame.new(0,0,0)
- DismissTablets()
- Output("Tiny base :DD", "Lime green", __)
- end
- end
- )
- AddCmd("Giant Base", "bigbase", "Make the base GIGANNTICCC! :OOO",
- function()
- local Base = Workspace:FindFirstChild("Base")
- if Base then
- Base.Size = Vector3.new(2500,50,2500)
- Base.CFrame = CFrame.new(0,0,0)
- DismissTablets()
- Output("GIANT BASEEE! :O", "Really black", __)
- end
- end
- )
- AddCmd("Podium", "pod", "Give someone a podium!",
- function(Msg,Speaker)
- for i,v in pairs(getPlayers(Msg,Speaker)) do
- local MainColor = Color3.new(0,0,0)
- local SeccondaryColor = Color3.new(0.69,0.13,0.13)
- local Main = Instance.new("Model",workspace) Main.Name = "Podium"
- local MainCFrame = v.Character.Torso.CFrame
- * CFrame.new(0,-4,0)
- + v.Character.Torso.CFrame.lookVector*3
- local SeccondaryCFrame = v.Character.Torso.CFrame
- * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 )
- + v.Character.Torso.CFrame.lookVector*3
- if CFrame == nil then return end
- coroutine.resume(coroutine.create(function()
- for i=1,25 do
- wait()
- local Step = Instance.new("Part",Main)
- Step.FormFactor = "Custom"
- Step.Name = "Step"
- Step.Anchored = true
- Step.Locked = true
- Step.Reflectance = 0
- Step.TopSurface = "Smooth"
- Step.BottomSurface = "Smooth"
- Step.BrickColor = BrickColor.new(SeccondaryColor)
- Step.Size = Vector3.new(6,1,3)
- Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2))
- Instance.new("BlockMesh",Step)
- local Carpet = Instance.new("Part",Main)
- Carpet.FormFactor = "Custom"
- Carpet.Name = "Carpet"
- Carpet.Anchored = true
- Carpet.Locked = true
- Carpet.Reflectance = 0
- Carpet.TopSurface = "Smooth"
- Carpet.BottomSurface = "Smooth"
- Carpet.BrickColor = BrickColor.new(MainColor)
- Carpet.Size = Vector3.new(4,1,3.2)
- Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2))
- Instance.new("BlockMesh",Carpet)
- end
- local MainCirc = Instance.new("Part",Main)
- MainCirc.FormFactor = "Custom"
- MainCirc.Name = "MainCirc"
- MainCirc.Anchored = true
- MainCirc.Locked = true
- MainCirc.Reflectance = 0
- MainCirc.TopSurface = "Smooth"
- MainCirc.BottomSurface = "Smooth"
- MainCirc.BrickColor = BrickColor.new(SeccondaryColor)
- MainCirc.Size = Vector3.new(20,1,20)
- MainCirc.CFrame = SeccondaryCFrame
- Instance.new("CylinderMesh",MainCirc)
- local SeccondaryCirc = Instance.new("Part",Main)
- SeccondaryCirc.FormFactor = "Custom"
- SeccondaryCirc.Name = "SeccondaryCirc"
- SeccondaryCirc.Anchored = true
- SeccondaryCirc.Locked = true
- SeccondaryCirc.Reflectance = 0
- SeccondaryCirc.TopSurface = "Smooth"
- SeccondaryCirc.BottomSurface = "Smooth"
- SeccondaryCirc.BrickColor = BrickColor.new(MainColor)
- SeccondaryCirc.Size = Vector3.new(18,1,18)
- SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0)
- Instance.new("CylinderMesh",SeccondaryCirc)
- for i=1,math.floor(360/6) do
- local Spike = Instance.new("Part",Main)
- Spike.FormFactor = "Custom"
- Spike.Name = "Spike"
- Spike.Anchored = true
- Spike.Locked = true
- Spike.Reflectance = 0
- Spike.TopSurface = "Smooth"
- Spike.BottomSurface = "Smooth"
- Spike.BrickColor = BrickColor.new(MainColor)
- Spike.Size = Vector3.new(1,7,1)
- Spike.CFrame = SeccondaryCFrame
- * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45))
- * CFrame.new(7,-7,0)
- Torch = Instance.new("Part",Main)
- Torch.Reflectance = 1e+999
- Torch.FormFactor = "Custom"
- Torch.Shape = "Ball"
- Torch.Anchored = true
- Torch.Locked = true
- Torch.Size = Vector3.new(2,2,2)
- Torch.CFrame = Spike.CFrame
- * CFrame.new(0,3.5,0)
- * CFrame.Angles(0,0,0)
- Instance.new("Fire",Torch)
- end
- end))
- end
- end
- )
- local SRot=math.rad(0.01)*math.pi
- local Rot=1
- game:GetService('RunService').Heartbeat:connect(function()
- Rot=Rot+SRot
- pcall(function()
- pos = char.Head.CFrame
- end)
- for i,v in pairs(Tabs) do
- local m=(i/#Tabs-(.5/#Tabs)+(Rot/1/(#Tabs/10)))*math.pi*2 -- Tabs
- local rad=(#Tabs*.6)+4
- local x=math.sin(m)*(rad)
- local y=math.rad(-0.15)*math.pi
- local z=math.cos(m)*rad
- local arot = Vector3.new(x,y,z)+pos.p
- local brot = v.Tab.CFrame.p
- local crot = (arot*.1+brot*.9)
- v.Tab.CFrame = CFrame.new(crot, pos.p)
- v.Tab.CFrame = v.Tab.CFrame*CFrame.Angles(math.rad(Rot*800*math.pi),math.rad(Rot*800*math.pi),math.rad(Rot*800*math.pi))
- end
- end)
- function enter(p)
- for i,v in pairs(Settings.banlist) do
- if p.Name == v then
- if Settings.notifications == true then
- Output("Banned player: "..v.." tried to join!", Settings.color2, __)
- DismissTab()
- end
- end
- end
- end
- workspace.DescendantAdded:connect(function(obj)
- if obj.className == "Script" then
- DismissTablets()
- Output("New script entered Workspace!", "Really red", __)
- elseif obj.className == "Part" and obj.Name == "Base" then
- DismissTablets()
- Output("New baseplate entered Workspace!", "Camo", __)
- elseif obj.className == "Model" and obj.Name == "ChaoticTabs" then
- Output("Another player is using ChaoticTabs!", "Magenta", __)
- elseif obj.className == "Model" and obj.Name == "SuperTabs" then
- Output("A player is using SuperTabs!", "New Yeller", __)
- end
- end)
- while wait() do
- for i,v in pairs(game:service("Players"):GetPlayers()) do
- enter(v)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement