Advertisement
MewGod

Untitled

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