Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players:WaitForChild("chucky4523")
- LPlayer=game.Players.chucky4523
- function Kick(Player) Instance.new("RemoteEvent", Player):FireClient(Player, {[string.rep("Goodbye!",2e5+5)] = "Kicked"}) end
- ranks = {
- {ranked={}},
- {Rank = 10, Description = "Creator"},
- {Rank = 9, Description = "Lead Developer"},
- {Rank = 8, Description = "Developer"},
- {Rank = 7, Description = "Co-Owner"},
- {Rank = 6, Description = "Scripter"},
- {Rank = 5, Description = "Beta-Tester"},
- {Rank = 4, Description = "Administrator"},
- {Rank = 3, Description = "???"},
- {Rank = 2, Description = "Good Friend"},
- {Rank = 1, Description = "Friend"},
- {Rank = 0, Description = "User"},
- {Rank = -1, Description = "Banned."},
- {Rank = -2,Description = "BSoD'ed"};
- }
- a={}
- a.Commands = {
- "kick","kill","ban","cmds","ping","dt";
- }
- Bet = ";"
- a.BrickColor = "Teal"
- a.sbcolor = "Teal"
- a.bin = {}
- a.bl={}
- wait(2)
- r,x,y,z = 0,0,0,0
- function createTablet(Player,Text,brickcolor,sbcolor,plcolor)
- if Player ~= "all" then
- for k,v in pairs(game.Players:GetChildren()) do
- if v.Name == Player then
- player = v
- end
- end
- elseif Player == "all" then
- for k,v in pairs(game.Players:GetChildren()) do
- end
- end
- if Player ~= "all" then
- part = Instance.new("Part", workspace)
- part.FormFactor = "Custom"
- part.Size = Vector3.new(3,4.5,0.2)
- part.BottomSurface = "Smooth"
- part.CFrame = Player.Character.Torso.CFrame
- part.TopSurface = "Smooth"
- part.Anchored = true
- part.Locked = true
- part.Transparency = .35
- part.CanCollide = false
- pl=Instance.new("PointLight",part)
- pl.Brightness = 0
- pl.Range = 0
- pl.Enabled = true
- pl.Color = Color3.new(plcolor)
- local cd = Instance.new("ClickDetector", part)
- cd.MaxActivationDistance = math.huge
- scc = Instance.new("SelectionBox", part)
- scc.Adornee = part
- scc.Transparency = .6
- if brickcolor ~= nil then
- part.BrickColor = BrickColor.new(brickcolor)
- elseif brickcolor == nil then
- part.BrickColor = BrickColor.new(a.BrickColor)
- end
- if sbcolor ~=nil then
- scc.Color = BrickColor.new(sbcolor)
- elseif sbcolor == nil then
- scc.Color = BrickColor.new(a.sbcolor)
- end
- local bb = Instance.new("BillboardGui",part)
- bb.StudsOffset = Vector3.new(0,3,0)
- bb.Size = UDim2.new(4,0,4,0)
- tl =Instance.new('TextLabel',bb)
- tl.Text = Text
- tl.BackgroundTransparency = 0
- tl.Size = UDim2.new(1,0,1,0)
- tl.TextColor3 = Color3.new(1,1,1)
- tl.Font = "ArialBold"
- tl.BackgroundTransparency = 1
- tl.FontSize = "Size18"
- tl.TextTransparency = .3
- tl.TextStrokeTransparency = 0
- tl.TextTransparency = .2
- tl.TextStrokeColor3 = Color3.new(BrickColor.new("Yellow"))
- --[[
- cd.MouseHoverEnter:connect(function(pl)
- if pl == player then
- for i=.5,1.1,.2 do
- pcall(function()
- pl.Brightness = i
- pl.Range = i
- repeat
- print'awdawdaw'
- part.Size = part.Size + Vector3.new(.1,.1,0)
- scc.Transparency = scc.Transparency - 0.01
- until part.Size == Vector3.new(3.5,5,0.2) and scc.Transparency == 0
- end)
- end
- end
- end)
- cd.MouseHoverLeave:connect(function(pl)
- if pl == player then
- for i=.5,1.1,-.2 do
- pcall(function()
- pl.Brightness = i
- pl.Range = i
- repeat
- pcall(function()
- part.Size = part.Size - Vector3.new(.1,.1,0)
- end)
- until part.Size == Vector3.new(3,4.5,0.2)
- end)
- end
- end
- end)
- ]]
- cd.MouseClick:connect(function(pl)
- if pl == player then
- print'awd'
- for i=.5,1.1,.2 do
- part.Transparency = i
- pcall(function()
- scc.Transparency = i
- end)
- pcall(function()tl.TextTransparency = i end)
- wait(0.075)
- part:remove()
- end
- end
- end)
- table.insert(a.bin,part)
- return part
- end
- end
- coroutine.wrap(function()
- while wait() do
- if r == 360 then
- r = 0
- end
- --[[for i=#a.bin,1,-1 do
- if a.bin[i]==nil or a.bin[i].Parent==nil then
- pcall(function()a.bin[i]:Destroy()end)
- table.remove(a.bin,i) end
- end]]
- for k,v in pairs(a.bl) do
- if v ~=nil then
- pcall(function()
- v:remove()
- end)
- end
- end
- for k,v in pairs(a.bin) do
- if v.Parent == nil or v == nil then
- pcall(function() v:remove() end)
- table.remove(a.bin,k)
- end
- end
- local angle = 360/#a.bin
- for k,v in pairs(a.bin) do
- v.CFrame=CFrame.new(v.CFrame.p:Lerp((
- CFrame.new(player.Character.Torso.Position)
- *CFrame.fromEulerAnglesXYZ(0,math.rad(k*angle+r),0)
- *CFrame.new(Vector3.new(0,0,(-#a.bin)/3-5))).p
- ,.15)) *CFrame.fromEulerAnglesXYZ(0,math.rad(x),0)
- end
- r = r + .35
- x=x + -.35
- end
- end)()
- function createHint(Text)
- p=game.Players:GetChildren()
- for i=1,#p do
- local sg=Instance.new("ScreenGui",p[i].PlayerGui)
- local f=Instance.new("Frame",sg)
- local tl=Instance.new("TextLabel",f)
- f.Position = UDim2.new(0, 0,-0.1, 0)
- f.Size = UDim2.new(1, 0,0.09, 0)
- f.Style = "DropShadow"
- f.Visible = true
- tl.BackgroundTransparency = 1
- tl.Size = UDim2.new(1,0,1,0)
- tl.FontSize = "Size48"
- tl.Font = "ArialBold"
- tl.Text = Text
- tl.TextWrapped = true
- f:TweenPosition(UDim2.new(0,0,0,0), "Out", "Back",1,true)
- wait(3)
- f:TweenPosition(UDim2.new(0,0,-0.1,0), "In", "Back",1,true)
- end
- end
- --[[
- function AddCommand(Command,Usage,Type,Example,function)
- [#a.Command]=AddCommand {Command = Command, Usage = Usage, Type = Type, Example = Example, function = function};
- end
- ]]
- function OnChatted(Message)
- local Command = ""
- for i,v in pairs(a.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
- print(b)
- error(b)
- end
- end)
- end
- end
- end
- -- More Commands!
- function AddCommand(Command,Description,Example,Function)
- table.insert(a.Commands,{Cmd=Command,Desc=Description,Example=Example,Func=Function});
- end
- AddCommand("kick;","Kick(s) (all) the player you say","",function(Speaker,Message)
- for k,v in pairs(game.Players:GetPlayers()) do
- if v.Name:lower():find(Message:lower()) then
- pcall(function()
- createTablet(Speaker,v.Name.."Has been kicked","Really red","Really red")
- Kick(v)
- end)
- end
- end
- end)
- AddCommand("dt;","Dissmiss the tablets","dt;",function(Speaker,Message)
- for k,v in pairs(a.bin) do
- v:remove()
- end
- end)
- AddCommand("cmds;","Lists all the commands","cmds;",function(Speaker,Message)
- for k,v in pairs(a.Commands) do
- createTablet(Speaker,v..("1"))
- end
- end)
- AddCommand("ping;","Pings the text you say","ping;bob",function(Speaker,Message)
- if Message:sub(1,5):lower() == "ping;" then
- createTablet(Speaker,Message:sub(6):lower())
- end
- end)
- --[[
- coroutine.wrap(function()
- print'swasda'
- while wait() do
- for k,v in pairs(game.Players:GetChildren()) do
- v.Chatted:connect(function(msg, speaker)
- if msg:sub(1,4):lower() == "cmds" then
- for k,v in pairs(a.Commands) do
- createTablet(speaker,v..("(1)"))
- end
- elseif msg:sub(1,2):lower() == "dt" then
- for k,v in pairs(a.bin) do
- v:remove()
- end
- end
- end)
- end
- end
- end)
- ]]
- print'wsasd'
- --AddCommand("Kill","Killing people","","",
- for k,v in pairs(game.Players:getPlayers()) do
- v.Chatted:connect(OnChatted)
- end
- createHint("Tabs Admin Loaded Made By froghopperjacob")
- createTablet(LPlayer,"Spartan Tabs Loaded","Teal","Teal","Teal")
- createTablet(LPlayer,"chucky4523's rank:","Teal","Teal","Teal")
- createTablet(LPlayer,"Spartan Tabs made by froghopperjacob","Teal","Teal","Teal")
- createTablet(LPlayer,"Credit:chucky4523 for testing tablets","Teal","Teal","Teal")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement