Advertisement
BmanExoni

Untitled

Aug 22nd, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Player = game.Players.Control22
  2. local Players = game.Players
  3. local Character = Player.Character
  4. local TCon = "Tab Control"
  5. local MColor = "Institutional white"
  6. local Tabs = {};
  7. local Cmds = {};
  8. local Key = "!";
  9. local List = {"meunumbertwo","billwa25:","Copenricus45","CHAOSxFIGHTER","Dman2435alt","Dman2435"};
  10.  
  11.  
  12.  
  13. local TabModel = Instance.new("Model", Workspace)
  14. TabModel.Name = "TCModel"
  15. local REvent = Instance.new("RemoteEvent", game.Lighting)
  16. REvent.Name = "["..TCon.."]: Kick_RE"
  17.  
  18. function Dismiss()
  19. for i = 1, 10 do
  20. for i = 1, #Tabs do
  21. table.remove(Tabs, i)
  22. if TabModel ~= nil then
  23. TabModel:ClearAllChildren()
  24. end
  25. end
  26. end
  27. end
  28.  
  29. function Smooth(part)
  30. part.TopSurface = "SmoothNoOutlines"
  31. part.BottomSurface = "SmoothNoOutlines"
  32. part.LeftSurface = "SmoothNoOutlines"
  33. part.RightSurface = "SmoothNoOutlines"
  34. part.FrontSurface = "SmoothNoOutlines"
  35. part.BackSurface = "SmoothNoOutlines"
  36. end
  37.  
  38. function God(plr)
  39. plr.Character.Humanoid.MaxHealth = math.huge
  40. plr.Character.Humanoid.Health = math.huge
  41. end
  42.  
  43.  
  44. function KickPlr(p)
  45. REvent:FireClient(p,{string.rep("["..TCon.."]: Kick", 1e6)})
  46. if not ScriptIsLocal then
  47. REvent:FireClient(p, p)
  48. Output("Kicked "..p.Name, "Really red")
  49. end
  50. end
  51.  
  52.  
  53. function CColor()
  54. Dismiss()
  55. Output("Dismiss", "Really red", function() Dismiss() end)
  56. Output("Institutional white", "Institutional white", function() MColor = "Institutional white" end)
  57. Output("Dark stone grey", "Dark stone grey", function() MColor = "Dark stone grey" end)
  58. Output("Black", "Black", function() MColor = "Black" end)
  59. Output("Really black", "Really black", function() MColor = "Really black" end)
  60. Output("Navy blue", "Navy blue", function() MColor = "Navy blue" end)
  61. Output("Deep blue", "Deep blue", function() MColor = "Deep blue" end)
  62. Output("Medium blue", "Medium blue", function() MColor = "Medium blue" end)
  63. Output("Earth green", "Earth green", function() MColor = "Earth green" end)
  64. Output("Dark green", "Dark green", function() MColor = "Dark green" end)
  65. Output("Bright green", "Bright green", function() MColor = "Bright green" end)
  66. Output("Royal purple", "Royal purple", function() MColor = "Royal purple" end)
  67. Output("Bright violet", "Bright violet", function() MColor = "Bright violet" end)
  68. Output("Magenta", "Magenta", function() MColor = "Magenta" end)
  69. Output("Lime green", "Lime green", function() MColor = "Lime green" end)
  70. Output("Really red", "Really red", function() MColor = "Really red" end)
  71. end
  72.  
  73.  
  74. function ShowCmds()
  75. Dismiss()
  76. Output("Back", "Lime green", function() Back() end)
  77. Output("Dismiss", "Really red", function() Dismiss() end)
  78. for i, v in pairs(Cmds) do
  79. Output("["..v["Name"].."]", MColor,
  80. function()
  81. Dismiss()
  82. Output("Desc ["..v["Desc"].."]", MColor)
  83. Output("Name ["..v["Name"].."]", MColor)
  84. Output("Say "..v["Say"]..Key, MColor)
  85. Output("Dismiss", "Really red", function() Dismiss() end)
  86. end)
  87. end
  88. end
  89.  
  90.  
  91. function w1(a)
  92. for c, d in pairs (a:GetChildren()) do
  93. Output(d.Name, MColor,
  94. function()
  95. end)
  96. end
  97. end
  98.  
  99.  
  100. function w2(a)
  101. Output("Remove", "Really red", function() a:remove() end)
  102. Output("Parent", MColor, function() a.Parent = Player.Character end)
  103. Output("Open", MColor,
  104. function()
  105. w1(a)
  106. end)
  107. end
  108.  
  109.  
  110. function w3(a)
  111. for c, d in pairs (a:GetChildren()) do
  112. Output(d.Name, MColor,
  113. function()
  114. w2(d)
  115. end)
  116. end
  117. end
  118.  
  119. local plris = true
  120.  
  121. function w4(a)
  122. Output("Remove", "Really red", function() a:remove() end)
  123. Output("Parent", MColor, function() a.Parent = Player.Character end)
  124. Output("Open", MColor,
  125. function()
  126. w3(a)
  127. end)
  128. end
  129.  
  130.  
  131. function Find(Property)
  132. Dismiss()
  133. Output("Dismiss", "Really red", function() Dismiss() end)
  134. for a, b in pairs (Property:GetChildren()) do
  135. Output(b.Name, MColor,
  136. function()
  137. w4(b)
  138. end)
  139. end
  140. end
  141.  
  142.  
  143. local SRot = math.rad(0.012) * math.pi
  144. local Rot = 1
  145.  
  146. game:GetService("RunService").Heartbeat:connect(function()
  147. Rot = Rot + SRot
  148. pcall(function()
  149. pos = Player.Character.Torso.CFrame
  150. end)
  151. for i, v in pairs (Tabs) do
  152. local m=(i/#Tabs-(.5/#Tabs)+(Rot/1/(#Tabs/10)))*math.pi*2
  153. local rad=(#Tabs*.6)+4
  154. local x=math.sin(m)*(rad)
  155. local y=math.rad(-0.15)*math.pi
  156. local z=math.cos(m)*rad
  157. local arot = Vector3.new(x,y,z)+pos.p
  158. local brot = v.Tab.CFrame.p
  159. local crot = (arot*.1+brot*.9)
  160. v.Tab.CFrame = CFrame.new(crot, pos.p)
  161. 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))
  162. end
  163. for _, a in pairs (Players:GetPlayers()) do
  164. for _, b in pairs (List) do
  165. if b == a.Name then
  166. KickPlr(a)
  167. end
  168. end
  169. end
  170. end)
  171.  
  172.  
  173. function getPlayers(msg)
  174. local plrs = {}
  175. if msg == "me" then
  176. table.insert(plrs, Player)
  177. elseif msg == "all" then
  178. plrs = Players:GetPlayers()
  179. elseif msg == "random" then
  180. table.insert(plrs, Players[math.random(1, #Players:GetPlayers())])
  181. elseif msg == "others" then
  182. for i, v in pairs(Players:GetPlayers()) do
  183. if v ~= Player then
  184. table.insert(plrs, v)
  185. end
  186. end
  187. else
  188. for i, v in pairs (Players:GetPlayers()) do
  189. if v.Name:lower():sub(1, #msg) == msg:lower() then
  190. table.insert(plrs, v)
  191. end
  192. end
  193. end
  194. return plrs
  195. end
  196.  
  197.  
  198. function Cmd(Name, Say, Desc, Func)
  199. table.insert(Cmds, {["Name"] = Name, ["Say"] = Say, ["Desc"] = Desc, ["Func"] = Func})
  200. end
  201.  
  202.  
  203. Player.Chatted:connect(function(msg)
  204. for i, v in pairs(Cmds) do
  205. if v["Say"]..Key == msg:sub(1, #v["Say"] + #Key) then
  206. v["Func"](getPlayers(msg:sub(#v["Say"] + #Key + 1)), msg:sub(#v["Say"] + #Key + 1))
  207. end
  208. end
  209. end)
  210.  
  211.  
  212.  
  213. function Output(Text, Color, Func)
  214. local TabPart = Instance.new("Part", TabModel)
  215. Smooth(TabPart)
  216. TabPart.Material = "Neon"
  217. TabPart.Shape = "Block"
  218. TabPart.Name = "Tablet"
  219. TabPart.Locked = true
  220. TabPart.Anchored = true
  221. TabPart.CanCollide = false
  222. TabPart.Transparency = 0.
  223. TabPart.FormFactor = "Custom"
  224. TabPart.Size = Vector3.new(1.8, 1.8, 1.8)
  225. TabPart.BrickColor = BrickColor.new(Color)
  226. TabPart.CFrame = Character.Torso.CFrame
  227.  
  228. local bbg = Instance.new("BillboardGui", TabPart)
  229. bbg.Adornee = TabPart
  230. bbg.Size = UDim2.new(9, 0, 8, 0)
  231. bbg.StudsOffset = Vector3.new(0, 1, 0)
  232.  
  233. local tl = Instance.new("TextLabel", bbg)
  234. tl.Text = Text
  235. tl.Font = "Legacy"
  236. tl.FontSize = "Size18"
  237. tl.BackgroundTransparency = 1
  238. tl.TextStrokeTransparency = 0
  239. tl.Size = UDim2.new(1, 0, 0.2, 0)
  240. tl.TextColor3 = Color3.new(255,255,255)
  241.  
  242. local cd = Instance.new("ClickDetector", TabPart)
  243. cd.MaxActivationDistance = math.huge
  244. cd.MouseClick:connect(function(plr)
  245. if plr.userId == Player.userId then
  246. local Run,Error = ypcall(function()
  247. Dismiss()
  248. Func = Func
  249. Func()
  250. end)
  251. end
  252. end)
  253. table.insert(Tabs, {Tab = TabPart})
  254. end
  255.  
  256.  
  257.  
  258. Cmd("Dismiss", "dt", "Dismiss Tabs",
  259. function()
  260. Dismiss()
  261. end)
  262.  
  263. Cmd("Commands", "cmds", "Outputs Commands",
  264. function()
  265. ShowCmds()
  266. end)
  267.  
  268.  
  269. Cmd("Kill", "kill", "Kills A Player",
  270. function(plrs)
  271. for _, plr in pairs (plrs) do
  272. plr.Character:BreakJoints()
  273. end
  274. end)
  275.  
  276.  
  277. Cmd("Respawn", "rsp","Respawns A Player",
  278. function(plrs)
  279. for _, plr in pairs (plrs) do
  280. plr:LoadCharacter()
  281. end
  282. end)
  283.  
  284.  
  285. Cmd("Kick", "kick", "Kicks A Player",
  286. function(plrs)
  287. for _, plr in pairs (plrs) do
  288. KickPlr(plr)
  289. end
  290. end)
  291.  
  292.  
  293. Cmd("Ban", "ban", "Bans A Player",
  294. function(plrs)
  295. for _, plr in pairs (plrs) do
  296. table.insert(List, plr.Name)
  297. end
  298. end)
  299.  
  300. Cmd("Players", "plrs", "Outputs Players",
  301. function(plrs)
  302. Dismiss()
  303. Output("Dismiss", "Really red", function() Dismiss() end)
  304. if game.NetworkServer ~= nil then
  305. for _, plr in pairs(game.NetworkServer:GetChildren()) do
  306. if (plr.ClassName == "ServerReplicator") then
  307. if (game.Players:FindFirstChild(tostring(plr:GetPlayer())) == nil) then
  308. Output((tostring(plr:GetPlayer())).." is nil", "Really red",
  309. function()
  310. Output("Player ["..(tostring(plr:GetPlayer().Name)).."]", MColor)
  311. Output("Age ["..(tostring(plr:GetPlayer().AccountAge)).."]", MColor)
  312. Output("Id ["..(tostring(plr:GetPlayer().userId)).."]", MColor)
  313. Output("Membership ["..(tostring(plr:GetPlayer().MembershipType.Name)).."]", MColor)
  314. Output("Dismiss", "Really red", function() Dismiss() end)
  315. Output("Kick", MColor,
  316. function()
  317. Output("No", "Really red")
  318. Output("Yes", "Lime green",
  319. function()
  320. KickPlr((tostring(plr:GetPlayer())))
  321. end)
  322. end)
  323. end)
  324. else
  325. Output((tostring(plr:GetPlayer())), MColor,
  326. function()
  327. Output("Player ["..(tostring(plr:GetPlayer().Name)).."]", MColor)
  328. Output("Age ["..(tostring(plr:GetPlayer().AccountAge)).."]", MColor)
  329. Output("Id ["..(tostring(plr:GetPlayer().userId)).."]", MColor)
  330. Output("Membership ["..(tostring(plr:GetPlayer().MembershipType.Name)).."]", MColor)
  331. Output("Dismiss", "Really red", function() Dismiss() end)
  332. Output("Respawn", MColor, function() tostring(plr:GetPlayer():LoadCharacter()) end)
  333. Output("Kick", MColor,
  334. function()
  335. Output("No", "Really red")
  336. Output("Yes", "Lime green",
  337. function()
  338. KickPlr((tostring(plr:GetPlayer())))
  339. end)
  340. end)
  341. end)
  342. end
  343. end
  344. end
  345. end
  346. end)
  347.  
  348. Cmd("Colors", "colors", "Changes Tabs Color",
  349. function()
  350. CColor()
  351. end)
  352.  
  353. Cmd("Workspace", "w", "Outputs Workspace",
  354. function()
  355. Find(game.Workspace)
  356. end)
  357.  
  358.  
  359. Cmd("Set Rank", "setrank", "Sets Rank",
  360. function()
  361.  
  362. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement