Advertisement
2021_pogg

dablock

Jun 1st, 2021
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.58 KB | None | 0 0
  1. gsPlayers = game:GetService("Players")
  2. gsWorkspace = game:GetService("Workspace")
  3. gsLighting = game:GetService("Lighting")
  4. gsReplicatedStorage = game:GetService("ReplicatedStorage")
  5. gsCoreGui = game:GetService("CoreGui")
  6. gsTween = game:GetService("TweenService")
  7. gsHttp = game:GetService("HttpService")
  8.  
  9. LP = gsPlayers.LocalPlayer
  10. Mouse = LP:GetMouse()
  11.  
  12. repeat wait() until LP.Character:FindFirstChild("BodyEffects")
  13.  
  14.  
  15. for i,v in ipairs(LP.Character:GetDescendants()) do
  16. if v.Name == "Christmas_Sock" then v:Destroy()
  17. end
  18. end
  19.  
  20. LP.Character.ChildAdded:Connect(function()
  21. wait(0.3)
  22. for i,v in ipairs(LP.Character:GetDescendants()) do
  23. if v.Name == "Christmas_Sock" then v:Destroy()
  24. end
  25. end
  26. end)
  27.  
  28.  
  29. if LP.Character.BodyEffects:FindFirstChild("Defense") then
  30. LP.Character.BodyEffects.Defense:Destroy()
  31. local bad = Instance.new("NumberValue",LP.Character.BodyEffects)
  32. bad.Name = "Defense"
  33. end
  34.  
  35. LP.CharacterAdded:Connect(function()
  36. repeat wait(0) until LP.Character:FindFirstChild("BodyEffects")
  37. repeat wait(0) until LP.Character.BodyEffects:FindFirstChild("Defense")
  38. repeat wait(0) until LP.Backpack:FindFirstChild("Combat")
  39. repeat wait(0) until LP.Character.BodyEffects:FindFirstChild("Dead")
  40. repeat wait(0) until LP.Character.BodyEffects:FindFirstChild("SpecialParts")
  41.  
  42. LP.Character.ChildAdded:Connect(function()
  43. wait(0.3)
  44. for i,v in ipairs(LP.Character:GetDescendants()) do
  45. if v.Name == "Christmas_Sock" then v:Destroy()
  46. end
  47. end
  48. end)
  49.  
  50. if LP.Character.BodyEffects:FindFirstChild("Defense") then
  51. LP.Character.BodyEffects.Defense:Destroy()
  52. local bad = Instance.new("NumberValue",LP.Character.BodyEffects)
  53. bad.Name = "Defense"
  54. end
  55. end)
  56.  
  57. if pcall(function()
  58. if CommandPrefix == nil then
  59. CommandPrefix = ";"
  60. end
  61. end) == false then
  62. CommandPrefix = ";"
  63. end
  64.  
  65. noclip = true
  66. LP.PlayerGui.Chat.Frame.ChatChannelParentFrame.Visible = true
  67. LP.PlayerGui.Chat.Frame.ChatBarParentFrame.Position = LP.PlayerGui.Chat.Frame.ChatChannelParentFrame.Position + UDim2.new(UDim.new(),LP.PlayerGui.Chat.Frame.ChatChannelParentFrame.Size.Y)
  68.  
  69. CurrentNormal = LP.DevCameraOcclusionMode
  70.  
  71. game.RunService.Stepped:Connect(function()
  72.  
  73.  
  74. gsWorkspace.Camera.FieldOfView = 75
  75. LP.CameraMaxZoomDistance = math.huge
  76. LP.Character.Head.CanCollide = noclip
  77. LP.Character.UpperTorso.CanCollide = noclip
  78. LP.Character.LowerTorso.CanCollide = noclip
  79. LP.Character.HumanoidRootPart.CanCollide = noclip
  80. for _,v in pairs(LP.Character:GetChildren()) do
  81. if v:IsA("Accessory") then
  82.  
  83. for X,q in ipairs(v:GetDescendants()) do if q:IsA("BasePart") then q.CanCollide = false
  84. end
  85. end
  86.  
  87. end
  88. end
  89. end)
  90.  
  91. function view(plr)
  92. if plr.Character.Humanoid ~= nil then
  93. gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
  94. else
  95. gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Head
  96. end
  97. end
  98. function createIntro(style, msg, length)
  99. if gsCoreGui:FindFirstChild("Notification") then
  100. gsCoreGui:FindFirstChild("Notification"):Destroy()
  101. end
  102. local info = "http://www.roblox.com/asset/?id=1281284684"
  103. local warning = "http://www.roblox.com/asset/?id=1281286925"
  104. if style == "info" then
  105. style = info
  106. elseif style == "warning" then
  107. style = warning
  108. end
  109. local Notification = Instance.new("ScreenGui")
  110. local Frame = Instance.new("Frame")
  111. local TextLabel = Instance.new("TextLabel")
  112. local IMAGE = Instance.new("ImageLabel")
  113. Notification.Name = "Notification"
  114. Notification.Parent = gsCoreGui
  115. Frame.Parent = Notification
  116. Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  117. Frame.BackgroundTransparency = 0.20000000298023
  118. Frame.BorderSizePixel = 0
  119. Frame.Position = UDim2.new(0, 0, -0.2, 0)
  120. Frame.Size = UDim2.new(1, 0, 0, 30)
  121. TextLabel.Parent = Frame
  122. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  123. TextLabel.BackgroundTransparency = 1
  124. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  125. TextLabel.Font = Enum.Font.SourceSansLight
  126. TextLabel.Text = msg
  127. TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  128. TextLabel.TextScaled = true
  129. TextLabel.TextSize = 14
  130. TextLabel.TextWrapped = true
  131. IMAGE.Parent = Frame
  132. IMAGE.BackgroundTransparency = 1
  133. IMAGE.Size = UDim2.new(0, 50, 0, 50)
  134. IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
  135. IMAGE.Image = style
  136. local Intro = Instance.new("ScreenGui")
  137. local Frame2 = Instance.new("Frame")
  138. local IMAGE2 = Instance.new("ImageLabel")
  139. Intro.Name = "Intro"
  140. Intro.Parent = gsCoreGui
  141. Frame2.Parent = Intro
  142. Frame2.BackgroundTransparency = 1
  143. Frame2.BorderSizePixel = 0
  144. Frame2.Position = UDim2.new(0, 0, -0.2, 0)
  145. Frame2.Size = UDim2.new(1, 0, 0, 30)
  146. IMAGE2.Parent = Frame
  147. IMAGE2.BackgroundTransparency = 1
  148. IMAGE2.AnchorPoint = Vector2.new(0.5, 0)
  149. IMAGE2.Size = UDim2.new(0, 240, 0, 120)
  150. IMAGE2.Position = UDim2.new(0.5, 0, 0, 0)
  151. IMAGE2.Image = "http://www.roblox.com/asset/?id=1795472522"
  152. Frame2:TweenPosition(UDim2.new(0, 0, 0, 200), "Out", "Quad", 1.5)
  153. Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
  154. wait(length)
  155. pcall(function()
  156. Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  157. Frame2:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  158. end)
  159. wait(3.01)
  160. Intro:Destroy()
  161. Notification:Destroy()
  162. end
  163. function Notification(style, msg, length)
  164. if gsCoreGui:FindFirstChild("Notification") then
  165. gsCoreGui:FindFirstChild("Notification"):Destroy()
  166. end
  167. local info = "http://www.roblox.com/asset/?id=1281284684"
  168. local warning = "http://www.roblox.com/asset/?id=1281286925"
  169. if style == "info" then
  170. style = info
  171. elseif style == "warning" then
  172. style = warning
  173. end
  174. local Notification = Instance.new("ScreenGui")
  175. local Frame = Instance.new("Frame")
  176. local TextLabel = Instance.new("TextLabel")
  177. local IMAGE = Instance.new("ImageLabel")
  178. Notification.Name = "Notification"
  179. Notification.Parent = gsCoreGui
  180. Frame.Parent = Notification
  181. Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  182. Frame.BackgroundTransparency = 0.20000000298023
  183. Frame.BorderSizePixel = 0
  184. Frame.Position = UDim2.new(0, 0, -0.2, 0)
  185. Frame.Size = UDim2.new(1, 0, 0, 30)
  186. TextLabel.Parent = Frame
  187. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  188. TextLabel.BackgroundTransparency = 1
  189. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  190. TextLabel.Font = Enum.Font.SourceSansLight
  191. TextLabel.Text = msg
  192. TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  193. TextLabel.TextScaled = true
  194. TextLabel.TextSize = 14
  195. TextLabel.TextWrapped = true
  196. IMAGE.Parent = Frame
  197. IMAGE.BackgroundTransparency = 1
  198. IMAGE.Size = UDim2.new(0, 50, 0, 50)
  199. IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
  200. IMAGE.Image = style
  201. Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
  202. wait(length)
  203. pcall(function()
  204. Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  205. end)
  206. wait(3.01)
  207. Notification:Destroy()
  208. end
  209. function hasTools()
  210. local a = false
  211. local b = false
  212. for i,v in pairs(LP.Character:GetDescendants()) do
  213. if v:IsA("Tool") then
  214. if v ~= nil then
  215. a = true
  216. else
  217. a = false
  218. end
  219. end
  220. end
  221. for i,k in pairs(LP.Backpack:GetDescendants()) do
  222. if k:IsA("Tool") then
  223. if k ~= nil then
  224. b = true
  225. else
  226. b = false
  227. end
  228. end
  229. end
  230. return a or b
  231. end
  232. function createINFO(player)
  233. local InfoGUIv2 = Instance.new("ScreenGui")
  234. local Frame = Instance.new("Frame")
  235. local Frame_2 = Instance.new("Frame")
  236. local infoguiCLOSE = Instance.new("TextButton")
  237. local Frame_3 = Instance.new("Frame")
  238. local playerName = Instance.new("TextLabel")
  239. local Frame_4 = Instance.new("Frame")
  240. local playerAvatar = Instance.new("ImageLabel")
  241. local playerAccAge = Instance.new("TextLabel")
  242. local playerId = Instance.new("TextLabel")
  243. local playerOs = Instance.new("TextLabel")
  244. local Frame_5 = Instance.new("Frame")
  245. local Frame_6 = Instance.new("Frame")
  246. InfoGUIv2.Name = "InfoGUIv2"
  247. InfoGUIv2.Parent = gsCoreGui
  248. Frame.Parent = InfoGUIv2
  249. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  250. Frame.BackgroundTransparency = 1
  251. Frame.BorderColor3 = Color3.new(0, 0, 0)
  252. Frame.ClipsDescendants = true
  253. Frame.Position = UDim2.new(0.45, 0, 1, 0)
  254. Frame.Size = UDim2.new(0, 265, 0, 302)
  255. Frame.ZIndex = -1
  256. Frame_2.Parent = Frame
  257. Frame_2.BackgroundColor3 = Color3.new(0.290196, 0, 0.447059)
  258. Frame_2.BorderSizePixel = 0
  259. Frame_2.Size = UDim2.new(0, 260, 0, 20)
  260. infoguiCLOSE.Name = "infoguiCLOSE"
  261. infoguiCLOSE.Parent = Frame_2
  262. infoguiCLOSE.BackgroundColor3 = Color3.new(1, 1, 1)
  263. infoguiCLOSE.BackgroundTransparency = 1
  264. infoguiCLOSE.BorderSizePixel = 0
  265. infoguiCLOSE.Position = UDim2.new(0, 230, 0, 0)
  266. infoguiCLOSE.Size = UDim2.new(0, 30, 0, 20)
  267. infoguiCLOSE.Font = Enum.Font.SourceSansBold
  268. infoguiCLOSE.Text = "X"
  269. infoguiCLOSE.TextColor3 = Color3.new(0.992157, 0.992157, 0.992157)
  270. infoguiCLOSE.TextSize = 20
  271. Frame_3.Parent = Frame
  272. Frame_3.BackgroundColor3 = Color3.new(0.482353, 0.121569, 0.635294)
  273. Frame_3.BorderSizePixel = 0
  274. Frame_3.Position = UDim2.new(0, 0, 0, 20)
  275. Frame_3.Size = UDim2.new(0, 260, 0, 40)
  276. playerName.Name = "playerName"
  277. playerName.Parent = Frame_3
  278. playerName.BackgroundColor3 = Color3.new(1, 1, 1)
  279. playerName.BackgroundTransparency = 1
  280. playerName.Position = UDim2.new(0, 10, 0, 5)
  281. playerName.Size = UDim2.new(0, 240, 0, 30)
  282. playerName.Font = Enum.Font.SourceSansLight
  283. playerName.Text = player.Name
  284. playerName.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
  285. playerName.TextScaled = true
  286. playerName.TextSize = 14
  287. playerName.TextWrapped = true
  288. Frame_4.Parent = Frame
  289. Frame_4.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  290. Frame_4.BorderSizePixel = 0
  291. Frame_4.Position = UDim2.new(0, 0, 0, 60)
  292. Frame_4.Size = UDim2.new(0, 260, 0, 237)
  293. playerAvatar.Name = "playerAvatar"
  294. playerAvatar.Parent = Frame_4
  295. playerAvatar.BackgroundColor3 = Color3.new(1, 1, 1)
  296. playerAvatar.Position = UDim2.new(0, 85, 0, 10)
  297. playerAvatar.Size = UDim2.new(0, 85, 0, 85)
  298. playerAvatar.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..player.Name
  299. playerAccAge.Name = "playerAccAge"
  300. playerAccAge.Parent = Frame_4
  301. playerAccAge.BackgroundColor3 = Color3.new(1, 1, 1)
  302. playerAccAge.BackgroundTransparency = 1
  303. playerAccAge.Position = UDim2.new(0, 5, 0, 101)
  304. playerAccAge.Size = UDim2.new(0, 250, 0, 30)
  305. playerAccAge.Font = Enum.Font.SourceSans
  306. playerAccAge.Text = "Account Age: "..player.AccountAge
  307. playerAccAge.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  308. playerAccAge.TextScaled = true
  309. playerAccAge.TextSize = 14
  310. playerAccAge.TextWrapped = true
  311. playerId.Name = "playerId"
  312. playerId.Parent = Frame_4
  313. playerId.BackgroundColor3 = Color3.new(1, 1, 1)
  314. playerId.BackgroundTransparency = 1
  315. playerId.Position = UDim2.new(0, 5, 0, 131)
  316. playerId.Size = UDim2.new(0, 250, 0, 30)
  317. playerId.Font = Enum.Font.SourceSans
  318. playerId.Text = "Account ID: "..player.UserId
  319. playerId.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  320. playerId.TextScaled = true
  321. playerId.TextSize = 14
  322. playerId.TextWrapped = true
  323. playerOs.Name = "playerOs"
  324. playerOs.Parent = Frame_4
  325. playerOs.BackgroundColor3 = Color3.new(1, 1, 1)
  326. playerOs.BackgroundTransparency = 1
  327. playerOs.Position = UDim2.new(0, 5, 0, 161)
  328. playerOs.Size = UDim2.new(0, 250, 0, 30)
  329. playerOs.Font = Enum.Font.SourceSansLight
  330. playerOs.Text = "Player OS: "..player.OsPlatform
  331. playerOs.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  332. playerOs.TextScaled = true
  333. playerOs.TextSize = 14
  334. playerOs.TextWrapped = true
  335. Frame_5.Parent = Frame
  336. Frame_5.BackgroundColor3 = Color3.new(0, 0, 0)
  337. Frame_5.BackgroundTransparency = 0.69999998807907
  338. Frame_5.BorderColor3 = Color3.new(0, 0, 0)
  339. Frame_5.BorderSizePixel = 0
  340. Frame_5.ClipsDescendants = true
  341. Frame_5.Position = UDim2.new(0, 10, 0, 10)
  342. Frame_5.Selectable = true
  343. Frame_5.Size = UDim2.new(0, 255, 0, 292)
  344. Frame_5.ZIndex = -1
  345. Frame_6.Parent = Frame
  346. Frame_6.BackgroundColor3 = Color3.new(0, 0, 0)
  347. Frame_6.BackgroundTransparency = 0.69999998807907
  348. Frame_6.BorderColor3 = Color3.new(0, 0, 0)
  349. Frame_6.BorderSizePixel = 0
  350. Frame_6.ClipsDescendants = true
  351. Frame_6.Position = UDim2.new(0, 8, 0, 8)
  352. Frame_6.Selectable = true
  353. Frame_6.Size = UDim2.new(0, 255, 0, 292)
  354. Frame_6.ZIndex = -1
  355. local closeGet = {}
  356. closeGet.Size = UDim2.new(0, 0, 0, 0)
  357. local openGet = {}
  358. openGet.Position = UDim2.new(0.45, 0, 0.45, 0)
  359. local closeFunction = gsTween:Create(Frame, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), closeGet)
  360. local openFunction = gsTween:Create(Frame, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), openGet)
  361. infoguiCLOSE.MouseButton1Click:Connect(function()
  362. closeFunction:Play()
  363. Frame:TweenPosition((Frame.Position + UDim2.new(0, 265 / 2, 0, 302 / 2)), "InOut", "Sine", 2)
  364. wait(2.01)
  365. Frame:Destroy()
  366. end)
  367. openFunction:Play()
  368. local UserInputService = game:GetService("UserInputService")
  369. local dragging
  370. local dragInput
  371. local dragStart
  372. local startPos
  373. local function update(input)
  374. local delta = input.Position - dragStart
  375. local dragTime = 0.055
  376. local SmoothDrag = {}
  377. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  378. local dragSmoothFunction = gsTween:Create(Frame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  379. dragSmoothFunction:Play()
  380. end
  381. Frame.InputBegan:Connect(function(input)
  382. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  383. dragging = true
  384. dragStart = input.Position
  385. startPos = Frame.Position
  386. input.Changed:Connect(function()
  387. if input.UserInputState == Enum.UserInputState.End then
  388. dragging = false
  389. end
  390. end)
  391. end
  392. end)
  393. Frame.InputChanged:Connect(function(input)
  394. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  395. dragInput = input
  396. end
  397. end)
  398. UserInputService.InputChanged:Connect(function(input)
  399. if input == dragInput and dragging and Frame.Size == UDim2.new(0, 265, 0, 302) then
  400. update(input)
  401. end
  402. end)
  403. end
  404. function clientSided()
  405. Notification("info", "This command is client-sided", 6)
  406. end
  407. searchCmds={CMDS}
  408. CMDS={
  409. "sit",
  410. "view [plr]",
  411. "unview",
  412. "goto [plr]",
  413. "noclip",
  414. "clip",
  415. "follow [plr] / [num]",
  416. "unfollow",
  417. "bag [plr]",
  418. "reset",
  419. "noslow",
  420. "unjail",
  421. "invismask",
  422. "god",
  423. "ws",
  424. "unws",
  425. "jp",
  426. "unjp",
  427. "fly / [num]",
  428. "unfly",
  429. "naked",
  430. "info [plr]",
  431. "pos",
  432. "savepos",
  433. "loadpos",
  434. "reach",
  435. "unfog",
  436. "dbat",
  437. "dLMG",
  438. "esp [plr]",
  439. "unesp / [plr]",
  440. "rejoin",
  441. "clickdel",
  442. "unclickdel",
  443. "clicktp",
  444. "unclicktp",
  445. "chatlogs",
  446. "stopadmin",
  447. "fc",
  448. "unfc",
  449. "gotofc",
  450. "cmds",
  451. "fctp[plr]",
  452. "explorer",
  453. "servertime",
  454. "bank",
  455. "bike",
  456. "dungeon",
  457. "exclusive",
  458. "ufo",
  459. "gas",
  460. "vault",
  461. "playground",
  462. "hospitaljail",
  463. "hospital",
  464. "lavalair",
  465. "jail",
  466. "police",
  467. "windowjail",
  468. "gym",
  469. "club",
  470. "pit",
  471. "guns",
  472. "food",
  473. "taco",
  474. "shoe",
  475. "gamerroom",
  476. "brownbag",
  477. "revolver",
  478. "bat",
  479. "weights",
  480. "mask",
  481. "flowers",
  482. "ak47",
  483. "rpg",
  484. "glock",
  485. "key",
  486. "knife",
  487. "lockpick",
  488. "aug",
  489. "ar",
  490. "grenade",
  491. "shovel",
  492. "pitchfork",
  493. "stopsign",
  494. "drumgun",
  495. "p90",
  496. "smg",
  497. "lmg"} -- 168
  498. local CMDS_GUI_V2 = Instance.new("ScreenGui")
  499. local CMDSmain = Instance.new("Frame")
  500. local CMDSframemain = Instance.new("Frame")
  501. local cmdgui_topframe = Instance.new("Frame")
  502. local closecmdsgui = Instance.new("TextButton")
  503. local cmdgui_midframe = Instance.new("Frame")
  504. local cmdsgui_SearchFunction = Instance.new("TextBox")
  505. local cmdsgui_searchDETAILFRAME = Instance.new("Frame")
  506. local cmdsgui_searchDETAILTEXT = Instance.new("TextLabel")
  507. local ListofCMDS = Instance.new("ScrollingFrame")
  508. local cmdTutorial = Instance.new("TextLabel")
  509. local cmdTutorial_2 = Instance.new("TextLabel")
  510. local cmdTutorial_3 = Instance.new("TextLabel")
  511. local CMDS_Shadow = Instance.new("Frame")
  512. local CMDS_Shadow2 = Instance.new("Frame")
  513. CMDS_GUI_V2.Name = "CMDS_GUI_V2"
  514. CMDS_GUI_V2.Parent = gsCoreGui
  515. CMDSmain.Name = "CMDSmain"
  516. CMDSmain.Parent = CMDS_GUI_V2
  517. CMDSmain.BackgroundColor3 = Color3.new(1, 1, 1)
  518. CMDSmain.BackgroundTransparency = 1
  519. CMDSmain.Position = UDim2.new(0, 695, 0, 297)
  520. CMDSmain.Size = UDim2.new(0, 440, 0, 367)
  521. CMDSmain.AnchorPoint = Vector2.new(0.5, 0.5)
  522. CMDSmain.Visible = false
  523. CMDSmain.ClipsDescendants = true
  524. CMDSframemain.Name = "CMDSframemain"
  525. CMDSframemain.Parent = CMDSmain
  526. CMDSframemain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
  527. CMDSframemain.BorderSizePixel = 0
  528. CMDSframemain.Size = UDim2.new(0, 440, 0, 367)
  529. cmdgui_topframe.Name = "cmdgui_topframe"
  530. cmdgui_topframe.Parent = CMDSframemain
  531. cmdgui_topframe.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  532. cmdgui_topframe.BorderSizePixel = 0
  533. cmdgui_topframe.Size = UDim2.new(0, 440, 0, 15)
  534. closecmdsgui.Name = "closecmdsgui"
  535. closecmdsgui.Parent = cmdgui_topframe
  536. closecmdsgui.BackgroundColor3 = Color3.new(1, 1, 1)
  537. closecmdsgui.BackgroundTransparency = 1
  538. closecmdsgui.Position = UDim2.new(0, 410, 0, 0)
  539. closecmdsgui.Size = UDim2.new(0, 30, 0, 15)
  540. closecmdsgui.Font = Enum.Font.SourceSansBold
  541. closecmdsgui.Text = "X"
  542. closecmdsgui.TextColor3 = Color3.new(0.968628, 0.968628, 0.968628)
  543. closecmdsgui.TextSize = 20
  544. cmdgui_midframe.Name = "cmdgui_midframe"
  545. cmdgui_midframe.Parent = CMDSframemain
  546. cmdgui_midframe.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  547. cmdgui_midframe.BorderSizePixel = 0
  548. cmdgui_midframe.Position = UDim2.new(0, 0, 0, 15)
  549. cmdgui_midframe.Size = UDim2.new(0, 440, 0, 45)
  550. cmdsgui_SearchFunction.Name = "cmdsgui_SearchFunction"
  551. cmdsgui_SearchFunction.Parent = cmdgui_midframe
  552. cmdsgui_SearchFunction.BackgroundColor3 = Color3.new(1, 1, 1)
  553. cmdsgui_SearchFunction.BackgroundTransparency = 1
  554. cmdsgui_SearchFunction.BorderSizePixel = 0
  555. cmdsgui_SearchFunction.Position = UDim2.new(0, 120, 0, 10)
  556. cmdsgui_SearchFunction.Size = UDim2.new(0, 200, 0, 25)
  557. cmdsgui_SearchFunction.Font = Enum.Font.SourceSans
  558. cmdsgui_SearchFunction.Text = ""
  559. cmdsgui_SearchFunction.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  560. cmdsgui_SearchFunction.TextScaled = true
  561. cmdsgui_SearchFunction.TextSize = 14
  562. cmdsgui_SearchFunction.TextWrapped = true
  563. cmdsgui_searchDETAILFRAME.Name = "cmdsgui_searchDETAILFRAME"
  564. cmdsgui_searchDETAILFRAME.Parent = cmdsgui_SearchFunction
  565. cmdsgui_searchDETAILFRAME.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  566. cmdsgui_searchDETAILFRAME.BorderSizePixel = 0
  567. cmdsgui_searchDETAILFRAME.Position = UDim2.new(0, 0, 0, 25)
  568. cmdsgui_searchDETAILFRAME.Size = UDim2.new(0, 200, 0, 2)
  569. cmdsgui_searchDETAILTEXT.Name = "cmdsgui_searchDETAILTEXT"
  570. cmdsgui_searchDETAILTEXT.Parent = cmdsgui_SearchFunction
  571. cmdsgui_searchDETAILTEXT.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  572. cmdsgui_searchDETAILTEXT.BackgroundTransparency = 1
  573. cmdsgui_searchDETAILTEXT.Size = UDim2.new(0, 200, 0, 25)
  574. cmdsgui_searchDETAILTEXT.Font = Enum.Font.SourceSansLight
  575. cmdsgui_searchDETAILTEXT.Text = "Search"
  576. cmdsgui_searchDETAILTEXT.TextColor3 = Color3.fromRGB(240, 240, 240)
  577. cmdsgui_searchDETAILTEXT.TextSize = 30
  578. ListofCMDS.Name = "ListofCMDS"
  579. ListofCMDS.Parent = CMDSframemain
  580. ListofCMDS.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
  581. ListofCMDS.BorderSizePixel = 0
  582. ListofCMDS.Position = UDim2.new(0, 0, 0, 60)
  583. ListofCMDS.Size = UDim2.new(0, 440, 0, 307)
  584. ListofCMDS.CanvasSize = UDim2.new(5, 0, 8, 0)
  585. ListofCMDS.ScrollingDirection = Enum.ScrollingDirection.XY
  586. cmdTutorial.Name = "cmdTutorial"
  587. cmdTutorial.Parent = ListofCMDS
  588. cmdTutorial.BackgroundColor3 = Color3.new(1, 1, 1)
  589. cmdTutorial.BackgroundTransparency = 1
  590. cmdTutorial.BorderSizePixel = 0
  591. cmdTutorial.Position = UDim2.new(0, 5, 0, 5)
  592. cmdTutorial.Size = UDim2.new(0, 420, 0, 20)
  593. cmdTutorial.Font = Enum.Font.SourceSansBold
  594. cmdTutorial.Text = ""
  595. cmdTutorial.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  596. cmdTutorial.TextScaled = true
  597. cmdTutorial.TextSize = 14
  598. cmdTutorial.TextWrapped = true
  599. cmdTutorial.TextXAlignment = Enum.TextXAlignment.Left
  600. cmdTutorial_2.Name = "cmdTutorial"
  601. cmdTutorial_2.Parent = ListofCMDS
  602. cmdTutorial_2.BackgroundColor3 = Color3.new(1, 1, 1)
  603. cmdTutorial_2.BackgroundTransparency = 1
  604. cmdTutorial_2.BorderSizePixel = 0
  605. cmdTutorial_2.Position = UDim2.new(0, 5, 0, 25)
  606. cmdTutorial_2.Size = UDim2.new(0, 420, 0, 20)
  607. cmdTutorial_2.Font = Enum.Font.SourceSansBold
  608. cmdTutorial_2.Text = ""
  609. cmdTutorial_2.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  610. cmdTutorial_2.TextScaled = true
  611. cmdTutorial_2.TextSize = 14
  612. cmdTutorial_2.TextWrapped = true
  613. cmdTutorial_2.TextXAlignment = Enum.TextXAlignment.Left
  614. cmdTutorial_3.Name = "cmdTutorial"
  615. cmdTutorial_3.Parent = ListofCMDS
  616. cmdTutorial_3.BackgroundColor3 = Color3.new(1, 1, 1)
  617. cmdTutorial_3.BackgroundTransparency = 1
  618. cmdTutorial_3.BorderSizePixel = 0
  619. cmdTutorial_3.Position = UDim2.new(0, 5, 0, 45)
  620. cmdTutorial_3.Size = UDim2.new(0, 420, 0, 20)
  621. cmdTutorial_3.Font = Enum.Font.SourceSansBold
  622. cmdTutorial_3.Text = "Anything inside \"[ ]\" is an argument for the command"
  623. cmdTutorial_3.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  624. cmdTutorial_3.TextScaled = true
  625. cmdTutorial_3.TextSize = 14
  626. cmdTutorial_3.TextWrapped = true
  627. cmdTutorial_3.TextXAlignment = Enum.TextXAlignment.Left
  628. CMDS_Shadow.Name = "CMDS_Shadow"
  629. CMDS_Shadow.Parent = CMDSmain
  630. CMDS_Shadow.BackgroundColor3 = Color3.new(0, 0, 0)
  631. CMDS_Shadow.BackgroundTransparency = 0.60000002384186
  632. CMDS_Shadow.BorderSizePixel = 0
  633. CMDS_Shadow.Position = UDim2.new(0, 2, 0, 2)
  634. CMDS_Shadow.Size = UDim2.new(0, 440, 0, 367)
  635. CMDS_Shadow.ZIndex = -1
  636. CMDS_Shadow2.Name = "CMDS_Shadow2"
  637. CMDS_Shadow2.Parent = CMDSmain
  638. CMDS_Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
  639. CMDS_Shadow2.BackgroundTransparency = 0.80000001192093
  640. CMDS_Shadow2.BorderSizePixel = 0
  641. CMDS_Shadow2.Position = UDim2.new(0, 5, 0, 5)
  642. CMDS_Shadow2.Size = UDim2.new(0, 440, 0, 367)
  643. CMDS_Shadow2.ZIndex = -1
  644. closecmdsgui.MouseButton1Click:Connect(function()
  645. CMDSmain:TweenSize(UDim2.new(0, 0, 0, 0), "InOut", "Sine", 2)
  646. end)
  647. function CreateCMDlabel(position, text)
  648. local sizenow = 15
  649. local cmdHere = Instance.new("TextLabel")
  650. cmdHere.Name = "cmdHere"
  651. cmdHere.TextWrapped = true
  652. cmdHere.Parent = ListofCMDS
  653. cmdHere.BackgroundColor3 = Color3.new(1, 1, 1)
  654. cmdHere.BackgroundTransparency = 1
  655. cmdHere.BorderSizePixel = 0
  656. cmdHere.Position = position
  657. cmdHere.Size = UDim2.new(0, 1950, 0, sizenow)
  658. cmdHere.Font = Enum.Font.SourceSans
  659. cmdHere.Text = text
  660. cmdHere.TextWrapped = true
  661. cmdHere.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  662. cmdHere.TextScaled = false
  663. cmdHere.TextSize = 20
  664. cmdHere.TextXAlignment = Enum.TextXAlignment.Left
  665. end
  666. for i,_cmds in pairs(searchCmds) do
  667. CreateCMDlabel(UDim2.new(0, 5, 0, 50 + (i * 15)), _cmds)
  668. end
  669. local UserInputService = game:GetService("UserInputService")
  670. local dragging
  671. local dragInput
  672. local dragStart
  673. local startPos
  674. local function updateCMDS(input)
  675. local delta = input.Position - dragStart
  676. local dragTime = 0.055
  677. local SmoothDrag = {}
  678. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  679. local dragSmoothFunction = gsTween:Create(CMDSmain, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  680. dragSmoothFunction:Play()
  681. end
  682. cmdgui_topframe.InputBegan:Connect(function(input)
  683. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  684. dragging = true
  685. dragStart = input.Position
  686. startPos = CMDSmain.Position
  687. input.Changed:Connect(function()
  688. if input.UserInputState == Enum.UserInputState.End then
  689. dragging = false
  690. end
  691. end)
  692. end
  693. end)
  694. cmdgui_topframe.InputChanged:Connect(function(input)
  695. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  696. dragInput = input
  697. end
  698. end)
  699. cmdgui_midframe.InputBegan:Connect(function(input)
  700. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  701. dragging = true
  702. dragStart = input.Position
  703. startPos = CMDSmain.Position
  704. input.Changed:Connect(function()
  705. if input.UserInputState == Enum.UserInputState.End then
  706. dragging = false
  707. end
  708. end)
  709. end
  710. end)
  711. cmdgui_midframe.InputChanged:Connect(function(input)
  712. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  713. dragInput = input
  714. end
  715. end)
  716. UserInputService.InputChanged:Connect(function(input)
  717. if input == dragInput and dragging then
  718. updateCMDS(input)
  719. end
  720. end)
  721. cmdsgui_SearchFunction.Focused:Connect(function()
  722. cmdsgui_SearchFunction.TextTransparency = 0
  723. local searchTween = {}
  724. searchTween.TextColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
  725. searchTween.TextSize = 18
  726. searchTween.Position = UDim2.new(0, -70, 0, -15)
  727. local frameTweenblue = {}
  728. frameTweenblue.BackgroundColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
  729. local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
  730. searchTween1:Play()
  731. local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
  732. frameTweenblue1:Play()
  733. end)
  734. cmdsgui_SearchFunction.FocusLost:Connect(function(enterPressed)
  735. if not enterPressed then
  736. cmdsgui_SearchFunction.TextTransparency = 1
  737. else
  738. cmdsgui_SearchFunction.Text = " "
  739. end
  740. local searchTween = {}
  741. searchTween.TextColor3 = Color3.fromRGB(240, 240, 240)
  742. searchTween.TextSize = 30
  743. searchTween.Position = UDim2.new(0, 0, 0, 0)
  744. local frameTweenblue = {}
  745. frameTweenblue.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  746. local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
  747. searchTween1:Play()
  748. local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
  749. frameTweenblue1:Play()
  750. end)
  751. cmdsgui_SearchFunction.Changed:Connect(function()
  752. local index = 0
  753. if cmdsgui_SearchFunction.Text ~= "" then
  754. for i,v in pairs(ListofCMDS:GetChildren()) do
  755. if v.Name == "cmdHere" then
  756. if not string.find(v.Text, cmdsgui_SearchFunction.Text) then
  757. v.Visible = false
  758. else
  759. v.Visible = true
  760. index = index + 1
  761. v.Position = UDim2.new(0, 5, 0, 50 + (index * 15))
  762. end
  763. end
  764. end
  765. end
  766. end)
  767.  
  768. -- Command Execution
  769. LP.Chatted:Connect(function(chat)
  770. run(chat)
  771. end)
  772.  
  773. function run(msg)
  774. if string.lower(string.sub(msg, 2, 5)) == "chat" then
  775. msg = msg
  776. elseif string.match(msg, "hotkey") and string.match(msg, "chat") then
  777. msg = msg
  778. else
  779. msg = string.lower(msg)
  780. end
  781. local cmdPrefix = string.sub(msg, 1, 1)
  782. if cmdPrefix == CommandPrefix then
  783. msg = string.sub(msg, 2)
  784. local args = {}
  785. for arg in string.gmatch(msg,"[^%s]+") do
  786. table.insert(args,arg)
  787. end
  788. local cmdName = args[1]
  789. table.remove(args,1)
  790. local doCmd = Commands[cmdName]
  791.  
  792. if doCmd ~= nil then
  793. doCmd(args)
  794. end
  795. end
  796. end
  797.  
  798. -- Command bar
  799. local CommandBar = Instance.new("ScreenGui")
  800. local CMDBAR = Instance.new("Frame")
  801. local CMDBARText = Instance.new("TextBox")
  802. CommandBar.Name = "CommandBar"
  803. CommandBar.Parent = gsCoreGui
  804. CMDBAR.Name = "CMDBAR"
  805. CMDBAR.Parent = CommandBar
  806. CMDBAR.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
  807. CMDBAR.BorderSizePixel = 0
  808. CMDBAR.Position = UDim2.new(0.025, 0, 1, 0)
  809. CMDBAR.Size = UDim2.new(0, 270, 0, 35)
  810. CMDBARText.Name = "CMDBARText"
  811. CMDBARText.Parent = CMDBAR
  812. CMDBARText.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  813. CMDBARText.BorderSizePixel = 0
  814. CMDBARText.Position = UDim2.new(0, 5, 0, 5)
  815. CMDBARText.Size = UDim2.new(0, 260, 0, 25)
  816. CMDBARText.Font = Enum.Font.SourceSansLight
  817. CMDBARText.Text = ""
  818. CMDBARText.TextColor3 = Color3.new(0.933333, 0.933333, 0.933333)
  819. CMDBARText.TextScaled = true
  820. CMDBARText.TextSize = 14
  821. CMDBARText.TextWrapped = true
  822. Mouse.KeyDown:connect(function(Key)
  823. if Key == string.lower(CommandPrefix) then
  824. CMDBARText:CaptureFocus()
  825. CMDBAR:TweenPosition(UDim2.new(0.015, 0, 0.95, 0), "Out", "Elastic", 0.5, true)
  826. wait()
  827. CMDBARText.Text = string.gsub(CMDBARText.Text,CommandPrefix,"")
  828. end
  829. end)
  830. CMDBARText.FocusLost:connect(function(enterPressed)
  831. CMDBAR:TweenPosition(UDim2.new(0.015, 0, 1, 0), "Out", "Quad", 0.5, true)
  832. if enterPressed then
  833. local cmdmsg = CMDBARText.Text
  834. CMDBARText.Text = ""
  835. run(CommandPrefix..cmdmsg)
  836. end
  837. end)
  838. local Match = Instance.new("Frame")
  839. Match.Name = "Match"
  840. Match.Parent = CMDBAR
  841. Match.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
  842. Match.BorderSizePixel = 0
  843. Match.Position = UDim2.new(0, 0, -4, 0)
  844. Match.Size = UDim2.new(1, 0, 4, 0)
  845. Match.Visible = false
  846. function CreateOption(Text)
  847. local Option1 = Instance.new("TextLabel")
  848. Option1.Name = "Option"
  849. Option1.Parent = Match
  850. Option1.BackgroundColor3 = Color3.new(1, 1, 1)
  851. Option1.BackgroundTransparency = 1
  852. Option1.Position = UDim2.new(-10, 0, 0, 0)
  853. Option1.Size = UDim2.new(1, 0, 0, 20)
  854. Option1.Font = Enum.Font.SourceSans
  855. Option1.Text = Text
  856. Option1.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
  857. Option1.TextScaled = true
  858. Option1.TextWrapped = true
  859. end
  860. for i,cmdtext2 in pairs(CMDS) do
  861. CreateOption(cmdtext2)
  862. end
  863. CMDBARText.Changed:Connect(function()
  864. if CMDBARText.Text ~= "" and CMDBARText.Text ~= CommandPrefix then
  865. Match.Visible = true
  866. local PositionMatch = 0
  867. for i,cmdtext in pairs(Match:GetChildren()) do
  868. if cmdtext.Name == "Option" then
  869. if string.find(cmdtext.Text, CMDBARText.Text) then
  870. cmdtext.Position = UDim2.new(0, 0, 0, 2 + (PositionMatch * 20))
  871. PositionMatch = PositionMatch + 1
  872. if cmdtext.Position == UDim2.new(0, 0, 0, 142) then
  873. cmdtext.Position = UDim2.new(-10, 0, 0, 0)
  874. PositionMatch = PositionMatch - 1
  875. end
  876. else
  877. cmdtext.Position = UDim2.new(-10, 0, 0, 0)
  878. end
  879. end
  880. end
  881. else
  882. Match.Visible = false
  883. end
  884. end)
  885.  
  886. -- Chat
  887. local ChatLogsv2 = Instance.new("ScreenGui")
  888. local MainChatFrame = Instance.new("Frame")
  889. local Framess = Instance.new("Frame")
  890. local CloseChatGUI = Instance.new("TextButton")
  891. local Frame_222 = Instance.new("Frame")
  892. local PrintChat = Instance.new("TextButton")
  893. local Shadow1 = Instance.new("Frame")
  894. local Shadow2 = Instance.new("Frame")
  895. local ScrollingFrame = Instance.new("ScrollingFrame")
  896. ChatLogsv2.Name = "ChatLogsv2"
  897. ChatLogsv2.Parent = gsCoreGui
  898. MainChatFrame.Name = "MainChatFrame"
  899. MainChatFrame.Parent = ChatLogsv2
  900. MainChatFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  901. MainChatFrame.BackgroundTransparency = 1
  902. MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
  903. MainChatFrame.Size = UDim2.new(0, 525, 0, 337)
  904. MainChatFrame.Visible = false
  905. Framess.Parent = MainChatFrame
  906. Framess.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  907. Framess.BorderSizePixel = 0
  908. Framess.Size = UDim2.new(0, 525, 0, 15)
  909. CloseChatGUI.Name = "CloseChatGUI"
  910. CloseChatGUI.Parent = Framess
  911. CloseChatGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  912. CloseChatGUI.BackgroundTransparency = 1
  913. CloseChatGUI.BorderSizePixel = 0
  914. CloseChatGUI.Position = UDim2.new(0, 495, 0, 0)
  915. CloseChatGUI.Size = UDim2.new(0, 30, 0, 15)
  916. CloseChatGUI.Font = Enum.Font.SourceSansBold
  917. CloseChatGUI.Text = "X"
  918. CloseChatGUI.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
  919. CloseChatGUI.TextSize = 20
  920. Frame_222.Parent = MainChatFrame
  921. Frame_222.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  922. Frame_222.BorderSizePixel = 0
  923. Frame_222.Position = UDim2.new(0, 0, 0, 15)
  924. Frame_222.Size = UDim2.new(0, 525, 0, 50)
  925. PrintChat.Name = "PrintChat"
  926. PrintChat.Parent = Frame_222
  927. PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
  928. PrintChat.BorderSizePixel = 0
  929. PrintChat.Position = UDim2.new(0, 15, 0, 0)
  930. PrintChat.Size = UDim2.new(0, 170, 0, 30)
  931. PrintChat.Font = Enum.Font.SourceSansLight
  932. PrintChat.Text = "Print Chat"
  933. PrintChat.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
  934. PrintChat.TextSize = 30
  935. PrintChat.TextWrapped = true
  936. Shadow1.Name = "Shadow1"
  937. Shadow1.Parent = MainChatFrame
  938. Shadow1.BackgroundColor3 = Color3.new(0, 0, 0)
  939. Shadow1.BackgroundTransparency = 0.5
  940. Shadow1.Position = UDim2.new(0, 2, 0, 2)
  941. Shadow1.Size = UDim2.new(0, 525, 0, 337)
  942. Shadow1.ZIndex = -1
  943. Shadow2.Name = "Shadow2"
  944. Shadow2.Parent = MainChatFrame
  945. Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
  946. Shadow2.BackgroundTransparency = 0.80000001192093
  947. Shadow2.Position = UDim2.new(0, 5, 0, 5)
  948. Shadow2.Size = UDim2.new(0, 525, 0, 337)
  949. Shadow2.ZIndex = -1
  950. ScrollingFrame.Parent = MainChatFrame
  951. ScrollingFrame.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
  952. ScrollingFrame.BorderSizePixel = 0
  953. ScrollingFrame.Position = UDim2.new(0, 0, 0, 65)
  954. ScrollingFrame.Size = UDim2.new(0, 525, 0, 271)
  955. ScrollingFrame.CanvasPosition = Vector2.new(0, 403)
  956. ScrollingFrame.ScrollBarThickness = 8
  957. function CreateChatText(plr, chat)
  958. for i,v in pairs(ScrollingFrame:GetDescendants()) do
  959. v.Position = v.Position - UDim2.new(0, 0, 0, 20)
  960. if v.Position == UDim2.new(0, 5, 0, 10) then
  961. v:Destroy()
  962. end
  963. end
  964. local Example = Instance.new("TextLabel")
  965. Example.Name = "Example"
  966. Example.Parent = ScrollingFrame
  967. Example.BackgroundColor3 = Color3.new(1, 1, 1)
  968. Example.BackgroundTransparency = 1
  969. Example.Position = UDim2.new(0, 5, 0, 650)
  970. Example.Size = UDim2.new(0, 500, 0, 20)
  971. Example.Font = Enum.Font.SourceSans
  972. Example.Text = "["..plr.Name.."]: "..chat
  973. Example.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
  974. Example.TextScaled = true
  975. Example.TextSize = 20
  976. Example.TextWrapped = true
  977. Example.TextXAlignment = Enum.TextXAlignment.Left
  978. end
  979. CloseChatGUI.MouseButton1Click:Connect(function()
  980. MainChatFrame:TweenPosition(UDim2.new(0, 550, 0, -550), "InOut", "Sine", 2)
  981. wait(2.01)
  982. MainChatFrame.Visible = false
  983. end)
  984. printingChat = false
  985. PrintChat.MouseButton1Click:Connect(function()
  986. if printingChat == false then
  987. printingChat = true
  988. PrintChat.BackgroundColor3 = Color3.fromRGB(60, 200, 60)
  989. elseif printingChat == true then
  990. printingChat = false
  991. PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
  992. end
  993. end)
  994. local UserInputService = game:GetService("UserInputService")
  995. local dragging
  996. local dragInput
  997. local dragStart
  998. local startPos
  999. local function updateChat(input)
  1000. local delta = input.Position - dragStart
  1001. local dragTime = 0.055
  1002. local SmoothDrag = {}
  1003. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  1004. local dragSmoothFunction = gsTween:Create(MainChatFrame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  1005. dragSmoothFunction:Play()
  1006. end
  1007. Frame_222.InputBegan:Connect(function(input)
  1008. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  1009. dragging = true
  1010. dragStart = input.Position
  1011. startPos = MainChatFrame.Position
  1012. input.Changed:Connect(function()
  1013. if input.UserInputState == Enum.UserInputState.End then
  1014. dragging = false
  1015. end
  1016. end)
  1017. end
  1018. end)
  1019. Frame_222.InputChanged:Connect(function(input)
  1020. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  1021. dragInput = input
  1022. end
  1023. end)
  1024. UserInputService.InputChanged:Connect(function(input)
  1025. if input == dragInput and dragging then
  1026. updateChat(input)
  1027. end
  1028. end)
  1029.  
  1030. game:GetService("Players").PlayerAdded:connect(function(plr)
  1031. plr.Chatted:connect(function(chat)
  1032. CreateChatText(plr, chat)
  1033. end)
  1034. end)
  1035. -- Loops
  1036. following = false
  1037. viewplr = ""
  1038.  
  1039. LPcurrenthumanoid = LP.Character.Humanoid
  1040. game:GetService('RunService').Stepped:connect(function()
  1041. if LP.Character.Humanoid ~= nil then
  1042. LPcurrenthumanoid = LP.Character.Humanoid
  1043. end
  1044. if following then
  1045. LP.Character.HumanoidRootPart.CFrame = gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * flwnum
  1046. end
  1047. end)
  1048.  
  1049. LPcurrenthumanoid.Died:Connect(function()
  1050. doFREECAM = false
  1051. flying = false
  1052. for i,v in pairs(gsWorkspace:GetDescendants()) do
  1053. if v.Name == "bun" then
  1054. v:Destroy()
  1055. end
  1056. end
  1057. end)
  1058.  
  1059. -- Commands
  1060. Commands = {}
  1061.  
  1062. Commands.exclusive = function(args)
  1063. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-250.888306, 321843.5, 184211.578))
  1064. end
  1065.  
  1066. Commands.brownbag = function(args)
  1067. wait()
  1068. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-316.639923, 51.1817589, -723.638306))
  1069. wait(0.35)
  1070. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[BrownBag] - $25"].ClickDetector)
  1071. end
  1072.  
  1073. Commands.weights = function(args)
  1074. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-51.1358109, 23.76021, -655.153503))
  1075. end
  1076.  
  1077. Commands.mask = function(args)
  1078. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[Surgeon Mask] - $25"].Head.CFrame
  1079. wait(0.35)
  1080. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[Surgeon Mask] - $25"].ClickDetector)
  1081. end
  1082.  
  1083. Commands.flowers = function(args)
  1084. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[Flowers] - $5"].Head.CFrame
  1085. wait(0.35)
  1086. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[Flowers] - $5"].ClickDetector)
  1087. end
  1088.  
  1089. Commands.ak47 = function(args)
  1090. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-587.529358, 9.12472153, -753.717712))
  1091. end
  1092.  
  1093. Commands.rpg = function(args)
  1094. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[RPG] - $6000"].Head.CFrame
  1095. end
  1096.  
  1097.  
  1098. Commands.glock = function(args)
  1099. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-271.99118, 22.6098976, -83.3880539))
  1100. end
  1101.  
  1102. Commands.key = function(args)
  1103. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-270.981262, 22.5599403, -239.290512))
  1104. end
  1105.  
  1106. Commands.knife = function(args)
  1107. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[Knife] - $150"].Head.CFrame
  1108. wait(0.35)
  1109. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[Knife] - $150"].ClickDetector)
  1110. end
  1111.  
  1112. Commands.lockpick = function(args)
  1113. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[LockPicker] - $125"].Head.CFrame
  1114. end
  1115.  
  1116. Commands.aug = function(args)
  1117. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[AUG] - $1950"].Head.CFrame
  1118. end
  1119.  
  1120. Commands.ar = function(args)
  1121. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["100 [AR Ammo] - $75"].Head.CFrame
  1122. end
  1123.  
  1124. Commands.grenade = function(args)
  1125. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[Grenade] - $1250"].Head.CFrame
  1126. end
  1127.  
  1128. Commands.shovel = function(args)
  1129. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[Shovel] - $320"].Head.CFrame
  1130. wait(0.35)
  1131. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[Shovel] - $320"].ClickDetector)
  1132. end
  1133.  
  1134. Commands.pitchfork = function(args)
  1135. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[Pitchfork] - $320"].Head.CFrame
  1136. wait(0.35)
  1137. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[Pitchfork] - $320"].ClickDetector)
  1138. end
  1139.  
  1140.  
  1141. Commands.stopsign = function(args)
  1142. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[StopSign] - $300"].Head.CFrame
  1143. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[StopSign] - $300"].ClickDetector)
  1144. end
  1145.  
  1146. Commands.bike = function(args)
  1147. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[DuoBike] - $75"].Head.CFrame
  1148. end
  1149.  
  1150. Commands.drumgun = function(args)
  1151. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[DrumGun] - $3000"].Head.CFrame
  1152. end
  1153.  
  1154. Commands.p90 = function(args)
  1155. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[P90] - $1000"].Head.CFrame
  1156. end
  1157.  
  1158. Commands.smg = function(args)
  1159. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[SMG] - $750"].Head.CFrame
  1160. end
  1161.  
  1162. Commands.lmg = function(args)
  1163. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-622.538635, 23.3266811, -299.446808))
  1164. end
  1165.  
  1166. Commands.revolver = function(args)
  1167. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-614.11084, 21.8309402, -97.6809998))
  1168. end
  1169.  
  1170. Commands.unjail = function(args)
  1171. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-270.981262, 22.5599403, -239.290512))
  1172. wait(0.35)
  1173. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[Flashlight] - $10"].ClickDetector)
  1174. wait(0.2)
  1175. for i,v in ipairs(LP.Backpack:GetChildren()) do
  1176. if v.Name == "[Key]" then
  1177. v.Parent = LP.Character
  1178. end
  1179. end
  1180. end
  1181.  
  1182. Commands.noslow = function(args)
  1183. LP.CharacterAdded:Connect(function()
  1184. wait(0.6)
  1185. LP.Character.BodyEffects.Movement.ChildAdded:Connect(function(child)
  1186. wait(0.01)
  1187. if child.Name == "NoJumping" or child.Name == "ReduceWalk" or child.Name == "NoWalkSpeed" then child:Destroy()
  1188. end
  1189. end)
  1190. end)
  1191. LP.Character.BodyEffects.Movement.ChildAdded:Connect(function(child)
  1192. wait(0.01)
  1193. if child.Name == "NoJumping" or child.Name == "ReduceWalk" or child.Name == "NoWalkSpeed" then child:Destroy()
  1194. end
  1195. end)
  1196. end
  1197.  
  1198. Commands.god = function(args)
  1199. LP.Character.BodyEffects.Grabbed:Destroy()
  1200. LP.Character.BodyEffects["K.O"]:Destroy()
  1201. local g = Instance.new("ObjectValue",LP.Character.BodyEffects)
  1202. g.Name = "Grabbed"
  1203. local b = Instance.new("BoolValue",LP.Character.BodyEffects)
  1204. b.Name = "K.O"
  1205. end
  1206.  
  1207. Commands.bag = function(args)
  1208. if LP.Backpack:FindFirstChild("[BrownBag]") then
  1209. LP.Backpack:FindFirstChild("[BrownBag]").Parent = LP.Character
  1210. end
  1211.  
  1212. for i,qr in ipairs(LP.Backpack:GetChildren()) do
  1213. if qr.Name == "[BrownBag]" then qr.Parent = LP.Character
  1214. end
  1215. end
  1216. wait(0.1)
  1217. if args[1] then
  1218.  
  1219. cf = LP.Character.Head.CFrame
  1220.  
  1221. for i,v in pairs(findPlayer(args[1])) do
  1222. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-316.639923, 51.1817589, -723.638306))
  1223. wait(0.1)
  1224. for i = 1,20 do
  1225. v.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 1.25
  1226. for i = 1,20 do
  1227. if LP.Backpack:FindFirstChild("[BrownBag]") then
  1228. LP.Backpack:FindFirstChild("[BrownBag]").Parent = LP.Character
  1229. end
  1230. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[BrownBag] - $25"].ClickDetector)
  1231. for i,q in ipairs(LP.Backpack:GetChildren()) do
  1232. if q.Name == "[BrownBag]" then q.Parent = LP.Character
  1233. v.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 1.25
  1234. end
  1235. end
  1236.  
  1237. end
  1238.  
  1239. end
  1240. wait(0.1)
  1241. for i,q in ipairs(LP.Backpack:GetChildren()) do
  1242. if q.Name == "[BrownBag]" then q.Parent = LP.Character
  1243. v.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 1.25
  1244. end
  1245. end
  1246. wait(0.1)
  1247. for i,q in ipairs(LP.Character:GetChildren()) do
  1248. if q.Name == "[BrownBag]" then q.Parent = LP.Backpack
  1249. q.Parent = LP.Character
  1250. v.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 1.25
  1251. end
  1252. end
  1253. mouse1click()
  1254. wait(0.1)
  1255. for i = 1,25 do
  1256. if LP.Backpack:FindFirstChild("[BrownBag]") then
  1257. LP.Backpack:FindFirstChild("[BrownBag]").Parent = LP.Character
  1258. end
  1259. mouse1click()
  1260. v.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 1.25
  1261. wait(0.05)
  1262. mouse1click()
  1263. v.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 1.25
  1264. end
  1265. wait(0.1)
  1266. end
  1267. wait(0.25)
  1268. LP.Character.HumanoidRootPart.CFrame = cf
  1269. end
  1270. end
  1271.  
  1272. Commands.invismask = function(args)
  1273. for i,v in ipairs(LP.Character:GetDescendants()) do
  1274. if v.Name == "In-gameMask" then v.Handle:Destroy()
  1275. end
  1276. end
  1277. end
  1278.  
  1279. Commands.spamdrophats = function(args)
  1280. LP.Character.ChildAdded:Connect(function(b)
  1281. wait(0)
  1282. if b:IsA("Accessory") then b.Handle.Mesh:Destroy()
  1283. b.Parent = gsWorkspace
  1284. end
  1285. end)
  1286. end
  1287.  
  1288. Commands.vault = function(args)
  1289. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-501.668091, 23.1503906, -284.90332))
  1290. end
  1291.  
  1292. Commands.playground = function(args)
  1293. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-240.638901, 22.1478767, -756.198242))
  1294. end
  1295.  
  1296. Commands.taco = function(args)
  1297. LP.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ignored.Shop["[Taco] - $2"].Head.CFrame
  1298. wait(0.2)
  1299. fireclickdetector(game:GetService("Workspace").Ignored.Shop["[Taco] - $2"].ClickDetector)
  1300. end
  1301.  
  1302. Commands.bank = function(args)
  1303. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-455.11, 26.177, -282.678))
  1304. end
  1305.  
  1306. Commands.dungeon = function(args)
  1307. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-799.255, -38.1919, -835.65))
  1308. end
  1309.  
  1310. Commands.pit = function(args)
  1311. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(156.275543, -40.8395462, 154.993729))
  1312. end
  1313.  
  1314. Commands.hospitaljail = function(args)
  1315. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(125,24,-478))
  1316. end
  1317.  
  1318. Commands.hospital = function(args)
  1319. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(102.101234, 22.7999954, -485.141083))
  1320. end
  1321.  
  1322. Commands.lavalair = function(args)
  1323. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-801.308655, -39.6492004, -885.425537))
  1324. end
  1325.  
  1326. Commands.jail = function(args)
  1327. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-340.226013, 21.75, -72.5273666))
  1328. end
  1329.  
  1330. Commands.police = function(args)
  1331. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-253.14801, 21.7999573, -113.54351))
  1332. end
  1333.  
  1334. Commands.gamerroom = function(args)
  1335. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-504.932831, 48.602375, -214.07872))
  1336. end
  1337.  
  1338. Commands.club = function(args)
  1339. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-264.35022, 48.526104, -459.518341))
  1340. end
  1341.  
  1342. Commands.food = function(args)
  1343. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-786.383728, -39.6492004, -934.995728))
  1344. end
  1345.  
  1346. Commands.guns = function(args)
  1347. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-809.831055, -39.6492004, -934.060364))
  1348. end
  1349. Commands.gym = function(args)
  1350. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-76.3442764, 22.7002907, -616.323059))
  1351. end
  1352.  
  1353. Commands.windowjail = function(args)
  1354. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-269.929962, 41.0447044, -116.524918))
  1355. end
  1356.  
  1357. Commands.gas = function(args)
  1358. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(592.652893, 48.9980507, -279.358398))
  1359. end
  1360.  
  1361. Commands.ufo = function(args)
  1362. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(73.4151306, 155.997437, -686.389343))
  1363. end
  1364.  
  1365. Commands.sit = function(args)
  1366. LP.Character.Humanoid.Sit = true
  1367. end
  1368.  
  1369. Commands.ws = function(args)
  1370. local SuperSpeed = Instance.new("IntValue",LP.Character.BodyEffects.Movement)
  1371. SuperSpeed.Name = "SuperSpeed"
  1372. end
  1373.  
  1374.  
  1375. Commands.unws = function(args)
  1376. for i,v in ipairs(LP.Character.BodyEffects.Movement:GetDescendants()) do
  1377. if v.Name == "SuperSpeed" then
  1378. v:Destroy()
  1379. end
  1380. end
  1381. end
  1382.  
  1383. Commands.jp = function(args)
  1384. local HulkJump = Instance.new("IntValue",LP.Character.BodyEffects.Movement)
  1385. HulkJump.Name = "HulkJump"
  1386. end
  1387.  
  1388. Commands.unjp = function(args)
  1389. for i,v in ipairs(LP.Character.BodyEffects.Movement:GetDescendants()) do
  1390. if v.Name == "HulkJump" then
  1391. v:Destroy()
  1392. end
  1393. end
  1394. end
  1395.  
  1396. Commands.view = function(args)
  1397. if args[1] then
  1398. for i,v in pairs(findSinglePlayer(args[1])) do
  1399. view(v)
  1400. Notification("info", "Now viewing "..v.Name..". Use "..CommandPrefix.."unview to stop viewing.", 3)
  1401. end
  1402. end
  1403. end
  1404.  
  1405. Commands.unview = function(args)
  1406. view(LP)
  1407. end
  1408.  
  1409. Commands.goto = function(args)
  1410. if args[1] then
  1411. for i,v in pairs(findPlayer(args[1])) do
  1412. LP.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  1413. end
  1414. end
  1415. end
  1416.  
  1417. Commands.noclip = function(args)
  1418. noclip = false
  1419. Notification("info", "Noclip enabled.", 4)
  1420. end
  1421.  
  1422. Commands.clip = function(args)
  1423. noclip = true
  1424. Notification("info", "Noclip disabled.", 4)
  1425. end
  1426.  
  1427. Commands.follow = function(args)
  1428. if args[1] then
  1429. for i,v in pairs(findPlayer(args[1])) do
  1430. flwplr = v
  1431. end
  1432. if args[2] then
  1433. flwnum = args[2]
  1434. else
  1435. flwnum = -5
  1436. end
  1437. following = true
  1438. else
  1439. Notification("warning", "No player selected to follow! Use: "..CommandPrefix.."follow player", 4)
  1440. end
  1441. end
  1442.  
  1443. Commands.unfollow = function(args)
  1444. following = false
  1445. end
  1446.  
  1447. Commands.reset = function(args)
  1448. LP.Character.BodyEffects.Dead:Destroy()
  1449. LP.Character.Head:Destroy()
  1450. LP.Character.Humanoid.Health = 0
  1451. end
  1452.  
  1453.  
  1454.  
  1455. Commands.bat = function(args)
  1456. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(380, 49, -281))
  1457. end
  1458.  
  1459. Commands.fly = function(args)
  1460. if args[1] then SPEED = args[1]
  1461. elseif args[1] == nil then
  1462. SPEED = 1
  1463. end
  1464. for i,v in pairs(gsWorkspace:GetDescendants()) do
  1465. if v.Name == "bun" then
  1466. v:Destroy()
  1467. end
  1468. end
  1469. local Mouse = LP:GetMouse()
  1470. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1471. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1472. local speedfly = SPEED
  1473.  
  1474. local bart = Instance.new("Part",gsWorkspace)
  1475. bart.Size = Vector3.new(1.95, 1.95, 0.95)
  1476. bart.CanCollide = false
  1477. bart.Massless = false
  1478. bart.Transparency = 1
  1479. bart.Name = "bun"
  1480. local T = bart
  1481. local weld = Instance.new("Weld",bart)
  1482. weld.Part0 = bart
  1483. weld.Part1 = LP.Character.BodyEffects.SpecialParts.UpperTorso
  1484. flying = true
  1485. local BG = Instance.new('BodyGyro', T)
  1486. local BV = Instance.new('BodyVelocity', T)
  1487. BG.P = 9e4
  1488. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1489. BG.cframe = T.CFrame
  1490. BV.velocity = Vector3.new(0, 0.1, 0)
  1491. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1492. spawn(function()
  1493. repeat wait()
  1494. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  1495. SPEED = 50
  1496. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  1497. SPEED = 0
  1498. end
  1499. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  1500. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  1501. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  1502. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  1503. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  1504. else
  1505. BV.velocity = Vector3.new(0, 0.1, 0)
  1506. end
  1507. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  1508. until flying == false
  1509. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1510. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1511. SPEED = 0
  1512. BG:destroy()
  1513. BV:destroy()
  1514. end)
  1515. Mouse.KeyDown:connect(function(KEY)
  1516. if KEY:lower() == 'w' then
  1517. CONTROL.F = speedfly
  1518. elseif KEY:lower() == 's' then
  1519. CONTROL.B = -speedfly
  1520. elseif KEY:lower() == 'a' then
  1521. CONTROL.L = -speedfly
  1522. elseif KEY:lower() == 'd' then
  1523. CONTROL.R = speedfly
  1524. end
  1525. end)
  1526. Mouse.KeyUp:connect(function(KEY)
  1527. if KEY:lower() == 'w' then
  1528. CONTROL.F = 0
  1529. elseif KEY:lower() == 's' then
  1530. CONTROL.B = 0
  1531. elseif KEY:lower() == 'a' then
  1532. CONTROL.L = 0
  1533. elseif KEY:lower() == 'd' then
  1534. CONTROL.R = 0
  1535. end
  1536. end)
  1537. end
  1538.  
  1539. Commands.unfly = function(args)
  1540. flying = false
  1541. for i,v in pairs(gsWorkspace:GetDescendants()) do
  1542. if v.Name == "bun" then
  1543. v:Destroy()
  1544. end
  1545. end
  1546. end
  1547.  
  1548. Commands.naked = function(args)
  1549. for i,v in pairs(LP.Character:GetDescendants()) do
  1550. if v:IsA("Clothing") then
  1551. v:Destroy()
  1552.  
  1553. end
  1554. end
  1555.  
  1556. for i,v in pairs(LP.Character:GetDescendants()) do
  1557. if v:IsA("ShirtGraphic") then
  1558. v:Destroy()
  1559.  
  1560. end
  1561. end
  1562.  
  1563. end
  1564.  
  1565. Commands.info = function(args)
  1566. if args[1] then
  1567. for i,v in pairs(findSinglePlayer(args[1])) do
  1568. createINFO(v)
  1569. end
  1570. end
  1571. end
  1572.  
  1573. Commands.flashlight = function(args)
  1574. ItemName = ("[Flashlight]")
  1575. LP.Backpack[ItemName].GripPos = Vector3.new(2.1, 1, -0.2)
  1576. LP.Backpack[ItemName].GripUp = Vector3.new(0.401, 0.9, 0)
  1577. end
  1578.  
  1579. Commands.pos = function(args)
  1580. syn.write_clipboard("LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new("..tostring(LP.Character.HumanoidRootPart.Position).."))")
  1581. Notification("info", "Your current position is ".. tostring(LP.Character.HumanoidRootPart.Position), 9)
  1582. end
  1583.  
  1584. SavedPosition = ""
  1585. Commands.savepos = function(args)
  1586. SavedPosition = LP.Character.HumanoidRootPart.CFrame
  1587. end
  1588. Commands.loadpos = function(args)
  1589. if SavedPosition ~= "" then
  1590. LP.Character.HumanoidRootPart.CFrame = SavedPosition
  1591. end
  1592. end
  1593.  
  1594. Commands.reach = function(args)
  1595. for i,v in pairs(LP.Character:GetChildren()) do
  1596. if v.Name ~= "Combat" and not v:FindFirstChild("Animation") and v:FindFirstChild("Handle") and v.Name ~= "[Lockpick]" and v.Name ~= "[Phone]" and v.Name ~= "Wallet" and v:IsA("Tool") and v.ClassName ~= "LocalScript" then
  1597. v.Handle.Massless = true
  1598. v.Handle.Transparency = 1
  1599. Instance.new("Animation",v)
  1600. v.Handle.Size = v.Handle.Size * Vector3.new(6,6,6)
  1601. local selectionBox = Instance.new("SelectionBox",v.Handle)
  1602. selectionBox.Adornee = v.Handle
  1603. selectionBox.Color3 = Color3.new(0,1,0)
  1604. end
  1605. end
  1606. end
  1607.  
  1608. Commands.unfog = function(args)
  1609. gsLighting.FogStart = 0
  1610. gsLighting.FogEnd = 9999999999999
  1611. clientSided()
  1612. end
  1613.  
  1614. Commands.dbat = function(args)
  1615. ItemName = ("[Bat]")
  1616. LP.Backpack[ItemName].GripPos = Vector3.new(1.8, -0.2, -1.51)
  1617. LP.Backpack[ItemName].GripUp = Vector3.new(99 ,9 ,0)
  1618. end
  1619.  
  1620. Commands.dlmg = function(args)
  1621. LP.Backpack["[LMG]"].Grip = CFrame.new(0.550000012, 1.39999998, -0.5, 0.893063903, 0.449861199, -0.00786215067, -0.449917108, 0.893033862, -0.00806869194, 0.00339137577, 0.0107431728, 0.999936521)
  1622. end
  1623.  
  1624. Commands.esp = function(args)
  1625. if args[1] then
  1626. for i,v in pairs(findPlayer(args[1])) do
  1627. local espPlayer = v
  1628. for i,createESP in pairs(espPlayer.Character:GetDescendants()) do
  1629. if createESP:IsA("Part") or createESP:IsA("MeshPart") then
  1630. if createESP.Name ~= "HumanoidRootPart" and createESP.Name ~= "Handle" then
  1631. local current = true
  1632. local espBOX = Instance.new("BoxHandleAdornment")
  1633. espBOX.Parent = gsCoreGui
  1634. espBOX.Name = "rGET"..espPlayer.Name
  1635. espBOX.Adornee = createESP
  1636. espBOX.AlwaysOnTop = true
  1637. espBOX.ZIndex = 0
  1638. espBOX.Size = createESP.Size
  1639. espBOX.Transparency = 0.3
  1640. local AboveHead = Instance.new("BillboardGui")
  1641. AboveHead.Parent = gsCoreGui
  1642. AboveHead.Adornee = espPlayer.Character.Head
  1643. AboveHead.Name = "rGET"..espPlayer.Name
  1644. AboveHead.Size = UDim2.new(0, 100, 0, 100)
  1645. AboveHead.StudsOffset = Vector3.new(0, 1, 0)
  1646. AboveHead.AlwaysOnTop = true
  1647. local Info = Instance.new("TextLabel")
  1648. Info.Parent = AboveHead
  1649. Info.BackgroundTransparency = 1
  1650. Info.Position = UDim2.new(0, 0, 0, 0)
  1651. Info.Size = UDim2.new(1, 0, 0, 40)
  1652. Info.TextColor3 = BrickColor.new("Lime Green").Color
  1653. Info.TextStrokeTransparency = 0.5
  1654. Info.TextSize = 15
  1655. Info.TextStrokeColor3 = Color3.fromRGB(10,100,10)
  1656. espBOX.Color = BrickColor.new("Lime Green").Color
  1657. Info.TextStrokeColor3 = Color3.fromRGB(100,10,10)
  1658. game:GetService('RunService').Stepped:connect(function()
  1659. if current and LP.Character.Humanoid and espPlayer.Character.HumanoidRootPart then
  1660. Info.Text = espPlayer.Name.." (".. math.floor((LP.Character.HumanoidRootPart.Position - espPlayer.Character.HumanoidRootPart.Position).magnitude)..")"
  1661. end
  1662. end)
  1663. espPlayer.Character.Humanoid.Died:Connect(function()
  1664. current = false
  1665. espBOX:Destroy()
  1666. AboveHead:Destroy()
  1667. end)
  1668. gsPlayers.PlayerRemoving:Connect(function(plr)
  1669. if plr == espPlayer then
  1670. current = false
  1671. espBOX:Destroy()
  1672. AboveHead:Destroy()
  1673. end
  1674. end)
  1675. end
  1676. end
  1677. end
  1678. end
  1679. clientSided()
  1680. end
  1681. end
  1682.  
  1683. Commands.unesp = function(args)
  1684. if not args[1] then
  1685. for i,v in pairs(gsCoreGui:GetDescendants()) do
  1686. if string.sub(v.Name, 1, 4) == "rGET" then
  1687. v:Destroy()
  1688. end
  1689. end
  1690. else
  1691. for i,v in pairs(gsCoreGui:GetDescendants()) do
  1692. if string.sub(v.Name, 1, 4) == "rGET" then
  1693. for i,a in pairs(findPlayer(args[1])) do
  1694. if string.sub(v.Name, 5) == a.Name then
  1695. v:Destroy()
  1696. end
  1697. end
  1698. end
  1699. end
  1700. end
  1701. end
  1702.  
  1703. Commands.rejoin = function(args)
  1704. game:GetService("TeleportService"):Teleport(game.PlaceId)
  1705. end
  1706.  
  1707. Commands.clicktp = function(args)
  1708. clicktpACTIVE = true
  1709. end
  1710.  
  1711. Commands.unclicktp = function(args)
  1712. clicktpACTIVE = false
  1713. end
  1714.  
  1715. Commands.clickdel = function(args)
  1716. clickdelACTIVE = true
  1717. clientSided()
  1718. end
  1719.  
  1720. Commands.unclickdel = function(args)
  1721. clickdelACTIVE = false
  1722. end
  1723.  
  1724. Mouse.Button1Down:connect(function()
  1725. if clickdelACTIVE == true then
  1726. Mouse.Target:Destroy()
  1727. elseif clicktpACTIVE == true then
  1728. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.p)
  1729. end
  1730. end)
  1731.  
  1732. Commands.chatlogs = function(args)
  1733. MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
  1734. MainChatFrame.Visible = true
  1735. end
  1736.  
  1737. Commands.stopadmin = function(args)
  1738. CommandPrefix = " "
  1739. following = false
  1740. CMDBAR.Visible = false
  1741. Match.Visible = false
  1742. flying = false
  1743. end
  1744.  
  1745. Commands.freecam = function(args)
  1746. for i,getFC in pairs(gsWorkspace:GetDescendants()) do
  1747. if getFC.Name == "rGETpartNUMBER2" then
  1748. getFC:Destroy()
  1749. end
  1750. end
  1751. local CameraPart = Instance.new("Part")
  1752. CameraPart.CanCollide = false
  1753. CameraPart.CFrame = LP.Character.Head.CFrame
  1754. CameraPart.Locked = false
  1755. CameraPart.Transparency = 0.9
  1756. CameraPart.Size = Vector3.new(2, 2, 2)
  1757. CameraPart.Parent = gsWorkspace
  1758. CameraPart.Name = "rGETpartNUMBER2"
  1759. gsWorkspace.CurrentCamera.CameraSubject = CameraPart
  1760. local speedget = 1
  1761. local T = CameraPart
  1762. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1763. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1764. local SPEED = speedget
  1765. if args[1] then
  1766. speedfly = tonumber(args[1])
  1767. else
  1768. speedfly = 1
  1769. end
  1770. local function freecamfly()
  1771. LP.Character.Head.Anchored = true
  1772. doFREECAM = true
  1773. local BG = Instance.new('BodyGyro', T)
  1774. local BV = Instance.new('BodyVelocity', T)
  1775. BG.P = 9e4
  1776. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1777. BG.cframe = T.CFrame
  1778. BV.velocity = Vector3.new(0, 0.1, 0)
  1779. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1780. spawn(function()
  1781. repeat wait()
  1782. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  1783. SPEED = 50
  1784. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  1785. SPEED = 0
  1786. end
  1787. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  1788. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  1789. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  1790. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  1791. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  1792. else
  1793. BV.velocity = Vector3.new(0, 0.1, 0)
  1794. end
  1795. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  1796. until not doFREECAM
  1797. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1798. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1799. SPEED = 0
  1800. BG:destroy()
  1801. BV:destroy()
  1802. end)
  1803. end
  1804. Mouse.KeyDown:connect(function(KEY)
  1805. if KEY:lower() == 'w' then
  1806. CONTROL.F = speedfly
  1807. elseif KEY:lower() == 's' then
  1808. CONTROL.B = -speedfly
  1809. elseif KEY:lower() == 'a' then
  1810. CONTROL.L = -speedfly
  1811. elseif KEY:lower() == 'd' then
  1812. CONTROL.R = speedfly
  1813. end
  1814. end)
  1815. Mouse.KeyUp:connect(function(KEY)
  1816. if KEY:lower() == 'w' then
  1817. CONTROL.F = 0
  1818. elseif KEY:lower() == 's' then
  1819. CONTROL.B = 0
  1820. elseif KEY:lower() == 'a' then
  1821. CONTROL.L = 0
  1822. elseif KEY:lower() == 'd' then
  1823. CONTROL.R = 0
  1824. end
  1825. end)
  1826. freecamfly()
  1827. end
  1828.  
  1829. Commands.fc = function(args)
  1830. if args[1] then
  1831. run(CommandPrefix.."freecam "..args[1])
  1832. else
  1833. run(CommandPrefix.."freecam")
  1834. end
  1835. end
  1836.  
  1837. Commands.unfreecam = function(args)
  1838. doFREECAM = false
  1839. LP.Character.Head.Anchored = false
  1840. view(LP)
  1841. if gsWorkspace.rGETpartNUMBER2 then
  1842. gsWorkspace.rGETpartNUMBER2:Destroy()
  1843. end
  1844. end
  1845.  
  1846. Commands.unfc = function(args)
  1847. doFREECAM = false
  1848. LP.Character.Head.Anchored = false
  1849. view(LP)
  1850. if gsWorkspace.rGETpartNUMBER2 then
  1851. gsWorkspace.rGETpartNUMBER2:Destroy()
  1852. end
  1853. end
  1854.  
  1855. Commands.gotofc = function(args)
  1856. doFREECAM = false
  1857. LP.Character.Head.Anchored = false
  1858. view(LP)
  1859. pcall(function()
  1860. LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
  1861. gsWorkspace.rGETpartNUMBER2:Destroy()
  1862. end)
  1863. end
  1864.  
  1865. Commands.fctp = function(args)
  1866. if args[1] then
  1867. for i,v in pairs(findPlayer(args[1])) do
  1868. pcall(function()
  1869. gsWorkspace.rGETpartNUMBER2.CFrame = v.Character.Head.CFrame
  1870. end)
  1871. end
  1872. end
  1873. end
  1874.  
  1875. Commands.cmds = function(args)
  1876. CMDSmain.Position = UDim2.new(0, 695, 0, 297)
  1877. CMDSmain.Visible = true
  1878. CMDSmain:TweenSize(UDim2.new(0, 440, 0, 367), "InOut", "Sine", 1)
  1879. end
  1880.  
  1881. Commands.explorer = function(args)
  1882. loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
  1883. Notification("info", "Loaded DEX explorer!", 5)
  1884. end
  1885.  
  1886. Commands.servertime = function(args)
  1887. Notification("info", "Server time is "..math.ceil(tonumber(gsWorkspace.DistributedGameTime)).." seconds.", 8)
  1888. end
  1889.  
  1890. -- findPlayer function (ALL, OTHERS, ME, NOOBS, VETERANS, OLDVETERANS, FRIENDS, NOFRIENDS, DEFAULT, RANDOM, SAMETEAM, NOTEAM, OTHERTEAM, TEAMname)
  1891. function findPlayer(plr)
  1892. local players = {}
  1893. local find = plr:lower()
  1894. local getAllNames = getmultipleplayers(find)
  1895. for i,mplr in pairs(getAllNames) do
  1896. if mplr == "all" then
  1897. for i,v in pairs(gsPlayers:GetPlayers()) do
  1898. table.insert(players,v)
  1899. end
  1900. elseif mplr == "others" then
  1901. for i,v in pairs(gsPlayers:GetPlayers()) do
  1902. if v.Name ~= LP.Name then
  1903. table.insert(players,v)
  1904. end
  1905. end
  1906. elseif mplr == "me" then
  1907. table.insert(players,LP)
  1908. elseif mplr == "noobs" then
  1909. for i,v in pairs(gsPlayers:GetPlayers()) do
  1910. if v.AccountAge <= 3 then
  1911. table.insert(players,v)
  1912. end
  1913. end
  1914. elseif mplr == "veterans" then
  1915. for i,v in pairs(gsPlayers:GetPlayers()) do
  1916. if v.AccountAge >= 365 then
  1917. table.insert(players,v)
  1918. end
  1919. end
  1920. elseif mplr == "oldveterans" then
  1921. for i,v in pairs(gsPlayers:GetPlayers()) do
  1922. if v.AccountAge >= 1500 then
  1923. table.insert(players,v)
  1924. end
  1925. end
  1926. elseif mplr == "friends" then
  1927. for i,v in pairs(gsPlayers:GetPlayers()) do
  1928. if v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
  1929. table.insert(players,v)
  1930. end
  1931. end
  1932. elseif mplr == "nofriends" then
  1933. for i,v in pairs(gsPlayers:GetPlayers()) do
  1934. if not v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
  1935. table.insert(players,v)
  1936. end
  1937. end
  1938. elseif mplr == "default" then
  1939. for i,v in pairs(gsPlayers:GetPlayers()) do
  1940. if v.Character:FindFirstChild("Pal Hair") or v.Character:FindFirstChild("Kate Hair") then
  1941. table.insert(players,v)
  1942. end
  1943. end
  1944. elseif mplr == "random" then
  1945. for i,v in pairs(gsPlayers:GetPlayers()) do
  1946. table.insert(players,v[math.random(1, #v)])
  1947. end
  1948. elseif mplr == "sameteam" then
  1949. for i,v in pairs(gsPlayers:GetPlayers()) do
  1950. if v.Team == LP.Team then
  1951. table.insert(players,v)
  1952. end
  1953. end
  1954. elseif mplr == "noteam" then
  1955. for i,v in pairs(gsPlayers:GetPlayers()) do
  1956. if v.Team == nil then
  1957. table.insert(players,v)
  1958. end
  1959. end
  1960. elseif mplr == "otherteam" then
  1961. for i,v in pairs(gsPlayers:GetPlayers()) do
  1962. if v.Team ~= LP.Team then
  1963. table.insert(players,v)
  1964. end
  1965. end
  1966. elseif string.sub(mplr, 1, 4) == "team" then
  1967. for i,v in pairs(gsPlayers:GetPlayers()) do
  1968. local spaceTEAM = {}
  1969. for teamValues in (string.gmatch(string.sub(mplr, 5), "[^_]+")) do
  1970. spaceTEAM[#spaceTEAM + 1] = teamValues
  1971. end
  1972. local gottrueteam = table.concat(spaceTEAM, " ")
  1973. if string.lower(tostring(v.Team)) == string.lower(gottrueteam) then
  1974. table.insert(players,v)
  1975. end
  1976. end
  1977. else
  1978. for i,v in pairs(gsPlayers:GetPlayers()) do
  1979. if string.lower(v.Name):sub(1, #mplr) == string.lower(mplr) then
  1980. table.insert(players,v)
  1981. end
  1982. end
  1983. end
  1984. end
  1985.  
  1986. return players
  1987. end
  1988. function getmultipleplayers(plr)
  1989. local plrsgotten = {}
  1990. for i in string.gmatch(plr,"[^,]+") do
  1991. table.insert(plrsgotten,i)
  1992. end
  1993. return plrsgotten
  1994. end
  1995. function findSinglePlayer(plr)
  1996. local players = {}
  1997. local find = plr:lower()
  1998. if find == "me" then
  1999. table.insert(players,LP)
  2000. else
  2001. for i,v in pairs(gsPlayers:GetPlayers()) do
  2002. if string.lower(v.Name):sub(1, #find) == string.lower(find) then
  2003. table.insert(players,v)
  2004. end
  2005. end
  2006. end
  2007. local oneplayer = {}
  2008. pcall(function()
  2009. table.insert(oneplayer, players[math.random(1, #players)])
  2010. end)
  2011. return oneplayer
  2012. end
  2013.  
  2014. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(132.210388, 40.1500206, 199999.672))
  2015.  
  2016.  
  2017. game.Players.ChildAdded:Connect(function(playr)
  2018. wait(0.1)
  2019. if playr.Name == "Benoxa" or playr.Name == "iumu" or playr.Name == "Sherosama" or playr.Name == "JokeTheFool" then
  2020. LP:Kick("admin joined")
  2021. end
  2022. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement