Advertisement
DDDDDtuij

Admin!!!

Aug 4th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.88 KB | None | 0 0
  1. --//----------//----------//----------//----------//----------//----------//----------//----------//----------//----------//--
  2. --// //--
  3. --// _____ _ _ __ __ _ _ _ _ _____ __ __ _____ _ _ //--
  4. --// / ____| | | | | | \/ (_) | | ( ) / ____| \/ | __ \ (_) | | //--
  5. --// | (___ ___| |_| |__ | \ / |_| | | ___ __ ___ __ _ _ __ |/ ___ | | | \ / | | | |___ ___ _ __ _ _ __ | |_ //--
  6. --// \___ \ / _ \ __| '_ \| |\/| | | | |/ / '_ ` _ \ / _` | '_ \ / __| | | | |\/| | | | / __|/ __| '__| | '_ \| __| //--
  7. --// ____) | __/ |_| | | | | | | | | <| | | | | | (_| | | | | \__ \ | |____| | | | |__| \__ \ (__| | | | |_) | |_ //--
  8. --// |_____/ \___|\__|_| |_|_| |_|_|_|_|\_\_| |_| |_|\__,_|_| |_| |___/ \_____|_| |_|_____/|___/\___|_| |_| .__/ \__| //--
  9. --// | | //--
  10. --// |_| //--
  11. --// //--
  12. --//----------//----------//----------//----------//----------//----------//----------//----------//----------//----------//--
  13.  
  14. --// SethMilkman //--
  15.  
  16. --// Credit //--
  17.  
  18. --// SethMilkman // Creating Commands //--
  19. --// Safazi // Lib //--
  20.  
  21. local Player = game.Players.LocalPlayer
  22. local Mouse = Player:GetMouse()
  23. local char = Player.Character
  24.  
  25. local gPlayers = game:GetService('Players')
  26. local admin = gPlayers.LocalPlayer.Name
  27.  
  28. BannedPlayers = {
  29. {['NAME'] = 'LordCrazy13', ['UID'] = '21799524'},
  30. }
  31.  
  32. local admins = {''} --// won't work
  33.  
  34. --// declare services // init stuff //--
  35. local services={}
  36. local cmds={}
  37. local std={}
  38.  
  39. services.players=gPlayers
  40. services.lighting=game:GetService('Lighting')
  41. services.workspace=game:GetService('Workspace')
  42. services.events = {}
  43. local user = gPlayers.LocalPlayer
  44.  
  45. local cmdprefix=';'
  46. local scriptprefix='\\'
  47. local split=' '
  48.  
  49.  
  50. updateevents=function()
  51. for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  52. for i,v in pairs(gPlayers:players())do
  53. local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  54. services.events[#services.events+1] = ev
  55. end
  56. end
  57.  
  58. if game.CoreGui:FindFirstChild('GUI') then
  59. game.CoreGui.GUI:Destroy()
  60. end
  61.  
  62. if game.ContextActionService:FindFirstChild('Data') then
  63. game.ContextActionService.Data:Destroy()
  64. end
  65.  
  66. --// safazi's lib //--
  67.  
  68. std.inTable=function(tbl,val)
  69. if tbl==nil then return false end
  70.  
  71. for _,v in pairs(tbl)do
  72. if v==val then return true end
  73. end
  74. return false
  75. end
  76.  
  77. std.out=function(str)
  78. print(str)
  79. end
  80.  
  81. std.list=function(tbl) --// turns table into list with commas
  82. local str=''
  83. for i,v in pairs(tbl)do
  84. str=str..tostring(v)
  85. if i~=#tbl then str=str..', ' end
  86. end
  87. return str
  88. end
  89.  
  90. std.endat=function(str,val)
  91. local z=str:find(val)
  92. if z then
  93. return str:sub(0,z-string.len(val)),true
  94. else
  95. return str,false
  96. end
  97. end
  98.  
  99. std.first=function(str) return str:sub(1,1) end
  100.  
  101. isAdmin=function(name)
  102. if name==admin then
  103. return true
  104. elseif admins[name]==true then
  105. return true
  106. end
  107. return false
  108. end
  109.  
  110. local exec=function(str)
  111. spawn(function()
  112. local script, loaderr = loadstring(str)
  113. if not script then
  114. error(loaderr)
  115. else
  116. script()
  117. end
  118. end)
  119. end
  120.  
  121. local findCmd=function(cmd_name)
  122. for i,v in pairs(cmds)do
  123. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  124. return v
  125. end
  126. end
  127. end
  128.  
  129. local getCmd=function(msg)
  130. local cmd,hassplit=std.endat(msg:lower(),split)
  131. if hassplit then
  132. return {cmd,true}
  133. else
  134. return {cmd,false}
  135. end
  136. end
  137.  
  138. local getprfx=function(strn)
  139. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  140. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  141. end return
  142. end
  143.  
  144. local getArgs=function(str)
  145. local args={}
  146. local new_arg=nil
  147. local hassplit=nil
  148. local s=str
  149. repeat
  150. new_arg,hassplit=std.endat(s:lower(),split)
  151. if new_arg~='' then
  152. args[#args+1]=new_arg
  153. s=s:sub(string.len(new_arg)+string.len(split)+1)
  154. end
  155. until hassplit==false
  156. return args
  157. end
  158.  
  159. local function execCmd(str, plr)
  160. local s_cmd
  161. local a
  162. local cmd
  163. s_cmd = getCmd(str)
  164. cmd = findCmd(s_cmd[1])
  165. if cmd == nil then return end
  166. a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
  167. local args=getArgs(a)
  168. CapArgs=getCapsArgs(a)
  169.  
  170. pcall(function()
  171. cmd.FUNC(args, plr)
  172. end)
  173. end
  174.  
  175. function do_exec(str,plr)
  176. if not isAdmin(plr.Name)then return end
  177.  
  178. str=str:gsub('/e ','')
  179.  
  180. local t=getprfx(str)
  181. if t==nil then return end
  182. str=str:sub(t[2])
  183. if t[1]=='exec' then
  184. exec(str)
  185. elseif t[1]=='cmd' then
  186. execCmd(str, plr)
  187. end
  188. end
  189.  
  190. updateevents()
  191. _G.exec_cmd = execCmd
  192. --// game.Players.LocalPlayer.Chatted:connect(doexec)
  193.  
  194. local _char=function(plr_name)
  195. for i,v in pairs(game.Players:GetChildren())do
  196. if v:IsA'Player'then
  197. if v.Name==plr_name then return v.Character end
  198. end
  199. end
  200. return
  201. end
  202.  
  203. local _plr=function(plr_name)
  204. for i,v in pairs(game.Players:GetChildren())do
  205. if v:IsA'Player'then
  206. if v.Name==plr_name then return v end
  207. end
  208. end
  209. return
  210. end
  211.  
  212. function addcmd(name,desc,alias,func)
  213. cmds[#cmds+1]=
  214. {
  215. NAME=name;
  216. DESC=desc;
  217. ALIAS=alias;
  218. FUNC=func;
  219. }
  220. end
  221.  
  222. local function getPlayer(name)
  223. local nameTable = {}
  224. name=name:lower()
  225. if name == 'me' then
  226. return {admin}
  227. elseif name == 'others' then
  228. for i,v in pairs(gPlayers:GetChildren()) do
  229. if v:IsA'Player'then
  230. if v.Name~=admin then
  231. nameTable[#nameTable+1]=v.Name
  232. end
  233. end
  234. end
  235. elseif name == 'all' then
  236. for i,v in pairs(gPlayers:GetChildren()) do
  237. if v:IsA'Player'then
  238. nameTable[#nameTable+1]=v.Name
  239. end
  240. end
  241. else
  242. for i,v in pairs(gPlayers:GetChildren()) do
  243. local lname = v.Name:lower()
  244. local i,j = lname:find(name)
  245. if i == 1 then
  246. return {v.Name}
  247. end
  248. end
  249. end
  250. return nameTable
  251. end
  252.  
  253. --// My Stuff //--
  254.  
  255. coroutine.resume(coroutine.create(function()
  256. repeat
  257. wait(0.05)
  258. for i,v in pairs(game.Players:GetChildren()) do
  259. for i,v in pairs(BannedPlayers) do
  260. if BannedPlayers[i].NAME == v.Name or BannedPlayers[i].UID == v.UserId then
  261. v:Remove()
  262. end
  263. end
  264. end
  265. until false
  266. end))
  267.  
  268. getCapsArgs = function(str)
  269. local args = {}
  270. local new_arg = nil
  271. local hassplit = nil
  272. local s = str
  273. repeat
  274. new_arg,hassplit = std.endat(s,split)
  275. if new_arg ~= '' then
  276. args[#args +1 ] = new_arg
  277. s = s:sub(string.len(new_arg)+string.len(split)+1)
  278. end
  279. until hassplit == false
  280. return args
  281. end
  282.  
  283. function getlongstring(lower, startat)
  284. local allargs = ''
  285. for i,ar in pairs(CapArgs) do
  286. if i > startat then
  287. if allargs ~= '' then
  288. allargs = allargs .. ' ' .. ar
  289. else
  290. allargs = allargs .. ar
  291. end
  292. end
  293. end
  294. if lower == false then
  295. return allargs
  296. else
  297. return
  298. string.lower(allargs)
  299. end
  300. end
  301.  
  302. --// Command Bar //--
  303.  
  304. game:GetObjects('http://www.roblox.com/asset/?id=295817093')[1].Parent = game.CoreGui
  305.  
  306. local CMDbar = game.CoreGui.GUI.CMDbar
  307.  
  308. local Version = '1.0.6'
  309.  
  310. local DATA = game:GetObjects('http://www.roblox.com/asset/?id=291592144')[1]
  311. DATA.Parent = game.ContextActionService
  312.  
  313. local NOTIFY = DATA.Notification
  314. NOTIFY.Parent = game.CoreGui
  315.  
  316. wait(0.1)
  317.  
  318. --// CMD List //--
  319.  
  320. CMDs = {
  321. '- ff player',
  322. '- noff player',
  323. '- fire player <r> <g> <b>',
  324. '- nofire player',
  325. '- sp player <r> <g> <b>',
  326. '- nosp player',
  327. '- smoke player',
  328. '- nosmoke player',
  329. '- btools player',
  330. '- god player',
  331. '- sgod player',
  332. '- ungod player',
  333. '- heal player',
  334. '- freeze player',
  335. '- thaw player',
  336. '- kill player',
  337. '- sound <id>',
  338. '- volume <n>',
  339. '- pitch <n>',
  340. '- explode player',
  341. '- invis player',
  342. '- vis player',
  343. '- goto player',
  344. '- bring player',
  345. '- tp player player',
  346. '- char player <id>',
  347. '- ws player <n>',
  348. '- time <n>',
  349. '- kick player',
  350. '- ban player',
  351. '- unlockws',
  352. '- unanchorws',
  353. '- hat player <id>',
  354. '- gear player <id>',
  355. '- pstools player',
  356. '- skick player',
  357. '- admin player',
  358. '- unadmin player',
  359. '- firstp player',
  360. '- thirdp player',
  361. '- chat player <string>',
  362. '- insert <id>',
  363. '- name player <string>',
  364. '- unname player',
  365. '- stun player',
  366. '- unstun player',
  367. '- sit player',
  368. '- guest player',
  369. '- damage player',
  370. '- view player',
  371. '- unview player',
  372. '- nolimbs player',
  373. '- box player <n>',
  374. '- nobox player',
  375. '- ghost player',
  376. '- sphere player',
  377. '- loadmap <id>',
  378. '- sky <id>',
  379. '- ambient <r> <g> <b>',
  380. '- gui',
  381. '- jail player',
  382. '- unjail player',
  383. '- shutdown',
  384. '- animation player',
  385. '- fix player',
  386. '- creeper player',
  387. '- uncreeper player',
  388. '- shrek player',
  389. '- unshrek player',
  390. '- spam <string>',
  391. '- nospam',
  392. '- control player',
  393. '- nuke player',
  394. '- infect player',
  395. '- uninfect player',
  396. '- duck player',
  397. '- unduck player',
  398. '- disable player',
  399. '- enable player',
  400. '- size player <n>',
  401. '- confuse player',
  402. '- unconfuse player',
  403. '- clone player',
  404. '- spin player',
  405. '- unspin player',
  406. '- dog player',
  407. '- undog player',
  408. '- tptool',
  409. '- loopsit player',
  410. '- unloopsit player',
  411. '- loopjump player',
  412. '- unloopjump player',
  413. '- loopheal player',
  414. '- unloopheal player',
  415. '- fling player',
  416. '- ayylmao player',
  417. '- nograv player',
  418. '- grav player',
  419. '- seizure player',
  420. '- unseizure player',
  421. '- cape <n>',
  422. '- uncape',
  423. '- paper player',
  424. '- punish player',
  425. '- unpunish player',
  426. '- disco',
  427. '- undisco',
  428. '- team player',
  429. '- serverlock',
  430. '- unserverlock',
  431. '- change player stat <n>',
  432. '- p§e§n§i§s player',
  433. '- fogend <n>',
  434. '- float player',
  435. '- unfloat player',
  436. '- noclip',
  437. '- clip',
  438. '- prefix <string>',
  439. '- cmds',
  440. '- version',
  441. }
  442.  
  443. local usingNOTE = false
  444.  
  445. function Notify(msg)
  446. if usingNOTE == false then
  447. if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  448. spawn(function()
  449. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.7, 0), 'InOut', 'Quad', 0.5, true, nil)
  450. NOTIFY.NOTIFY.NOTE.Text = msg
  451. usingNOTE = true
  452. wait(2.5)
  453. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, -200, 0.7, 0), 'InOut', 'Quad', 0.5, true, nil)
  454. usingNOTE = false
  455. end)
  456. end
  457. end
  458. end
  459.  
  460. --// Cape Function //--
  461.  
  462. local capeColor = 1012
  463.  
  464. function Cape(playerCaped)
  465.  
  466. if playerCaped.Character:FindFirstChild('Cape') ~= nil then
  467. playerCaped.Character.Cape:Destroy()
  468. end
  469.  
  470. repeat
  471. wait()
  472. until playerCaped and playerCaped.Character and playerCaped.Character:FindFirstChild('Torso')
  473.  
  474. local Torso = playerCaped.Character.Torso
  475.  
  476. local Cape = Instance.new('Part', Torso.Parent)
  477. Cape.Name = 'Cape'
  478. Cape.Anchored = false
  479. Cape.CanCollide = false
  480. Cape.TopSurface = 0
  481. Cape.BottomSurface = 0
  482. Cape.BrickColor = BrickColor.new('' .. capeColor)
  483. Cape.Material = 'Neon'
  484. Cape.formFactor = 'Custom'
  485. Cape.Size = Vector3.new(0.2,0.2,0.2)
  486.  
  487. local msh = Instance.new('BlockMesh', Cape)
  488. msh.Scale = Vector3.new(9,17.5,.5)
  489.  
  490. local motor1 = Instance.new('Motor', Cape)
  491. motor1.Part0 = Cape
  492. motor1.Part1 = Torso
  493.  
  494. motor1.MaxVelocity = 1
  495. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  496. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  497.  
  498. local wave = false
  499.  
  500. repeat wait(1/44)
  501. local ang = 0.2
  502. local oldmag = Torso.Velocity.magnitude
  503. local mv = .1
  504.  
  505. if wave then
  506. ang = ang + ((Torso.Velocity.magnitude/10) * .05) + 1
  507. wave = false
  508. else
  509. wave = false
  510. end
  511. ang = ang + math.min(Torso.Velocity.magnitude/30, 1)
  512. motor1.MaxVelocity = math.min((Torso.Velocity.magnitude/10), .04) + mv
  513. motor1.DesiredAngle = -ang
  514. if motor1.CurrentAngle < -.05 and motor1.DesiredAngle > -.05 then
  515. motor1.MaxVelocity = .04
  516. end
  517. repeat
  518. wait()
  519. until
  520. motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag) >= (Torso.Velocity.magnitude/10) + 1
  521. if Torso.Velocity.magnitude < .1 then
  522. wait(.1)
  523. end
  524. until not Cape or Cape.Parent ~= Torso.Parent
  525. end
  526.  
  527. game.Lighting.Outlines = false --// Outlines are disgusting
  528.  
  529. --// Commands //--
  530.  
  531. addcmd('ff','gives ff to player',{},
  532. function(args)
  533. local players = getPlayer(args[1])
  534. for i,v in pairs(players)do
  535. local pchar=_char(v)
  536. Instance.new('ForceField', pchar)
  537. end
  538. end)
  539.  
  540. addcmd('noff', 'takes away ff from player',{'unff'},
  541. function(args)
  542. local players = getPlayer(args[1])
  543. for i,v in pairs(players)do
  544. local pchar=_char(v)
  545. for j,v1 in pairs(pchar:GetChildren()) do
  546. if v1:IsA('ForceField') then
  547. v1:Destroy()
  548. end
  549. end
  550. end
  551. end)
  552.  
  553. addcmd('fire', 'set a player on fire',{},
  554. function(args)
  555. local players = getPlayer(args[1])
  556. for i,v in pairs(players)do
  557. local pchar=_char(v)
  558. local Fire1 = Instance.new('Fire', pchar.Head)
  559. local Fire2 = Instance.new('Fire', pchar.Torso)
  560. local Fire3 = Instance.new('Fire', pchar['Left Arm'])
  561. local Fire4 = Instance.new('Fire', pchar['Right Arm'])
  562. local Fire5 = Instance.new('Fire', pchar['Left Leg'])
  563. local Fire6 = Instance.new('Fire', pchar['Right Leg'])
  564. Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  565. Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  566. Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  567. Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  568. Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  569. Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  570. Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  571. Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  572. Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  573. Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  574. Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  575. Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  576. end
  577. end)
  578.  
  579. addcmd('nofire', 'extinguish a player',{'unfire'},
  580. function(args)
  581. local players = getPlayer(args[1])
  582. for i,v in pairs(players)do
  583. local pchar=_char(v)
  584. for j,v1 in pairs(pchar.Head:GetChildren()) do
  585. if v1:IsA('Fire') then
  586. v1:Destroy()
  587. end
  588. end
  589. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  590. if v1:IsA('Fire') then
  591. v1:Destroy()
  592. end
  593. end
  594. for j,v1 in pairs(pchar['Left Arm']:GetChildren()) do
  595. if v1:IsA('Fire') then
  596. v1:Destroy()
  597. end
  598. end
  599. for j,v1 in pairs(pchar['Right Arm']:GetChildren()) do
  600. if v1:IsA('Fire') then
  601. v1:Destroy()
  602. end
  603. end
  604. for j,v1 in pairs(pchar['Left Leg']:GetChildren()) do
  605. if v1:IsA('Fire') then
  606. v1:Destroy()
  607. end
  608. end
  609. for j,v1 in pairs(pchar['Right Leg']:GetChildren()) do
  610. if v1:IsA('Fire') then
  611. v1:Destroy()
  612. end
  613. end
  614. end
  615. end)
  616.  
  617. addcmd('sp', 'give a player sparkles',{},
  618. function(args)
  619. local players = getPlayer(args[1])
  620. for i,v in pairs(players)do
  621. local pchar=_char(v)
  622. local Sparkles1 = Instance.new('Sparkles', pchar.Head)
  623. local Sparkles2 = Instance.new('Sparkles', pchar.Torso)
  624. local Sparkles3 = Instance.new('Sparkles', pchar['Left Arm'])
  625. local Sparkles4 = Instance.new('Sparkles', pchar['Right Arm'])
  626. local Sparkles5 = Instance.new('Sparkles', pchar['Left Leg'])
  627. local Sparkles6 = Instance.new('Sparkles', pchar['Right Leg'])
  628. Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  629. Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  630. Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  631. Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  632. Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  633. Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  634. end
  635. end)
  636.  
  637. addcmd('nosp', 'remove sparkles from a player',{'unsp'},
  638. function(args)
  639. local players = getPlayer(args[1])
  640. for i,v in pairs(players)do
  641. local pchar=_char(v)
  642. for j,v1 in pairs(pchar.Head:GetChildren()) do
  643. if v1:IsA('Sparkles') then
  644. v1:Destroy()
  645. end
  646. end
  647. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  648. if v1:IsA('Sparkles') then
  649. v1:Destroy()
  650. end
  651. end
  652. for j,v1 in pairs(pchar['Left Arm']:GetChildren()) do
  653. if v1:IsA('Sparkles') then
  654. v1:Destroy()
  655. end
  656. end
  657. for j,v1 in pairs(pchar['Right Arm']:GetChildren()) do
  658. if v1:IsA('Sparkles') then
  659. v1:Destroy()
  660. end
  661. end
  662. for j,v1 in pairs(pchar['Left Leg']:GetChildren()) do
  663. if v1:IsA('Sparkles') then
  664. v1:Destroy()
  665. end
  666. end
  667. for j,v1 in pairs(pchar['Right Leg']:GetChildren()) do
  668. if v1:IsA('Sparkles') then
  669. v1:Destroy()
  670. end
  671. end
  672. end
  673. end)
  674.  
  675. addcmd('smoke', 'give a player smoke',{},
  676. function(args)
  677. local players = getPlayer(args[1])
  678. for i,v in pairs(players)do
  679. local pchar=_char(v)
  680. Instance.new('Smoke', pchar.Torso)
  681. end
  682. end)
  683.  
  684. addcmd('nosmoke', 'remove smoke from a player',{},
  685. function(args)
  686. local players = getPlayer(args[1])
  687. for i,v in pairs(players)do
  688. local pchar=_char(v)
  689. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  690. if v1:IsA('Smoke') then
  691. v1:Destroy()
  692. end
  693. end
  694. end
  695. end)
  696.  
  697. addcmd('btools', 'gives a player btools',{},
  698. function(args)
  699. local players = getPlayer(args[1])
  700. if players ~= nil then
  701. for i, v in pairs(players) do
  702. Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 2
  703. Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 3
  704. Instance.new('HopperBin', gPlayers[v].Backpack).BinType = 4
  705. end
  706. end
  707. end)
  708.  
  709. addcmd('god', 'gods player',{},
  710. function(args)
  711. local players = getPlayer(args[1])
  712. for i,v in pairs(players)do
  713. local pchar=_char(v)
  714. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  715. end
  716. end)
  717.  
  718. addcmd('sgod', 'silently gods player',{},
  719. function(args)
  720. local players = getPlayer(args[1])
  721. for i,v in pairs(players)do
  722. local pchar=_char(v)
  723. spawn(function()
  724. pchar.Humanoid.MaxHealth = 10000000
  725. wait()
  726. pchar.Humanoid.Health = 10000000
  727. end)
  728. end
  729. end)
  730.  
  731. addcmd('ungod', 'removes god from a player',{},
  732. function(args)
  733. local players = getPlayer(args[1])
  734. for i,v in pairs(players)do
  735. local pchar=_char(v)
  736. if pchar then
  737. pchar.Humanoid.MaxHealth=100
  738. pchar.Humanoid.Health=100
  739. end
  740. end
  741. end)
  742.  
  743. addcmd('heal', 'resets a players health',{},
  744. function(args)
  745. local players = getPlayer(args[1])
  746. for i,v in pairs(players)do
  747. local pchar=_char(v)
  748. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  749. end
  750. end)
  751.  
  752. addcmd('frz', 'freezes a player',{'freeze'},
  753. function(args)
  754. local players = getPlayer(args[1])
  755. if players ~= nil then
  756. for i, v in pairs(players) do
  757. _char(v).Torso.Anchored = true
  758. end
  759. end
  760. end)
  761.  
  762. addcmd('thaw', 'freezes a player',{},
  763. function(args)
  764. local players = getPlayer(args[1])
  765. if players ~= nil then
  766. for i, v in pairs(players) do
  767. _char(v).Torso.Anchored = false
  768. end
  769. end
  770. end)
  771.  
  772. addcmd('kill', 'kills a player',{},
  773. function(args)
  774. local players = getPlayer(args[1])
  775. for i,v in pairs(players)do
  776. local pchar=_char(v)
  777. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  778. end
  779. end)
  780.  
  781. addcmd('sound', 'plays a sound',{},
  782. function(args)
  783. local function dels(instance)
  784. for i,v in pairs(instance:GetChildren())do
  785. if v:IsA'Sound'then v:Destroy()end
  786. dels(v)
  787. end
  788. end
  789. dels(workspace)
  790.  
  791. local c = args[1] or 'stop'
  792. if std.inTable({'stop'}, c:lower()) then return end
  793. local s = Instance.new('Sound', workspace)
  794. s.Name = 'DuckSong'
  795. s.Looped = true
  796. s.SoundId = 'rbxassetid://' .. c
  797. s.Volume = 1
  798. s:Play()
  799. end)
  800.  
  801. addcmd('volume','changes volume of sound',{},
  802. function(args)
  803. for i,v in pairs(game.Workspace:GetChildren())do
  804. if v:IsA('Sound') and v.Name == 'DuckSong' then
  805. v.Volume = args[1]
  806. end
  807. end
  808. end)
  809.  
  810. addcmd('pitch','changes pitch of sound',{},
  811. function(args)
  812. for i,v in pairs(game.Workspace:GetChildren())do
  813. if v:IsA('Sound') and v.Name == 'DuckSong' then
  814. v.Pitch = args[1]
  815. end
  816. end
  817. end)
  818.  
  819. addcmd('explode', 'explode a player', {},
  820. function(args)
  821. local players = getPlayer(args[1])
  822. for i, v in pairs(players) do
  823. local char = _char(v)
  824. if char:FindFirstChild('Torso') then
  825. Instance.new('Explosion', char).Position = char.Torso.Position
  826. end
  827. end
  828. end)
  829.  
  830. addcmd('invis', 'make a player invisible',{},
  831. function(args)
  832. local players = getPlayer(args[1])
  833. for i, v in pairs(players) do
  834. for k, v2 in pairs(_char(v):GetChildren()) do
  835. if v2.className == 'Part' then
  836. if v2.Name ~= 'HumanoidRootPart' then v2.Transparency = 1 end
  837. elseif v2.className == 'Hat' then
  838. if v2:FindFirstChild('Handle') then
  839. v2.Handle.Transparency = 1
  840. end
  841. end
  842. if v2:FindFirstChild('face') then
  843. v2.face:Destroy()
  844. end
  845. end
  846. end
  847. end)
  848.  
  849. addcmd('vis', 'make a player visible',{},
  850. function(args)
  851. local players = getPlayer(args[1])
  852. for i, v in pairs(players) do
  853. for k, v2 in pairs(_char(v):GetChildren()) do
  854. if v2.className == 'Part' then
  855. if v2.Name ~= 'HumanoidRootPart' then v2.Transparency = 0 end
  856. elseif v2.className == 'Hat' then
  857. if v2:FindFirstChild('Handle') then v2.Handle.Transparency = 0 end
  858. end
  859. if v2:FindFirstChild('face') then
  860. v2.face:Destroy()
  861. end
  862. end
  863. end
  864. end)
  865.  
  866. addcmd('goto', 'go to a player',{},
  867. function(args)
  868. local players = getPlayer(args[1])
  869. if players ~= nil and _char(players[1]):FindFirstChild('HumanoidRootPart') then
  870. _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  871. end
  872. end)
  873.  
  874. addcmd('bring', 'bring a player to you',{},
  875. function(args)
  876. local players = getPlayer(args[1])
  877. for i,v in pairs(players) do
  878. if _char(v):FindFirstChild('HumanoidRootPart') then
  879. _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  880. end
  881. end
  882. end)
  883.  
  884. addcmd('tp', 'teleport player 1 to player 2',{},
  885. function(args)
  886. local players1=getPlayer(args[1])
  887. local players2=getPlayer(args[2])
  888. if not players2[1] then return end
  889. for i,v in pairs(players1) do
  890. if _char(v):FindFirstChild('HumanoidRootPart') and _char(players2[1]):FindFirstChild('HumanoidRootPart') then
  891. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  892. end
  893. end
  894. end)
  895.  
  896. addcmd('char', 'change a players appearance',{'charapp'},
  897. function(args)
  898. local players = getPlayer(args[1])
  899. if not args[1]or not args[2]then return end
  900. local id=args[2]
  901. if players ~= nil then
  902. for i,v in pairs(players) do
  903. gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId='..id
  904. if _char(v):FindFirstChild('Head') then
  905. _char(v).Head:Destroy()
  906. end
  907. end
  908. end
  909. end)
  910.  
  911. addcmd('ws', 'change a players walkspeed',{},
  912. function(args)
  913. local players = getPlayer(args[1])
  914. if not args[1]or not args[2]then return end
  915. local num=args[2]
  916. for i,v in pairs(players) do
  917. if _char(v):FindFirstChild('Humanoid') then
  918. _char(v).Humanoid.WalkSpeed=tonumber(num)
  919. end
  920. end
  921. end)
  922.  
  923. addcmd('time', 'change the time of day',{},
  924. function(args)
  925. if not args[1]then return end
  926. local time_=tonumber(args[1])
  927.  
  928. game.Lighting:SetMinutesAfterMidnight(time_*60)
  929. end)
  930.  
  931. addcmd('kick', 'kick a player',{},
  932. function(args)
  933. local players = getPlayer(args[1])
  934. for i,v in pairs(players) do
  935. Notify('Kicked ' .. gPlayers[v].Name)
  936. gPlayers[v]:Destroy()
  937. end
  938. end)
  939.  
  940. addcmd('ban','ban a player',{},
  941. function(args)
  942. local players=getPlayer(args[1])
  943. for i,v in pairs(players) do
  944. gPlayers[v]:Destroy()
  945. bannedplyrs[#bannedplyrs + 1] = v
  946. gPlayers[v].Character:Destroy()
  947. Notify('Banned' .. gPlayers[v].Name)
  948. end
  949. end)
  950.  
  951. addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
  952. function(args)
  953. local function unlock(instance)
  954. for i,v in pairs(instance:GetChildren()) do
  955. if v:IsA('BasePart') then
  956. v.Locked = false
  957. end
  958. unlock(v)
  959. end
  960. end
  961. unlock(workspace)
  962. end)
  963.  
  964. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  965. function(args)
  966. local function unanchor(instance)
  967. for i,v in pairs(instance:GetChildren()) do
  968. if v:IsA('BasePart') then
  969. v.Anchored=false
  970. end
  971. unanchor(v)
  972. end
  973. end
  974. unanchor(workspace)
  975. end)
  976.  
  977. addcmd('hat', 'give player a hat ingame',{},
  978. function(args)
  979. if not args[1] or not args[2] then return end
  980. local players = getPlayer(args[1])
  981. local id=args[2]
  982. local hat = game:GetObjects('rbxassetid://'..id)[1]
  983. if hat:IsA('Hat') then
  984. for i,v in pairs(players) do
  985. hat:clone().Parent = _char(v)
  986. end
  987. end
  988. hat:Destroy()
  989. end)
  990.  
  991. addcmd('gear', 'give player a gear ingame',{},
  992. function(args)
  993. spawn(function()
  994. if not args[1] or not args[2] then return end
  995. local players = getPlayer(args[1])
  996. local id=args[2]
  997. local model = game:GetService('InsertService'):LoadAsset(id)
  998. for i,v in pairs(players) do
  999. for _,j in pairs(model:GetChildren()) do
  1000. if j:IsA('Tool') then
  1001. j:Clone().Parent = gPlayers[v].Backpack
  1002. end
  1003. end
  1004. end
  1005. model:Destroy()
  1006. end)
  1007. end)
  1008.  
  1009. addcmd('pstools', 'give player personal server tools',{},
  1010. function(args)
  1011. local players = getPlayer(args[1])
  1012. for i,v in pairs(players) do
  1013. gPlayers[v].PersonalServerRank = 240
  1014. end
  1015. end)
  1016.  
  1017. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  1018. function(args)
  1019. local players = getPlayer(args[1])
  1020. for i,v in pairs(players) do
  1021. spawn(function()
  1022. gPlayers[v].PersonalServerRank = 240
  1023. gPlayers[v].Backpack:WaitForChild('ClassicTool')
  1024. gPlayers[v].PersonalServerRank = 0
  1025. end)
  1026. end
  1027. end)
  1028.  
  1029. addcmd('admin','gives a player admin',{},
  1030. function(args)
  1031. if not args[1]then return end
  1032. local players=getPlayer(args[1])
  1033. table.foreach(players,function(k,v)
  1034. admins[v]=true
  1035. end)
  1036. end)
  1037.  
  1038. addcmd('unadmin','removes a players admin',{},
  1039. function(args)
  1040. if not args[1] then return end
  1041. local players=getPlayer(args[1])
  1042. table.foreach(players,function(k,v)
  1043. admins[v]=nil
  1044. end)
  1045. end)
  1046.  
  1047. addcmd('firstp', 'forces player to go into first person',{},
  1048. function(args)
  1049. local players = getPlayer(args[1])
  1050. for i,v in pairs(players)do
  1051. gPlayers[v].CameraMode = 'LockFirstPerson'
  1052. end
  1053. end)
  1054.  
  1055. addcmd('thirdp', 'allows player to go into third person',{},
  1056. function(args)
  1057. local players = getPlayer(args[1])
  1058. for i,v in pairs(players)do
  1059. gPlayers[v].CameraMode = 'Classic'
  1060. end
  1061. end)
  1062.  
  1063. addcmd('chat', 'forces player to chat what you input',{},
  1064. function(args)
  1065. local players = getPlayer(args[1])
  1066. for i,v in pairs(players)do
  1067. game.Chat:Chat(gPlayers[v].Character.Head, getlongstring(false, 1))
  1068. end
  1069. end)
  1070.  
  1071. addcmd('insert', 'inserts a model',{},
  1072. function(args)
  1073. local model = game:GetObjects('http://www.roblox.com/asset/?id='..(args[1]))[1]
  1074. model.Parent = game.Workspace
  1075. model:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  1076. model:MakeJoints()
  1077. end)
  1078.  
  1079. addcmd('name', 'names player',{},
  1080. function(args)
  1081. local players = getPlayer(args[1])
  1082. local name = getlongstring(false, 1)
  1083. for i,v in pairs(players) do
  1084. for a, mod in pairs(gPlayers[v].Character:children()) do
  1085. if mod:FindFirstChild('TAG') then
  1086. gPlayers[v].Character.Head.Transparency = 0
  1087. mod:Destroy()
  1088. end
  1089. end
  1090.  
  1091. local char = gPlayers[v].Character
  1092. local model = Instance.new('Model', char)
  1093. local clone = char.Head:Clone()
  1094. local hum = Instance.new('Humanoid', model)
  1095. local weld = Instance.new('Weld', clone)
  1096. model.Name = name
  1097. clone.Parent = model
  1098. hum.Name = 'TAG'
  1099. hum.MaxHealth = 100
  1100. hum.Health = 100
  1101. weld.Part0 = clone
  1102. weld.Part1 = char.Head
  1103. char.Head.Transparency = 1
  1104. end
  1105. end)
  1106.  
  1107. addcmd('unname', 'unnames player',{},
  1108. function(args)
  1109. local players = getPlayer(args[1])
  1110. local name = (args[2])
  1111. for i,v in pairs(players) do
  1112. for a, mod in pairs(gPlayers[v].Character:children()) do
  1113. if mod:FindFirstChild('TAG') then
  1114. gPlayers[v].Character.Head.Transparency = 0
  1115. mod:Destroy()
  1116. end
  1117. end
  1118. end
  1119. end)
  1120.  
  1121. addcmd('stun', 'stuns player',{},
  1122. function(args)
  1123. local players = getPlayer(args[1])
  1124. for i,v in pairs(players) do
  1125. gPlayers[v].Character.Humanoid.PlatformStand = true
  1126. end
  1127. end)
  1128.  
  1129. addcmd('unstun', 'stuns player',{},
  1130. function(args)
  1131. local players = getPlayer(args[1])
  1132. for i,v in pairs(players) do
  1133. gPlayers[v].Character.Humanoid.PlatformStand = false
  1134. end
  1135. end)
  1136.  
  1137. addcmd('sit', 'stuns player',{},
  1138. function(args)
  1139. local players = getPlayer(args[1])
  1140. for i,v in pairs(players) do
  1141. gPlayers[v].Character.Humanoid.Sit = true
  1142. end
  1143. end)
  1144.  
  1145. addcmd('guest', 'ew a guest',{},
  1146. function(args)
  1147. local players = getPlayer(args[1])
  1148. for i,v in pairs(players) do
  1149. gPlayers[v].CharacterAppearance = 'http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1'
  1150. gPlayers[v].Character:BreakJoints()
  1151. end
  1152. end)
  1153.  
  1154. addcmd('damage', 'damages a player',{},
  1155. function(args)
  1156. local players = getPlayer(args[1])
  1157. for i,v in pairs(players) do
  1158. gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  1159. end
  1160. end)
  1161.  
  1162. addcmd('view', 'views player',{},
  1163. function(args)
  1164. local players = getPlayer(args[1])
  1165. for i,v in pairs(players) do
  1166. game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  1167. end
  1168. end)
  1169.  
  1170. addcmd('unview', 'stops viewing player',{},
  1171. function()
  1172. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  1173. end)
  1174.  
  1175. addcmd('nolimbs', 'removes limbs from player',{},
  1176. function(args)
  1177. local players = getPlayer(args[1])
  1178. for i,v in pairs(players) do
  1179. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  1180. if v:IsA('BasePart') and
  1181. v.Name == 'Right Leg' or
  1182. v.Name == 'Left Leg' or
  1183. v.Name == 'Right Arm' or
  1184. v.Name == 'Left Arm' then
  1185. v:Remove()
  1186. end
  1187. end
  1188. end
  1189. end)
  1190.  
  1191. addcmd('box', 'creates a box around player',{},
  1192. function(args)
  1193. local players = getPlayer(args[1])
  1194. for i,v in pairs(players)do
  1195. local pchar=_char(v)
  1196. local SB = Instance.new('SelectionBox', pchar)
  1197. SB.Adornee = SB.Parent
  1198. SB.Color = BrickColor.new('' .. (args[2]))
  1199. end
  1200. end)
  1201.  
  1202. addcmd('nobox', 'takes away box from player',{'unbox'},
  1203. function(args)
  1204. local players = getPlayer(args[1])
  1205. for i,v in pairs(players)do
  1206. local pchar=_char(v)
  1207. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  1208. if v:IsA('SelectionBox') then
  1209. v:Destroy()
  1210. end
  1211. end
  1212. end
  1213. end)
  1214.  
  1215. addcmd('ghost', 'ghostifys player',{},
  1216. function(args)
  1217. local players = getPlayer(args[1])
  1218. for i,v in pairs(players)do
  1219. local pchar=gPlayers[v].Character
  1220. pchar.Head.Transparency = 0.5
  1221. pchar.Torso.Transparency = 0.5
  1222. pchar['Left Arm'].Transparency = 0.5
  1223. pchar['Right Arm'].Transparency = 0.5
  1224. pchar['Left Leg'].Transparency = 0.5
  1225. pchar['Right Leg'].Transparency = 0.5
  1226. end
  1227. end)
  1228.  
  1229. addcmd('sphere', 'puts sphere around player',{},
  1230. function(args)
  1231. local players = getPlayer(args[1])
  1232. for i,v in pairs(players)do
  1233. local pchar=gPlayers[v].Character
  1234. local SS = Instance.new('SelectionSphere', pchar)
  1235. SS.Adornee = SS.Parent
  1236. end
  1237. end)
  1238.  
  1239. addcmd('loadmap','loads map from model',{},
  1240. function(args)
  1241. pcall(function()
  1242. for i,v in pairs(workspace:GetChildren()) do
  1243. if v.Name~='Camera' and v.Name~='Terrain' then
  1244. v:Destroy()
  1245. end
  1246. end
  1247. workspace.Terrain:Clear()
  1248. for i,v in pairs(game.Players:GetChildren()) do
  1249. local plr = v
  1250. local prt = Instance.new('Model', workspace)
  1251. Instance.new('Part', prt).Name='Torso'
  1252. Instance.new('Part', prt).Name='Head'
  1253. Instance.new('Humanoid', prt).Name='Humanoid'
  1254. plr.Character = prt
  1255. end
  1256. if (args[1]) == 'sfotho' then
  1257. local b = game:GetObjects('http://www.roblox.com/asset/?id=296400126')[1]
  1258. b.Parent = game.Workspace
  1259. b:MakeJoints()
  1260. end
  1261. local b = game:GetObjects('http://www.roblox.com/asset/?id='..(args[1]))[1]
  1262. b.Parent = game.Workspace
  1263. b:MakeJoints()
  1264. end)
  1265. Notify('Loaded Map')
  1266. end)
  1267.  
  1268. addcmd('sky','changes skybox',{},
  1269. function(args)
  1270. pcall(function()
  1271. local ID = (args[1])
  1272. local sky = Instance.new('Sky', game.Lighting)
  1273. sky.SkyboxBk = 'rbxassetid://' .. ID
  1274. sky.SkyboxDn = 'rbxassetid://' .. ID
  1275. sky.SkyboxFt = 'rbxassetid://' .. ID
  1276. sky.SkyboxLf = 'rbxassetid://' .. ID
  1277. sky.SkyboxRt = 'rbxassetid://' .. ID
  1278. sky.SkyboxUp = 'rbxassetid://' .. ID
  1279. end)
  1280. end)
  1281.  
  1282. addcmd('ambient','changes ambient',{},
  1283. function(args)
  1284. game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  1285. end)
  1286.  
  1287. addcmd('gui','gives YourMom GUI',{},
  1288. function(args)
  1289. loadstring(game:GetObjects('rbxassetid://289110135')[1].Source)()
  1290. end)
  1291.  
  1292. addcmd('jail','jails player',{},
  1293. function(args)
  1294. local players = getPlayer(args[1])
  1295. for i,v in pairs(players)do
  1296. local pchar=gPlayers[v].Character
  1297. local JailPlayer = DATA.JAIL:Clone()
  1298. JailPlayer.Parent = game.Workspace
  1299. JailPlayer:MoveTo(pchar.Torso.Position)
  1300. JailPlayer.Name = 'JAIL_' .. gPlayers[v].Name
  1301. if pchar:FindFirstChild('HumanoidRootPart') then
  1302. pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
  1303. end
  1304. end
  1305. end)
  1306.  
  1307. addcmd('unjail','unjails player',{},
  1308. function(args)
  1309. local players = getPlayer(args[1])
  1310. for i,v in pairs(players)do
  1311. game.Workspace['JAIL_' .. gPlayers[v].Name]:Destroy()
  1312. end
  1313. end)
  1314.  
  1315. addcmd('shutdown', 'shuts the server down',{},
  1316. function(args)
  1317. local function ShutDown(Base)
  1318. for i,v in pairs(Base:GetChildren()) do
  1319. v:Destroy()
  1320. end
  1321. end
  1322. ShutDown(game.Players)
  1323. end)
  1324.  
  1325. addcmd('animation','makes player animate',{'anim'},
  1326. function(args)
  1327. local players = getPlayer(args[1])
  1328. for i,v in pairs(players)do
  1329. local pchar = gPlayers[v].Character
  1330. local ID = args[2]
  1331.  
  1332. if args[2] == 'climb' then
  1333. ID = '180436334'
  1334. end
  1335. if args[2] == 'fall' then
  1336. ID = '180436148'
  1337. end
  1338. if args[2] == 'jump' then
  1339. ID = '125750702'
  1340. end
  1341. if args[2] == 'sit' then
  1342. ID = '178130996'
  1343. end
  1344. for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  1345. if x:IsA('StringValue') then
  1346. for _,c in pairs(x:GetChildren()) do
  1347. if c:IsA('Animation') then
  1348. c.AnimationId = 'rbxassetid://' .. ID
  1349. end
  1350. end
  1351. end
  1352. end
  1353. end
  1354. end)
  1355.  
  1356. addcmd('fix','turns player back to normal',{},
  1357. function(args)
  1358. local players = getPlayer(args[1])
  1359. for i,v in pairs(players)do
  1360. local pchar = gPlayers[v].Character
  1361.  
  1362. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1363. pchar.Torso['Right Shoulder'].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  1364. pchar.Torso['Left Shoulder'].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  1365. pchar.Torso['Right Hip'].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  1366. pchar.Torso['Left Hip'].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  1367.  
  1368. for i,v in pairs(pchar.Head:GetChildren()) do
  1369. if v:IsA('SpecialMesh') then
  1370. v:Destroy()
  1371. end
  1372. end
  1373.  
  1374. if Player.Character:FindFirstChild('Shirt') ~= nil then
  1375. Player.Character.Shirt:Destroy()
  1376. end
  1377. if Player.Character:FindFirstChild('Pants') ~= nil then
  1378. Player.Character.Pants:Destroy()
  1379. end
  1380. if Player.Character:FindFirstChild('Shirt Graphic') ~= nil then
  1381. Player.Character['Shirt Graphic'].Graphic = ''
  1382. end
  1383.  
  1384. local HeadMesh = Instance.new('SpecialMesh', pchar.Head)
  1385. HeadMesh.MeshType = 'Head'
  1386. HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  1387.  
  1388. Player.Character['Body Colors'].HeadColor = BrickColor.new('Cool yellow')
  1389. Player.Character['Body Colors'].LeftArmColor = BrickColor.new('Cool yellow')
  1390. Player.Character['Body Colors'].LeftLegColor = BrickColor.new('Medium blue')
  1391. Player.Character['Body Colors'].RightArmColor = BrickColor.new('Cool yellow')
  1392. Player.Character['Body Colors'].RightLegColor = BrickColor.new('Medium blue')
  1393. Player.Character['Body Colors'].TorsoColor = BrickColor.new('Bright blue')
  1394. for _,v in pairs(Player.Character:GetChildren()) do
  1395. if v:IsA('Hat') then
  1396. v:Destroy()
  1397. end
  1398. end
  1399. end
  1400. end)
  1401.  
  1402. addcmd('creeper','make the player a creeper',{'crpr'},
  1403. function(args)
  1404. local players = getPlayer(args[1])
  1405. for i,v in pairs(players)do
  1406. local pchar = gPlayers[v].Character
  1407. if gPlayers[v] and pchar and pchar:findFirstChild('Torso') then
  1408. if pchar:FindFirstChild('Shirt') then
  1409. pchar.Shirt.Parent = pchar.Torso
  1410. end
  1411. if pchar:FindFirstChild('Pants') then
  1412. pchar.Pants.Parent = pchar.Torso
  1413. end
  1414. if pchar:FindFirstChild('Shirt Graphic') then
  1415. pchar['Shirt Graphic'].Graphic = ''
  1416. end
  1417. for i,v in pairs(pchar:GetChildren()) do
  1418. if v:IsA('Hat') then
  1419. v:Destroy()
  1420. end
  1421. end
  1422. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1423. pchar.Torso['Right Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  1424. pchar.Torso['Left Shoulder'].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  1425. pchar.Torso['Right Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  1426. pchar.Torso['Left Hip'].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  1427. pchar['Body Colors'].HeadColor = BrickColor.new('Bright green')
  1428. pchar['Body Colors'].LeftArmColor = BrickColor.new('Bright green')
  1429. pchar['Body Colors'].LeftLegColor = BrickColor.new('Bright green')
  1430. pchar['Body Colors'].RightArmColor = BrickColor.new('Bright green')
  1431. pchar['Body Colors'].RightLegColor = BrickColor.new('Bright green')
  1432. pchar['Body Colors'].TorsoColor = BrickColor.new('Bright green')
  1433. end
  1434. end
  1435. end)
  1436.  
  1437. addcmd('uncreeper','makes player back to normal',{},
  1438. function(args)
  1439. local players = getPlayer(args[1])
  1440. for i,v in pairs(players)do
  1441. execCmd('fix' .. gPlayers[v], Player)
  1442. end
  1443. end)
  1444.  
  1445. addcmd('shrek', 'makes player shrek',{},
  1446. function(args)
  1447. local players = getPlayer(args[1])
  1448. for i,v in pairs(players) do
  1449. local pchar = gPlayers[v].Character
  1450. for i,v in pairs(pchar:GetChildren()) do
  1451. if v:IsA('Hat') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') then
  1452. v:Destroy()
  1453. end
  1454. end
  1455. for i,v in pairs(pchar.Head:GetChildren()) do
  1456. if v:IsA('Decal') or v:IsA('SpecialMesh')then
  1457. v:Destroy()
  1458. end
  1459. end
  1460.  
  1461. local mesh = Instance.new('SpecialMesh', pchar.Head)
  1462. mesh.MeshType = 'FileMesh'
  1463. pchar.Head.Mesh.MeshId = 'http://www.roblox.com/asset/?id=19999257'
  1464. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  1465. pchar.Head.Mesh.TextureId = 'http://www.roblox.com/asset/?id=156397869'
  1466.  
  1467. local Shirt = Instance.new('Shirt', gPlayers[v].Character)
  1468. local Pants = Instance.new('Pants', gPlayers[v].Character)
  1469.  
  1470. Shirt.ShirtTemplate = 'rbxassetid://133078194'
  1471. Pants.PantsTemplate = 'rbxassetid://133078204'
  1472. end
  1473. end)
  1474.  
  1475. addcmd('unshrek','makes player back to normal',{},
  1476. function(args)
  1477. local players = getPlayer(args[1])
  1478. for i,v in pairs(players)do
  1479. execCmd('fix' .. gPlayers[v], Player)
  1480. end
  1481. end)
  1482.  
  1483. local Spamming = false
  1484.  
  1485. addcmd('spam','spams text',{},
  1486. function(args)
  1487. Spamming = true
  1488. spawn(function()
  1489. while wait(0) do
  1490. if Spamming == true then
  1491. while wait(0.1) do
  1492. if Spamming == true then
  1493. game.Players:Chat('' .. getlongstring(false, 1))
  1494. elseif Spamming == false then
  1495. return
  1496. end
  1497. end
  1498. end
  1499. end
  1500. end)
  1501. end)
  1502.  
  1503. addcmd('nospam','stops spamming',{},
  1504. function(args)
  1505. Spamming = false
  1506. end)
  1507.  
  1508. addcmd('control','controls player',{},
  1509. function(args)
  1510. local players = getPlayer(args[1])
  1511. for i,v in pairs(players)do
  1512. local pchar = gPlayers[v].Character
  1513. if gPlayers[v] and pchar then
  1514. pchar.Humanoid.PlatformStand = true
  1515. local w = Instance.new('Weld', Player.Character.Torso)
  1516. w.Part0 = Player.Character.Torso
  1517. w.Part1 = pchar.Torso
  1518. local w2 = Instance.new('Weld', Player.Character.Head)
  1519. w2.Part0 = Player.Character.Head
  1520. w2.Part1 = pchar.Head
  1521. local w3 = Instance.new('Weld', Player.Character:findFirstChild('Right Arm'))
  1522. w3.Part0 = Player.Character:findFirstChild('Right Arm')
  1523. w3.Part1 = pchar:findFirstChild('Right Arm')
  1524. local w4 = Instance.new('Weld', Player.Character:findFirstChild('Left Arm'))
  1525. w4.Part0 = Player.Character:findFirstChild('Left Arm')
  1526. w4.Part1 = pchar:findFirstChild('Left Arm')
  1527. local w5 = Instance.new('Weld', Player.Character:findFirstChild('Right Leg'))
  1528. w5.Part0 = Player.Character:findFirstChild('Right Leg')
  1529. w5.Part1 = pchar:findFirstChild('Right Leg')
  1530. local w6 = Instance.new('Weld', Player.Character:findFirstChild('Left Leg'))
  1531. w6.Part0 = Player.Character:findFirstChild('Left Leg')
  1532. w6.Part1 = pchar:findFirstChild('Left Leg')
  1533. char.Head.face:Destroy()
  1534. for i,v in pairs(pchar:GetChildren()) do
  1535. if v:IsA('BasePart') then
  1536. v.CanCollide = false
  1537. end
  1538. end
  1539. for i,v in pairs(char:GetChildren()) do
  1540. if v:IsA('BasePart') then
  1541. v.Transparency = 1
  1542. elseif v:IsA('Hat') then
  1543. v:Destroy()
  1544. end
  1545. end
  1546. pchar.Parent = char
  1547. pchar.Humanoid.Changed:connect(function()
  1548. pchar.Humanoid.PlatformStand = true
  1549. end)
  1550. end
  1551. end
  1552. end)
  1553.  
  1554. addcmd('nuke','nukes player',{},
  1555. function(args)
  1556. local players = getPlayer(args[1])
  1557. for i,v in pairs(players)do
  1558. local pchar = gPlayers[v].Character
  1559. if gPlayers[v] and pchar and pchar:FindFirstChild('Torso') then
  1560. local nuke = Instance.new('Part', game.Workspace)
  1561. nuke.Anchored = true
  1562. nuke.CanCollide = false
  1563. nuke.FormFactor = 'Symmetric'
  1564. nuke.Shape = 'Ball'
  1565. nuke.Size = Vector3.new(1,1,1)
  1566. nuke.BrickColor = BrickColor.new('New Yeller')
  1567. nuke.Transparency = 0.5
  1568. nuke.Reflectance = 0.2
  1569. nuke.TopSurface = 0
  1570. nuke.BottomSurface = 0
  1571. nuke.Touched:connect(function (hit)
  1572. if hit and hit.Parent then
  1573. local boom = Instance.new('Explosion', game.Workspace)
  1574. boom.Position = hit.Position
  1575. boom.BlastRadius = 11
  1576. boom.BlastPressure = math.huge
  1577. end
  1578. end)
  1579. local CF = pchar.Torso.CFrame
  1580. nuke.CFrame = CF
  1581. for i = 1,333 do
  1582. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  1583. nuke.CFrame = CF
  1584. wait(1/44)
  1585. end
  1586. nuke:Destroy()
  1587. end
  1588. end
  1589. end)
  1590.  
  1591. addcmd('infect','infects player',{},
  1592. function(args)
  1593. local players = getPlayer(args[1])
  1594. for i,v in pairs(players)do
  1595. function infect(rip)
  1596. local pchar = gPlayers[v].Character
  1597. for i,v in pairs(pchar:GetChildren()) do
  1598. if v:IsA('Hat') or v:IsA('Shirt') or v:IsA('Pants') then
  1599. v:Destroy()
  1600. end
  1601. end
  1602. if pchar.Torso:FindFirstChild('roblox') then
  1603. pchar.Torso.roblox:Destroy()
  1604. end
  1605. if pchar.Head:FindFirstChild('face') then
  1606. pchar.Head.face.Texture = 'http://www.roblox.com/asset/?id=94634491'
  1607. end
  1608. if pchar:FindFirstChild('Body Colors') then
  1609. local Colors = pchar['Body Colors']
  1610. local Skin = BrickColor.new('Pastel green')
  1611. local Clothes = BrickColor.new('Reddish brown')
  1612. Colors.HeadColor = Skin
  1613. Colors.LeftArmColor = Skin
  1614. Colors.RightArmColor = Skin
  1615. Colors.LeftLegColor = Clothes
  1616. Colors.RightLegColor = Clothes
  1617. Colors.TorsoColor = Clothes
  1618. end
  1619. local w1 = Instance.new('Weld', pchar)
  1620. w1.Part0 = pchar['Right Arm']
  1621. w1.Part1 = pchar.Torso
  1622. w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  1623. local w2 = Instance.new('Weld', pchar)
  1624. w2.Part0 = pchar['Left Arm']
  1625. w2.Part1 = pchar.Torso
  1626. w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  1627. local rip = false
  1628. local connect1 = pchar['Left Arm'].Touched:connect(function(hit)
  1629. if connect1 == false then
  1630. connect1 = true
  1631. if game.Players:FindFirstChild(hit.Parent.Name) then
  1632. infect(game.Players[hit.Parent.Name])
  1633. end
  1634. wait(0.5)
  1635. connect1 = true
  1636. end
  1637. end)
  1638. local connect2 = pchar['Right Arm'].Touched:connect(function(hit)
  1639. if connect2 == false then
  1640. connect2 = true
  1641. if game.Players:FindFirstChild(hit.Parent.Name) then
  1642. infect(game.Players[hit.Parent.Name])
  1643. end
  1644. wait(0.5)
  1645. connect2 = true
  1646. end
  1647. end)
  1648. local IV = Instance.new('IntValue', pchar)
  1649. IV.Name = 'Infected'
  1650. IV.Value = 0
  1651. IV.Changed:connect(function()
  1652. connect1:disconnect()
  1653. connect2:disconnect()
  1654. end)
  1655. end
  1656. infect(v)
  1657. end
  1658. end)
  1659.  
  1660. addcmd('uninfect','makes player back to normal',{},
  1661. function(args)
  1662. local players = getPlayer(args[1])
  1663. for i,v in pairs(players)do
  1664. execCmd('fix' .. gPlayers[v], Player)
  1665. end
  1666. end)
  1667.  
  1668. addcmd('duck','makes players head a duck',{},
  1669. function(args)
  1670. local players = getPlayer(args[1])
  1671. for i,v in pairs(players)do
  1672. local pchar = gPlayers[v].Character
  1673. for i,v in pairs(pchar.Torso:GetChildren()) do
  1674. if v:IsA('Decal') then
  1675. v:Destroy()
  1676. end
  1677. end
  1678. for i,v in pairs(pchar:GetChildren()) do
  1679. if v:IsA('Hat') then
  1680. v:Destroy()
  1681. end
  1682. end
  1683. for i,v in pairs(pchar.Head:GetChildren()) do
  1684. if v:IsA('Decal') then
  1685. v:Destroy()
  1686. end
  1687. end
  1688. local duck = Instance.new('SpecialMesh', pchar.Torso)
  1689. duck.MeshType = 'FileMesh'
  1690. duck.MeshId = 'http://www.roblox.com/asset/?id=9419831'
  1691. duck.TextureId = 'http://www.roblox.com/asset/?id=9419827'
  1692. duck.Scale = Vector3.new(5, 5, 5)
  1693. pchar.Head.Transparency = 1
  1694. pchar['Left Arm'].Transparency = 1
  1695. pchar['Right Arm'].Transparency = 1
  1696. pchar['Left Leg'].Transparency = 1
  1697. pchar['Right Leg'].Transparency = 1
  1698. end
  1699. end)
  1700.  
  1701. addcmd('unduck','makes player back to normal',{},
  1702. function(args)
  1703. local players = getPlayer(args[1])
  1704. for i,v in pairs(players)do
  1705. execCmd('fix' .. gPlayers[v], Player)
  1706. end
  1707. end)
  1708.  
  1709. addcmd('disable','removes players humanoid',{},
  1710. function(args)
  1711. local players = getPlayer(args[1])
  1712. for i,v in pairs(players)do
  1713. local pchar = gPlayers[v].Character
  1714. if pchar:FindFirstChild('Humanoid') then
  1715. pchar.Humanoid.Name = 'HUMANOID_' .. gPlayers[v].Name
  1716. local humanoid = pchar['HUMANOID_' .. gPlayers[v].Name]
  1717. humanoid.Parent = game.ContextActionService
  1718. end
  1719. end
  1720. end)
  1721.  
  1722. addcmd('enable','gives player humanoid',{},
  1723. function(args)
  1724. local players = getPlayer(args[1])
  1725. for i,v in pairs(players)do
  1726. local pchar = gPlayers[v].Character
  1727. if pchar:FindFirstChild('Humanoid') then
  1728. return
  1729. else
  1730. local humanoid = game.ContextActionService['HUMANOID_' .. gPlayers[v].Name]
  1731. humanoid.Parent = pchar
  1732. humanoid.Name = 'Humanoid'
  1733. end
  1734. end
  1735. end)
  1736.  
  1737. addcmd('size','changes size of player',{},
  1738. function(args)
  1739. local players = getPlayer(args[1])
  1740. for i,v in pairs(players)do
  1741. local pchar = gPlayers[v].Character
  1742. local function scale(chr,scl)
  1743.  
  1744. for _,v in pairs(pchar:GetChildren()) do
  1745. if v:IsA('Hat') then
  1746. v:Clone()
  1747. v.Parent = game.Lighting
  1748. end
  1749. end
  1750.  
  1751. local Head = chr['Head']
  1752. local Torso = chr['Torso']
  1753. local LA = chr['Left Arm']
  1754. local RA = chr['Right Arm']
  1755. local LL = chr['Left Leg']
  1756. local RL = chr['Right Leg']
  1757. local HRP = chr['HumanoidRootPart']
  1758.  
  1759. wait(0.1)
  1760.  
  1761. Head.formFactor = 3
  1762. Torso.formFactor = 3
  1763. LA.formFactor = 3
  1764. RA.formFactor = 3
  1765. LL.formFactor = 3
  1766. RL.formFactor = 3
  1767. HRP.formFactor = 3
  1768.  
  1769. Head.Size = Vector3.new(scl * 2, scl, scl)
  1770. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1771. LA.Size = Vector3.new(scl, scl * 2, scl)
  1772. RA.Size = Vector3.new(scl, scl * 2, scl)
  1773. LL.Size = Vector3.new(scl, scl * 2, scl)
  1774. RL.Size = Vector3.new(scl, scl * 2, scl)
  1775. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1776.  
  1777. local Motor1 = Instance.new('Motor6D', Torso)
  1778. Motor1.Part0 = Torso
  1779. Motor1.Part1 = Head
  1780. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1781. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1782. Motor1.Name = 'Neck'
  1783.  
  1784. local Motor2 = Instance.new('Motor6D', Torso)
  1785. Motor2.Part0 = Torso
  1786. Motor2.Part1 = LA
  1787. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1788. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1789. Motor2.Name = 'Left Shoulder'
  1790.  
  1791. local Motor3 = Instance.new('Motor6D', Torso)
  1792. Motor3.Part0 = Torso
  1793. Motor3.Part1 = RA
  1794. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1795. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1796. Motor3.Name = 'Right Shoulder'
  1797.  
  1798. local Motor4 = Instance.new('Motor6D', Torso)
  1799. Motor4.Part0 = Torso
  1800. Motor4.Part1 = LL
  1801. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1802. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1803. Motor4.Name = 'Left Hip'
  1804.  
  1805. local Motor5 = Instance.new('Motor6D', Torso)
  1806. Motor5.Part0 = Torso
  1807. Motor5.Part1 = RL
  1808. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1809. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1810. Motor5.Name = 'Right Hip'
  1811.  
  1812. local Motor6 = Instance.new('Motor6D', HRP)
  1813. Motor6.Part0 = HRP
  1814. Motor6.Part1 = Torso
  1815. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1816. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1817.  
  1818. end
  1819.  
  1820. scale(pchar, args[2])
  1821.  
  1822. for _,v in pairs(game.Lighting:GetChildren()) do
  1823. if v:IsA('Hat') then
  1824. v.Parent = pchar
  1825. end
  1826. end
  1827. end
  1828. end)
  1829.  
  1830. addcmd('confuse','reverses players speed',{'reverse'},
  1831. function(args)
  1832. local players = getPlayer(args[1])
  1833. for i,v in pairs(players)do
  1834. local pchar = gPlayers[v].Character
  1835. pchar.Humanoid.WalkSpeed = tonumber(-16)
  1836. end
  1837. end)
  1838.  
  1839. addcmd('unconfuse','reverses players speed',{'unreverse'},
  1840. function(args)
  1841. local players = getPlayer(args[1])
  1842. for i,v in pairs(players)do
  1843. local pchar = gPlayers[v].Character
  1844. pchar.Humanoid.WalkSpeed = tonumber(16)
  1845. end
  1846. end)
  1847.  
  1848. addcmd('clone','clones player',{},
  1849. function(args)
  1850. local players = getPlayer(args[1])
  1851. for i,v in pairs(players)do
  1852. local pchar = gPlayers[v].Character
  1853. pchar.Archivable = true
  1854. local clone = pchar:Clone()
  1855. clone.Parent = game.Workspace
  1856. clone:MoveTo(pchar:GetModelCFrame().p)
  1857. clone:MakeJoints()
  1858. pchar.Archivable = false
  1859. end
  1860. end)
  1861.  
  1862. addcmd('spin','spins player',{},
  1863. function(args)
  1864. local players = getPlayer(args[1])
  1865. for i,v in pairs(players)do
  1866. local pchar = gPlayers[v].Character
  1867. for i,v in pairs(pchar.Torso:GetChildren()) do
  1868. if v.Name == 'Spinning' then
  1869. v:Destroy()
  1870. end
  1871. end
  1872. local Torso = pchar.Torso
  1873. local BG = Instance.new('BodyGyro', Torso)
  1874. BG.Name = 'Spinning'
  1875. BG.maxTorque = Vector3.new(0, math.huge, 0)
  1876. BG.P = 11111
  1877. BG.cframe = Torso.CFrame
  1878. repeat wait(1/44)
  1879. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  1880. until not BG or BG.Parent ~= Torso
  1881. end
  1882. end)
  1883.  
  1884. addcmd('unspin','stops spinning player',{},
  1885. function(args)
  1886. local players = getPlayer(args[1])
  1887. for i,v in pairs(players)do
  1888. local pchar = gPlayers[v].Character
  1889. for i,v in pairs(pchar.Torso:GetChildren()) do
  1890. if v.Name == 'Spinning' then
  1891. v:Destroy()
  1892. end
  1893. end
  1894. end
  1895. end)
  1896.  
  1897. addcmd('dog','makes player a dog',{},
  1898. function(args)
  1899. local players = getPlayer(args[1])
  1900. for i,v in pairs(players)do
  1901. local pchar = gPlayers[v].Character
  1902. if pchar:FindFirstChild('Shirt') then
  1903. pchar.Shirt:Destroy()
  1904. end
  1905. if pchar:FindFirstChild('Pants') then
  1906. pchar.Pants:Destroy()
  1907. end
  1908. if pchar:FindFirstChild('Shirt Graphic') then
  1909. pchar['Shirt Graphic'].Graphic = ''
  1910. end
  1911. pchar.Torso.Transparency = 1
  1912. pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  1913. pchar.Torso['Right Shoulder'].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  1914. pchar.Torso['Left Shoulder'].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  1915. pchar.Torso['Right Hip'].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  1916. pchar.Torso['Left Hip'].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  1917. local FakeTorso = Instance.new('Seat', pchar)
  1918. FakeTorso.Name = 'FakeTorso'
  1919. FakeTorso.FormFactor = 'Symmetric'
  1920. FakeTorso.TopSurface = 0
  1921. FakeTorso.BottomSurface = 0
  1922. FakeTorso.Size = Vector3.new(3,1,4)
  1923. FakeTorso.BrickColor = BrickColor.new('Brown')
  1924. FakeTorso.CFrame = pchar.Torso.CFrame
  1925. local BF = Instance.new('BodyForce', FakeTorso)
  1926. BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  1927. local W = Instance.new('Weld', pchar.Torso)
  1928. W.Part0 = pchar.Torso
  1929. W.Part1 = FakeTorso
  1930. W.C0 = CFrame.new(0,-.5,0)
  1931. local BC = pchar['Body Colors']
  1932. BC.HeadColor = BrickColor.new('Brown')
  1933. BC.LeftArmColor = BrickColor.new('Brown')
  1934. BC.LeftLegColor = BrickColor.new('Brown')
  1935. BC.RightArmColor = BrickColor.new('Brown')
  1936. BC.RightLegColor = BrickColor.new('Brown')
  1937. BC.TorsoColor = BrickColor.new('Brown')
  1938. end
  1939. end)
  1940.  
  1941. addcmd('undog','makes player back to normal',{},
  1942. function(args)
  1943. local players = getPlayer(args[1])
  1944. for i,v in pairs(players)do
  1945. execCmd('fix' .. gPlayers[v], Player)
  1946. end
  1947. end)
  1948.  
  1949. addcmd('tptool','gives player tptool',{},
  1950. function(args)
  1951. local tool = DATA.Teleport:Clone()
  1952. tool.Parent = Player.Backpack
  1953. end)
  1954.  
  1955. addcmd('loopsit','loop sits player',{},
  1956. function(args)
  1957. local players = getPlayer(args[1])
  1958. for i,v in pairs(players)do
  1959. local pchar = gPlayers[v].Character
  1960. if pchar:FindFirstChild('LoopSit') then
  1961. pchar.LoopSit.Name = 'NotLoopSit'
  1962. wait(0.1)
  1963. pchar.NotLoopSit:Destroy()
  1964. end
  1965. local LoopSit = Instance.new('StringValue', pchar)
  1966. LoopSit.Name = 'LoopSit'
  1967. repeat wait(0.1)
  1968. pchar.Humanoid.Sit = true
  1969. until LoopSit.Name == 'NotLoopSit'
  1970. end
  1971. end)
  1972.  
  1973. addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
  1974. function(args)
  1975. local players = getPlayer(args[1])
  1976. for i,v in pairs(players)do
  1977. local pchar = gPlayers[v].Character
  1978. if pchar:FindFirstChild('LoopSit') then
  1979. pchar.LoopSit.Name = 'NotLoopSit'
  1980. wait(0.1)
  1981. pchar.NotLoopSit:Destroy()
  1982. end
  1983. end
  1984. end)
  1985.  
  1986. addcmd('loopjump','loop jumps player',{},
  1987. function(args)
  1988. local players = getPlayer(args[1])
  1989. for i,v in pairs(players)do
  1990. local pchar = gPlayers[v].Character
  1991. if pchar:FindFirstChild('LoopJump') then
  1992. pchar.LoopJump.Name = 'NotLoopJump'
  1993. wait(0.1)
  1994. pchar.NotLoopJump:Destroy()
  1995. end
  1996. local LoopJump = Instance.new('StringValue', pchar)
  1997. LoopJump.Name = 'LoopJump'
  1998. repeat wait(0.1)
  1999. pchar.Humanoid.Jump = true
  2000. until LoopJump.Name == 'NotLoopJump'
  2001. end
  2002. end)
  2003.  
  2004. addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
  2005. function(args)
  2006. local players = getPlayer(args[1])
  2007. for i,v in pairs(players)do
  2008. local pchar = gPlayers[v].Character
  2009. if pchar:FindFirstChild('LoopJump') then
  2010. pchar.LoopJump.Name = 'NotLoopJump'
  2011. wait(0.1)
  2012. pchar.NotLoopJump:Destroy()
  2013. end
  2014. end
  2015. end)
  2016.  
  2017. addcmd('loopheal','loop heals player',{'lheal'},
  2018. function(args)
  2019. local players = getPlayer(args[1])
  2020. for i,v in pairs(players)do
  2021. local pchar = gPlayers[v].Character
  2022. if pchar:FindFirstChild('LoopHeal') then
  2023. pchar.LoopHeal.Name = 'NotLoopHeal'
  2024. wait(0.1)
  2025. pchar.NotLoopHeal:Destroy()
  2026. end
  2027. local LoopHeal = Instance.new('StringValue', pchar)
  2028. LoopHeal.Name = 'LoopHeal'
  2029. repeat wait(0.1)
  2030. pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  2031. until LoopHeal.Name == 'NotLoopHeal'
  2032. end
  2033. end)
  2034.  
  2035. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  2036. function(args)
  2037. local players = getPlayer(args[1])
  2038. for i,v in pairs(players)do
  2039. local pchar = gPlayers[v].Character
  2040. if pchar:FindFirstChild('LoopHeal') then
  2041. pchar.LoopHeal.Name = 'NotLoopHeal'
  2042. wait(0.1)
  2043. pchar.NotLoopHeal:Destroy()
  2044. end
  2045. end
  2046. end)
  2047.  
  2048. addcmd('fling','flings player',{},
  2049. function(args)
  2050. local players = getPlayer(args[1])
  2051. for i,v in pairs(players)do
  2052. local pchar = gPlayers[v].Character
  2053. if pchar:FindFirstChild('Humanoid') then
  2054. local xran
  2055. local zran
  2056. repeat
  2057. xran = math.random(-9999,9999)
  2058. until math.abs(xran) >= 5555
  2059. repeat
  2060. zran = math.random(-9999,9999)
  2061. until math.abs(zran) >= 5555
  2062. pchar.Humanoid.Sit = true
  2063. pchar.Torso.Velocity = Vector3.new(0,0,0)
  2064. local BF = Instance.new('BodyForce', pchar.Torso)
  2065. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  2066. end
  2067. end
  2068. end)
  2069.  
  2070. addcmd('ayylmao','ayy lmao',{},
  2071. function(args)
  2072. local players = getPlayer(args[1])
  2073. for i,v in pairs(players)do
  2074. local pchar = gPlayers[v].Character
  2075. if pchar:FindFirstChild('Shirt') then
  2076. pchar.Shirt:Destroy()
  2077. end
  2078. if pchar:FindFirstChild('Pants') then
  2079. pchar.Pants:Destroy()
  2080. end
  2081. if pchar:FindFirstChild('Shirt Graphic') then
  2082. pchar['Shirt Graphic'].Graphic = ''
  2083. end
  2084. for i,v in pairs(pchar:GetChildren()) do
  2085. if v:IsA('Hat') then
  2086. v:Destroy()
  2087. end
  2088. end
  2089. local ayylmao = DATA.ayylmao:Clone()
  2090. ayylmao.Parent = pchar
  2091. local BC = pchar['Body Colors']
  2092. BC.HeadColor = BrickColor.new('Fossil')
  2093. BC.LeftArmColor = BrickColor.new('Fossil')
  2094. BC.LeftLegColor = BrickColor.new('Fossil')
  2095. BC.RightArmColor = BrickColor.new('Fossil')
  2096. BC.RightLegColor = BrickColor.new('Fossil')
  2097. BC.TorsoColor = BrickColor.new('Fossil')
  2098. end
  2099. end)
  2100.  
  2101. addcmd('nograv','makes player have moon gravity',{},
  2102. function(args)
  2103. local players = getPlayer(args[1])
  2104. for i,v in pairs(players)do
  2105. local pchar = gPlayers[v].Character
  2106. for i,v in pairs(pchar.Torso:GetChildren()) do
  2107. if v.Name == 'NoGrav' then
  2108. v:Destroy()
  2109. end
  2110. end
  2111. local BF = Instance.new('BodyForce', pchar.Torso)
  2112. BF.Name = 'NoGrav'
  2113. BF.Force = Vector3.new(0,2700,0)
  2114. end
  2115. end)
  2116.  
  2117. addcmd('grav','makes player have normal gravity',{},
  2118. function(args)
  2119. local players = getPlayer(args[1])
  2120. for i,v in pairs(players)do
  2121. local pchar = gPlayers[v].Character
  2122. for i,v in pairs(pchar.Torso:GetChildren()) do
  2123. if v.Name == 'NoGrav' then
  2124. v:Destroy()
  2125. end
  2126. end
  2127. end
  2128. end)
  2129.  
  2130. addcmd('seizure','makes player have a seizure',{},
  2131. function(args)
  2132. local players = getPlayer(args[1])
  2133. for i,v in pairs(players)do
  2134. local pchar = gPlayers[v].Character
  2135. if pchar:FindFirstChild('Seizure') then
  2136.  
  2137. end
  2138. local Seizure = Instance.new('StringValue', pchar)
  2139. Seizure.Name = 'Seizure'
  2140. pchar.Humanoid.PlatformStand = true
  2141. repeat wait()
  2142. pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  2143. pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2144. until Seizure.Name == 'NotSeizure'
  2145. end
  2146. end)
  2147.  
  2148. addcmd('unseizure','makes player stop having a seizure',{},
  2149. function(args)
  2150. local players = getPlayer(args[1])
  2151. for i,v in pairs(players)do
  2152. local pchar = gPlayers[v].Character
  2153. if pchar:FindFirstChild('Seizure') then
  2154. pchar.Humanoid.PlatformStand = false
  2155. pchar.Seizure.Name = 'NotSeizure'
  2156. wait(0.1)
  2157. pchar.NotSeizure:Destroy()
  2158. end
  2159. end
  2160. end)
  2161.  
  2162. addcmd('cape','gives you a cape',{},
  2163. function(args)
  2164. if not args[1] then
  2165. args[1] = 1012
  2166. end
  2167. capeColor = args[1]
  2168. Cape(Player)
  2169. end)
  2170.  
  2171. addcmd('uncape','takes cape away from you',{},
  2172. function(args)
  2173. if char:FindFirstChild('Cape') ~= nil then
  2174. char.Cape:Destroy()
  2175. end
  2176. end)
  2177.  
  2178. addcmd('paper','makes player thin as paper',{},
  2179. function(args)
  2180. local players = getPlayer(args[1])
  2181. for i,v in pairs(players)do
  2182. local pchar = gPlayers[v].Character
  2183. local LA = DATA.Paper:Clone()
  2184. LA.Parent = pchar['Left Arm']
  2185. local RA = DATA.Paper:Clone()
  2186. RA.Parent = pchar['Right Arm']
  2187. local LL = DATA.Paper:Clone()
  2188. LL.Parent = pchar['Left Leg']
  2189. local RL = DATA.Paper:Clone()
  2190. RL.Parent = pchar['Right Leg']
  2191. local T = DATA.Paper:Clone()
  2192. T.Parent = pchar.Torso
  2193. local H = DATA.Paper:Clone()
  2194. H.Parent = pchar.Head
  2195. pchar.Head.face:Destroy()
  2196. end
  2197. end)
  2198.  
  2199. addcmd('punish','punishes player',{},
  2200. function(args)
  2201. local players = getPlayer(args[1])
  2202. for i,v in pairs(players)do
  2203. local pchar = gPlayers[v].Character
  2204. pchar.Parent = game.Lighting
  2205. end
  2206. end)
  2207.  
  2208. addcmd('unpunish','unpunishes player',{},
  2209. function(args)
  2210. local players = getPlayer(args[1])
  2211. for i,v in pairs(players)do
  2212. local pchar = game.Lighting['' .. gPlayers[v].Name]
  2213. pchar.Parent = game.Workspace
  2214. end
  2215. end)
  2216.  
  2217. Disco = false
  2218.  
  2219. addcmd('disco','disco party',{},
  2220. function(args)
  2221. Disco = true
  2222. while wait(0.1) do
  2223. if Disco == true then
  2224. game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  2225. end
  2226. end
  2227. end)
  2228.  
  2229. addcmd('undisco','rip disco party',{},
  2230. function(args)
  2231. Disco = false
  2232. end)
  2233.  
  2234. addcmd('team','puts player on team',{},
  2235. function(args)
  2236. local players = getPlayer(args[1])
  2237. for i,v in pairs(players)do
  2238. local pchar = gPlayers[v].Character
  2239. gPlayers[v].TeamColor = BrickColor.new(getlongstring(false, 1))
  2240. end
  2241. end)
  2242.  
  2243. local ServerLocked = false
  2244.  
  2245. game.Players.PlayerAdded:connect(function(Player)
  2246. if ServerLocked == true then
  2247. wait()
  2248. Player:remove()
  2249. end
  2250. end)
  2251.  
  2252. addcmd('serverlock','locks server',{'slock'},
  2253. function(args)
  2254. ServerLocked = true
  2255. end)
  2256.  
  2257. addcmd('unserverlock','locks server',{'unslock'},
  2258. function(args)
  2259. ServerLocked = false
  2260. end)
  2261.  
  2262. addcmd('change','changes player\'s stats',{},
  2263. function(args)
  2264. local players = getPlayer(args[1])
  2265. for i,v in pairs(players)do
  2266. local pchar = gPlayers[v].Character
  2267. if gPlayers[v]:FindFirstChild('leaderstats') then
  2268. gPlayers[v].leaderstats[args[2]].Value = args[3]
  2269. end
  2270. end
  2271. end)
  2272.  
  2273. addcmd('penis','something',{'dick','dong'},
  2274. function(args)
  2275. local players = getPlayer(args[1])
  2276. for i,v in pairs(players)do
  2277. local pchar = gPlayers[v].Character
  2278. local person = gPlayers[v].Name
  2279. local color = args[2]
  2280. if args[2]=='black' then
  2281. color='Brown'
  2282. end
  2283. if args[2]=='asian' then
  2284. color='Cool yellow'
  2285. end
  2286. if args[2]=='white' then
  2287. color='Pastel brown'
  2288. end
  2289. if args[2]=='alien' then
  2290. color='Lime green'
  2291. end
  2292. if args[2]=='frozen' then
  2293. color=1019
  2294. end
  2295. if not args[2] then
  2296. color='Pastel brown'
  2297. end
  2298. pcall(function()
  2299. game.Players[person].Character['Nice thing']:Remove()
  2300. end)
  2301. local D = Instance.new('Model', workspace[person])
  2302. D.Name = 'Nice thing'
  2303.  
  2304. local BG = Instance.new('BodyGyro',workspace[person].Torso)
  2305. local MAIN = Instance.new('Part', workspace[person]['Nice thing'])
  2306. local M1 = Instance.new('CylinderMesh', MAIN)
  2307. local W1 = Instance.new('Weld', workspace[person].Head)
  2308. local P1 = Instance.new('Part', workspace[person]['Nice thing'])
  2309. local M2 = Instance.new('SpecialMesh', P1)
  2310. local W2 = Instance.new('Weld', P1)
  2311. local B1 = Instance.new('Part', workspace[person]['Nice thing'])
  2312. local M3 = Instance.new('SpecialMesh', B1)
  2313. local W3 = Instance.new('Weld', B1)
  2314. local B2 = Instance.new('Part', workspace[person]['Nice thing'])
  2315. local M4 = Instance.new('SpecialMesh', B2)
  2316. local W4 = Instance.new('Weld', B2)
  2317.  
  2318. MAIN.TopSurface = 0
  2319. MAIN.BottomSurface = 0
  2320. MAIN.Name = 'Main'
  2321. MAIN.formFactor = 3
  2322. MAIN.Size = Vector3.new(0.6,2.5,0.6)
  2323. MAIN.BrickColor = BrickColor.new(color)
  2324. MAIN.Position = workspace[person].Head.Position
  2325. MAIN.CanCollide = false
  2326.  
  2327. W1.Part0 = MAIN
  2328. W1.Part1 = workspace[person].Head
  2329. W1.C0 = CFrame.new(0,0.25,2.1)*CFrame.Angles(math.rad(45),0,0)
  2330.  
  2331. P1.Name = 'Mush'
  2332. P1.BottomSurface = 0
  2333. P1.TopSurface = 0
  2334. P1.FormFactor = 3
  2335. P1.Size = Vector3.new(0.6,0.6,0.6)
  2336. P1.CFrame = CFrame.new(MAIN.Position)
  2337. P1.BrickColor = BrickColor.new('Pink')
  2338. P1.CanCollide = false
  2339.  
  2340. M2.MeshType = 'Sphere'
  2341.  
  2342. W2.Part0 = MAIN
  2343. W2.Part1 = P1
  2344. W2.C0 = CFrame.new(0,1.3,0)
  2345.  
  2346. B1.Name = 'Left Ball'
  2347. B1.BottomSurface = 0
  2348. B1.TopSurface = 0
  2349. B1.CanCollide = false
  2350. B1.formFactor = 3
  2351. B1.Size = Vector3.new(1,1,1)
  2352. B1.CFrame = CFrame.new(workspace[person]['Left Leg'].Position)
  2353. B1.BrickColor = BrickColor.new(color)
  2354.  
  2355. M3.Parent = B1
  2356. M3.MeshType = 'Sphere'
  2357.  
  2358. W3.Part0 = workspace[person]['Left Leg']
  2359. W3.Part1 = B1
  2360. W3.C0 = CFrame.new(0,0.5,-.5)
  2361.  
  2362. B2.Name = 'Right Ball'
  2363. B2.BottomSurface = 0
  2364. B2.CanCollide = false
  2365. B2.TopSurface = 0
  2366. B2.formFactor = 3
  2367. B2.Size = Vector3.new(1,1,1)
  2368. B2.CFrame = CFrame.new(workspace[person]['Right Leg'].Position)
  2369. B2.BrickColor = BrickColor.new(color)
  2370.  
  2371. M4.MeshType = 'Sphere'
  2372.  
  2373. W4.Part0 = workspace[person]['Right Leg']
  2374. W4.Part1 = B2
  2375. W4.C0 = CFrame.new(0,0.5,-.5)
  2376. end
  2377. end)
  2378.  
  2379. addcmd('fogend','makes fogend to user input',{},
  2380. function(args)
  2381. game.Lighting.FogEnd = args[1]
  2382. end)
  2383.  
  2384. -- Extras --
  2385.  
  2386. Floating = false
  2387.  
  2388. addcmd('float', 'makes player float',{},
  2389. function(args,speaker)
  2390. Floating = true
  2391. local players = getPlayer(args[1])
  2392. for _,v in pairs(players) do
  2393. local pchar = gPlayers[v].Character
  2394. if gPlayers[v] and pchar and not pchar:FindFirstChild('Float') then
  2395. spawn(function()
  2396. local float = DATA.Float:Clone()
  2397. float.Parent = pchar
  2398. float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  2399. spawn(function()
  2400. while wait(0.1) do
  2401. if pchar:FindFirstChild('Float') then
  2402. float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  2403. else
  2404. break
  2405. end
  2406. end
  2407. end)
  2408. end)
  2409. end
  2410. end
  2411. end)
  2412.  
  2413. addcmd('unfloat','disables floating',{},
  2414. function(args)
  2415. Floating = false
  2416. local players = getPlayer(args[1])
  2417. for i,v in pairs(players)do
  2418. local pchar = gPlayers[v].Character
  2419. if pchar:FindFirstChild('Float') then
  2420. pchar.Float:Destroy()
  2421. end
  2422. end
  2423. end)
  2424.  
  2425. local Clip = true
  2426.  
  2427. addcmd('noclip','enables noclip',{},
  2428. function(args)
  2429. Notify('NoClip Enabled')
  2430. Clip = false
  2431. wait(1)
  2432. Name = game.Players.LocalPlayer.Name
  2433. game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
  2434. delay(0, function()
  2435. if NC.Name ~= 'OuputGUI' then
  2436. NC:Destroy()
  2437. end
  2438. end)
  2439. end)
  2440. game:GetService('RunService').Stepped:connect(function ()
  2441. game.Workspace[Name].Torso.CanCollide = Clip
  2442. game.Workspace[Name].Head.CanCollide = Clip
  2443. end)
  2444. game.Workspace[Name].Torso.Changed:connect(function()
  2445. game.Workspace[Name].Torso.CanCollide = Clip
  2446. game.Workspace[Name].Head.CanCollide = Clip
  2447. end)
  2448. end)
  2449.  
  2450. addcmd('clip','disables noclip',{},
  2451. function(args)
  2452. Notify('NoClip Disabled')
  2453. Clip = true
  2454. end)
  2455.  
  2456. wait(0.1)
  2457.  
  2458. addcmd('prefix','changes prefix',{},
  2459. function(args)
  2460. cmdprefix = args[1]
  2461. Notify('Changed prefix to \'' .. args[1] .. '\'')
  2462. end)
  2463.  
  2464. addcmd('version','shows version',{''},
  2465. function(args)
  2466. Notify('Version is ' .. Version)
  2467. end)
  2468.  
  2469. --// Floating //--
  2470.  
  2471. Mouse.KeyDown:connect(function (Key)
  2472. if Key:byte() == 29 then
  2473. if Floating == false then
  2474. execCmd('float ' .. Player.Name)
  2475. Floating = true
  2476. elseif Floating == true then
  2477. execCmd('unfloat ' .. Player.Name)
  2478. Floating = false
  2479. end
  2480. end
  2481. end)
  2482.  
  2483. --// CMDs Gui //--
  2484.  
  2485. CMDsFolder = Instance.new('Folder', game.CoreGui)
  2486.  
  2487. for i,v in pairs(CMDs) do
  2488. CMDsValue = Instance.new('StringValue', CMDsFolder)
  2489. CMDsValue.Value = v
  2490. CMDsValue.RobloxLocked = true
  2491. end
  2492.  
  2493. local function commands()
  2494. if game.CoreGui:FindFirstChild('CMDs') then
  2495. game.CoreGui.CMDs:Destroy()
  2496. end
  2497. local cmds = DATA.CMDs:Clone()
  2498. cmds.Parent = game.CoreGui
  2499. cmds.MAIN.Exit.MouseButton1Down:connect(function()
  2500. cmds:Destroy()
  2501. end)
  2502. cmds.MAIN.MM.MouseButton1Down:connect(function()
  2503. if cmds.MAIN.CMDs.Visible == true then
  2504. cmds.MAIN.CMDs.Visible = false
  2505. elseif cmds.MAIN.CMDs.Visible == false then
  2506. cmds.MAIN.CMDs.Visible = true
  2507. end
  2508. end)
  2509. local CMDsV = CMDsFolder:GetChildren()
  2510. for i = 1, #CMDsV do
  2511. local YSize = 25
  2512. local Position = ((i * YSize) - YSize)
  2513. local newcmd = cmds.MAIN.Example:Clone()
  2514. newcmd.Parent = cmds.MAIN.CMDs
  2515. newcmd.Visible = true
  2516. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  2517. newcmd.Text = '' .. CMDsV[i].Value
  2518. cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
  2519. end
  2520. end
  2521.  
  2522. addcmd('cmds','prints cmds',{},
  2523. function(args)
  2524. commands()
  2525. end)
  2526.  
  2527. --// Command Bar //--
  2528.  
  2529. CMDbar.FocusLost:connect(function(enterpressed)
  2530. if enterpressed and CMDbar.Text ~= '' then
  2531. pcall(function()
  2532. execCmd(CMDbar.Text, Player)
  2533. end)
  2534. end
  2535. CMDbar:TweenPosition(UDim2.new(0, -200, 1, -75), 'InOut', 'Quad', 0.5, true, nil)
  2536. end)
  2537.  
  2538. Mouse.KeyDown:connect(function(Key)
  2539. if Key:byte() == 59 then
  2540. CMDbar:TweenPosition(UDim2.new(0, 0, 1, -75), 'InOut', 'Quad', 0.5, true, nil)
  2541. CMDbar:CaptureFocus()
  2542. end
  2543. end)
  2544.  
  2545. --// Notifications //--
  2546.  
  2547. wait(1)
  2548.  
  2549. if game.Workspace.FilteringEnabled == true then
  2550. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
  2551. Notify('Filtering is ENABLED.')
  2552. elseif game.Workspace.FilteringEnabled == false then
  2553. NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
  2554. Notify('Filtering is Disabled.')
  2555. end
  2556.  
  2557. wait(3.5)
  2558.  
  2559. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,255,255)
  2560.  
  2561. Notify('Loaded ' .. #cmds .. ' commands!')
  2562.  
  2563. wait(3.5)
  2564.  
  2565. Notify('Welcome ' .. Player.Name .. '!')
  2566.  
  2567. --[[
  2568. addcmd('name','desc',{},
  2569. function(args)
  2570. local players = getPlayer(args[1])
  2571. for i,v in pairs(players)do
  2572. local pchar = gPlayers[v].Character
  2573. end
  2574. end)
  2575. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement