Advertisement
Wilkins1000

Untitled

Mar 12th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.58 KB | None | 0 0
  1. local NOCLIP = false
  2. local JESUSFLY = false
  3. local SWIM = false
  4.  
  5. game:GetService('RunService').Stepped:connect(function()
  6. if NOCLIP then
  7. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  8. elseif JESUSFLY then
  9. game.Players.LocalPlayer.Character.Humanoid:ChangeState(12)
  10. elseif SWIM then
  11. game.Players.LocalPlayer.Character.Humanoid:ChangeState(4)
  12. end
  13. end)
  14.  
  15. _G.Rc7Notification = function(a,b,c)
  16. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://331959655", c)
  17. end
  18.  
  19. local gPlayers = game:GetService("Players")
  20. local admin = gPlayers.LocalPlayer.Name
  21. local bannedplyrs = {}
  22.  
  23. local admins = {'King_N3xul',''} -- names here of people who have access to your commands! (Your name doesn't need to be in here.)
  24.  
  25. -- declare services / init stuff --
  26. local services={}
  27. local cmds={}
  28. local std={}
  29. function KICK(PLAYER_KICK)
  30. if PLAYER_KICK.Character:FindFirstChild('Humanoid') then
  31. local KICK_1 = Instance.new('SkateboardPlatform', PLAYER_KICK.Character)
  32. KICK_1.Name = ''
  33. KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
  34. KICK_1.CanCollide = false
  35. KICK_1.Transparency = 1
  36.  
  37. PLAYER_KICK.Character.Humanoid.WalkSpeed = 0
  38.  
  39. wait()
  40.  
  41. local WELD_1 = Instance.new('Weld', KICK_1)
  42. WELD_1.Name = ''
  43. WELD_1.Part0 = PLAYER_KICK.Character.Torso
  44. WELD_1.Part1 = KICK_1
  45. WELD_1.C0 = CFrame.new(0, -400, 0)
  46.  
  47. wait()
  48.  
  49. KICK_1.Anchored = true
  50. WELD_1:remove()
  51. end
  52. end
  53.  
  54.  
  55. local serverLocked = false
  56.  
  57. game.Players.PlayerAdded:connect(function(player)
  58. if serverLocked == true then
  59. player.CharacterAdded:connect(function()
  60. wait(2)
  61. KICK(player)
  62. end)
  63. end
  64. end)
  65. function FIX_LIGHTING()
  66. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  67. game.Lighting.Brightness = 1
  68. game.Lighting.GlobalShadows = true
  69. game.Lighting.Outlines = false
  70. game.Lighting.TimeOfDay = 14
  71. game.Lighting.FogEnd = 100000
  72. end
  73.  
  74. services.players=gPlayers
  75. services.lighting=game:GetService('Lighting')
  76. services.workspace=game:GetService('Workspace')
  77. services.events = {}
  78. local user = gPlayers.LocalPlayer
  79.  
  80. local cmdprefix=';'
  81. local scriptprefix='/'
  82. local split=" "
  83.  
  84.  
  85. updateevents=function()
  86. for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  87. for i,v in pairs(gPlayers:players())do
  88. local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  89. services.events[#services.events+1] = ev
  90. end
  91. end
  92.  
  93. -- safazi's lib --
  94.  
  95. std.inTable=function(tbl,val)
  96. if tbl==nil then return false end
  97.  
  98. for _,v in pairs(tbl)do
  99. if v==val then return true end
  100. end
  101. return false
  102. end
  103.  
  104. std.out=function(str)
  105. print(str)
  106. end
  107.  
  108. std.list=function(tbl) --turns table into list with commas
  109. local str=''
  110. for i,v in pairs(tbl)do
  111. str=str..tostring(v)
  112. if i~=#tbl then str=str..', ' end
  113. end
  114. return str
  115. end
  116.  
  117. std.endat=function(str,val)
  118. local z=str:find(val)
  119. if z then
  120. return str:sub(0,z-string.len(val)),true
  121. else
  122. return str,false
  123. end
  124. end
  125.  
  126. std.first=function(str) return str:sub(1,1) end
  127.  
  128. isAdmin=function(name)
  129. if name==admin then
  130. return true
  131. elseif admins[name]==true then
  132. return true
  133. end
  134. return false
  135. end
  136.  
  137. gPlayers.PlayerAdded:connect(function(player)
  138. for i,v in pairs(bannedplyrs) do
  139. if player == v then player:Destroy() end
  140. end
  141. end)
  142.  
  143. local exec=function(str)
  144. spawn(function()
  145. local script, loaderr = loadstring(str)
  146. if not script then
  147. error(loaderr)
  148. else
  149. script()
  150. end
  151. end)
  152. end
  153.  
  154. local findCmd=function(cmd_name)
  155. for i,v in pairs(cmds)do
  156. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  157. return v
  158. end
  159. end
  160. end
  161.  
  162. local getCmd=function(msg)
  163. local cmd,hassplit=std.endat(msg:lower(),split)
  164. if hassplit then
  165. return {cmd,true}
  166. else
  167. return {cmd,false}
  168. end
  169. end
  170.  
  171. local getprfx=function(strn)
  172. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  173. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  174. end return
  175. end
  176.  
  177. local getArgs=function(str)
  178. local args={}
  179. local new_arg=nil
  180. local hassplit=nil
  181. local s=str
  182. repeat
  183. new_arg,hassplit=std.endat(s:lower(),split)
  184. if new_arg~='' then
  185. args[#args+1]=new_arg
  186. s=s:sub(string.len(new_arg)+string.len(split)+1)
  187. end
  188. until hassplit==false
  189. return args
  190. end
  191.  
  192. local function execCmd(str, plr)
  193. local s_cmd
  194. local a
  195. local cmd
  196. s_cmd = getCmd(str) --separate command from string using split {command name,arg bool (for arg system)}
  197. cmd = findCmd(s_cmd[1]) --get command object {NAME,DESC,{ALIASES},function(args)}
  198. if cmd == nil then return end
  199. a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)--start string "a" after command and split
  200. local args=getArgs(a)--gets us a nice table of arguments
  201.  
  202. pcall(function()
  203. cmd.FUNC(args, plr)
  204. end)
  205. end
  206.  
  207. function do_exec(str,plr)
  208. if not isAdmin(plr.Name)then return end
  209.  
  210. str=str:gsub('/e ','')--remove "/e " the easy way!
  211.  
  212. local t=getprfx(str)
  213. if t==nil then return end
  214. str=str:sub(t[2])
  215. if t[1]=='exec' then
  216. exec(str)
  217. elseif t[1]=='cmd' then
  218. execCmd(str, plr)
  219. end
  220. end
  221.  
  222. updateevents()
  223. _G.exec_cmd = execCmd
  224. --game.Players.LocalPlayer.Chatted:connect(doexec)
  225.  
  226. local _char=function(plr_name)
  227. for i,v in pairs(game.Players:GetChildren())do
  228. if v:IsA'Player'then
  229. if v.Name==plr_name then return v.Character end
  230. end
  231. end
  232. return
  233. end
  234.  
  235. local _plr=function(plr_name)
  236. for i,v in pairs(game.Players:GetChildren())do
  237. if v:IsA'Player'then
  238. if v.Name==plr_name then return v end
  239. end
  240. end
  241. return
  242. end
  243.  
  244. function addcmd(name,desc,alias,func)
  245. cmds[#cmds+1]=
  246. {
  247. NAME=name;
  248. DESC=desc;
  249. ALIAS=alias;
  250. FUNC=func;
  251. }
  252. end
  253.  
  254. local function getPlayer(name)
  255. local nameTable = {}
  256. name=name:lower()
  257. if name == "me" then
  258. return {admin}
  259. elseif name == "others" then
  260. for i,v in pairs(gPlayers:GetChildren()) do
  261. if v:IsA'Player'then
  262. if v.Name~=admin then
  263. nameTable[#nameTable+1]=v.Name
  264. end
  265. end
  266. end
  267. elseif name == "all" then
  268. for i,v in pairs(gPlayers:GetChildren()) do
  269. if v:IsA'Player'then
  270. nameTable[#nameTable+1]=v.Name
  271. end
  272. end
  273. else
  274. for i,v in pairs(gPlayers:GetChildren()) do
  275. local lname = v.Name:lower()
  276. local i,j = lname:find(name)
  277. if i == 1 then
  278. return {v.Name}
  279. end
  280. end
  281. end
  282. return nameTable
  283. end
  284.  
  285. -- commands --
  286.  
  287. addcmd('ff',"ff's a player",{},
  288. function(args)
  289. local players=getPlayer(args[1])
  290. for i,v in pairs(players)do
  291. local pchar=_char(v)
  292. Instance.new("ForceField", pchar)
  293. end
  294. end)
  295.  
  296. addcmd('noff',"unff's a player",{'unff'},
  297. function(args)
  298. local players=getPlayer(args[1])
  299. for i,v in pairs(players)do
  300. local pchar=_char(v)
  301. for j,v1 in pairs(pchar:GetChildren()) do
  302. if v1:IsA("ForceField") then
  303. v1:Destroy()
  304. end
  305. end
  306. end
  307. end)
  308.  
  309. addcmd('fire','set a player on fire',{},
  310. function(args)
  311. local players=getPlayer(args[1])
  312. for i,v in pairs(players)do
  313. local pchar=_char(v)
  314. Instance.new("Fire", pchar.Torso)
  315. end
  316. end)
  317.  
  318. addcmd('nofire','extinguish a player',{'unfire'},
  319. function(args)
  320. local players=getPlayer(args[1])
  321. for i,v in pairs(players)do
  322. local pchar=_char(v)
  323. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  324. if v1:IsA("Fire") then
  325. v1:Destroy()
  326. end
  327. end
  328. end
  329. end)
  330.  
  331. addcmd('sp','give a player sparkles',{},
  332. function(args)
  333. local players=getPlayer(args[1])
  334. for i,v in pairs(players)do
  335. local pchar=_char(v)
  336. Instance.new("Sparkles", pchar.Torso)
  337. end
  338. end)
  339.  
  340. addcmd('nosp','remove sparkles from a player',{'unsp'},
  341. function(args)
  342. local players=getPlayer(args[1])
  343. for i,v in pairs(players)do
  344. local pchar=_char(v)
  345. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  346. if v1:IsA("Sparkles") then
  347. v1:Destroy()
  348. end
  349. end
  350. end
  351. end)
  352.  
  353. addcmd('smoke','give a player smoke',{},
  354. function(args)
  355. local players=getPlayer(args[1])
  356. for i,v in pairs(players)do
  357. local pchar=_char(v)
  358. Instance.new("Smoke", pchar.Torso)
  359. end
  360. end)
  361.  
  362. addcmd('nosmoke','remove smoke from a player',{},
  363. function(args)
  364. local players=getPlayer(args[1])
  365. for i,v in pairs(players)do
  366. local pchar=_char(v)
  367. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  368. if v1:IsA("Smoke") then
  369. v1:Destroy()
  370. end
  371. end
  372. end
  373. end)
  374.  
  375. addcmd('btools','gives a player btools',{},
  376. function(args)
  377. local players=getPlayer(args[1])
  378. if players ~= nil then
  379. for i, v in pairs(players) do
  380. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  381. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  382. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  383. end
  384. end
  385. end)
  386.  
  387. addcmd('god','gods player',{},
  388. function(args)
  389. local players=getPlayer(args[1])
  390. for i,v in pairs(players)do
  391. local pchar=_char(v)
  392. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  393. end
  394. end)
  395.  
  396. addcmd('sgod','silently gods player',{},
  397. function(args)
  398. local players=getPlayer(args[1])
  399. for i,v in pairs(players)do
  400. local pchar=_char(v)
  401. spawn(function()
  402. pchar.Humanoid.MaxHealth = 10000000
  403. wait()
  404. pchar.Humanoid.Health = 10000000
  405. end)
  406. end
  407. end)
  408.  
  409. addcmd('ungod','removes god from a player',{},
  410. function(args)
  411. local players=getPlayer(args[1])
  412. for i,v in pairs(players)do
  413. local pchar=_char(v)
  414. if pchar then
  415. pchar.Humanoid.MaxHealth=100
  416. pchar.Humanoid.Health=100
  417. end
  418. end
  419. end)
  420.  
  421. addcmd('heal','resets a players health',{},
  422. function(args)
  423. local players=getPlayer(args[1])
  424. for i,v in pairs(players)do
  425. local pchar=_char(v)
  426. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  427. end
  428. end)
  429.  
  430. addcmd('frz','freezes a player',{},
  431. function(args)
  432. local players = getPlayer(args[1])
  433. if players ~= nil then
  434. for i, v in pairs(players) do
  435. _char(v).Torso.Anchored = true
  436. end
  437. end
  438. end)
  439.  
  440. addcmd('thaw','freezes a player',{},
  441. function(args)
  442. local players = getPlayer(args[1])
  443. if players ~= nil then
  444. for i, v in pairs(players) do
  445. _char(v).Torso.Anchored = false
  446. end
  447. end
  448. end)
  449.  
  450. addcmd('kill','kills a player',{},
  451. function(args)
  452. local players=getPlayer(args[1])
  453. for i,v in pairs(players)do
  454. local pchar=_char(v)
  455. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  456. end
  457. end)
  458.  
  459. addcmd('sound','plays a sound',{},
  460. function(args)
  461. local function dels(instance)
  462. for i,v in pairs(instance:GetChildren())do
  463. if v:IsA'Sound'then v:Destroy()end
  464. dels(v)
  465. end
  466. end
  467. dels(workspace)
  468.  
  469. local c=args[1]or'stop'
  470. if std.inTable({'stop'},c:lower())then return end
  471. local s=Instance.new("Sound", workspace)
  472. s.Looped = true
  473. s.SoundId = "rbxassetid://"..c
  474. s.Volume=1
  475. s:Play() s.Name = "Musickek"
  476. end)
  477.  
  478. addcmd('explode','explode a player', {},
  479. function(args)
  480. local players=getPlayer(args[1])
  481. for i, v in pairs(players) do
  482. local char = _char(v)
  483. if char:FindFirstChild("Torso") then
  484. Instance.new("Explosion", char).Position = char.Torso.Position
  485. end
  486. end
  487. end)
  488.  
  489. addcmd('invis','make a player invisible',{},
  490. function(args)
  491. local players=getPlayer(args[1])
  492. for i, v in pairs(players) do
  493. for k, v2 in pairs(_char(v):GetChildren()) do
  494. if v2.className == "Part" then
  495. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  496. elseif v2.className == "Hat" then
  497. if v2:FindFirstChild("Handle") then
  498. v2.Handle.Transparency = 1
  499. end
  500. end
  501. if v2:FindFirstChild("face") then
  502. v2.face:Destroy()
  503. end
  504. end
  505. end
  506. end)
  507.  
  508. addcmd('vis','make a player visible',{},
  509. function(args)
  510. local players=getPlayer(args[1])
  511. for i, v in pairs(players) do
  512. for k, v2 in pairs(_char(v):GetChildren()) do
  513. if v2.className == "Part" then
  514. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  515. elseif v2.className == "Hat" then
  516. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  517. end
  518. if v2:FindFirstChild("face") then
  519. v2.face:Destroy()
  520. end
  521. end
  522. end
  523. end)
  524.  
  525. addcmd('goto','go to a player',{},
  526. function(args)
  527. local players=getPlayer(args[1])
  528. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  529. _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  530. end
  531. end)
  532.  
  533. addcmd('bring','bring a player to you',{},
  534. function(args)
  535. local players=getPlayer(args[1])
  536. for i,v in pairs(players) do
  537. if _char(v):FindFirstChild("HumanoidRootPart") then
  538. _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  539. end
  540. end
  541. end)
  542.  
  543. addcmd('tp','teleport player 1 to player 2',{},
  544. function(args)
  545. local players1=getPlayer(args[1])
  546. local players2=getPlayer(args[2])
  547. if not players2[1] then return end
  548. for i,v in pairs(players1) do
  549. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  550. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  551. end
  552. end
  553. end)
  554.  
  555. addcmd('charapp','change a players appearance',{},
  556. function(args)
  557. local players=getPlayer(args[1])
  558. if not args[1]or not args[2]then return end
  559. local id=args[2]
  560. if players ~= nil then
  561. for i,v in pairs(players) do
  562. gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  563. if _char(v):FindFirstChild("Head") then
  564. _char(v).Head:Destroy()
  565. end
  566. end
  567. end
  568. end)
  569.  
  570. addcmd('ws','change a players walkspeed',{},
  571. function(args)
  572. local players=getPlayer(args[1])
  573. if not args[1]or not args[2]then return end
  574. local num=args[2]
  575. for i,v in pairs(players) do
  576. if _char(v):FindFirstChild("Humanoid") then
  577. _char(v).Humanoid.WalkSpeed=tonumber(num)
  578. end
  579. end
  580. end)
  581.  
  582. addcmd('time','change the time of day',{},
  583. function(args)
  584. if not args[1]then return end
  585. local time_=tonumber(args[1])
  586.  
  587. game.Lighting:SetMinutesAfterMidnight(time_*60)
  588. end)
  589.  
  590. addcmd('kick','kick a player',{},
  591. function(args)
  592. local players=getPlayer(args[1])
  593. for i,v in pairs(players) do
  594. gPlayers[v]:Destroy()
  595. end
  596. end)
  597.  
  598. addcmd('ban','ban a player',{},
  599. function(args)
  600. local players=getPlayer(args[1])
  601. for i,v in pairs(players) do
  602. bannedplyrs[#bannedplyrs+1]=v
  603. gPlayers[v]:Destroy()
  604. end
  605. end)
  606.  
  607. addcmd('unlockws','unlock the whole workspace',{},
  608. function(args)
  609. local function unlock(instance)
  610. for i,v in pairs(instance:GetChildren()) do
  611. if v:IsA("BasePart") then
  612. v.Locked = false
  613. end
  614. unlock(v)
  615. end
  616. end
  617. unlock(workspace)
  618. end)
  619.  
  620. addcmd('unanchorws','unanchor the whole workspace',{},
  621. function(args)
  622. local function unanchor(instance)
  623. for i,v in pairs(instance:GetChildren()) do
  624. if v:IsA("BasePart") then
  625. v.Anchored=false
  626. end
  627. unanchor(v)
  628. end
  629. end
  630. unanchor(workspace)
  631. end)
  632.  
  633. addcmd('hat','give player a hat ingame',{},
  634. function(args)
  635. if not args[1] or not args[2] then return end
  636. local players=getPlayer(args[1])
  637. local id=args[2]
  638. local hat = game:GetObjects("rbxassetid://"..id)[1]
  639. if hat:IsA("Hat") then
  640. for i,v in pairs(players) do
  641. hat:clone().Parent = _char(v)
  642. end
  643. end
  644. hat:Destroy()
  645. end)
  646.  
  647. addcmd('gear','give player a gear ingame',{},
  648. function(args)
  649. spawn(function()
  650. if not args[1] or not args[2] then return end
  651. local players=getPlayer(args[1])
  652. local id=args[2]
  653. local model = game:GetService("InsertService"):LoadAsset(id)
  654. for i,v in pairs(players) do
  655. for _,j in pairs(model:GetChildren()) do
  656. if j:IsA("Tool") then
  657. j:Clone().Parent = gPlayers[v].Backpack
  658. end
  659. end
  660. end
  661. model:Destroy()
  662. end)
  663. end)
  664.  
  665. addcmd('pstools','give player personal server tools',{},
  666. function(args)
  667. local players=getPlayer(args[1])
  668. for i,v in pairs(players) do
  669. gPlayers[v].PersonalServerRank = 240
  670. end
  671. end)
  672.  
  673. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  674. function(args)
  675. local players=getPlayer(args[1])
  676. for i,v in pairs(players) do
  677. spawn(function()
  678. gPlayers[v].PersonalServerRank = 240
  679. gPlayers[v].Backpack:WaitForChild("ClassicTool")
  680. gPlayers[v].PersonalServerRank = 0
  681. end)
  682. end
  683. end)
  684.  
  685. addcmd('admin','gives a player admin',{},
  686. function(args)
  687. if not args[1]then return end
  688. local players=getPlayer(args[1])
  689. table.foreach(players,function(k,v)
  690. admins[v]=true
  691. end)
  692. end)
  693.  
  694. addcmd('unadmin','removes a players admin',{},
  695. function(args)
  696. if not args[1] then return end
  697. local players=getPlayer(args[1])
  698. table.foreach(players,function(k,v)
  699. admins[v]=nil
  700. end)
  701. end)
  702.  
  703. addcmd('view','view player',{},
  704. function(args)
  705. local players=getPlayer(args[1])
  706. workspace.CurrentCamera.CameraSubject = game.Players[players[1]].Character
  707. end)
  708.  
  709. addcmd('noclip','noclips local player',nil,
  710. function(args,speaker)
  711. NOCLIP = true
  712. JESUSFLY = false
  713. SWIM = false
  714. end)
  715.  
  716. addcmd('clip','clips local player',nil,
  717. function(args,speaker)
  718. NOCLIP = false
  719. end)
  720. addcmd('jesusfly','jesusfly',nil,
  721. function(args,speaker)
  722. NOCLIP = false
  723. JESUSFLY = true
  724. SWIM = false
  725. end)
  726. addcmd('nofly','nofly',nil,
  727. function(args)
  728. JESUSFLY = false
  729. end)
  730. addcmd('swim','swim',nil,
  731. function(args)
  732. NOCLIP = false
  733. JESUSFLY = false
  734. SWIM = true
  735. end)
  736. addcmd('noswim','noswim',nil,
  737. function(args)
  738. SWIM = false
  739. end)
  740. addcmd('skybox','sky <id>',nil,
  741. function(args)
  742. for i,v in pairs(game.Lighting:GetChildren()) do
  743. if v:IsA('Sky') then
  744. v:remove()
  745. end
  746. end
  747. local ID = (args[1])
  748. local sky = Instance.new('Sky', game.Lighting)
  749. sky.SkyboxBk = 'rbxassetid://' .. ID
  750. sky.SkyboxDn = 'rbxassetid://' .. ID
  751. sky.SkyboxFt = 'rbxassetid://' .. ID
  752. sky.SkyboxLf = 'rbxassetid://' .. ID
  753. sky.SkyboxRt = 'rbxassetid://' .. ID
  754. sky.SkyboxUp = 'rbxassetid://' .. ID
  755. end)
  756. addcmd('shrek','shrek <p>',nil,
  757. function(args)
  758. local players = getPlayer(args[1])
  759. for i,v in pairs(players) do
  760. local pchar = gPlayers[v].Character
  761. for i,v in pairs(pchar:GetChildren()) do
  762. if v:IsA('Hat') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') then
  763. v:remove()
  764. end
  765. end
  766. for i,v in pairs(pchar.Head:GetChildren()) do
  767. if v:IsA('Decal') or v:IsA('SpecialMesh')then
  768. v:remove()
  769. end
  770. end
  771. if pchar:FindFirstChild('Shirt Graphic') then
  772. pchar['Shirt Graphic'].Archivable = false
  773. pchar['Shirt Graphic'].Graphic = ''
  774. end
  775. local mesh = Instance.new('SpecialMesh', pchar.Head)
  776. mesh.MeshType = 'FileMesh'
  777. pchar.Head.Mesh.MeshId = 'http://www.roblox.com/asset/?id=19999257'
  778. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  779. pchar.Head.Mesh.TextureId = 'http://www.roblox.com/asset/?id=156397869'
  780. local Shirt = Instance.new('Shirt', gPlayers[v].Character)
  781. local Pants = Instance.new('Pants', gPlayers[v].Character)
  782. Shirt.ShirtTemplate = 'rbxassetid://133078194'
  783. Pants.PantsTemplate = 'rbxassetid://133078204'
  784. end
  785. end)
  786. addcmd('ambient','ambient <n> <n> <n>',nil,
  787. function(args)
  788. game.Lighting.Ambient = Color3.new(args[1], args[2], args[3])
  789. end)
  790. addcmd('fetp','fetp',nil,
  791. function(args)
  792. local last_pos = game.Players.LocalPlayer.Character.Torso.CFrame
  793. for _, Player in pairs(game:GetService("Players"):GetChildren()) do
  794. if game.Workspace:findFirstChild(Player.Name) then
  795. local w = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  796. w.Part0 = w.Parent
  797. w.Part1 = Player.Character.Torso
  798. w.C0 = last_pos
  799. w.C1 = last_pos
  800. wait(0.1)
  801. w:Destroy()
  802. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  803. end
  804. end
  805. wait(1)
  806. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  807. end)
  808. addcmd('fogend','fogend <n>',nil,
  809. function(args)
  810. game.Lighting.FogEnd = args[1]
  811. end)
  812. addcmd('slock','serverlock',nil,
  813. function(args)
  814. serverLocked = true
  815. end)
  816.  
  817. addcmd('unslock','unserverlock',nil,
  818. function(args)
  819. serverLocked = false
  820. end)
  821. addcmd('fogend','fogend <n>',{},
  822. function(args)
  823. game.Lighting.FogEnd = args[1]
  824. end)
  825. addcmd('fogcolor','fogcolor <n> <n> <n>',{},
  826. function(args)
  827. game.Lighting.FogColor = Color3.new(args[1], args[2], args[3])
  828. end)
  829. addcmd('fixl','fixlighting',nil,
  830. function(args)
  831. FIX_LIGHTING()
  832. end)
  833. addcmd('particles','particles <p> <id>',{'pts'},
  834. function(args)
  835. local players = getPlayer(args[1])
  836. for i,v in pairs(players) do
  837. local pchar = gPlayers[v].Character
  838. for i,v in pairs(pchar.Torso:GetChildren()) do
  839. if v:IsA('ParticleEmitter') then
  840. v:remove()
  841. end
  842. end
  843. wait()
  844. Instance.new('ParticleEmitter', pchar.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. args[2] - 1
  845. end
  846. end)
  847. addcmd('nuke','nuke <p>',nil,
  848. function(args)
  849. local players = getPlayer(args[1])
  850. for i,v in pairs(players) do
  851. local pchar = gPlayers[v].Character
  852. spawn(function()
  853. if gPlayers[v] and pchar and pchar:FindFirstChild('Torso') then
  854. local nuke = Instance.new('Part', game.Workspace)
  855. nuke.Name = 'nuke_seth'
  856. nuke.Anchored = true
  857. nuke.CanCollide = false
  858. nuke.FormFactor = 'Symmetric'
  859. nuke.Shape = 'Ball'
  860. nuke.Size = Vector3.new(1,1,1)
  861. nuke.BrickColor = BrickColor.new('New Yeller')
  862. nuke.Transparency = 0.5
  863. nuke.Reflectance = 0.2
  864. nuke.TopSurface = 0
  865. nuke.BottomSurface = 0
  866. nuke.Touched:connect(function (hit)
  867. if hit and hit.Parent then
  868. local boom = Instance.new('Explosion', game.Workspace)
  869. boom.Position = hit.Position
  870. boom.BlastRadius = 11
  871. boom.BlastPressure = math.huge
  872. end
  873. end)
  874. local CF = pchar.Torso.CFrame
  875. nuke.CFrame = CF
  876. for i = 1,333 do
  877. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  878. nuke.CFrame = CF
  879. wait(1/44)
  880. end
  881. nuke:remove()
  882. end
  883. end)
  884. end
  885. end)
  886. addcmd('nonuke','nonuke',{'unnuke'},
  887. function(args)
  888. for i,v in pairs(game.Workspace:GetChildren()) do
  889. if v.Name == 'nuke_seth' then
  890. v:remove()
  891. end
  892. end
  893. end)
  894. _G.Rc7Notification("Done","Rc7 Admin by Caleb",5)
  895. wait(5)
  896. if game.Workspace.FilteringEnabled == true then
  897. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  898. else
  899. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  900. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement