Simi141

Untitled

Feb 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.14 KB | None | 0 0
  1. AzuL = {
  2.  
  3. -- Baits Tabs v1.0.0
  4. -- Framework/Animation by Bait -- Commands by Bait
  5. -------------------------------
  6. NAME = "BaitsTabs";
  7. VERSION = "2.0";
  8. -------------------------------
  9.  
  10. -- Configure all aspects of the script below
  11. -- Make sure to never change names of important values
  12. -- Report bugs in core functionality to Autumn
  13.  
  14. Options = {
  15. CommandPrefix = ";";
  16. CommandDelimiter = "/";
  17. DefaultTabLife = 15;
  18. };
  19.  
  20. Admins = {
  21. ["ApocNub422"] = true;
  22. };
  23.  
  24. Commands = {
  25.  
  26. cmds = {
  27. admin = false;
  28. desc = "List all commands";
  29. func = function(plr, args)
  30. AzuL.Dismiss(plr)
  31. for cmdName, cmdTbl in next, AzuL.Commands do
  32. AzuL.Output(plr, cmdName, 30, function()
  33. AzuL.Dismiss(plr)
  34. AzuL.Output(plr, "Name: " .. cmdName, 30)
  35. AzuL.Output(plr, "Description: " .. cmdTbl.desc, 30)
  36. AzuL.Output(plr, "Admin only: " .. (cmdTbl.admin and "Yes" or "No"), 30)
  37. AzuL.Output(plr, "Back", 30, AzuL.Commands.cmds.func, {
  38. plr,
  39. args
  40. })
  41. end, {}, true)
  42. end
  43. AzuL.Output(plr, "Dismiss", 30, AzuL.Dismiss, {
  44. plr
  45. })
  46. end
  47. };
  48.  
  49. dt = {
  50. admin = false;
  51. desc = "Dismiss all tabs";
  52. func = function(plr, args)
  53. AzuL.Dismiss(plr)
  54. end
  55. };
  56.  
  57. kill = {
  58. admin = true;
  59. desc = "Kill a player";
  60. func = function(plr, args)
  61. if not args[1] or type(args[1]) ~= "string" then
  62. return
  63. end
  64. local targPlr = AzuL.MatchPlayer(plr, args[1])
  65. if not targPlr then
  66. AzuL.Output(plr, "Failed to match player!")
  67. return
  68. end
  69. if not targPlr.Character:FindFirstChild("Humanoid") then
  70. return
  71. end
  72. targPlr.Character.Humanoid.Health = 0
  73. AzuL.Output(plr, "Killed player " .. targPlr.Name .. "!")
  74. end
  75. };
  76.  
  77. noclip = {
  78. admin = true;
  79. desc = "noclip localplayer";
  80. func = function(plr, args)
  81. AzuL.Variables.NoClipEnabled = true
  82. AzuL.Output(plr, "Noclip has been given!", 5)
  83. end
  84. };
  85.  
  86. clip = {
  87. admin = true;
  88. desc = "clips localplayer";
  89. func = function(plr, args)
  90. AzuL.Variables.NoClipEnabled = false
  91. AzuL.Output(plr, "LocalPlayer is now clipped.", 5)
  92. end
  93. };
  94.  
  95. jesusfly = {
  96. admin = true;
  97. desc = "makes plr fly like jesus!";
  98. func = function(plr, args)
  99. AzuL.Variables.JesusflyEnabled = true
  100. AzuL.Output(plr, "JesusFly is activated! Fly like jesus!", 5)
  101. end
  102. };
  103. nofly = {
  104. admin = true;
  105. desc = "Stops Jesus' magical effect.";
  106. func = function(plr, args)
  107. AzuL.Variables.JesusflyEnabled = false
  108. AzuL.Output(plr, "JesusFly's magical effects are disabled.", 5)
  109. end
  110. };
  111.  
  112. swim = {
  113. admin = true;
  114. desc = "Makes you swim.. In the air!";
  115. func = function(plr, args)
  116. AzuL.Variables.SwimEnabled = true
  117. AzuL.Output(plr, "Swim is now enabled!", 5)
  118. end
  119. };
  120. noswim = {
  121. admin = true;
  122. desc = "Stops the swimming";
  123. func = function(plr, args)
  124. AzuL.Variables.SwimEnabled = false
  125. AzuL.Output(plr, "Swim is now disabled.", 5)
  126. end
  127. };
  128. fixl = {
  129. admin = true;
  130. desc = "fixes the lighting";
  131. func = function(plr, args)
  132. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  133. game.Lighting.Brightness = 1
  134. game.Lighting.GlobalShadows = true
  135. game.Lighting.Outlines = false
  136. game.Lighting.TimeOfDay = 14
  137. game.Lighting.FogEnd = 100000
  138. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  139. AzuL.Output(plr, "lighting Is Now Fixed!", 5)
  140. end
  141. };
  142. ff = {
  143. admin = true;
  144. desc = "gives plr a forcefield";
  145. func = function(plr, args)
  146. if not args[1] or type(args[1]) ~= "string" then
  147. return
  148. end
  149. local targPlr = AzuL.MatchPlayer(plr, args[1])
  150. if not targPlr then
  151. AzuL.Output(plr, "Failed to match player!")
  152. return
  153. end
  154. if not targPlr.Character:FindFirstChild("Humanoid") then
  155. return
  156. end
  157. Instance.new("ForceField", targPlr.Character)
  158. AzuL.Output(plr, "Player now has a forcefield", 5)
  159. end
  160. };
  161.  
  162. fire = {
  163. admin = true;
  164. desc = "gives plr heat";
  165. func = function(plr, args)
  166. if not args[1] or type(args[1]) ~= "string" then
  167. return
  168. end
  169. local targPlr = AzuL.MatchPlayer(plr, args[1])
  170. if not targPlr then
  171. AzuL.Output(plr, "Failed to match player!")
  172. return
  173. end
  174. if not targPlr.Character:FindFirstChild("Humanoid") then
  175. return
  176. end
  177. Instance.new("Fire", targPlr.Character.Torso)
  178. AzuL.Output(plr, "Player has fire.", 5)
  179. end
  180. };
  181.  
  182. destroy = {
  183. admin = true;
  184. desc = "shuts down server";
  185. func = function(plr, args)
  186. game.Workspace:ClearAllChildren()
  187. game.Workspace:Destroy()
  188. game.Lighting:Destroy()
  189. AzuL.Output(plr, "Server is shutdown", 5)
  190. end
  191. };
  192. unff = {
  193. admin = true;
  194. desc = "Removes the forcefield instance from player";
  195. func = function(plr, args)
  196. if not args[1] or type(args[1]) ~= "string" then
  197. return
  198. end
  199. local targPlr = AzuL.MatchPlayer(plr, args[1])
  200. if not targPlr then
  201. AzuL.Output(plr, "Failed to match player!")
  202. return
  203. end
  204. if not targPlr.Character:FindFirstChild("Humanoid") then
  205. return
  206. end
  207. for _, Obj in pairs(targPlr.Character:GetChildren()) do
  208. if Obj:IsA("ForceField") then
  209. Obj:Destroy()
  210. AzuL.Output(plr, "Removed " ..targPlr.Name.. "'s ff!", 5)
  211. else
  212. AzuL.Output(plr, "Player doesnt have ff!", 5)
  213. end
  214. end
  215. end
  216. };
  217. unfire = {
  218. admin = true;
  219. desc = "Removes the fire instance from player";
  220. func = function(plr, args)
  221. if not args[1] or type(args[1]) ~= "string" then
  222. return
  223. end
  224. local targPlr = AzuL.MatchPlayer(plr, args[1])
  225. if not targPlr then
  226. AzuL.Output(plr, "Failed to match player!")
  227. return
  228. end
  229. if not targPlr.Character:FindFirstChild("Humanoid") then
  230. return
  231. end
  232. for _, Obj in pairs(targPlr.Character.Torso:GetChildren()) do
  233. if Obj:IsA("Fire") then
  234. Obj:Destroy()
  235. AzuL.Output(plr, "Removed " ..targPlr.Name.. "'s fire!", 5)
  236. end
  237. end
  238. end
  239. };
  240. smoke = {
  241. admin = true;
  242. desc = "Gives player a smoke instance";
  243. func = function(plr, args)
  244. if not args[1] or type(args[1]) ~= "string" then
  245. return
  246. end
  247. local targPlr = AzuL.MatchPlayer(plr, args[1])
  248. if not targPlr then
  249. AzuL.Output(plr, "Failed to match player!")
  250. return
  251. end
  252. if not targPlr.Character:FindFirstChild("Humanoid") then
  253. return
  254. end
  255. Instance.new("Smoke", targPlr.Character.Torso)
  256. AzuL.Output(plr, "Player has Smoke!", 5)
  257. end
  258. };
  259. unsmoke = {
  260. admin = true;
  261. desc = "Removes the smoke instance from player";
  262. func = function(plr, args)
  263. if not args[1] or type(args[1]) ~= "string" then
  264. return
  265. end
  266. local targPlr = AzuL.MatchPlayer(plr, args[1])
  267. if not targPlr then
  268. AzuL.Output(plr, "Failed to match player!")
  269. return
  270. end
  271. if not targPlr.Character:FindFirstChild("Humanoid") then
  272. return
  273. end
  274. for _, Obj in pairs(targPlr.Character.Torso:GetChildren()) do
  275. if Obj:IsA("Smoke") then
  276. Obj:Destroy()
  277. AzuL.Output(plr, "Removed " ..targPlr.Name.. "'s smoke!", 5)
  278. end
  279. end
  280. end
  281. };
  282. sparkles = {
  283. admin = true;
  284. desc = "Gives player a sparkles instance";
  285. func = function(plr, args)
  286. if not args[1] or type(args[1]) ~= "string" then
  287. return
  288. end
  289. local targPlr = AzuL.MatchPlayer(plr, args[1])
  290. if not targPlr then
  291. AzuL.Output(plr, "Failed to match player!")
  292. return
  293. end
  294. if not targPlr.Character:FindFirstChild("Humanoid") then
  295. return
  296. end
  297. Instance.new("Sparkles", targPlr.Character.Torso)
  298. AzuL.Output(plr, "Player has Sparkles", 5)
  299. end
  300. };
  301. unsparkles = {
  302. admin = true;
  303. desc = "Removes the smoke instance from player";
  304. func = function(plr, args)
  305. if not args[1] or type(args[1]) ~= "string" then
  306. return
  307. end
  308. local targPlr = AzuL.MatchPlayer(plr, args[1])
  309. if not targPlr then
  310. AzuL.Output(plr, "Failed to match player!")
  311. return
  312. end
  313. if not targPlr.Character:FindFirstChild("Humanoid") then
  314. return
  315. end
  316. for _, Obj in pairs(targPlr.Character.Torso:GetChildren()) do
  317. if Obj:IsA("Sparkles") then
  318. Obj:Destroy()
  319. AzuL.Output(plr, "Removed " ..targPlr.Name.. "'s sparkles!", 5)
  320. end
  321. end
  322. end
  323. };
  324.  
  325. btools = {
  326. admin = true;
  327. desc = "Gives player a hopperbin tools";
  328. func = function(plr, args)
  329. if not args[1] or type(args[1]) ~= "string" then
  330. return
  331. end
  332. local targPlr = AzuL.MatchPlayer(plr, args[1])
  333. if not targPlr then
  334. AzuL.Output(plr, "Failed to match player!")
  335. return
  336. end
  337. if not targPlr.Character:FindFirstChild("Humanoid") then
  338. return
  339. end
  340. Instance.new("HopperBin", targPlr.Backpack).BinType = 2
  341. Instance.new("HopperBin", targPlr.Backpack).BinType = 3
  342. Instance.new("HopperBin", targPlr.Backpack).BinType = 4
  343. AzuL.Output(plr, "Player has btools.", 5)
  344. end
  345. };
  346.  
  347. stun = {
  348. admin = true;
  349. desc = "Stuns a player a player";
  350. func = function(plr, args)
  351. if not args[1] or type(args[1]) ~= "string" then
  352. return
  353. end
  354. local targPlr = AzuL.MatchPlayer(plr, args[1])
  355. if not targPlr then
  356. AzuL.Output(plr, "Failed to match player!")
  357. return
  358. end
  359. if not targPlr.Character:FindFirstChild("Humanoid") then
  360. return
  361. end
  362. targPlr.Character.Humanoid:Destroy()
  363. AzuL.Output(plr, "Stunned plr " .. targPlr.Name .. "!")
  364. end
  365. };
  366.  
  367. god = {
  368. admin = true;
  369. desc = "Gods a player";
  370. func = function(plr, args)
  371. if not args[1] or type(args[1]) ~= "string" then
  372. return
  373. end
  374. local targPlr = AzuL.MatchPlayer(plr, args[1])
  375. if not targPlr then
  376. AzuL.Output(plr, "Failed to match player!")
  377. return
  378. e…
Advertisement
Add Comment
Please, Sign In to add comment