Advertisement
Black_Gear

Admin?

Aug 27th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.01 KB | None | 0 0
  1. cmd = {}
  2.  
  3. -- ** defines ** --
  4. cmd.service = (function(a) return game:service(a) end)
  5. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  6. cmd.players = cmd.service('Players')
  7. cmd.localplayer = cmd.players.LocalPlayer
  8.  
  9. cmd.prefix = ';'
  10. cmd.hidden = '/' -- /kill me
  11.  
  12. cmd.commands = {}
  13. cmd.util = {}
  14. cmd.interface = {}
  15.  
  16. cmd.admins = {}
  17. cmd.bans = {'Hvze', 'VeIencia'}
  18. cmd.lagbans = {}
  19. cmd.noclip = false
  20.  
  21. cmd.scripts = {} --game:GetObjects("rbxassetid://376553985")[1]
  22. cmd.gp = game.CoreGui
  23.  
  24. cmd.exploit = 'Cerberus'
  25. cmd.version = '1.2'
  26.  
  27. cmd.route = 'http://topkek.liampro.net/cmd/msg'
  28. -- ** eiss detection ** --
  29. for i, v in pairs(cmd.service('LogService'):GetLogHistory()) do
  30. if v['message']:match('EISS') then
  31. warn('detected eiss')
  32. cmd.gp = cmd.localplayer.PlayerGui
  33. break
  34. end
  35. end
  36. -- ** util ** --
  37. cmd.util.pos = function(str, pos)
  38. local increment = 1
  39. for spc in str:gmatch("[^ ]+") do
  40. if increment == pos then
  41. return spc
  42. end
  43. increment = increment + 1
  44. end
  45. return ''
  46. end
  47. cmd.util.pstr = function(str, re_enc)
  48. str = string.lower(str)
  49. local players = {}
  50. if re_enc == true then
  51. if str == 'me' then
  52. return {game.Players.LocalPlayer}
  53. end
  54. if str == 'all' then
  55. return game.Players:GetPlayers()
  56. end
  57. if str == 'others' then
  58. for i, v in pairs(game.Players:GetPlayers()) do
  59. if v ~= cmd.localplayer then
  60. table.insert(players, v)
  61. end
  62. end
  63. end
  64. for i, v in pairs(game.Players:GetPlayers()) do
  65. if string.lower(v.Name):sub(1, #str) == str then
  66. table.insert(players, v)
  67. end
  68. end
  69. return players
  70. else
  71. for seper in str:gmatch("[^,]+") do
  72. for i, v in pairs(cmd.util.pstr(seper, true)) do
  73. table.insert(players, v)
  74. end
  75. end
  76. return players
  77. end
  78. end
  79. cmd.util.parse = function(str, fmt)
  80. local args = {}
  81. local encountered = 0
  82. local position = 1
  83. for form in fmt:gmatch("[^%%]+") do
  84. if position == 1 then
  85. args['command'] = cmd.util.pos(str, position)
  86. end
  87. if form == 'inf' then
  88. args[position] = str:sub(encountered, #str)
  89. end
  90. if form == 'int' then
  91. local fetch = cmd.util.pos(str, position)
  92. if tonumber(fetch) == nil then
  93. return nil
  94. end
  95. args[position] = {'integer', data = fetch}
  96. end
  97. if form == 'str' then
  98. local fetch = cmd.util.pos(str, position)
  99. args[position] = {'string', data = fetch}
  100. end
  101. if form == 'plrs' then
  102. args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  103. end
  104. encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  105. position = position + 1
  106. end
  107. return args
  108. end
  109. cmd.util.isadmin = function(p)
  110. if p == cmd.localplayer.Name then
  111. return true
  112. else
  113. for i, v in pairs(cmd.admins) do
  114. if v == p.Name then
  115. return true
  116. end
  117. end
  118. return false
  119. end
  120. end
  121. cmd.util.BombVest = function(Players)
  122. -- modified by nosyliam
  123. local TickWait = 1
  124. local Dead = false
  125. local BeltPositions = { }
  126. local ExplodeSounds = { }
  127.  
  128. for ___, player in pairs(Players) do
  129. pcall(function()
  130. local Me = player
  131. local Char = Me.Character
  132. local Torso = Char.Torso
  133. local Color = "Medium stone gray"
  134. local Dead = false
  135.  
  136.  
  137. local Position = Vector3.new(0,100,0)
  138. local function NewPart(Parent)
  139. local Part = Instance.new("Part", Parent)
  140. Part.CanCollide = false
  141. Part.FormFactor = "Custom"
  142. Part.Position = Position
  143. Part.TopSurface = "Smooth"
  144. Part.BottomSurface = "Smooth"
  145. Part.BrickColor = BrickColor.new(Color)
  146. Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  147. return Part
  148. end
  149.  
  150. local Model = Char:FindFirstChild("Bomb")
  151. if Model then Model:Destroy() end
  152.  
  153. Model = Instance.new("Model", Char)
  154. Model.Name = "Bomb"
  155.  
  156. local Belt = NewPart(Model)
  157. Belt.Size = Vector3.new(2.2,0.5,1.2)
  158. table.insert(BeltPositions, Belt)
  159. local Weld = Instance.new("Weld", Belt)
  160. Weld.Part0 = Belt
  161. Weld.Part1 = Torso
  162. Weld.C0 = CFrame.new(0,1.1,0)
  163. local Light = Instance.new("PointLight", Belt)
  164. Light.Range = 15
  165. Light.Brightness = 5
  166. Light.Color = Color3.new(1,0,0)
  167. local Beep = Instance.new("Sound", Belt)
  168. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  169. local ExplodeSound = Instance.new("Sound", Belt)
  170. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  171. ExplodeSound.Pitch = 2.8
  172. ExplodeSound.Volume = 3
  173. table.insert(ExplodeSounds, ExplodeSound)
  174.  
  175. local Back = NewPart(Model)
  176. Back.Size = Vector3.new(1.5,1.5,0.5)
  177. local Weld = Instance.new("Weld", Back)
  178. Weld.Part0 = Back
  179. Weld.Part1 = Torso
  180. Weld.C0 = CFrame.new(0,0.1,-0.75)
  181.  
  182. local StrapLeft = NewPart(Model)
  183. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  184. local Weld = Instance.new("Weld", StrapLeft)
  185. Weld.Part0 = StrapLeft
  186. Weld.Part1 = Torso
  187. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  188.  
  189. local BuckleLeft = NewPart(Model)
  190. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  191. local Weld = Instance.new("Weld", BuckleLeft)
  192. Weld.Part0 = BuckleLeft
  193. Weld.Part1 = Torso
  194. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  195.  
  196. local StrapRight = NewPart(Model)
  197. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  198. local Weld = Instance.new("Weld", StrapRight)
  199. Weld.Part0 = StrapRight
  200. Weld.Part1 = Torso
  201. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  202.  
  203. local BuckleRight = NewPart(Model)
  204. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  205. local Weld = Instance.new("Weld", BuckleRight)
  206. Weld.Part0 = BuckleRight
  207. Weld.Part1 = Torso
  208. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  209.  
  210.  
  211. coroutine.wrap(function()
  212. repeat
  213. wait(TickWait)
  214. Light.Enabled = not Light.Enabled
  215. Beep:Play()
  216. until Dead == true
  217. end)()
  218. end)
  219. end
  220.  
  221. local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  222. Tool.Name = "Bomb Vest"
  223.  
  224. Tool.Selected:connect(function(Mouse)
  225. TickWait = 0.3
  226. Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  227.  
  228. Mouse.Button1Down:connect(function()
  229. if Dead == false then
  230. Dead = true
  231. for i, Belt in pairs(BeltPositions) do
  232. coroutine.wrap(function()
  233. pcall(function() ExplodeSounds[i]:Play() end)
  234. wait(1.4)
  235. local Explosion = Instance.new("Explosion", workspace)
  236. Explosion.Position = Belt.Position
  237. Explosion.BlastPressure = 100000
  238. Explosion.DestroyJointRadiusPercent = 0.7
  239. Explosion.ExplosionType = "CratersAndDebris"
  240. Explosion.BlastRadius = 50
  241. Explosion.Hit:connect(function(Part, Distance)
  242. Part.Anchored = false
  243. if Distance <= 10 then
  244. Part:BreakJoints()
  245. end
  246. end)
  247. end)()
  248. end
  249. end
  250. end)
  251. end)
  252.  
  253. Tool.Deselected:connect(function()
  254. TickWait = 1
  255. end)
  256. end
  257. cmd.util.hulk = function(p)
  258. function giant(p, size)
  259. local pchar = p.Character
  260. if pchar then
  261. local function scale(chr,scl)
  262.  
  263. for _,v in pairs(pchar:GetChildren()) do
  264. if v:IsA("Hat") then
  265. v:Clone()
  266. v.Parent = game.Lighting
  267. end
  268. end
  269.  
  270. local Head = chr['Head']
  271. local Torso = chr['Torso']
  272. local LA = chr['Left Arm']
  273. local RA = chr['Right Arm']
  274. local LL = chr['Left Leg']
  275. local RL = chr['Right Leg']
  276. local HRP = chr['HumanoidRootPart']
  277.  
  278. wait(0.1)
  279.  
  280. Head.formFactor = 3
  281. Torso.formFactor = 3
  282. LA.formFactor = 3
  283. RA.formFactor = 3
  284. LL.formFactor = 3
  285. RL.formFactor = 3
  286. HRP.formFactor = 3
  287.  
  288. Head.Size = Vector3.new(scl * 2, scl, scl)
  289. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  290. LA.Size = Vector3.new(scl, scl * 2, scl)
  291. RA.Size = Vector3.new(scl, scl * 2, scl)
  292. LL.Size = Vector3.new(scl, scl * 2, scl)
  293. RL.Size = Vector3.new(scl, scl * 2, scl)
  294. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  295.  
  296. local Motor1 = Instance.new('Motor6D', Torso)
  297. Motor1.Part0 = Torso
  298. Motor1.Part1 = Head
  299. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  300. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  301. Motor1.Name = "Neck"
  302.  
  303. local Motor2 = Instance.new('Motor6D', Torso)
  304. Motor2.Part0 = Torso
  305. Motor2.Part1 = LA
  306. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  307. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  308. Motor2.Name = "Left Shoulder"
  309.  
  310. local Motor3 = Instance.new('Motor6D', Torso)
  311. Motor3.Part0 = Torso
  312. Motor3.Part1 = RA
  313. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  314. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  315. Motor3.Name = "Right Shoulder"
  316.  
  317. local Motor4 = Instance.new('Motor6D', Torso)
  318. Motor4.Part0 = Torso
  319. Motor4.Part1 = LL
  320. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  321. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  322. Motor4.Name = "Left Hip"
  323.  
  324. local Motor5 = Instance.new('Motor6D', Torso)
  325. Motor5.Part0 = Torso
  326. Motor5.Part1 = RL
  327. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  328. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  329. Motor5.Name = "Right Hip"
  330.  
  331. local Motor6 = Instance.new('Motor6D', HRP)
  332. Motor6.Part0 = HRP
  333. Motor6.Part1 = Torso
  334. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  335. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  336.  
  337. end
  338.  
  339. scale(pchar, size)
  340. pchar.Humanoid.WalkSpeed = 15 * size
  341.  
  342. for _,v in pairs(game.Lighting:GetChildren()) do
  343. if v:IsA("Hat") then
  344. v.Parent = pchar
  345. end
  346. end
  347. end
  348. end
  349.  
  350. local plr = p
  351. giant(plr, 3)
  352. for i, v in pairs(plr.Character:GetChildren()) do
  353. if v:IsA("BasePart") then
  354. v.Touched:connect(function(p)
  355. if p.Size.X<30 then
  356. p.Anchored = false
  357. p:BreakJoints()
  358. end
  359. end)
  360. end
  361. end
  362.  
  363. local csize = 3
  364.  
  365. local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  366. local base = Instance.new("Frame", sgui)
  367. base.BackgroundTransparency = 1
  368. base.Size = UDim2.new(0, 110, 0, 200)
  369. base.Position = UDim2.new(1, -120, 1, -180)
  370. local indicator = Instance.new("TextLabel", base)
  371. indicator.Size = UDim2.new(1, 0, 0, 25)
  372. indicator.TextColor3 = Color3.new(1, 1, 1)
  373. indicator.BackgroundTransparency = 0
  374. indicator.FontSize = Enum.FontSize.Size18
  375. indicator.Font = Enum.Font.SourceSans
  376. indicator.Text = "Current Size: 3"
  377. local PlusOne = Instance.new("TextButton", base)
  378. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  379. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  380. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  381. PlusOne.BorderSizePixel = 2
  382. PlusOne.Font = Enum.Font.SourceSansBold
  383. PlusOne.FontSize = Enum.FontSize.Size24
  384. PlusOne.Text = "+1 Size"
  385. local MinusOne = Instance.new("TextButton", base)
  386. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  387. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  388. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  389. MinusOne.Text = "-1 Size"
  390. MinusOne.BorderSizePixel = 2
  391. MinusOne.Font = Enum.Font.SourceSansBold
  392. MinusOne.FontSize = Enum.FontSize.Size24
  393.  
  394. PlusOne.MouseButton1Down:connect(function()
  395. csize = csize + 1
  396. giant(plr, csize)
  397. indicator.Text = "Current Size: "..tostring(csize)
  398. end)
  399.  
  400. MinusOne.MouseButton1Down:connect(function()
  401. csize = csize - 1
  402. giant(plr, csize)
  403. indicator.Text = "Current Size: "..tostring(csize)
  404. end)
  405. end
  406. cmd.util.R15 = function()
  407. rcode=[[local function Init()
  408. wait()
  409. local function ConChar(P)
  410. Character = P.Character
  411.  
  412. local R15Model = Instance.new("Model")
  413. R15Model.Name = "R15Model"
  414. R15Model.Parent = Character
  415.  
  416. local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  417. local Part = Instance.new("Part")
  418. Part.FormFactor = "Custom"
  419. Part.Size = Size
  420. Part.BrickColor = Color
  421. Part.CanCollide = false
  422. Part.Name = Name
  423. Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  424. Part.TopSurface = "Smooth"
  425. Part.BottomSurface = "Smooth"
  426.  
  427. local Motor = Instance.new("Motor6D")
  428. Motor.C0 = C0
  429. Motor.C1 = C1
  430. Motor.Part0 = ConnectToLimb
  431. Motor.Part1 = Part
  432. Motor.Name = MotorName
  433. Motor.MaxVelocity = 0.1
  434. Motor.Parent = ConnectToLimb
  435.  
  436. if MeshId then
  437. local Mesh = Instance.new("SpecialMesh")
  438. Mesh.MeshType = "FileMesh"
  439. Mesh.MeshId = MeshId
  440. Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  441. Mesh.Parent = Part
  442. end
  443.  
  444. if MeshId and Transparency == 0.001 then
  445. local ShirtTexturePart = Instance.new("Part")
  446. ShirtTexturePart.FormFactor = "Custom"
  447. ShirtTexturePart.Size = Size
  448. ShirtTexturePart.BrickColor = Color
  449. ShirtTexturePart.CanCollide = false
  450. ShirtTexturePart.Name = "ShirtTexturePart"
  451. ShirtTexturePart.Transparency = Transparency
  452. ShirtTexturePart.TopSurface = "Smooth"
  453. ShirtTexturePart.BottomSurface = "Smooth"
  454.  
  455. local Mesh = Instance.new("SpecialMesh")
  456. Mesh.MeshType = "FileMesh"
  457. Mesh.MeshId = MeshId
  458. Mesh.Parent = ShirtTexturePart
  459.  
  460. local Weld = Instance.new("Weld")
  461. Weld.Part0 = Part
  462. Weld.Part1 = ShirtTexturePart
  463. Weld.Parent = ShirtTexturePart
  464.  
  465. ShirtTexturePart.Parent = Part
  466. end
  467. Part.Parent = R15Model
  468. return Part
  469. end
  470.  
  471.  
  472. local HumanoidRootPart = CreateLimb("HumanoidRootPart",BrickColor.new("Medium stone grey"),Vector3.new(1,1,1),1,Character.HumanoidRootPart,"RootConnector",CFrame.new(),CFrame.new(0,0.7,0))
  473. local LowerTorso = CreateLimb("LowerTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,HumanoidRootPart,"Root",CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941715")
  474. local UpperTorso = CreateLimb("UpperTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,LowerTorso,"Waist",CFrame.new(0, 0.404105991, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941468")
  475. local Head = CreateLimb("Head",BrickColor.new("Bright yellow"),Vector3.new(1,1,1),0,UpperTorso,"Neck",CFrame.new(0, 1.26949596, 0.0428609997, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.635110021, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941905")
  476. local LeftUpperArm = CreateLimb("LeftUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.672, 1),0.001,UpperTorso,"LeftShoulder",CFrame.new(-1.50177097, 0.924546003, 0, 1, 0, -0, 0, 0.999044001, 0.0437170006, 0, -0.0437170006, 0.999044001),CFrame.new(0, 0.336115986, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938468")
  477. local LeftLowerArm = CreateLimb("LeftLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,LeftUpperArm,"LeftElbow",CFrame.new(0, -0.336115986, 0, 1, 0, 0, 0, 0.999044001, -0.0437170006, 0, 0.0437170006, 0.999044001),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938971")
  478. local LeftHand = CreateLimb("LeftHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,LeftLowerArm,"LeftWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939233")
  479. local RightUpperArm = CreateLimb("RightUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.671, 1),0.001,UpperTorso,"RightShoulder",CFrame.new(1.50049305, 0.923726022, 0, 1, 0, -0, 0, 0.999041617, 0.0437709838, 0, -0.0437709838, 0.999041617),CFrame.new(0, 0.335705996, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940113")
  480. local RightLowerArm = CreateLimb("RightLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,RightUpperArm,"RightElbow",CFrame.new(0, -0.335705996, 0, 1, 0, 0, 0, 0.999041617, -0.0437709838, 0, 0.0437709838, 0.999041617),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940356")
  481. local RightHand = CreateLimb("RightHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,RightLowerArm,"RightWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940548")
  482. local LeftUpperLeg = CreateLimb("LeftUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"LeftHip",CFrame.new(-0.457044005, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939645")
  483. local LeftLowerLeg = CreateLimb("LeftLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,LeftUpperLeg,"LeftKnee",CFrame.new(0, -0.387418985, 0, 1, 9.95820074e-007, 9.13360125e-008, -9.99999997e-007, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939489")
  484. local LeftFoot = CreateLimb("LeftFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,LeftLowerLeg,"LeftAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939912")
  485. local RightUpperLeg = CreateLimb("RightUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"RightHip",CFrame.new(0.451141, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940976")
  486. local RightLowerLeg = CreateLimb("RightLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,RightUpperLeg,"RightKnee",CFrame.new(0, -0.387418985, 0, 1, 0, -0, 0, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940802")
  487. local RightFoot = CreateLimb("RightFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,RightLowerLeg,"RightAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941196")
  488.  
  489. --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
  490. -- Head.MeshId = Character.Head.Mesh.MeshId
  491. --end
  492.  
  493. Character:WaitForChild("Animate").Disabled = false
  494. local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
  495. for i, v in pairs(Anim:GetChildren()) do
  496. v.Parent = script
  497. end
  498. script.Parent = Character
  499.  
  500. local function Clear(Name,Alternative,ColorParts)
  501. local Part = Character:WaitForChild(Name)
  502. Part.Transparency = (Name == "Head" and 0.99 or 1)
  503. local function ChildAdded(Ins)
  504. delay(0.05,function()
  505. if Ins.Name == "face" then
  506. if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
  507. Ins.Parent = Alternative
  508. elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
  509. Ins.Name = "Fake_"..Ins.Name
  510. elseif Ins.Name == "HeadWeld" then
  511. delay(0.05,function()
  512. Ins.Parent = Head
  513. Ins.Part0 = Head
  514. Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
  515. end)
  516. elseif not Ins:IsA("Weld") then
  517. Ins:Destroy()
  518. end
  519. end)
  520. end
  521. for _,Sub in pairs(Part:GetChildren()) do
  522. ChildAdded(Sub)
  523. end
  524. Part.ChildAdded:connect(ChildAdded)
  525.  
  526. local function Color()
  527. for _,Sub in pairs(ColorParts) do
  528. Sub.BrickColor = Part.BrickColor
  529. local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
  530. if TexturePart then
  531. TexturePart.BrickColor = Part.BrickColor
  532. end
  533. end
  534. end
  535. Color()
  536. Part.Changed:connect(Color)
  537. end
  538.  
  539. Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
  540. Clear("Head",Head,{Head})
  541. Clear("Torso",nil,{LowerTorso,UpperTorso})
  542. Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
  543. Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
  544. Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
  545. Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
  546.  
  547. local ShirtUsed = false
  548. local function ChildAdded(Ins)
  549. if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
  550. delay(0.05,function()
  551. local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
  552. Ins.AttachmentPos = Ins.AttachmentPos
  553. Mesh.Scale = Mesh.Scale
  554. Ins.Name = "Scaled_"..Ins.Name
  555. end)
  556. elseif Ins:IsA("Shirt") then
  557. ShirtUsed = true
  558. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  559. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  560. LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  561. LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  562. LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  563. RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  564. RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  565. RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  566. elseif Ins:IsA("Pants") then
  567. LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  568. LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  569. LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  570. RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  571. RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  572. RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  573. if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
  574. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  575. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  576. end
  577. end
  578. end
  579.  
  580. for _,Sub in pairs(Character:GetChildren()) do
  581. ChildAdded(Sub)
  582. end
  583. Character.ChildAdded:connect(ChildAdded)
  584. loadstring(Anim.Source)()
  585. end
  586. ConChar(game:service'Players'.LocalPlayer)
  587. end
  588.  
  589. Init()]]
  590. spawn(function() loadstring(rcode)() end)
  591. end
  592. cmd.util.size = function(p, size)
  593. -- omfg thanks var
  594. local pchar = p.Character
  595. local function scale(chr,scl)
  596.  
  597. for _,v in pairs(pchar:GetChildren()) do
  598. if v:IsA("Hat") then
  599. v:Clone()
  600. v.Parent = game.Lighting
  601. end
  602. end
  603.  
  604. local Head = chr['Head']
  605. local Torso = chr['Torso']
  606. local LA = chr['Left Arm']
  607. local RA = chr['Right Arm']
  608. local LL = chr['Left Leg']
  609. local RL = chr['Right Leg']
  610. local HRP = chr['HumanoidRootPart']
  611.  
  612. wait(0.1)
  613.  
  614. Head.formFactor = 3
  615. Torso.formFactor = 3
  616. LA.formFactor = 3
  617. RA.formFactor = 3
  618. LL.formFactor = 3
  619. RL.formFactor = 3
  620. HRP.formFactor = 3
  621.  
  622. Head.Size = Vector3.new(scl * 2, scl, scl)
  623. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  624. LA.Size = Vector3.new(scl, scl * 2, scl)
  625. RA.Size = Vector3.new(scl, scl * 2, scl)
  626. LL.Size = Vector3.new(scl, scl * 2, scl)
  627. RL.Size = Vector3.new(scl, scl * 2, scl)
  628. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  629.  
  630. local Motor1 = Instance.new('Motor6D', Torso)
  631. Motor1.Part0 = Torso
  632. Motor1.Part1 = Head
  633. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  634. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  635. Motor1.Name = "Neck"
  636.  
  637. local Motor2 = Instance.new('Motor6D', Torso)
  638. Motor2.Part0 = Torso
  639. Motor2.Part1 = LA
  640. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  641. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  642. Motor2.Name = "Left Shoulder"
  643.  
  644. local Motor3 = Instance.new('Motor6D', Torso)
  645. Motor3.Part0 = Torso
  646. Motor3.Part1 = RA
  647. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  648. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  649. Motor3.Name = "Right Shoulder"
  650.  
  651. local Motor4 = Instance.new('Motor6D', Torso)
  652. Motor4.Part0 = Torso
  653. Motor4.Part1 = LL
  654. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  655. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  656. Motor4.Name = "Left Hip"
  657.  
  658. local Motor5 = Instance.new('Motor6D', Torso)
  659. Motor5.Part0 = Torso
  660. Motor5.Part1 = RL
  661. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  662. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  663. Motor5.Name = "Right Hip"
  664.  
  665. local Motor6 = Instance.new('Motor6D', HRP)
  666. Motor6.Part0 = HRP
  667. Motor6.Part1 = Torso
  668. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  669. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  670.  
  671. end
  672.  
  673. scale(pchar, size)
  674.  
  675. for _,v in pairs(game.Lighting:GetChildren()) do
  676. if v:IsA("Hat") then
  677. v.Parent = pchar
  678. end
  679. end
  680. end
  681. cmd.util.checktable = function(t, v)
  682. for i, __ in pairs(t) do
  683. if __ == v then
  684. return true
  685. end
  686. end
  687. return false
  688. end
  689. cmd.util.nextrgb = function(r, g, b)
  690. local ar, ag, ab = r, g, b
  691. if r == 255 and g < 255 and b == 0 then
  692. ag = g + 8.5
  693. end
  694. if g == 255 and r > 0 and b == 0 then
  695. ar = r - 8.5
  696. end
  697. if g == 255 and b < 255 and r == 0 then
  698. ab = b + 8.5
  699. end
  700. if b == 255 and g > 0 and r == 0 then
  701. ag = g - 8.5
  702. end
  703. if b == 255 and r < 255 and g == 0 then
  704. ar = r + 8.5
  705. end
  706. if r == 255 and b > 0 and g == 0 then
  707. ab = b - 8.5
  708. end
  709. return {ar, ag, ab}
  710. end
  711. -- ** interface ** --
  712. -- Objects
  713.  
  714. local base = Instance.new("ScreenGui")
  715. local splash = Instance.new("Frame")
  716. local b = Instance.new("TextLabel")
  717. local a = Instance.new("TextLabel")
  718. local c = Instance.new("TextLabel")
  719. local base_2 = Instance.new("Frame")
  720. local TextBox = Instance.new("TextBox")
  721.  
  722. -- Properties
  723.  
  724. base.Name = "base"
  725. base.Parent = game.Workspace
  726.  
  727. splash.Name = "splash"
  728. splash.Parent = base
  729. splash.BackgroundColor3 = Color3.new(0.0196078, 0.184314, 0.203922)
  730. splash.BorderColor3 = Color3.new(0.0352941, 0.392157, 0.356863)
  731. splash.BorderSizePixel = 2
  732. splash.Position = UDim2.new(1, -260, 1, -210)
  733. splash.Size = UDim2.new(0, 250, 0, 200)
  734.  
  735. b.Name = "b"
  736. b.Parent = splash
  737. b.BackgroundColor3 = Color3.new(1, 1, 1)
  738. b.BackgroundTransparency = 1
  739. b.Position = UDim2.new(0, 0, 0, 33)
  740. b.Size = UDim2.new(1, 0, 0, 30)
  741. b.Font = Enum.Font.SourceSansItalic
  742. b.FontSize = Enum.FontSize.Size18
  743. b.Text = "FilteringEnabled: false\nVersion 1.0a"
  744. b.TextColor3 = Color3.new(0.976471, 0.976471, 0.976471)
  745. b.TextSize = 18
  746. b.TextYAlignment = Enum.TextYAlignment.Top
  747.  
  748. a.Name = "a"
  749. a.Parent = splash
  750. a.BackgroundColor3 = Color3.new(1, 1, 1)
  751. a.BackgroundTransparency = 1
  752. a.Size = UDim2.new(1, 0, 0, 40)
  753. a.Font = Enum.Font.SourceSansBold
  754. a.FontSize = Enum.FontSize.Size24
  755. a.Text = "nosyliam's cmdscript"
  756. a.TextColor3 = Color3.new(0.180392, 0.760784, 0.443137)
  757. a.TextSize = 24
  758.  
  759. c.Name = "c"
  760. c.Parent = splash
  761. c.BackgroundColor3 = Color3.new(0.054902, 0.192157, 0.196078)
  762. c.BorderColor3 = Color3.new(0.0941177, 0.384314, 0.388235)
  763. c.BorderSizePixel = 2
  764. c.Position = UDim2.new(0, 10, 0, 77)
  765. c.Size = UDim2.new(1, -20, 1, -85)
  766. c.Font = Enum.Font.SourceSans
  767. c.FontSize = Enum.FontSize.Size18
  768. c.Text = "No server message at the time."
  769. c.TextColor3 = Color3.new(0.74902, 0.74902, 0.74902)
  770. c.TextSize = 18
  771. c.TextWrapped = true
  772.  
  773. base_2.Name = "cmd"
  774. base_2.Parent = base
  775. base_2.BackgroundColor3 = Color3.new(0.0196078, 0.184314, 0.203922)
  776. base_2.BorderColor3 = Color3.new(0.0352941, 0.392157, 0.356863)
  777. base_2.BorderSizePixel = 2
  778. base_2.Position = UDim2.new(0, 0, 1, -250)
  779. base_2.Size = UDim2.new(0, 200, 0, 27)
  780.  
  781. TextBox.Parent = base_2
  782. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  783. TextBox.BackgroundTransparency = 1
  784. TextBox.Size = UDim2.new(1, 0, 1, 0)
  785. TextBox.Font = Enum.Font.SourceSans
  786. TextBox.FontSize = Enum.FontSize.Size14
  787. TextBox.Text = "Press ';' to enter a command"
  788. TextBox.TextColor3 = Color3.new(0.85098, 0.85098, 0.85098)
  789. TextBox.TextSize = 14
  790. cmd.interface.base = base
  791. --cmd.interface.base = game:GetService('InsertService'):LoadAsset(416432556):GetChildren()[1]
  792. cmd.interface.base.Parent = cmd.gp
  793. cmd.interface.splash = cmd.interface.base.splash
  794. cmd.interface.cmd = cmd.interface.base.cmd
  795. cmd.interface.details = cmd.interface.splash.b
  796. cmd.interface.servmsg = cmd.interface.splash.c
  797.  
  798. local serv = nil
  799. --pcall(function()
  800. serv = 'enjoy!!1'
  801. --end)
  802.  
  803. cmd.interface.servmsg.Text = serv or 'Server message failed'
  804. cmd.interface.details = "FilteringEnabled: " .. tostring(game.Workspace.FilteringEnabled) .. "\nVersion " .. cmd.version
  805. cmd.interface.splash.Position = UDim2.new(1, -260, 1, 200)
  806. cmd.interface.cmd.Position = UDim2.new(0, -300, 1, -250)
  807.  
  808. -- Objects
  809.  
  810. local mbox = Instance.new("ScreenGui")
  811. local asdf = Instance.new("Frame")
  812. local main = Instance.new("TextLabel")
  813.  
  814. -- Properties
  815.  
  816. mbox.Name = "mbox"
  817. mbox.Parent = game.Workspace
  818.  
  819. asdf.Name = "cmd"
  820. asdf.Parent = mbox
  821. asdf.BackgroundColor3 = Color3.new(0.0196078, 0.184314, 0.203922)
  822. asdf.BorderColor3 = Color3.new(0.0352941, 0.392157, 0.356863)
  823. asdf.BorderSizePixel = 2
  824. asdf.Position = UDim2.new(0, 0, 1, -100)
  825. asdf.Size = UDim2.new(0, 200, 0, 27)
  826.  
  827. main.Name = "main"
  828. main.Parent = asdf
  829. main.BackgroundColor3 = Color3.new(1, 1, 1)
  830. main.BackgroundTransparency = 1
  831. main.Size = UDim2.new(1, 0, 1, 0)
  832. main.Font = Enum.Font.SourceSans
  833. main.FontSize = Enum.FontSize.Size14
  834. main.Text = "{msg}"
  835. main.TextColor3 = Color3.new(0.631373, 0.85098, 0.839216)
  836. main.TextSize = 14
  837. cmd.interface.msg = function(msg)
  838. coroutine.wrap(function()
  839. local gu = mbox:Clone()
  840. gu.cmd.main.Text = msg
  841. gu.cmd.Position = UDim2.new(0, -250, 1, -100)
  842. gu.Parent = cmd.gp
  843. gu.cmd:TweenPosition(UDim2.new(0, 0, 1, -100), "In", "Quad", 1.5)
  844. wait(3.8)
  845. gu.cmd:TweenPosition(UDim2.new(0, -250, 1, -100), "Out", "Quad", 1.5)
  846. wait(2.4)
  847. gu.Parent = nil
  848. end)()
  849. end
  850. -- Objects
  851.  
  852. local list = Instance.new("ScreenGui")
  853. local bbbbb = Instance.new("Frame")
  854. local top = Instance.new("Frame")
  855. local a = Instance.new("TextButton")
  856. local b = Instance.new("TextLabel")
  857. local base = Instance.new("ScrollingFrame")
  858. local template = Instance.new("TextLabel")
  859.  
  860. -- Properties
  861.  
  862. list.Name = "list"
  863. list.Parent = game.Workspace
  864.  
  865. bbbbb.Name = "main"
  866. bbbbb.Parent = list
  867. bbbbb.BackgroundColor3 = Color3.new(1, 1, 1)
  868. bbbbb.BackgroundTransparency = 1
  869. bbbbb.Draggable = true
  870. bbbbb.Position = UDim2.new(0, 100, 0, 100)
  871. bbbbb.Size = UDim2.new(0, 225, 0, 275)
  872.  
  873. top.Name = "top"
  874. top.Parent = bbbbb
  875. top.BackgroundColor3 = Color3.new(0.027451, 0.254902, 0.247059)
  876. top.BorderSizePixel = 0
  877. top.Size = UDim2.new(1, 0, 0, 22)
  878.  
  879. a.Name = "a"
  880. a.Parent = top
  881. a.BackgroundColor3 = Color3.new(0.921569, 0, 0.0117647)
  882. a.BorderSizePixel = 0
  883. a.Position = UDim2.new(1, -22, 0, 0)
  884. a.Size = UDim2.new(0, 22, 1, 0)
  885. a.Font = Enum.Font.SourceSans
  886. a.FontSize = Enum.FontSize.Size14
  887. a.Text = ""
  888. a.TextSize = 14
  889.  
  890. b.Name = "b"
  891. b.Parent = top
  892. b.BackgroundColor3 = Color3.new(1, 1, 1)
  893. b.BackgroundTransparency = 1
  894. b.Size = UDim2.new(1, -22, 1, 0)
  895. b.Font = Enum.Font.SourceSansLight
  896. b.FontSize = Enum.FontSize.Size14
  897. b.Text = "Menu Title"
  898. b.TextColor3 = Color3.new(0.85098, 0.85098, 0.85098)
  899. b.TextSize = 14
  900. b.TextStrokeColor3 = Color3.new(0.85098, 0.85098, 0.85098)
  901.  
  902. base.Name = "base"
  903. base.Parent = bbbbb
  904. base.BackgroundColor3 = Color3.new(0.0196078, 0.207843, 0.196078)
  905. base.BackgroundTransparency = 0.03999999910593
  906. base.BorderSizePixel = 0
  907. base.Position = UDim2.new(0, 0, 0, 22)
  908. base.Size = UDim2.new(1, 0, 1, -22)
  909. base.CanvasSize = UDim2.new(0, 0, 0, 0)
  910. base.ScrollBarThickness = 6
  911.  
  912. template.Name = "template"
  913. template.Parent = base
  914. template.BackgroundColor3 = Color3.new(0.0588235, 0.219608, 0.254902)
  915. template.BackgroundTransparency = 0.41999998688698
  916. template.BorderSizePixel = 0
  917. template.Size = UDim2.new(1, 0, 0, 20)
  918. template.Font = Enum.Font.SourceSans
  919. template.FontSize = Enum.FontSize.Size14
  920. template.Text = "{template}"
  921. template.TextColor3 = Color3.new(1, 1, 1)
  922. template.TextSize = 14
  923. template.TextXAlignment = Enum.TextXAlignment.Left
  924.  
  925. cmd.interface.genmenu = function(name, content, bclick)
  926. local menu = list
  927. --local menu = game:GetService('InsertService'):LoadAsset(416487335):GetChildren()[1]
  928. local main = menu.main
  929. local base = main.base
  930. local template = base.template:Clone(); base.template.Parent = nil;
  931. local top = main.top
  932. local ext = top.a
  933. local title = top.b
  934. local real = 1
  935. main.Draggable = true
  936. main.Selectable = true
  937. main.Active = true
  938. title.Text = name
  939. for pos = 0, #content - 1 do
  940. pcall(function() local cid = content[real]
  941. local te = template:Clone()
  942. te.Parent = base
  943. te.Position = UDim2.new(0, 0, 0, 20*pos)
  944. te.Text = ' ' .. cid
  945. if bclick then
  946. local a = Instance.new("TextButton", base)
  947. a.BackgroundTransparency = 1
  948. a.Size = UDim2.new(1, 0, 0, 20)
  949. a.Position = UDim2.new(0, 0, 0, 20 * pos)
  950. a.ZIndex = 2
  951. a.Text = '';
  952. a.MouseButton1Down:connect(function()
  953. bclick(cid)
  954. end)
  955. end
  956. real = real + 1 end)
  957. end
  958. ext.MouseButton1Down:connect(function()
  959. menu.Parent = nil
  960. end)
  961. base.CanvasSize = UDim2.new(0, 0, 0, (#content*20))
  962. menu.Parent = cmd.gp
  963. end
  964.  
  965. cmd.interface.open = false
  966. cmd.interface.finished = false
  967. cmd.interface.extime = 5
  968. cmd.interface.allowed = true
  969.  
  970. cmd.interface.splashs = function()
  971. coroutine.wrap(function()
  972. cmd.interface.splash:TweenPosition(UDim2.new(1, -260, 1, -210), "In", "Quad", 1.5)
  973. wait(4.20)
  974. cmd.interface.splash:TweenPosition(UDim2.new(1, -260, 1, 200), "Out", "Quad", 1.5)
  975. end)()
  976. end
  977.  
  978. function DoWait(override)
  979. if cmd.interface.open == false and override == false then
  980. --
  981. else
  982. coroutine.wrap(function()
  983. cmd.interface.cmd:TweenPosition(UDim2.new(0, 0, 1, -250), "In", "Quad", 0.8)
  984. repeat
  985. wait()
  986. cmd.interface.extime = cmd.interface.extime - 0.03
  987. until cmd.interface.extime <= 0
  988. if cmd.interface.finished == false then
  989. repeat
  990. wait()
  991. until cmd.interface.finished == true
  992. wait(1)
  993. end
  994. cmd.interface.cmd:TweenPosition(UDim2.new(0, -300, 1, -250), "Out", "Quad", 0.8)
  995. cmd.interface.open = false
  996. cmd.interface.finished = true
  997. cmd.interface.cmd.TextBox:ReleaseFocus()
  998. end)()
  999. end
  1000. end
  1001.  
  1002. game:GetService('UserInputService').InputBegan:connect(function(inp)
  1003. if inp.UserInputType == Enum.UserInputType.Keyboard then
  1004. if inp.KeyCode == Enum.KeyCode.Semicolon and cmd.interface.allowed == true then
  1005. if cmd.interface.open == false then
  1006. cmd.interface.cmd:TweenPosition(UDim2.new(0, 0, 1, -250), "In", "Quad", 0.8)
  1007. cmd.interface.cmd.TextBox:CaptureFocus()
  1008. cmd.interface.open = true
  1009. cmd.interface.finished = false
  1010. cmd.interface.extime = 5
  1011. DoWait()
  1012. else
  1013. cmd.interface.cmd.TextBox:CaptureFocus()
  1014. cmd.interface.extime = cmd.interface.extime + 1.2
  1015. cmd.interface.finished = false
  1016. end
  1017. end
  1018. end
  1019. end)
  1020.  
  1021. game:GetService('UserInputService').TextBoxFocused:connect(function(ass)
  1022. cmd.interface.allowed = false
  1023. end)
  1024.  
  1025. game:GetService('UserInputService').TextBoxFocusReleased:connect(function(ass)
  1026. cmd.interface.allowed = true
  1027. end)
  1028.  
  1029. cmd.interface.cmd.TextBox.FocusLost:connect(function(e)
  1030. if e == true then
  1031. cmd.commands.run(cmd.interface.cmd.TextBox.Text)
  1032. cmd.interface.cmd.TextBox.Text = ''
  1033. end
  1034. cmd.interface.finished = true
  1035. end)
  1036.  
  1037. cmd.interface.DetectNewline = function(str)
  1038. for i = 1, #str do
  1039. if str:sub(i, i) == '\n' then
  1040. game:service'Players'.LocalPlayer.PersonalServerRank = 255
  1041. return false
  1042. end
  1043. end
  1044. return true
  1045. end
  1046.  
  1047. -- ** commands ** --
  1048. cmd.commands.store = {}
  1049. cmd.commands.fmtstore = {}
  1050.  
  1051. cmd.commands.register = function(cmdz, fmt, func)
  1052. cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
  1053. cmd.commands.fmtstore[cmdz] = fmt
  1054. end
  1055.  
  1056. cmd.commands.run = function(str)
  1057. local cmdz = cmd.util.pos(str, 1)
  1058. if not cmd.commands.store[cmdz] then
  1059. return nil
  1060. else
  1061. cmd.commands.store[cmdz](str)
  1062. end
  1063. end
  1064.  
  1065. -- // actual commands // --
  1066.  
  1067. cmd.commands.register('kill', 'cmd%plrs', function(args)
  1068. for i, v in pairs(args[2]) do
  1069. v.Character.Humanoid.Health = 0
  1070. end
  1071. end)
  1072.  
  1073. cmd.commands.register('clone', 'cmd%plrs', function(args)
  1074. for i, v in pairs(args[2]) do
  1075. v.Character.Archivable = true
  1076. local clone = v.Character:Clone()
  1077. clone.Parent = game.Workspace
  1078. clone:MoveTo(v.Character.Torso.Position)
  1079. end
  1080. end)
  1081.  
  1082. cmd.commands.register('damage', 'cmd%plrs%int', function(args)
  1083. for i, v in pairs(args[2]) do
  1084. v.Character.Humanoid:TakeDamage(args[3].data)
  1085. end
  1086. end)
  1087.  
  1088. cmd.commands.register('freeze', 'cmd%plrs', function(args)
  1089. for i, v in pairs(args[2]) do
  1090. v.Character.Torso.Anchored = true
  1091. end
  1092. end)
  1093.  
  1094. cmd.commands.register('thaw', 'cmd%plrs', function(args)
  1095. for i, v in pairs(args[2]) do
  1096. v.Character.Torso.Anchored = false
  1097. end
  1098. end)
  1099. Fly = false;
  1100. cmd.commands.register('fly', 'cmd', function(args)
  1101. if Fly == true then
  1102. Fly = false
  1103. return
  1104. end
  1105. Fly = true
  1106. local mouse=game.Players.LocalPlayer:GetMouse''
  1107. localplayer=game.Players.LocalPlayer
  1108. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  1109. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  1110. local speed=0
  1111. local keys={a=false,d=false,w=false,s=false}
  1112. local e1
  1113. local e2
  1114. local function start()
  1115. local pos = Instance.new("BodyPosition",torso)
  1116. local gyro = Instance.new("BodyGyro",torso)
  1117. pos.Name="EPIXPOS"
  1118. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1119. pos.position = torso.Position
  1120. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1121. gyro.cframe = torso.CFrame
  1122. repeat
  1123. wait()
  1124. localplayer.Character.Humanoid.PlatformStand=true
  1125. local new=gyro.cframe - gyro.cframe.p + pos.position
  1126. if not keys.w and not keys.s and not keys.a and not keys.d then
  1127. speed=1
  1128. end
  1129. if keys.w then
  1130. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  1131. speed=speed+0.01
  1132. end
  1133. if keys.s then
  1134. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  1135. speed=speed+0.01
  1136. end
  1137. if keys.d then
  1138. new = new * CFrame.new(speed,0,0)
  1139. speed=speed+0.01
  1140. end
  1141. if keys.a then
  1142. new = new * CFrame.new(-speed,0,0)
  1143. speed=speed+0.01
  1144. end
  1145. if speed>5 then
  1146. speed=5
  1147. end
  1148. pos.position=new.p
  1149. if keys.w then
  1150. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  1151. elseif keys.s then
  1152. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  1153. else
  1154. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  1155. end
  1156. until not Fly
  1157. if gyro then gyro:Destroy() end
  1158. if pos then pos:Destroy() end
  1159. flying=false
  1160. localplayer.Character.Humanoid.PlatformStand=false
  1161. speed=0
  1162. end
  1163. e1=mouse.KeyDown:connect(function(key)
  1164. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  1165. if key=="w" then
  1166. keys.w=true
  1167. elseif key=="s" then
  1168. keys.s=true
  1169. elseif key=="a" then
  1170. keys.a=true
  1171. elseif key=="d" then
  1172. keys.d=true
  1173. end
  1174. end)
  1175. e2=mouse.KeyUp:connect(function(key)
  1176. if key=="w" then
  1177. keys.w=false
  1178. elseif key=="s" then
  1179. keys.s=false
  1180. elseif key=="a" then
  1181. keys.a=false
  1182. elseif key=="d" then
  1183. keys.d=false
  1184. end
  1185. end)
  1186. start()
  1187. end)
  1188. cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
  1189. local players = args[2]
  1190. local target = args[3][1]
  1191. for i, player in pairs(args[2]) do
  1192. player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  1193. end
  1194. end)
  1195.  
  1196. cmd.commands.register('naked', 'cmd%plrs', function(args)
  1197. for i, v in pairs(args[2]) do
  1198. v:ClearCharacterAppearance()
  1199. end
  1200. end)
  1201.  
  1202. cmd.commands.register('fedora', 'cmd%plrs', function(args)
  1203. local hats = {
  1204. 98346834,
  1205. 215751161,
  1206. 119916949,
  1207. 72082328,
  1208. 147180077,
  1209. 100929604,
  1210. 63043890,
  1211. 1285307,
  1212. 1029025,
  1213. 334663683,
  1214. 259423244
  1215. }
  1216. local fedora = game:GetService("InsertService"):LoadAsset(hats[math.random(1,#hats)]):GetChildren()[1]
  1217. for i, v in pairs(args[2]) do
  1218. fedora:Clone().Parent = v.Character
  1219. end
  1220. end)
  1221.  
  1222. cmd.commands.register('sgod', 'cmd%plrs', function(args)
  1223. for i, v in pairs(args[2]) do
  1224. v.Character.Humanoid.MaxHealth = 999999999
  1225. v.Character.Humanoid.Health = 999999999
  1226. end
  1227. end)
  1228.  
  1229. cmd.commands.register('ws', 'cmd%plrs%int', function(args)
  1230. for i, v in pairs(args[2]) do
  1231. v.Character.Humanoid.WalkSpeed = args[3].data
  1232. end
  1233. end)
  1234.  
  1235. cmd.commands.register('lag', 'cmd%plrs', function(args)
  1236. for i, v in pairs(args[2]) do
  1237. coroutine.wrap(function()
  1238. for i = 1, 200 do
  1239. ypcall(function()
  1240. coroutine.wrap(function()
  1241. for i = 1, 1000 do
  1242. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  1243. end
  1244. end)()
  1245. end)
  1246. wait()
  1247. end
  1248. end)()
  1249. end
  1250. end)
  1251.  
  1252. cmd.commands.register('ban', 'cmd%plrs', function(args)
  1253. for i, v in pairs(args[2]) do
  1254. table.insert(cmd.bans, v.Name)
  1255. v.Parent = nil
  1256. end
  1257. end)
  1258.  
  1259. cmd.commands.register('lagban', 'cmd%plrs', function(args)
  1260. for i, v in pairs(args[2]) do
  1261. table.insert(cmd.lagbans, v.Name)
  1262. coroutine.wrap(function()
  1263. for i = 1, 200 do
  1264. ypcall(function()
  1265. coroutine.wrap(function()
  1266. for i = 1, 1000 do
  1267. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  1268. end
  1269. end)()
  1270. end)
  1271. wait()
  1272. end
  1273. end)()
  1274. end
  1275. end)
  1276.  
  1277. cmd.commands.register('punish', 'cmd%plrs', function(args)
  1278. for i, v in pairs(args[2]) do
  1279. v.Character.Parent = game.Lighting
  1280. end
  1281. end)
  1282.  
  1283. cmd.commands.register('unpunish', 'cmd%plrs', function(args)
  1284. for i, v in pairs(args[2]) do
  1285. v.Character.Parent = game.Workspace
  1286. end
  1287. end)
  1288.  
  1289. cmd.commands.register('respawn', 'cmd%plrs', function(args)
  1290. for i, v in pairs(args[2]) do
  1291. local a1 = Instance.new("Model", game.Workspace)
  1292. local a2 = Instance.new("Part", game.Workspace)
  1293. a2.CanCollide = true
  1294. a2.Anchored = true
  1295. a2.CFrame = CFrame.new(10000, 10000, 10000)
  1296. a2.Name = "Torso"
  1297. local a3 = Instance.new("Humanoid", a1)
  1298. a3.MaxHealth=100;a3.Health=100
  1299. v.Character = a1
  1300. a3.Health=0
  1301. end
  1302. end)
  1303.  
  1304. cmd.commands.register('shutdown', 'cmd', function(args)
  1305. for i, v in pairs(cmd.service('Players'):GetPlayers()) do
  1306. v.Parent = nil
  1307. end
  1308. end)
  1309.  
  1310. cmd.commands.register('music', 'cmd%int', function(args)
  1311. local a = Instance.new("Sound")
  1312. a.SoundId = "rbxassetid://" .. tostring(args[2].data)
  1313. a.Looped = true
  1314. a.Volume = 1
  1315. a.Parent = game.Workspace
  1316. a:Play()
  1317.  
  1318. end)
  1319.  
  1320. cmd.commands.register('sit', 'cmd%plrs', function(args)
  1321. for i, v in pairs(args[2]) do
  1322. v.Character.Humanoid.Sit = true
  1323. end
  1324. end)
  1325.  
  1326. cmd.commands.register('jump', 'cmd%plrs', function(args)
  1327. for i, v in pairs(args[2]) do
  1328. v.Character.Humanoid.Jump = true
  1329. end
  1330. end)
  1331.  
  1332. cmd.commands.register('stun', 'cmd%plrs', function(args)
  1333. for i, v in pairs(args[2]) do
  1334. v.Character.Humanoid.PlatformStand = true
  1335. end
  1336. end)
  1337.  
  1338. cmd.commands.register('unstun', 'cmd%plrs', function(args)
  1339. for i, v in pairs(args[2]) do
  1340. v.Character.Humanoid.PlatformStand = false
  1341. end
  1342. end)
  1343.  
  1344. cmd.commands.register('loopstate', 'cmd%int', function(args)
  1345. coroutine.resume(coroutine.create(function()
  1346. repeat
  1347. ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data) end)
  1348. wait(0)
  1349. until cmd.localplayer.Character.Humanoid == nil
  1350. end))
  1351. end)
  1352.  
  1353. cmd.commands.register('invis', 'cmd%plrs', function(args)
  1354. for i, v in pairs(args[2]) do
  1355. local function dloop(o)
  1356. for i, v in pairs(o:GetChildren()) do
  1357. pcall(function() v.Transparency = 1 end)
  1358. dloop(v)
  1359. end
  1360. end
  1361. dloop(v.Character)
  1362. end
  1363. end)
  1364.  
  1365. cmd.commands.register('vis', 'cmd%plrs', function(args)
  1366. for i, v in pairs(args[2]) do
  1367. local function dloop(o)
  1368. for i, v in pairs(o:GetChildren()) do
  1369. pcall(function() v.Transparency = 0 end)
  1370. dloop(v)
  1371. end
  1372. end
  1373. v.Character.HumanoidRootPart.Transparency = 1
  1374. dloop(v.Character)
  1375. end
  1376. end)
  1377.  
  1378. cmd.commands.register('nuke', 'cmd%plrs', function(args)
  1379. for i, v in pairs(args[2]) do
  1380. if v.Character then
  1381. local nuke = Instance.new("Part", game.Workspace)
  1382. nuke.Anchored = true
  1383. nuke.CanCollide = false
  1384. nuke.FormFactor = "Symmetric"
  1385. nuke.Shape = "Ball"
  1386. nuke.Size = Vector3.new(1,1,1)
  1387. nuke.BrickColor = BrickColor.new("New Yeller")
  1388. nuke.Transparency = 0.5
  1389. nuke.Reflectance = 0.2
  1390. nuke.TopSurface = 0
  1391. nuke.BottomSurface = 0
  1392. nuke.Touched:connect(function (hit)
  1393. if hit and hit.Parent then
  1394. local boom = Instance.new("Explosion", game.Workspace)
  1395. boom.Position = hit.Position
  1396. boom.BlastRadius = 11
  1397. boom.BlastPressure = math.huge
  1398. end
  1399. end)
  1400. local CF = v.Character.Torso.CFrame
  1401. nuke.CFrame = CF
  1402. for i = 1,333 do
  1403. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  1404. nuke.CFrame = CF
  1405. wait(1/44)
  1406. end
  1407. nuke:Destroy()
  1408. end
  1409. end
  1410. end)
  1411.  
  1412. cmd.commands.register('explode', 'cmd%plrs', function(args)
  1413. for i, v in pairs(args[2]) do
  1414. Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
  1415. end
  1416. end)
  1417.  
  1418. cmd.commands.register('hat', 'cmd%plrs%int', function(args)
  1419. for i, v in pairs(args[2]) do
  1420. cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
  1421. end
  1422. end)
  1423.  
  1424. cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
  1425. for i, v in pairs(args[2]) do
  1426. game:GetService('Chat'):Chat(v.Character, args[3], 1)
  1427. end
  1428. end)
  1429.  
  1430. cmd.commands.register('god', 'cmd%plrs', function(args)
  1431. for i, v in pairs(args[2]) do
  1432. v.Character.Humanoid.MaxHealth = math.huge
  1433. v.Character.Humanoid.Health = math.huge
  1434. end
  1435. end)
  1436.  
  1437. cmd.commands.register('ungod', 'cmd%plrs', function(args)
  1438. for i, v in pairs(args[2]) do
  1439. v.Character.Humanoid.Health = 100
  1440. v.Character.Humanoid.MaxHealth = 100
  1441. end
  1442. end)
  1443.  
  1444. cmd.commands.register('rh', 'cmd%plrs', function(args)
  1445. for i, v in pairs(args[2]) do
  1446. v.Character.Humanoid.Parent = nil
  1447. end
  1448. end)
  1449.  
  1450. cmd.commands.register('fire', 'cmd%plrs', function(args)
  1451. for i, v in pairs(args[2]) do
  1452. Instance.new('Fire', v.Character.Torso)
  1453. end
  1454. end)
  1455.  
  1456. cmd.commands.register('insane', 'cmd%plrs', function(args)
  1457. for x, m in pairs(args[2]) do
  1458. for i,v in pairs(m.Character.Torso:GetChildren()) do
  1459. if v:IsA("Motor6D") then
  1460. coroutine.wrap(function()
  1461. while v do
  1462. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  1463. wait()
  1464. end
  1465. end)()
  1466. end
  1467. end
  1468. end
  1469. end)
  1470.  
  1471. cmd.commands.register('admin', 'cmd%plrs',function(args)
  1472. for i, v in pairs(args[2]) do
  1473. --table.insert(cmd.admins, v.Name)
  1474. v.Chatted:connect(function(msg)
  1475. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  1476. cmd.commands.run(msg:sub(2, #msg))
  1477. end
  1478. end)
  1479. end
  1480. end)
  1481.  
  1482. cmd.commands.register('nosound', 'cmd', function(args)
  1483. local function dx(o)
  1484. for i, v in pairs(o:GetChildren()) do
  1485. if v:IsA("Sound") then
  1486. v:Stop()
  1487. end
  1488. dx(v)
  1489. end
  1490. end
  1491. dx(game.Workspace)
  1492. end)
  1493.  
  1494. cmd.commands.register('duck', 'cmd%plrs', function(args)
  1495. for _,p in pairs(args[2]) do
  1496. local pchar = p.Character
  1497. for i,v in pairs(pchar.Torso:GetChildren()) do
  1498. if v:IsA("Decal") then
  1499. v:Destroy()
  1500. end
  1501. end
  1502. for i,v in pairs(pchar:GetChildren()) do
  1503. if v:IsA("Hat") then
  1504. v:Destroy()
  1505. end
  1506. end
  1507. local duck = Instance.new("SpecialMesh", pchar.Torso)
  1508. duck.MeshType = "FileMesh"
  1509. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  1510. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  1511. duck.Scale = Vector3.new(5, 5, 5)
  1512. pchar.Head.Transparency = 1
  1513. pchar["Left Arm"].Transparency = 1
  1514. pchar["Right Arm"].Transparency = 1
  1515. pchar["Left Leg"].Transparency = 1
  1516. pchar["Right Leg"].Transparency = 1
  1517. pchar.Head.face.Transparency = 1
  1518. end
  1519. end)
  1520.  
  1521. cmd.commands.register('shrek', 'cmd%plrs', function(args)
  1522. for i, v in pairs(args[2]) do
  1523. local pchar = v.Character
  1524. for i,v in pairs(pchar:GetChildren()) do
  1525. if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  1526. v:Destroy()
  1527. end
  1528. end
  1529. for i,v in pairs(pchar.Head:GetChildren()) do
  1530. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  1531. v:Destroy()
  1532. end
  1533. end
  1534.  
  1535. local mesh = Instance.new("SpecialMesh", pchar.Head)
  1536. mesh.MeshType = "FileMesh"
  1537. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  1538. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  1539. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  1540.  
  1541. local Shirt = Instance.new("Shirt", v.Character)
  1542. local Pants = Instance.new("Pants", v.Character)
  1543.  
  1544. Shirt.ShirtTemplate = "rbxassetid://133078194"
  1545. Pants.PantsTemplate = "rbxassetid://133078204"
  1546. end
  1547. end)
  1548.  
  1549. cmd.commands.register('nograv', 'cmd%plrs', function(args)
  1550. for i, v in pairs(args[2]) do
  1551. for x, m in pairs(v.Character:GetChildren()) do
  1552. if m:IsA("BasePart") then
  1553. local bf = Instance.new("BodyForce", m)
  1554. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  1555. end
  1556. if m:IsA("Hat") then
  1557. if m:findFirstChild("Handle") then
  1558. local bf = Instance.new("BodyForce", m.Handle)
  1559. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  1560. end
  1561. end
  1562. end
  1563. end
  1564. end)
  1565.  
  1566. cmd.commands.register('scripts', 'cmd', function(args)
  1567. local cmp = {}
  1568. local smp = {}
  1569. for i, v in pairs(cmd.scripts:GetChildren()) do
  1570. pcall(function()
  1571. table.insert(cmp, v.Name)
  1572. smp[v.Name] = v.Source
  1573. end)
  1574. end
  1575. cmd.interface.genmenu(
  1576. 'Scripts',
  1577. cmp,
  1578. function(n)
  1579. pcall(function() coroutine.wrap(function()
  1580. local a,b=ypcall(function() loadstring(smp[n])() end)
  1581. if not a then print(b) end
  1582. end)() end)
  1583. end
  1584. )
  1585. end)
  1586.  
  1587. cmd.commands.register('telekinesis', 'cmd', function(args)
  1588. for i, v in pairs(cmd.scripts:GetChildren()) do
  1589. if v.Name=='Telekinesis' then
  1590. ypcall(function()loadstring(v.Source)()end)
  1591. end
  1592. end
  1593. end)
  1594.  
  1595. cmd.commands.register('loadscript', 'cmd%str', function(args)
  1596. local str=args[2].data:gsub('_', ' ')
  1597. for i, v in pairs(cmd.scripts:GetChildren()) do
  1598. if v.Name==str then
  1599. ypcall(function()loadstring(v.Source)()end)
  1600. end
  1601. end
  1602. end)
  1603.  
  1604. cmd.commands.register('loopheal', 'cmd%plrs', function(args)
  1605. for i, v in pairs(args[2]) do
  1606. coroutine.wrap(function()
  1607. while wait() do
  1608. if v.Character.Humanoid then
  1609. v.Character.Humanoid.Health = 1000
  1610. v.Character.Humanoid.MaxHealth = 1000
  1611. end
  1612. end
  1613. end)()
  1614. end
  1615. end)
  1616.  
  1617. cmd.commands.register('hulk', 'cmd%plrs', function(args)
  1618. for i, v in pairs(args[2]) do
  1619. cmd.util.hulk(v)
  1620. end
  1621. end)
  1622.  
  1623. cmd.commands.register('sky', 'cmd%int', function(args)
  1624. local ID = args[2].data
  1625. local sky = Instance.new("Sky", game.Lighting)
  1626. sky.SkyboxBk = "rbxassetid://" .. ID
  1627. sky.SkyboxDn = "rbxassetid://" .. ID
  1628. sky.SkyboxFt = "rbxassetid://" .. ID
  1629. sky.SkyboxLf = "rbxassetid://" .. ID
  1630. sky.SkyboxRt = "rbxassetid://" .. ID
  1631. sky.SkyboxUp = "rbxassetid://" .. ID
  1632. end)
  1633.  
  1634. cmd.commands.register('bombs', 'cmd%plrs', function(args)
  1635. cmd.util.BombVest(args[2])
  1636. end)
  1637.  
  1638. cmd.commands.register('control', 'cmd%plrs', function(args)
  1639. -- variable
  1640. local pchar = args[2][1].Character
  1641. local char = cmd.localplayer.Character
  1642. pchar.Humanoid.PlatformStand = true
  1643. local w = Instance.new("Weld", pchar.Torso)
  1644. w.Part0 = pchar.Torso
  1645. w.Part1 = pchar.Torso
  1646. local w2 = Instance.new("Weld", pchar.Head)
  1647. w2.Part0 = pchar.Head
  1648. w2.Part1 = pchar.Head
  1649. local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm"))
  1650. w3.Part0 = pchar:findFirstChild("Right Arm")
  1651. w3.Part1 = pchar:findFirstChild("Right Arm")
  1652. local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
  1653. w4.Part0 = pchar:findFirstChild("Left Arm")
  1654. w4.Part1 = pchar:findFirstChild("Left Arm")
  1655. local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg"))
  1656. w5.Part0 = pchar:findFirstChild("Right Leg")
  1657. w5.Part1 = pchar:findFirstChild("Right Leg")
  1658. local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg"))
  1659. w6.Part0 = pchar:findFirstChild("Left Leg")
  1660. w6.Part1 = pchar:findFirstChild("Left Leg")
  1661. char.Head.face:Destroy()
  1662. for i,v in pairs(pchar:GetChildren()) do
  1663. if v:IsA("BasePart") then
  1664. v.CanCollide = false
  1665. end
  1666. end
  1667. for i,v in pairs(char:GetChildren()) do
  1668. if v:IsA("BasePart") then
  1669. v.Transparency = 1
  1670. elseif v:IsA("Hat") then
  1671. v:Destroy()
  1672. end
  1673. end
  1674. pchar.Parent = char
  1675. repeat
  1676. pchar.Humanoid.PlatformStand = true
  1677. wait()
  1678. until char.Parent == nil
  1679. end)
  1680.  
  1681. cmd.commands.register('rtag', 'cmd%inf', function(args)
  1682. local len = 10; local player = cmd.localplayer
  1683. local bb = Instance.new("BillboardGui")
  1684. bb.Parent = player.Character.Head
  1685. bb.Adornee = player.Character.Head
  1686. bb.AlwaysOnTop = true
  1687. bb.Enabled = true
  1688. bb.Size = UDim2.new(len, 0, 1.5, 0)
  1689. bb.Name = "tag"
  1690. bb.StudsOffset = Vector3.new(0, 3, 0)
  1691. --local fr = Instance.new("Frame")
  1692. --fr.Parent = bb
  1693. --fr.Size = UDim2.new(1, 0, 1, 0)
  1694. --fr.Style = Enum.FrameStyle.RobloxRound
  1695. local tl = Instance.new("TextLabel")
  1696. tl.Parent = bb
  1697. tl.BackgroundTransparency = 1
  1698. tl.TextScaled = true
  1699. tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  1700. tl.Size = UDim2.new(1, 0, 1, 0)
  1701. tl.Text = args[2]
  1702. tl.Name = "trutag"
  1703. tl.Visible = true
  1704. tl.ZIndex = 2
  1705. coroutine.wrap(function()
  1706. local r, g, b = 255, 0, 0
  1707. repeat
  1708. tl.TextColor3 = Color3.new(r/255, g/255, b/255)
  1709. local bo = cmd.util.nextrgb(r, g, b)
  1710. r = bo[1]; g = bo[2]; b = bo[3];
  1711. wait()
  1712. until bb == nil
  1713. end)()
  1714. end)
  1715.  
  1716. cmd.commands.register('smoke', 'cmd%plrs', function(args)
  1717. for i, v in pairs(args[2]) do
  1718. Instance.new('Smoke', v.Character.Torso)
  1719. end
  1720. end)
  1721.  
  1722. cmd.commands.register('btools', 'cmd%plrs', function(args)
  1723. for i, p in pairs(args[2]) do
  1724. local a = Instance.new("HopperBin")
  1725. a.BinType = "GameTool"
  1726. a.Parent = p.Backpack
  1727. local a = Instance.new("HopperBin")
  1728. a.BinType = "Clone"
  1729. a.Parent = p.Backpack
  1730. local a = Instance.new("HopperBin")
  1731. a.BinType = "Hammer"
  1732. a.Parent = p.Backpack
  1733. end
  1734. end)
  1735.  
  1736. con = nil;
  1737. cmd.commands.register('noclip', 'cmd', function(args)
  1738. cmd.interface.msg('NoClip Enabled')
  1739. cmd.noclip = false
  1740. con = game:GetService('RunService').Stepped:connect(function()
  1741. if cmd.noclip == true then
  1742. con:disconnect()
  1743. else
  1744. cmd.localplayer.Character.Torso.CanCollide = false
  1745. cmd.localplayer.Character.Head.CanCollide = false
  1746. end
  1747. end)
  1748. end)
  1749.  
  1750. cmd.commands.register('clip', 'cmd', function(args)
  1751. cmd.interface.msg('NoClip Disabled')
  1752. cmd.noclip = true
  1753. end)
  1754.  
  1755. cmd.commands.register('gear', 'cmd%plrs%int', function(args)
  1756. local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
  1757. if not gear then return end
  1758. for i, v in pairs(args[2]) do
  1759. gear:Clone().Parent = v.Backpack
  1760. end
  1761. end)
  1762.  
  1763. cmd.commands.register('kick', 'cmd%plrs', function(args)
  1764. for i, v in pairs(args[2]) do
  1765. v.Parent = nil
  1766. end
  1767. end)
  1768.  
  1769. cmd.commands.register('r15', 'cmd', function(args)
  1770. cmd.util.R15()
  1771. end)
  1772.  
  1773. cmd.commands.register('char', 'cmd%plrs%str', function(args)
  1774. if tonumber(args[3].data) ~= nil then
  1775. args[3].data = tonumber(args[3].data)
  1776. else
  1777. args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
  1778. end
  1779. for i, v in pairs(args[2]) do
  1780. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
  1781. pcall(function() v.Character.Humanoid.Health = 0 end)
  1782. end
  1783. end)
  1784.  
  1785. cmd.commands.register('noob', 'cmd%plrs', function(args)
  1786. for i, v in pairs(args[2]) do
  1787. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
  1788. pcall(function() v.Character.Humanoid.Health = 0 end)
  1789. end
  1790. end)
  1791.  
  1792. cmd.commands.register('ff', 'cmd%plrs', function(args)
  1793. for i, v in pairs(args[2]) do
  1794. Instance.new("ForceField", v.Character)
  1795. end
  1796. end)
  1797.  
  1798. cmd.commands.register('unff', 'cmd%plrs', function(args)
  1799. for i, v in pairs(args[2]) do
  1800. for x, m in pairs(v.Character:GetChildren()) do
  1801. if m:IsA("ForceField") then
  1802. m.Parent = nil
  1803. end
  1804. end
  1805. end
  1806. end)
  1807.  
  1808. cmd.commands.register('guest', 'cmd%plrs', function(args)
  1809. for i, v in pairs(args[2]) do
  1810. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
  1811. pcall(function() v.Character.Humanoid.Health = 0 end)
  1812. end
  1813. end)
  1814.  
  1815. cmd.commands.register('giraffe', 'cmd%plrs', function(args)
  1816. for i, v in pairs(args[2]) do
  1817. local char=v.Character
  1818. local h=char.Head
  1819. local tor=char.Torso
  1820. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  1821. local fn=Instance.new("Part",char)
  1822. fn.Size=Vector3.new(1,5.5,1)
  1823. fn.Name="FakeNeck"
  1824. fn.Anchored=false
  1825. fn.CanCollide=false
  1826. if char:FindFirstChild("Body Colors") then
  1827. fn.BrickColor=char["Body Colors"].HeadColor
  1828. end
  1829. local cm=Instance.new("CylinderMesh",fn)
  1830. local we=Instance.new("Weld",h)
  1831. we.Part0=h
  1832. we.Part1=fn
  1833. we.C1=we.C1*CFrame.new(0,2.6,0)
  1834. end
  1835. end)
  1836.  
  1837. cmd.commands.register('notools', 'cmd%plrs', function(args)
  1838. for i, v in pairs(args[2]) do
  1839. for x, m in pairs(v.Backpack:GetChildren()) do
  1840. m.Parent = nil
  1841. end
  1842. end
  1843. end)
  1844.  
  1845. cmd.commands.register('taketools', 'cmd%plrs', function(args)
  1846. for i, v in pairs(args[2]) do
  1847. for x, m in pairs(v.Backpack:GetChildren()) do
  1848. m.Parent = cmd.localplayer.Backpack
  1849. end
  1850. end
  1851. end)
  1852.  
  1853. cmd.commands.register('confuse', 'cmd%plrs', function(args)
  1854. for i, v in pairs(args[2]) do
  1855. v.Character.Humanoid.WalkSpeed = -16
  1856. end
  1857. end)
  1858.  
  1859. cmd.commands.register('spin', 'cmd%plrs', function(args)
  1860. for i, v in pairs(args[2]) do
  1861. for i,v in pairs(v.Character.Torso:GetChildren()) do
  1862. if v.Name == "Spinning" then
  1863. v:Destroy()
  1864. end
  1865. end
  1866. local Torso = v.Character.Torso
  1867. local BG = Instance.new("BodyGyro", Torso)
  1868. BG.Name = "Spinning"
  1869. BG.maxTorque = Vector3.new(0, math.huge, 0)
  1870. BG.P = 11111
  1871. BG.cframe = Torso.CFrame
  1872. repeat wait(1/44)
  1873. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  1874. until not BG or BG.Parent ~= Torso
  1875. end
  1876. end)
  1877.  
  1878. cmd.commands.register('fling', 'cmd%plrs', function(args)
  1879. for i, v in pairs(args[2]) do
  1880. local pchar = v.Character
  1881. if pchar:FindFirstChild("Humanoid") then
  1882. local xran
  1883. local zran
  1884. repeat
  1885. xran = math.random(-9999,9999)
  1886. until math.abs(xran) >= 5555
  1887. repeat
  1888. zran = math.random(-9999,9999)
  1889. until math.abs(zran) >= 5555
  1890. pchar.Humanoid.Sit = true
  1891. pchar.Torso.Velocity = Vector3.new(0,0,0)
  1892. local BF = Instance.new("BodyForce", pchar.Torso)
  1893. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  1894. end
  1895. end
  1896. end)
  1897.  
  1898. cmd.commands.register('burn', 'cmd%plrs', function(args)
  1899. for i, v in pairs(args[2]) do
  1900. spawn(function()
  1901. wait(0.1)
  1902. local fire=Instance.new("Fire", v.Character.Torso)
  1903. wait(0.1)
  1904. local fire=Instance.new("Fire", v.Character.Head)
  1905. wait(0.1)
  1906. local fire=Instance.new("Fire", v.Character["Left Arm"])
  1907. wait(0.1)
  1908. local fire=Instance.new("Fire", v.Character["Right Leg"])
  1909. wait(0.5)
  1910. v.Character:BreakJoints();
  1911. end)
  1912. end
  1913. end)
  1914.  
  1915. cmd.commands.register('printcmds', 'cmd', function(args)
  1916. for i, v in pairs(cmd.commands.store) do
  1917. print(i, '==', v)
  1918. end
  1919. end)
  1920.  
  1921. cmd.commands.register('gun', 'cmd%plrs', function(args)
  1922. local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
  1923. local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
  1924. local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
  1925. for i, v in pairs(args[2]) do
  1926. a:Clone().Parent = v.Backpack
  1927. b:Clone().Parent = v.Backpack
  1928. c:Clone().Parent = v.Backpack
  1929. end
  1930. end)
  1931.  
  1932. cmd.commands.register('stamper', 'cmd%plrs', function(args)
  1933. local a = game:GetService("InsertService"):LoadAsset(55028088):GetChildren()[1]
  1934. for i, v in pairs(args[2]) do
  1935. a:Clone().Parent = v.Backpack
  1936. end
  1937. end)
  1938.  
  1939. cmd.commands.register('goto', 'cmd%plrs', function(args)
  1940. local target = args[2][1]
  1941. cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  1942. end)
  1943.  
  1944. cmd.commands.register('cmds', 'cmd', function(args)
  1945. local content = {}
  1946. for i, v in pairs(cmd.commands.fmtstore) do
  1947. local xfmt = {}
  1948. local str = ";" .. i .. " "
  1949. for form in v:gmatch("[^%%]+") do
  1950. if form ~= 'cmd' then
  1951. if form == 'inf' then form = 'str' end
  1952. str = str .. "{" .. form .. "} " end
  1953. end
  1954. table.insert(content, str)
  1955. end
  1956. local count = 0
  1957. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  1958. table.insert(content, tonumber(count) .. " commands")
  1959. cmd.interface.genmenu('Commands', content)
  1960. end)
  1961.  
  1962. cmd.commands.register('select', 'cmd%plrs', function(args)
  1963. for i, v in pairs(args[2]) do
  1964. Instance.new("SelectionBox", v.Character).Adornee = v.Character
  1965. end
  1966. end)
  1967.  
  1968. cmd.commands.register('sphere', 'cmd%plrs', function(args)
  1969. for i, v in pairs(args[2]) do
  1970. Instance.new("SelectionSphere", v.Character).Adornee = v.Character
  1971. end
  1972. end)
  1973.  
  1974. cmd.commands.register('bring', 'cmd%plrs', function(args)
  1975. for i, v in pairs(args[2]) do
  1976. v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame
  1977. end
  1978. end)
  1979.  
  1980. cmd.commands.register('knife', 'cmd%plrs', function(args)
  1981. local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
  1982. for i, v in pairs(args[2]) do
  1983. knife:Clone().Parent = v
  1984. end
  1985. end)
  1986.  
  1987. cmd.commands.register('shades', 'cmd%plrs', function(args)
  1988. local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
  1989. for i, v in pairs(args[2]) do
  1990. shades:Clone().Parent = v.Character
  1991. end
  1992. end)
  1993.  
  1994. cmd.commands.register('alien', 'cmd%plrs', function(args)
  1995. -- variable
  1996. for i, v in pairs(args[2]) do
  1997. local pchar = v.Character
  1998. if pchar:FindFirstChild('Shirt') then
  1999. pchar.Shirt:Destroy()
  2000. end
  2001. if pchar:FindFirstChild('Pants') then
  2002. pchar.Pants:Destroy()
  2003. end
  2004. if pchar:FindFirstChild('Shirt Graphic') then
  2005. pchar['Shirt Graphic'].Graphic = ''
  2006. end
  2007. for i,v in pairs(pchar:GetChildren()) do
  2008. if v:IsA('Hat') then
  2009. v:Destroy()
  2010. end
  2011. end
  2012. local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
  2013. ayy2.Parent = pchar
  2014. local BC = pchar['Body Colors']
  2015. BC.HeadColor = BrickColor.new('Fossil')
  2016. BC.LeftArmColor = BrickColor.new('Fossil')
  2017. BC.LeftLegColor = BrickColor.new('Fossil')
  2018. BC.RightArmColor = BrickColor.new('Fossil')
  2019. BC.RightLegColor = BrickColor.new('Fossil')
  2020. BC.TorsoColor = BrickColor.new('Fossil')
  2021. end
  2022. end)
  2023.  
  2024. cmd.commands.register('team', 'cmd%plrs%str', function(args)
  2025. for i, v in pairs(args[2]) do
  2026. for x, m in pairs(game:GetService('Teams'):GetTeams()) do
  2027. if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
  2028. v.TeamColor = m.TeamColor
  2029. end
  2030. end
  2031. end
  2032. end)
  2033.  
  2034. cmd.commands.register('particles', 'cmd%plrs%int', function(args)
  2035. for i, v in pairs(args[2]) do
  2036. Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
  2037. end
  2038. end)
  2039.  
  2040. cmd.commands.register('ghost', 'cmd%plrs', function(args)
  2041. for i, v in pairs(args[2]) do
  2042. local pchar = v.Character
  2043. pchar.Head.Transparency = 0.5
  2044. pchar.Torso.Transparency = 0.5
  2045. pchar["Left Arm"].Transparency = 0.5
  2046. pchar["Right Arm"].Transparency = 0.5
  2047. pchar["Left Leg"].Transparency = 0.5
  2048. pchar["Right Leg"].Transparency = 0.5
  2049. pchar.Head.face.Transparency = 0.5
  2050. end
  2051. end)
  2052.  
  2053. cmd.commands.register('firstperson', 'cmd%plrs', function(args)
  2054. for i, v in pairs(args[2]) do
  2055. v.CameraMode = Enum.CameraMode.LockFirstPerson
  2056. end
  2057. end)
  2058.  
  2059. cmd.commands.register('creeper', 'cmd%plrs', function(args)
  2060. for i, v in pairs(args[2]) do
  2061. local pchar = v.Character
  2062. if pchar then
  2063. if pchar:FindFirstChild("Shirt") then
  2064. pchar.Shirt.Parent = pchar.Torso
  2065. end
  2066. if pchar:FindFirstChild("Pants") then
  2067. pchar.Pants.Parent = pchar.Torso
  2068. end
  2069. if pchar:FindFirstChild("Shirt Graphic") then
  2070. pchar["Shirt Graphic"].Graphic = ""
  2071. end
  2072. for i,v in pairs(pchar:GetChildren()) do
  2073. if v:IsA("Hat") then
  2074. v:Destroy()
  2075. end
  2076. end
  2077. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2078. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  2079. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  2080. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  2081. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  2082. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  2083. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  2084. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  2085. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  2086. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  2087. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  2088. end
  2089. end
  2090. end)
  2091.  
  2092. cmd.commands.register('insert', 'cmd%int', function(args)
  2093. local m = cmd.service('InsertService'):LoadAsset(args[2].data)
  2094. m.Parent = game.Workspace
  2095. m:MoveTo(cmd.localplayer.Character.Torso.Position)
  2096. m:MakeJoints()
  2097. end)
  2098.  
  2099. cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
  2100. for i, v in pairs(game.Players:GetPlayers()) do
  2101. v.Character['Right Leg'].Parent = nil
  2102. v.Character['Left Leg'].Parent = nil
  2103. v.Character['Right Arm'].Parent = nil
  2104. v.Character['Left Arm'].Parent = nil
  2105. end
  2106. end)
  2107.  
  2108. cmd.commands.register('recurseremove', 'cmd%str', function(args)
  2109. local function a(o)
  2110. for i,v in pairs(o:GetChildren()) do
  2111. if v:IsA(args[2].data) then
  2112. v.Parent=nil
  2113. end
  2114. a(v)
  2115. end
  2116. end
  2117. a(game.Workspace)
  2118. end)
  2119.  
  2120. cmd.commands.register('name', 'cmd%plrs%inf', function(args)
  2121. for i, v in pairs(args[2]) do
  2122. local tchar = v.Character
  2123. for x, m in pairs(tchar:GetChildren()) do
  2124. if m:FindFirstChild('nm') then
  2125. m.Parent = nil
  2126. end
  2127. end
  2128. tchar.Name = ''
  2129. local ntag = Instance.new("Model", tchar)
  2130. ntag.Name = args[3]
  2131. local nhead = tchar.Head:Clone()
  2132. nhead.Parent = ntag
  2133. local nhum = Instance.new("Humanoid", ntag)
  2134. nhum.MaxHealth = 0
  2135. nhum.Health = 0
  2136. nhum.Name = 'nm'
  2137. local nweld = Instance.new("Weld", nhead)
  2138. nweld.Part0 = nhead
  2139. nweld.Part1 = tchar.Head
  2140. end
  2141. end)
  2142.  
  2143. cmd.commands.register('track', 'cmd%plrs%inf', function(args)
  2144. for i, v in pairs(args[2]) do
  2145. local tchar = v.Character
  2146. for x, m in pairs(tchar:GetChildren()) do
  2147. if m:FindFirstChild('nm') then
  2148. m.Parent = nil
  2149. end
  2150. end
  2151. tchar.Name = ''
  2152. local ntag = Instance.new("Model", workspace.CurrentCamera)
  2153. ntag.Name = v.Name
  2154. local nhead = tchar.Head:Clone()
  2155. nhead.Parent = ntag
  2156. local nhum = Instance.new("Humanoid", ntag)
  2157. nhum.MaxHealth = 0
  2158. nhum.Health = 0
  2159. nhum.Name = 'nm'
  2160. local nweld = Instance.new("Weld", nhead)
  2161. nweld.Part0 = nhead
  2162. nweld.Part1 = tchar.Head
  2163. end
  2164. end)
  2165.  
  2166. cmd.commands.register('rname', 'cmd%plrs', function(args)
  2167. local player = cmd.localplayer
  2168. player.Neutral = false
  2169. repeat
  2170. wait()
  2171. player.TeamColor = BrickColor.Random()
  2172. until not player.Character.Humanoid
  2173. end)
  2174.  
  2175. cmd.commands.register('fogend', 'cmd%int', function(args)
  2176. game.Lighting.FogEnd = args[2].data
  2177. end)
  2178.  
  2179. cmd.commands.register('fogstart', 'cmd%int', function(args)
  2180. game.Lighting.FogStart = args[2].data
  2181. end)
  2182.  
  2183. cmd.commands.register('time', 'cmd%int', function(args)
  2184. game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
  2185. end)
  2186.  
  2187. cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
  2188. game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  2189. end)
  2190.  
  2191. cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
  2192. game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  2193. end)
  2194.  
  2195. cmd.commands.register('sword', 'cmd%plrs', function(args)
  2196. local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
  2197. for i, v in pairs(args[2]) do
  2198. sword:Clone().Parent = v.Backpack
  2199. end
  2200. end)
  2201.  
  2202. cmd.commands.register('paranoid', 'cmd%plrs', function(args)
  2203. for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
  2204. if v:IsA("BasePart") then
  2205. v.Anchored = true
  2206. end
  2207. end
  2208. end)
  2209.  
  2210. cmd.commands.register('size', 'cmd%plrs%int', function(args)
  2211. for i, v in pairs(args[2]) do
  2212. cmd.util.size(v, args[3].data)
  2213. end
  2214. end)
  2215.  
  2216. cmd.commands.register('unlockws', 'cmd%plrs', function(args)
  2217. local function dloop(o)
  2218. for i, v in pairs(o:GetChildren()) do
  2219. if v:IsA("BasePart") then
  2220. v.Anchored = false
  2221. end
  2222. if v:IsA("Model") then
  2223. v:BreakJoints()
  2224. end
  2225. dloop(v)
  2226. end
  2227. end
  2228. dloop(game.Workspace)
  2229. end)
  2230.  
  2231. cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
  2232. for i, v in pairs(args[2]) do
  2233. if v:FindFirstChild("leaderstats") then
  2234. print("PASI")
  2235. if v.leaderstats:FindFirstChild(args[3].data) then
  2236. if v.leaderstats[args[3].data]:IsA("StringValue") then
  2237. v.leaderstats[args[3].data].Value = args[4]
  2238. end
  2239. if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
  2240. print(args[4])
  2241. if tonumber(args[4]) ~= nil then
  2242. v.leaderstats[args[3].data].Value = tonumber(args[4])
  2243. end
  2244. end
  2245. else print("AS:",args[3].data) end
  2246. end
  2247. end
  2248. end)
  2249.  
  2250. ---------------------------
  2251.  
  2252. -- ** init ** --
  2253.  
  2254. printidentity(); wait()
  2255. cmd.context = game:service'LogService':GetLogHistory()[#game:service'LogService':GetLogHistory()]['message']
  2256. cmd.context = tonumber(cmd.context:sub(#cmd.context, #cmd.context))
  2257. cmd.context = 7
  2258.  
  2259. if cmd.context > 2 then
  2260. cmd.gp = game.CoreGui
  2261. cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  2262. if cmd.util.isadmin(plr.Name) then
  2263. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  2264. cmd.commands.run(msg:sub(2, #msg))
  2265. end
  2266. end
  2267. end)
  2268. else
  2269. cmd.players.PlayerAdded:connect(function(plr)
  2270. plr.Chatted:connect(function(msg)
  2271. if cmd.util.isadmin(plr.Name) then
  2272. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  2273. cmd.commands.run(msg:sub(2, #msg))
  2274. end
  2275. end
  2276. end)
  2277. end)
  2278. for _, plr in pairs(game.Players:GetPlayers()) do
  2279. plr.Chatted:connect(function(msg)
  2280. if cmd.util.isadmin(plr.Name) then
  2281. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  2282. cmd.commands.run(msg:sub(2, #msg))
  2283. end
  2284. end
  2285. end)
  2286. end
  2287. end
  2288.  
  2289. cmd.service('Players').PlayerAdded:connect(function(p)
  2290. if cmd.util.checktable(cmd.lagbans, p.Name) then
  2291. coroutine.wrap(function()
  2292. for i = 1, 200 do
  2293. ypcall(function()
  2294. coroutine.wrap(function()
  2295. for i = 1, 1000 do
  2296. Instance.new("HopperBin", p.Backpack).Name = ('AAAAAAA '):rep(1000)
  2297. end
  2298. end)()
  2299. end)
  2300. wait()
  2301. end
  2302. end)()
  2303. end
  2304. if cmd.util.checktable(cmd.bans, p.Name) then
  2305. repeat
  2306. p.Parent=nil
  2307. wait()
  2308. until p.Parent==nil
  2309. end
  2310. end)
  2311.  
  2312. --for i,v in pairs(game.Players:GetPlayers()) do
  2313. -- if cmd.util.checktable(cmd.bans, v.Name) then
  2314. -- repeat
  2315. -- v.Parent=nil
  2316. -- wait()
  2317. -- until v.Parent==nil
  2318. -- end
  2319. --end
  2320.  
  2321. local count = 0
  2322. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  2323.  
  2324. warn("loaded nosyliam's cmdscript ~ brought to you by rain")
  2325. warn(tostring(count).." commands")
  2326. cmd.interface.splashs()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement