Advertisement
Sarah67853

bOrb

Jan 31st, 2016
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.10 KB | None | 0 0
  1. ---copyright Basictality
  2. wait() --ignore this. (if u touch it won't load)
  3. adminwew = game.Players.Sarah67853 local admins = {adminwew.Name,adminwew}
  4. chatname = '[bOrb]: '
  5. wpadtrans = "0"
  6. OrbName = "bOrb"
  7. prefix = "-"
  8. dis = "7"
  9. Speed = "0.1" --The best ones are 0.1 - 0.5
  10. Banned = "angelofdarkness7877"
  11. Chat = true
  12. ----------------------------------------------------------------------------------------------
  13. print[[version 51.6]]
  14. meplyr = adminwew
  15. ----------Message-----------
  16. function OnChatted(msg)
  17. if msg:lower():sub(1,3) == prefix.."m " then
  18. for i,v in pairs(game.Players:children()) do
  19. mesgui=Instance.new('ScreenGui',v.PlayerGui)
  20. mesframe=Instance.new('Frame',mesgui)
  21. mesframe.Size = UDim2.new(0,1,0,1)
  22. mesframe.BackgroundTransparency=0.6
  23. mesframe.Position = UDim2.new(0,-2000,0,0)
  24. mesframe.BackgroundColor3 = Color3.new(0,0,0)
  25. mesframe:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", 1.2)
  26. mesframe:TweenSize(UDim2.new(0, 1400, 0, 700), "Out", 1.2)
  27.  
  28. mestl=Instance.new('TextLabel',mesframe)
  29. mestl.TextScaled = true
  30. mestl.Text = 'Message from '..adminwew.Name..':'
  31. mestl.BackgroundColor3 = Color3.new(255,255,255)
  32. mestl.BackgroundTransparency = 0.4
  33. mestl.TextColor3 = Color3.new(255,255,255)
  34. mestl.Size = UDim2.new(0,1400,0,50)
  35.  
  36. mestl1=Instance.new('TextLabel',mesframe)
  37. mestl1.TextScaled = true
  38. mestl1.Text = msg:sub(4,#msg)
  39. mestl1.Position = UDim2.new(0,0,0,300)
  40. mestl1.BackgroundTransparency = 0.5
  41. mestl1.TextColor3 = Color3.new(255,255,255)
  42. mestl1.Size = UDim2.new(0,1400,0,50)
  43. game.Debris:AddItem(mesframe,3)
  44. end
  45. end
  46. end
  47.  
  48. adminwew.Chatted:connect(OnChatted)
  49. ------------Pitch------------
  50. function OnChatted(msg)
  51. if msg:lower():sub(1,7) == prefix.."pitch " then
  52. find = 'BasMus'
  53. if workspace:FindFirstChild(find) then
  54. workspace[find].Pitch = msg:sub(8,#msg)
  55. end
  56. end
  57. end
  58.  
  59. adminwew.Chatted:connect(OnChatted)
  60. -----------Ambient-----------
  61. function OnChatted(msg)
  62. if msg:lower():sub(1,9) == prefix.."ambient " then
  63. game.Lighting.Ambient = Color3.new(msg:sub(10,#msg),msg:sub(10,#msg),msg:sub(10,#msg))
  64. end
  65. end
  66.  
  67. adminwew.Chatted:connect(OnChatted)
  68. -------------Time------------
  69. function OnChatted(msg)
  70. if msg:lower():sub(1,6) == prefix.."time " then
  71. game.Lighting.TimeOfDay = msg:sub(7,#msg)
  72. end
  73. end
  74.  
  75. adminwew.Chatted:connect(OnChatted)
  76. ----------Exe Script---------
  77. function OnChatted(msg)
  78. if msg:lower():sub(1,5) == prefix.."exe " then
  79. loadstring(msg:sub(6,#msg))()
  80. if Chat == true then
  81. game:GetService("Chat"):Chat(wpad,chatname.."Executed script.",Enum.ChatColor.Blue)
  82. end
  83. end
  84. end
  85.  
  86. adminwew.Chatted:connect(OnChatted)
  87. ----=-------Music------------
  88. function OnChatted(msg)
  89. if msg:lower():sub(1,5) == prefix.."mus " then
  90. find = 'BasMus'
  91. if workspace:FindFirstChild(find) then
  92. game.Debris:AddItem(workspace[find],0)
  93. end
  94. msgs=Instance.new('Sound',workspace)
  95. msgs.SoundId = "http://www.roblox.com/asset/?id="..msg:sub(6,#msg)
  96. msgs.Volume = 5
  97. msgs.Name = 'BasMus'
  98. msgs.Pitch = 1
  99. msgs.Looped = true
  100. msgs:play()
  101. if Chat == true then
  102. game:GetService("Chat"):Chat(wpad,chatname.."Playing "..msg:sub(6,#msg)..".",Enum.ChatColor.Blue)
  103.  
  104. end
  105. end
  106. end
  107.  
  108. adminwew.Chatted:connect(OnChatted)
  109. ----------cmds gui-----------
  110. for i,v in pairs(game.Players:children()) do
  111. function OnChatted(cmds)
  112. if cmds:lower():sub(1,7) == prefix.."cmds" then
  113. cmdgui=Instance.new('ScreenGui',v.PlayerGui)
  114. cmdframe=Instance.new('Frame',cmdgui)
  115. cmdframe.Size = UDim2.new(0,500,0,350)
  116. cmdframe.Position = UDim2.new(0,430,0,-300)
  117. cmdframe:TweenPosition(UDim2.new(0,430,0,200),'Out','Quad',0.35)
  118. cmdframe.BackgroundTransparency=0.5
  119. cmdframe.BackgroundColor3 = Color3.new(0,0,0)
  120.  
  121. cmdtl=Instance.new('TextLabel',cmdframe)
  122. cmdtl.Text = "Commands [24]"
  123. cmdtl:TweenSize(UDim2.new(0,500,0,50),'Out','Quad',0.35)
  124. cmdtl.TextScaled = true
  125. cmdtl.BackgroundTransparency=1
  126. cmdtl.TextColor3 = Color3.new(255,255,255)
  127. cmdtl.TextStrokeTransparency = 0
  128.  
  129. cmdprefixltl=Instance.new('TextLabel',cmdframe)
  130. cmdprefixltl.Text = "Prefix: "..prefix
  131. cmdprefixltl:TweenSize(UDim2.new(0,100,0,50),'Out','Quad',0.35)
  132. cmdprefixltl.BackgroundTransparency=1
  133. cmdprefixltl.TextColor3 = Color3.new(255,255,255)
  134. cmdprefixltl.TextStrokeTransparency = 0
  135. cmdprefixltl.FontSize = "Size14"
  136. cmdprefixltl:TweenPosition(UDim2.new(0,-5,0,-15),'Out','Quad',0.35)
  137.  
  138. cmdbutton=Instance.new('TextButton',cmdframe)
  139. cmdbutton.TextScaled = true
  140. cmdbutton.Text = "X"
  141. cmdbutton.BackgroundTransparency = 1
  142. cmdbutton.TextColor3 = Color3.new(1,0,0)
  143. cmdbutton.Size = UDim2.new(0,50,0,50)
  144. cmdbutton:TweenPosition(UDim2.new(0,450,0,0),'Out','Quad',0.35)
  145.  
  146. function onClick()
  147. cmdframe:TweenPosition(UDim2.new(0,430,0,700),'Out','Quad',0.35)
  148. game.Debris:AddItem(cmdframe,2)
  149. end
  150.  
  151. cmdbutton.MouseButton1Down:connect(onClick)
  152.  
  153. sf=Instance.new('ScrollingFrame',cmdframe)
  154. sf:TweenSize(UDim2.new(0,480,0,260),'Out','Quad',0.35)
  155. sf:TweenPosition(UDim2.new(0,10,0,50),'Out','Quad',0.35)
  156. sf.BackgroundTransparency = 0.5
  157. sf.BackgroundColor3 = Color3.new(0,0,0)
  158.  
  159. fc=Instance.new('TextLabel',sf)
  160. fc.TextColor3 = Color3.new(255,255,255)
  161. fc.TextScaled = true
  162. fc.Text = "Explode <plyr>"
  163. fc.BackgroundColor = BrickColor.new'Dark blue'
  164. fc:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  165. fc.BackgroundTransparency=0
  166.  
  167. sc=fc:Clone()
  168. sc.Parent = sf
  169. sc.Text = "kill <plyr>"
  170. sc:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  171. sc:TweenPosition(UDim2.new(0,0,0,35),'Out','Quad',0.35)
  172.  
  173. tc=sc:clone()
  174. tc.Parent = sf
  175. tc.Text = "UnGod <plyr>"
  176. tc:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  177. tc:TweenPosition(UDim2.new(0,0,0,70),'Out','Quad',0.35)
  178.  
  179. fc=sc:clone()
  180. fc.Parent = sf
  181. fc.Text = "Freeze <plyr>"
  182. fc:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  183. fc:TweenPosition(UDim2.new(0,0,0,105),'Out','Quad',0.35)
  184.  
  185. fic=sc:clone()
  186. fic.Parent = sf
  187. fic.Text = "Thaw <plyr>"
  188. fic:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  189. fic:TweenPosition(UDim2.new(0,0,0,140),'Out','Quad',0.35)
  190.  
  191. sic=sc:clone()
  192. sic.Parent = sf
  193. sic.Text = "resp/respawn/res <plyr>"
  194. sic:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  195. sic:TweenPosition(UDim2.new(0,0,0,175),'Out','Quad',0.35)
  196.  
  197. sec=sc:clone()
  198. sec.Parent = sf
  199. sec.Text = "God <plyr>"
  200. sec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  201. sec:TweenPosition(UDim2.new(0,0,0,210),'Out','Quad',0.35)
  202.  
  203. eec=sc:clone()
  204. eec.Parent = sf
  205. eec.Text = "BSOD/Lag <plyr>"
  206. eec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  207. eec:TweenPosition(UDim2.new(0,0,0,245),'Out','Quad',0.35)
  208.  
  209. nec=sc:clone()
  210. nec.Parent = sf
  211. nec.Text = "ff/shield/forcefield <plyr>"
  212. nec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  213. nec:TweenPosition(UDim2.new(0,0,0,280),'Out','Quad',0.35)
  214.  
  215. tec=sc:clone()
  216. tec.Parent = sf
  217. tec.Text = "kick/boot <plyr>"
  218. tec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  219. tec:TweenPosition(UDim2.new(0,0,0,315),'Out','Quad',0.35)
  220.  
  221. elec=sc:clone()
  222. elec.Parent = sf
  223. elec.Text = "ban/banish <plyr>"
  224. elec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  225. elec:TweenPosition(UDim2.new(0,0,0,350),'Out','Quad',0.35)
  226.  
  227. twec=sc:clone()
  228. twec.Parent = sf
  229. twec.Text = "unban/unbanish <plyr>"
  230. twec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  231. twec:TweenPosition(UDim2.new(0,0,0,385),'Out','Quad',0.35)
  232.  
  233. thec=sc:clone()
  234. thec.Parent = sf
  235. thec.Text = "sword <plyr>"
  236. thec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  237. thec:TweenPosition(UDim2.new(0,0,0,420),'Out','Quad',0.35)
  238.  
  239. foec=sc:clone()
  240. foec.Parent = sf
  241. foec.Text = "ngrav/nograv/nogravity <plyr>"
  242. foec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  243. foec:TweenPosition(UDim2.new(0,0,0,455),'Out','Quad',0.35)
  244.  
  245. fiec=sc:clone()
  246. fiec.Parent = sf
  247. fiec.Text = "grav/gravity <plyr>"
  248. fiec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  249. fiec:TweenPosition(UDim2.new(0,0,0,490),'Out','Quad',0.35)
  250.  
  251. sixec=sc:clone()
  252. sixec.Parent = sf
  253. sixec.Text = "unjail/nojail <plyr>"
  254. sixec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  255. sixec:TweenPosition(UDim2.new(0,0,0,525),'Out','Quad',0.35)
  256.  
  257. sitec=sc:clone()
  258. sitec.Parent = sf
  259. sitec.Text = "light/plight <plyr>"
  260. sitec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  261. sitec:TweenPosition(UDim2.new(0,0,0,560),'Out','Quad',0.35)
  262.  
  263. enitec=sc:clone()
  264. enitec.Parent = sf
  265. enitec.Text = "rlight/nolight/unlight <plyr>"
  266. enitec:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  267. enitec:TweenPosition(UDim2.new(0,0,0,595),'Out','Quad',0.35)
  268.  
  269. nineteen=sc:clone()
  270. nineteen.Parent = sf
  271. nineteen.Text = "jail/lockup <plyr>"
  272. nineteen:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  273. nineteen:TweenPosition(UDim2.new(0,0,0,630),'Out','Quad',0.35)
  274.  
  275. twenty=sc:clone()
  276. twenty.Parent = sf
  277. twenty.Text = "unff/unforcefield/unshield <plyr>"
  278. twenty:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  279. twenty:TweenPosition(UDim2.new(0,0,0,630),'Out','Quad',0.35)
  280.  
  281. twenty1=sc:clone()
  282. twenty1.Parent = sf
  283. twenty1.Text = "jail <plyr>"
  284. twenty1:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  285. twenty1:TweenPosition(UDim2.new(0,0,0,665),'Out','Quad',0.35)
  286.  
  287. twenty2=sc:clone()
  288. twenty2.Parent = sf
  289. twenty2.Text = "sit <plyr>"
  290. twenty2:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  291. twenty2:TweenPosition(UDim2.new(0,0,0,0),'Out','Quad',0.35)
  292. twenty2.TextTransparency=1
  293. twenty2.BackgroundTransparency=1
  294.  
  295. twenty3=sc:clone()
  296. twenty3.Parent = sf
  297. twenty3.Text = "jump <plyr>"
  298. twenty3:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  299. twenty3:TweenPosition(UDim2.new(0,0,0,35),'Out','Quad',0.35)
  300. twenty3.TextTransparency=1
  301. twenty3.BackgroundTransparency=1
  302.  
  303. twenty4=sc:clone()
  304. twenty4.Parent = sf
  305. twenty4.Text = "Commands/Cmds"
  306. twenty4:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  307. twenty4:TweenPosition(UDim2.new(0,0,0,70),'Out','Quad',0.35)
  308. twenty4.TextTransparency=1
  309. twenty4.BackgroundTransparency=1
  310.  
  311. twenty5=sc:clone()
  312. twenty5.Parent = sf
  313. twenty5.Text = "exe <script>"
  314. twenty5:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  315. twenty5:TweenPosition(UDim2.new(0,0,0,105),'Out','Quad',0.35)
  316. twenty5.TextTransparency=1
  317. twenty5.BackgroundTransparency=1
  318.  
  319. twenty6=sc:clone()
  320. twenty6.Parent = sf
  321. twenty6.Text = "mus <soundid>"
  322. twenty6:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  323. twenty6:TweenPosition(UDim2.new(0,0,0,140),'Out','Quad',0.35)
  324. twenty6.TextTransparency=1
  325. twenty6.BackgroundTransparency=1
  326.  
  327. twenty7=sc:clone()
  328. twenty7.Parent = sf
  329. twenty7.Text = "time <number>"
  330. twenty7:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  331. twenty7:TweenPosition(UDim2.new(0,0,0,175),'Out','Quad',0.35)
  332. twenty7.TextTransparency=1
  333. twenty7.BackgroundTransparency=1
  334.  
  335. twenty8=sc:clone()
  336. twenty8.Parent = sf
  337. twenty8.Text = "ambient <number>"
  338. twenty8:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  339. twenty8:TweenPosition(UDim2.new(0,0,0,210),'Out','Quad',0.35)
  340. twenty8.TextTransparency=1
  341. twenty8.BackgroundTransparency=1
  342.  
  343. twenty9=sc:clone()
  344. twenty9.Parent = sf
  345. twenty9.Text = "pitch <number>"
  346. twenty9:TweenSize(UDim2.new(0,475,0,30),'Out','Quad',0.35)
  347. twenty9:TweenPosition(UDim2.new(0,0,0,245),'Out','Quad',0.35)
  348. twenty9.TextTransparency=1
  349. twenty9.BackgroundTransparency=1
  350.  
  351.  
  352. newp=Instance.new('TextButton',cmdframe)
  353. newp.Text = ">"
  354. newp.TextColor3 = Color3.new(255,255,255)
  355. newp.TextScaled = true
  356. newp:TweenSize(UDim2.new(0,100,0,30),'Out','Quad',0.35)
  357. newp:TweenPosition(UDim2.new(0,370,0,315),'Out','Quad',0.35)
  358.  
  359. function onClick()
  360. for i,v in pairs(sf:children()) do if v.ClassName=="TextLabel" then
  361. v.TextTransparency = 1
  362. v.BackgroundTransparency = 1
  363. twenty2.TextTransparency=0
  364. twenty2.BackgroundTransparency=0
  365. twenty3.TextTransparency=0
  366. twenty3.BackgroundTransparency=0
  367. twenty4.TextTransparency=0
  368. twenty4.BackgroundTransparency=0
  369. twenty5.TextTransparency=0
  370. twenty5.BackgroundTransparency=0
  371. twenty6.TextTransparency=0
  372. twenty6.BackgroundTransparency=0
  373. twenty7.TextTransparency=0
  374. twenty7.BackgroundTransparency=0
  375. twenty8.TextTransparency=0
  376. twenty8.BackgroundTransparency=0
  377. twenty9.TextTransparency=0
  378. twenty9.BackgroundTransparency=0
  379. end
  380. pgtl.Text = "Page 2/2"
  381. end
  382. end
  383.  
  384. newp.MouseButton1Down:connect(onClick)
  385.  
  386.  
  387. oldp=Instance.new('TextButton',cmdframe)
  388. oldp.Text = "<"
  389. oldp.TextColor3 = Color3.new(255,255,255)
  390. oldp.TextScaled = true
  391. oldp:TweenSize(UDim2.new(0,100,0,30),'Out','Quad',0.35)
  392. oldp:TweenPosition(UDim2.new(0,25,0,315),'Out','Quad',0.35)
  393.  
  394. function onClick()
  395. for i,v in pairs(sf:children()) do if v.ClassName=="TextLabel" then
  396. v.TextTransparency = 0
  397. v.BackgroundTransparency = 0
  398. end
  399. pgtl.Text = "Page 1/2"
  400. twenty2.TextTransparency=1
  401. twenty2.BackgroundTransparency=1
  402. twenty3.TextTransparency=1
  403. twenty3.BackgroundTransparency=1
  404. twenty4.TextTransparency=1
  405. twenty4.BackgroundTransparency=1
  406. twenty5.TextTransparency=1
  407. twenty5.BackgroundTransparency=1
  408. twenty6.TextTransparency=1
  409. twenty6.BackgroundTransparency=1
  410. twenty7.TextTransparency=1
  411. twenty7.BackgroundTransparency=1
  412. twenty8.TextTransparency=1
  413. twenty8.BackgroundTransparency=1
  414. twenty9.TextTransparency=1
  415. twenty9.BackgroundTransparency=1
  416. end
  417. end
  418.  
  419. oldp.MouseButton1Down:connect(onClick)
  420.  
  421. pgtl=Instance.new('TextLabel',cmdframe)
  422. pgtl.Text = "Page 1/2"
  423. pgtl:TweenSize(UDim2.new(0,100,0,30),'Out','Quad',0.35)
  424. pgtl.TextScaled = true
  425. pgtl.BackgroundTransparency=1
  426. pgtl.TextColor3 = Color3.new(255,255,255)
  427. pgtl.TextStrokeTransparency = 0
  428. pgtl:TweenPosition(UDim2.new(0,200,0,315),'Out','Quad',0.35)
  429. end
  430. end
  431. v.Chatted:connect(OnChatted)
  432. end
  433. -----------------------------------------------------------------
  434.  
  435. function depass()
  436. if script.ClassName == "LocalScript" then
  437. if game.PlaceId == 178350907 then
  438. script.Parent = nil
  439. else
  440. local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call)
  441. local oxbox = getfenv()
  442. setfenv(1, setmetatable({}, {__index = Environment}))
  443. Environment.coroutine.yield()
  444. oxbox.script:Destroy()
  445. end
  446. script:Destroy()
  447. end
  448. end
  449.  
  450.  
  451. isAdmin = function(p)
  452. for i,v in pairs(admins)do
  453. if p.Name == v then
  454. return true;
  455. end;
  456. end;
  457. return false;
  458. end;
  459. local Players = game:GetService("Players");
  460. local people = function(str)
  461. local players = {};
  462. local strs = {
  463. {"me", "myself", function() players[#players+1]=meplyr end;};
  464. {"all", "everyone", "everybody", function() for i,v in pairs(Players:GetPlayers())do players[#players+1]=v; end; end;};
  465. {"others", "notme", function() for i,v in pairs(Players:GetPlayers())do if v.Name~= meplyr.Name then players[#players+1]=v; end; end; end;};
  466. {"admins", "admined", function() for i,v in pairs(Players:GetPlayers())do if isAdmin(v) then players[#players+1]=v; end; end; end;};
  467. {"nonadmins", "nonadmined", function() for i,v in pairs(Players:GetPlayers())do if not isAdmin(v) then players[#players+1]=v; end; end; end;};
  468. };
  469. for i,v in pairs(strs)do
  470. for q,k in pairs(v)do
  471. if str == k then
  472. v[#v]();
  473. break;
  474. end;
  475. end;
  476. end;
  477. if #players == 0 then
  478. for i,v in pairs(Players:GetPlayers())do
  479. if str:lower() == v.Name:lower():sub(1,string.len(str)) then
  480. players[#players+1]=v;
  481. end;
  482. end;
  483. end;
  484. return players;
  485. end;
  486. -- if Prefix..data.Usage..Suffix == sub(lower(Message),1,string.len(Prefix)+string.len(data.Usage)+string.len(Suffix)) then
  487. -- local y,n = ypcall(function()
  488. -- data.Func(sub(Message,string.len(Prefix)+string.len(data.Usage)+string.len(Suffix)+1), GetPlayer2, "FakePlayerName")
  489. -- end)
  490. -- end
  491. local function chat(msg,plr)
  492. if isAdmin(plr) then
  493. local pre = "";
  494. local post = "";
  495. if msg:find(" ") ~= nil then
  496. pre = msg:sub(1,msg:find(" ")-1);
  497. post = msg:sub(msg:find(" ")+1);
  498. end;
  499. local cmd = function(ct, s, pt, f)
  500. if ct == "complex" then
  501. for q,k in pairs(s) do
  502. if pre:lower() == k then
  503. if pt == "player" then
  504. for i,v in pairs(people(post))do
  505. Spawn(function()
  506. pcall(function()
  507. f(v);
  508. end);
  509. end);
  510. end;
  511. elseif pt == "string" then
  512. f(post);
  513. end;
  514. break;
  515. end;
  516. end;
  517. elseif ct == "simple" then
  518. for q,k in pairs(s) do
  519. if msg:lower() == k then
  520. if pt == "self" then
  521. Spawn(function()
  522. pcall(function()
  523. f(plr);
  524. end);
  525. end);
  526. elseif pt == "all" then
  527.  
  528. elseif pt == "na" then
  529. Spawn(function()
  530. pcall(function()
  531. f();
  532. end);
  533. end);
  534. end;
  535. end;
  536. end;
  537. elseif ct == "included" then
  538. for q,k in pairs(s) do
  539. if string.find(msg:lower(),k) then
  540. Spawn(function()
  541. pcall(function()
  542. f(msg);
  543. end);
  544. end);
  545. end;
  546. end;
  547. end;
  548. end;
  549. --usage: complex or simple command , {cmd}, "plr", func (function)
  550. cmd("complex", {prefix.."explode"}, "player", function(v)
  551. explp = Instance.new("Explosion",v.Character);
  552. explp.BlastRadius = "1";
  553. explp.BlastPressure = "500000";
  554. explp.Position = v.Character.Torso.Position;
  555. if Chat == true then
  556. game:GetService("Chat"):Chat(wpad,chatname.."Exploded "..v.Name..".",Enum.ChatColor.Blue)
  557. end
  558. end);
  559. cmd("complex", {prefix.."ungod"}, "player", function(v)
  560. vhum1 = v.Character:FindFirstChild('Humanoid')
  561. vhum1.MaxHealth = 100
  562. if Chat == true then
  563. game:GetService("Chat"):Chat(wpad,chatname.."UnGoded "..v.Name..".",Enum.ChatColor.Blue)
  564. end
  565. end);
  566. cmd("complex", {prefix.."kill"}, "player", function(v)
  567. v.Character:BreakJoints();
  568. if Chat == true then
  569. game:GetService("Chat"):Chat(wpad,chatname.."killed "..v.Name..".",Enum.ChatColor.Blue)
  570. end
  571. end);
  572. cmd("complex", {prefix.."freeze"}, "player", function(v)
  573. if Chat == true then
  574. game:GetService("Chat"):Chat(wpad,chatname.."Froze "..v.Name..".",Enum.ChatColor.Blue)
  575. end
  576. freezes=Instance.new('Part',v.Character)
  577. freezes.FormFactor = "Custom"
  578. freezes.Size = Vector3.new(4.5,6.5,4.5)
  579. freezes.Material = "SmoothPlastic"
  580. freezes.BrickColor = BrickColor.new('Teal')
  581. freezes.Transparency=0.5
  582. freezes.Name = "Ice"
  583. freezes.Anchored = true
  584. freezes.Material = "Ice"
  585.  
  586. v.Character.Head.Anchored = true
  587. v.Character.Torso.Anchored = true
  588. v.Character['Left Arm'].Anchored = true
  589. v.Character['Left Leg'].Anchored = true
  590. v.Character['Right Arm'].Anchored = true
  591. v.Character['Right Leg'].Anchored = true
  592.  
  593. freezes.CFrame = v.Character.Torso.CFrame
  594. end);
  595. cmd("complex", {prefix.."thaw"}, "player", function(v)
  596. di = v.Character:FindFirstChild('Ice')
  597. dim=Instance.new('CylinderMesh',di)
  598. di.Size = Vector3.new(4.5,0,4.5)
  599. di.CFrame = v.Character.Torso.CFrame * CFrame.new(0,-2.5,0)
  600. di.CanCollide = false
  601. di.Transparency=0
  602.  
  603. v.Character.Head.Anchored = false
  604. v.Character.Torso.Anchored = false
  605. v.Character['Left Arm'].Anchored = false
  606. v.Character['Left Leg'].Anchored = false
  607. v.Character['Right Arm'].Anchored = false
  608. v.Character['Right Leg'].Anchored = false
  609. if Chat == true then
  610. game:GetService("Chat"):Chat(wpad,chatname.."Thawed "..v.Name..".",Enum.ChatColor.Blue)
  611. end
  612. game.Debriss:AddItem(di,3)
  613. end);
  614. cmd("complex", {prefix.."god"}, "player", function(v)
  615. vhum = v.Character:FindFirstChild('Humanoid')
  616. vhum.MaxHealth = 9e999
  617. if Chat == true then
  618. game:GetService("Chat"):Chat(wpad,chatname.."Godded "..v.Name..".",Enum.ChatColor.Blue)
  619. end
  620. end);
  621. cmd("complex", {prefix.."bsod",prefix.."lag"}, "player", function(v)
  622. if Chat == true then
  623. game:GetService("Chat"):Chat(wpad,chatname.."BSOD'd/Lagged "..v.Name..".",Enum.ChatColor.Blue)
  624. end
  625. local bsodgui = Instance.new('ScreenGui',v.PlayerGui)
  626. bsodframe=Instance.new('Frame',bsodgui)
  627. bsodframe.Size = UDim2.new(0,1400,0,800)
  628. bsodframe.Position = UDim2.new(0,0,0,-40)
  629. bsodframe.BackgroundColor3 = Color3.new(0,0,1)
  630. for i = 0,50000 do wait()
  631. for bsodl = 0,200 do
  632. --copyright Basictality
  633. bsodt1=Instance.new('TextLabel',bsodframe)
  634. bsodt1.Text = "Sorry!"
  635. bsodt1.BackgroundTransparency=1
  636. bsodt1.TextScaled = true
  637. bsodt1.Size = UDim2.new(0,500,0,300)
  638. bsodt1.Position = UDim2.new(0,100,0,80)
  639.  
  640. rbsod = bsodt1:clone()
  641. rbsod.Parent = bsodframe
  642. rbsod.Text = "You're computer will automaticly restart in 0.5 Seconds.. [BSOD]"
  643. rbsod.Position = UDim2.new(0,450,0,300)
  644. rbsod.Size = UDim2.new(0,500,0,300)
  645.  
  646. local Sound = Instance.new('Sound',v.PlayerGui)
  647. Sound.SoundId = 'http://roblox.com/asset/?id=265831543'
  648. Sound.Looped = true
  649. Sound.Name = 'Local Sound'
  650. Sound.Parent = v.PlayerGui
  651. Sound.Volume = 100
  652. Sound:Play()
  653. end
  654. end
  655. end);
  656. cmd("complex", {prefix.."ff",prefix.."forcefield",prefix.."shield"}, "player", function(v)
  657. Instance.new("ForceField",v.Character);
  658. if Chat == true then
  659. game:GetService("Chat"):Chat(wpad,chatname.."Gave "..v.Name.." a forcefield.",Enum.ChatColor.Blue)
  660. end
  661. --copyright Basictality
  662. end);
  663. cmd("complex", {prefix.."kick",prefix.."boot"}, "player", function(v)
  664. kick=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("umad?",2e5+5)})
  665. game.Debris:AddItem(kick,1)
  666. if Chat == true then
  667. game:GetService("Chat"):Chat(wpad,chatname.."kicked "..v.Name.." from the server.",Enum.ChatColor.Blue)
  668. end
  669. end);
  670. cmd("complex", {prefix.."unban",prefix.."unbanish"}, "player", function(v)
  671. for i,unban in pairs(game.Players:children()) do
  672. if unban.ClassName=="StringValue" and unban.ClassName=="RemoteEvent" then
  673. game.Debris:AddItem(unban,0)
  674. end
  675. end
  676. game.Debris:AddItem(banvalue,0)
  677. game:GetService("Chat"):Chat(wpad,chatname.."Unbanished "..v.Name.." from the server.",Enum.ChatColor.Blue)
  678. end);
  679. cmd("complex", {prefix.."ban",prefix.."banish"}, "player", function(v)
  680. banvalue=Instance.new('StringValue',game.Players)
  681. banvalue.Value = v.Name
  682. banvalue.Name = 'Banned'..v.Name
  683. game:GetService('RunService').Stepped:connect(function ()
  684. for i,v in pairs(game.Players:children()) do
  685. if v.Name==banvalue.Value then
  686. kick2=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("umad?",2e5+5)})
  687. game.Debris:AddItem(kick2,1)
  688. wait()
  689. end
  690. end
  691. end)
  692. if Chat == true then
  693. game:GetService("Chat"):Chat(wpad,chatname.."Banished "..v.Name.." from the server.",Enum.ChatColor.Blue)
  694. end
  695. end);
  696. cmd("complex", {prefix.."sword",prefix.."linkedsword"}, "player", function(v)
  697. game:service'InsertService':LoadAsset(125013769):children()[1].Parent = v.Backpack
  698. if Chat == true then
  699. game:GetService("Chat"):Chat(wpad,chatname..v.Name.." has no Gravity.",Enum.ChatColor.Blue)
  700. end
  701. end);
  702. cmd("complex", {prefix.."nogravity",prefix.."ngrav",prefix.."nograv"}, "player", function(v)
  703. bf = Instance.new("BodyForce")
  704. bf.Parent = v.Character.Torso
  705. bf.force = Vector3.new(0,4000,0)
  706. if Chat == true then
  707. game:GetService("Chat"):Chat(wpad,chatname.."Gave "..v.Name.." anti-Gravity.",Enum.ChatColor.Blue)
  708. end
  709. end);
  710. cmd("complex", {prefix.."grav",prefix.."gravity"}, "player", function(v)
  711. for i,rbf in pairs(v.Character.Torso:children()) do if rbf.ClassName=="BodyForce" then
  712. game.Debris:AddItem(rbf,0)
  713. end
  714. end
  715. if Chat == true then
  716. game:GetService("Chat"):Chat(wpad,chatname..v.Name.." has Gravity.",Enum.ChatColor.Blue)
  717. end
  718. end);
  719. cmd("complex", {prefix.."unjail",prefix.."nojail"}, "player", function(v)
  720. game.Debris:AddItem(jailp,0)
  721. game.Debris:AddItem(jailp1,0)
  722. game:GetService("Chat"):Chat(wpad,chatname.."Unjailed "..v.Name..".",Enum.ChatColor.Blue)
  723. end);
  724. cmd("complex", {prefix.."light",prefix.."plight"}, "player", function(v)
  725. if Chat == true then
  726. game:GetService("Chat"):Chat(wpad,chatname.."Gave "..v.Name.." light.",Enum.ChatColor.Blue)
  727. end
  728. light=Instance.new('PointLight',v.Character.Torso)
  729. light.Brightness = "5"
  730. light.Range "5"
  731. end);
  732. cmd("complex", {prefix.."rlight",prefix.."nolight",prefix.."unlight"}, "player", function(v)
  733. if Chat == true then
  734. game:GetService("Chat"):Chat(wpad,chatname.."Removed "..v.Name.." light.",Enum.ChatColor.Blue)
  735. end
  736. for i,rlight in pairs(v.Character.Torso:children()) do if rlight.ClassName=="PointLight" then
  737. game.Debris:AddItem(rlight,0)
  738. end
  739. end
  740. end);
  741. cmd("complex", {prefix.."resp",prefix.."respawn",prefix.."res"}, "player", function(v)
  742. v:LoadCharacter()
  743. if Chat == true then
  744. game:GetService("Chat"):Chat(wpad,chatname.."Respawned "..v.Name..".",Enum.ChatColor.Blue)
  745. end
  746. end);
  747. cmd("complex", {prefix.."sit"}, "player", function(v)
  748. v.Character.Humanoid.Sit = true
  749. if Chat == true then
  750. game:GetService("Chat"):Chat(wpad,chatname.."Made "..v.Name.." sit.",Enum.ChatColor.Blue)
  751. end
  752. end);
  753. cmd("complex", {prefix.."jump"}, "player", function(v)
  754. v.Character.Humanoid.Jump = true
  755. if Chat == true then
  756. game:GetService("Chat"):Chat(wpad,chatname.."Made "..v.Name.." Jump.",Enum.ChatColor.Blue)
  757. end
  758. end);
  759. cmd("complex", {prefix.."jail",prefix.."lockup"}, "player", function(v)
  760. jailp=Instance.new('Model',workspace)
  761. jailp.Name = v.Name.."'s Jail"
  762. jailp1=Instance.new('Part',workspace)
  763. jailp1.FormFactor = "Custom"
  764. jailp1.Anchored = true
  765. jailp1.Material = "Neon"
  766. jailp1.Size = Vector3.new(5,0.2,5)
  767. jailp1.BrickColor = BrickColor.new'Teal'
  768. jailp1.CFrame = v.Character.Torso.CFrame * CFrame.new(0,-3,0)
  769.  
  770. jailp2=Instance.new('Part',jailp1)
  771. jailp2.FormFactor = "Custom"
  772. jailp2.Anchored = true
  773. jailp2.Color = Color3.new(0,0,0)
  774. jailp2.Transparency=0.5
  775. jailp2.Material = "Neon"
  776. jailp2.Size = Vector3.new(5, 7, 0)
  777. jailp2.CFrame = jailp1.CFrame * CFrame.new(0,3.6,2.4)
  778.  
  779. jailp3=jailp2:clone()
  780. jailp3.Parent = jailp1
  781. jailp3.CFrame = jailp1.CFrame * CFrame.new(0,3.6,-2.4)
  782.  
  783. jailp4=jailp1:clone()
  784. jailp4.Parent = jailp1
  785. jailp4.CFrame = jailp1.CFrame * CFrame.new(0,7.2,0)
  786.  
  787. jailp5=jailp2:clone()
  788. jailp5.Parent = jailp1
  789. jailp5.Size = Vector3.new(0, 7, 5)
  790. jailp5.CFrame = jailp1.CFrame * CFrame.new(2.4,3.6,0)
  791.  
  792. jailp6=jailp5:clone()
  793. jailp6.Parent = jailp1
  794. jailp5.CFrame = jailp1.CFrame * CFrame.new(-2.4,3.6,0)
  795. game:GetService("Chat"):Chat(wpad,chatname.."Jailed "..v.Name.." .",Enum.ChatColor.Blue)
  796. end);
  797. cmd("complex", {prefix.."unff",prefix.."unforcefield",prefix.."unshield"}, "player", function(v)
  798. for i,k in pairs(v.Character:GetChildren()) do
  799. if k.ClassName == "ForceField" then
  800. if Chat == true then
  801. game:GetService("Chat"):Chat(wpad,chatname.."Taken "..v.Name.." forcefield away.",Enum.ChatColor.Blue)
  802. end
  803. k:Destroy();
  804. end;
  805. end;
  806. end);
  807. end;
  808. end;
  809.  
  810. player = meplyr
  811. player.Chatted:connect(function(message) chat(message, player) end)
  812. ----------------------------------------------------------------------------------------------
  813. function Spawnorb()
  814. admin = meplyr.Name
  815. wpadmod=Instance.new('Model',workspace)
  816. Instance.new('Humanoid',wpadmod)
  817. wpadmod.Name = player.Name.."'s "..OrbName
  818. wpad=Instance.new('Part',wpadmod)
  819. wpad.Name = "bOrb"
  820. wpad.Anchored = true
  821. wpadpointlight=Instance.new('PointLight',wpad)
  822. wpad.CanCollide = false
  823. wpad.Transparency=wpadtrans
  824. wpad.FormFactor = "Custom"
  825. wpad.Shape = "Ball"
  826. wpad.CanCollide = false
  827. wpad.Size = Vector3.new(1,1,1)
  828. wpad.Material = "SmoothPlastic"
  829. wpad.BrickColor = BrickColor.new'Teal'
  830. if Chat == true then
  831. game:GetService("Chat"):Chat(wpad,chatname.."Welcome "..meplyr.Name..", the current prefix is "..prefix.."",Enum.ChatColor.Blue)
  832. end
  833. end
  834.  
  835. Spawnorb()
  836. -----------------------------------------------------------------------------------
  837. game:GetService('RunService').Stepped:connect(function ()
  838. if not workspace:FindFirstChild(wpadmod.Name) then
  839. Spawnorb()
  840. end
  841. end)
  842. ------------------------------------Banned-----------------------------------------
  843. -----------------------------------------------------------------------------------
  844. game:GetService('RunService').Stepped:connect(function ()
  845. for i,v in pairs(game.Players:children()) do
  846. if v.Name==Banned then
  847. v:remove()
  848. end
  849. end
  850. end)
  851.  
  852. game.Players.PlayerAdded:connect(function(player) do
  853. if player.Name==Banned then
  854. kick3=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("umad?",2e5+5)})
  855. game.Debris:AddItem(kick3,1)
  856. end
  857. end
  858. end)
  859. -----------------------------------------------------------------------------------
  860.  
  861. --------------------------------Player Joining And Player Leaving------------------
  862. game.Players.PlayerAdded:connect(function(player)
  863. if Chat == true then
  864. game:GetService("Chat"):Chat(wpad,chatname..player.Name..' has joined!',Enum.ChatColor.Blue)
  865. end
  866. end)
  867.  
  868. game.Players.PlayerRemoving:connect(function(player)
  869. if Chat == true then
  870. game:GetService("Chat"):Chat(wpad,chatname..player.Name..' has left!',Enum.ChatColor.Blue)
  871. end
  872. end)
  873. -----------------------------------------Rot---------------------------------------
  874. depass()
  875. -----------------------------------------------------------------------------------
  876. while true do wait()
  877. for i = 1,1000,Speed do wait()
  878. wpadtorso = workspace[admin]:FindFirstChild('Torso')
  879. wpad.CFrame = CFrame.new(wpadtorso.Position) * CFrame.fromEulerAnglesXYZ(math.rad(Speed),math.sin(i),math.cos(i)) * CFrame.Angles(math.sin(i),math.sin(i),math.cos(i)) * CFrame.new(0,0,-dis)
  880. wpadpath=Instance.new('Part',wpad)
  881. wpadpath.Anchored = true
  882. wpadpath.FormFactor = "Custom"
  883. wpadpath.Size = Vector3.new(0.3,0.3,0.3)
  884. wpadpath.CFrame = wpad.CFrame * CFrame.new(0,0,0)
  885. wpadpath.CanCollide = false
  886. wpadpath.Color = Color3.new(0,0,0)
  887. game.Debris:AddItem(wpadpath,1)
  888. end
  889. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement