Advertisement
patkcsa

OP Dahood AimLock

Jul 6th, 2024
27,844
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.53 KB | None | 0 0
  1. game.StarterGui:SetCore(
  2. "SendNotification",
  3. {
  4. Title = "Dahoodian Aimlock",
  5. Text = "This GUI was made by val4o_fn on Discord. DM for support.",
  6. }
  7. )
  8. wait(1)
  9. game.StarterGui:SetCore(
  10. "SendNotification",
  11. {
  12. Title = "Aimlock",
  13. Text = "Loading...",
  14. }
  15. )
  16.  
  17. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/slattisbabygirl/cattoware/main/Wcatto.lua"))()
  18.  
  19. local NotifyLibrary = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/Dynissimo/main/Scripts/AkaliNotif.lua"))()
  20. local Notify = NotifyLibrary.Notify
  21. Library.theme.accentcolor = Color3.fromRGB(45, 205, 50)
  22. Library.theme.accentcolor2 = Color3.fromRGB(45, 205, 50)
  23.  
  24. local Window = Library:CreateWindow("Aimlockss Da Hood GUI [PUBLIC/FREE VERSION] - [BETA]", Vector2.new(492, 598), Enum.KeyCode.P)
  25.  
  26. local AimingTab = Window:CreateTab("Rage")
  27.  
  28. local LegitTab = Window:CreateTab("Legit")
  29.  
  30. local FunTab = Window:CreateTab("Fun")
  31.  
  32. local MiscTab = Window:CreateTab("Misc")
  33.  
  34. local sector1 = AimingTab:CreateSector("CAMLOCK (Q)", "left")
  35.  
  36. sector1:AddButton("EXECUTE", function()
  37. getgenv().NemesisPreBeta = {
  38. ["Settings"] = {
  39. Disabling = {Toggle = false, Keybind = "H"},
  40. UpdateTickDelay = 0.05
  41. },
  42. ["Camlock"] = {
  43. Toggling = {
  44. Enable = true,
  45. Keybind = "Q"
  46. },
  47. Settings = {
  48. Prediction = {
  49. true,
  50. .11934,
  51. false,
  52. .003
  53. },
  54. Smoothing = {
  55. smoothness = true,
  56. x = 1,
  57. y = 1
  58. },
  59. OffSets = {
  60. Jump = {
  61. Enable = false,
  62. [1] = Vector3.new(0, 3, 0)
  63. }
  64. }
  65. },
  66. Conditions = {
  67. Player = {
  68. WallCheck = false,
  69. Grabbed = false,
  70. Knocked = false,
  71. CrewID = false
  72. },
  73. BodyParts = {"HumanoidRootPart", "Head"}
  74. }
  75. },
  76. ["Silent"] = {
  77. Toggling = { Enable = false },
  78. Settings = {
  79. Prediction = { true , 0.11934 , false, 0.003 },
  80. HitChance = 100,
  81. Resolver = true,
  82. OffSets = {
  83. Jump = {
  84. Enable = false,
  85. [1] = Vector3.new(0, 0, 0)
  86. }
  87. }
  88. },
  89. Conditions = {
  90. Player = { WallCheck = false, Grabbed = false, Knocked = false, CrewID = false },
  91. BodyParts = {"HumanoidRootPart", "UpperTorso", "Head"}
  92. }
  93. },
  94. ["Field Of View"] = {
  95. Enable = true,
  96. Size = 1000,
  97. Color = Color3.fromRGB(255, 255, 255),
  98. },
  99. ["Miscs"] = {
  100. ["Sorting"] = {
  101. Toggled = false,
  102. Key = "F",
  103. alphabetically = true,
  104. Ammo = false,
  105. Custom = {
  106. Enable = false,
  107. List = {[1] = "[Revolver]", [2] = "[Chicken]"} -- // etc
  108. }
  109. },
  110. ["Animation"] = {
  111. Enable = true,
  112. Animations = {["Greet"] = {[1] = false, [2] = "V"}}
  113. }
  114. }
  115. }
  116.  
  117.  
  118.  
  119.  
  120.  
  121. local DUpvalue, Round, V3, V2, CF, Rservice, UserInput, Ping, Mouse, backpack = debug.getupvalue, math.round, Vector3.new, Vector2.new, CFrame.new, game:GetService("RunService"), game:GetService("UserInputService"), game:GetService("Stats").PerformanceStats.Ping, game:GetService("Players").LocalPlayer:GetMouse(), game:GetService("Players").LocalPlayer.Backpack
  122. local Players, Self, Character, Camera = game:GetService("Players"), game:GetService("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character or game:GetService("Players").LocalPlayer.CharacterAdded:Wait(), game:GetService("Workspace").CurrentCamera
  123. local idx, endp
  124.  
  125.  
  126. local Storage = {
  127. Drawings = {},
  128. Connections = {},
  129. targets = {
  130. [1] = nil,
  131. [2] = nil
  132. },
  133. ValuePosition = nil,
  134. bodyparts = {
  135. [1] = "",
  136. [2] = ""
  137. },
  138. update_tick = tick(),
  139. etc = {
  140. Ctoggled = false,
  141. Mtoggled = false
  142. },
  143. items = {}
  144. }
  145.  
  146.  
  147.  
  148. function NewConnection(type, callback)
  149. local connection = type:Connect(callback)
  150. Storage.Connections[#Storage.Connections+1] = connection
  151. return connection
  152. end
  153.  
  154. function Chance(chance, maxchance)
  155. return math.random(maxchance) <= chance
  156. end
  157.  
  158.  
  159. function Thread(Function, ...)
  160. local co
  161. local success, result
  162.  
  163. if Function ~= nil then
  164. co = coroutine.create(Function)
  165. success, result = coroutine.resume(co, ...)
  166. end
  167. if success ~= nil and co ~= nil and Function ~= nil then
  168. return result
  169. end
  170. end
  171.  
  172.  
  173. function wallcheck(origin)
  174. local parts = Camera:GetPartsObscuringTarget({origin.Position, Character.HumanoidRootPart.Position}, {Camera, Character, origin.Parent})
  175. if #parts == 0 then
  176. return true
  177. end
  178. return false
  179. end
  180.  
  181. function Grabbed(player)
  182. if player.Character ~= nil then
  183. return not player.Character:FindFirstChild("GRABBING_CONSTRAINT")
  184. end
  185. end
  186.  
  187. function Knocked(player)
  188. if player.Character ~= nil then
  189. return player.Character.BodyEffects["K.O"].Value ~= true
  190. end
  191. end
  192.  
  193.  
  194. local pingHistory = {}
  195. local lastPingUpdateTime = tick()
  196.  
  197.  
  198.  
  199. function GetPrediction()
  200. local currentPing = Ping:GetValue() * 0.003
  201. if getgenv().NemesisPreBeta.Camlock.Settings.Prediction[3] or getgenv().NemesisPreBeta.Silent.Settings.Prediction[3] then
  202. return currentPing
  203. else
  204. return getgenv().NemesisPreBeta.Camlock.Settings.Prediction[2] and getgenv().NemesisPreBeta.Silent.Settings.Prediction[2]
  205. end
  206. end
  207.  
  208. function Crew(player)
  209. if game.Players.LocalPlayer:FindFirstChild("DataFolder"):FindFirstChild("Information"):FindFirstChild("Crew") then
  210. local SelfCrewValue = game.Players.LocalPlayer:FindFirstChild("DataFolder"):FindFirstChild("Information"):FindFirstChild("Crew")
  211. if SelfCrewValue.Value ~= 0 then
  212. if player:FindFirstChild("DataFolder"):FindFirstChild("Information"):FindFirstChild("Crew") then
  213. local Enimy = player:FindFirstChild("DataFolder"):FindFirstChild("Information"):FindFirstChild("Crew")
  214. if Enimy.Value == SelfCrewValue.Value then
  215. return false
  216. end
  217. end
  218. end
  219. end
  220. return true
  221. end
  222.  
  223.  
  224.  
  225. function Closespart(player, hitboxes)
  226. local closestPart
  227. local closestDistanc = math.huge
  228. for _, hitbox in pairs(hitboxes) do
  229. local part = player.Character:FindFirstChild(hitbox)
  230. if part then
  231. local pos = Camera:WorldToViewportPoint(part.Position)
  232. local distance = (UserInput:GetMouseLocation() - V2(pos.X, pos.Y)).Magnitude
  233. if distance < closestDistanc then
  234. closestPart = part
  235. closestDistanc = distance
  236. end
  237. end
  238. end
  239. return closestPart
  240. end
  241.  
  242.  
  243.  
  244. function isInCustomList(toolName)
  245. for _, customName in ipairs(getgenv().NemesisPreBeta.Miscs.Sorting.Custom.List) do
  246. if toolName == customName then
  247. return true
  248. end
  249. end
  250. return false
  251. end
  252.  
  253.  
  254. function GetClosest(table)
  255. local MaxDistance = getgenv().NemesisPreBeta["Field Of View"].Enable and getgenv().NemesisPreBeta["Field Of View"].Size or math.huge
  256. local Target
  257.  
  258. for i,v in pairs(Players:GetPlayers()) do
  259. if v ~= Self and v.Character ~= nil and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
  260. local ViewPort, Visible = Camera:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
  261. local Mag = (UserInput:GetMouseLocation() - Vector2.new(ViewPort.X, ViewPort.Y)).Magnitude
  262. if MaxDistance > Mag and Visible and (
  263. (table.WallCheck and wallcheck(v.Character.HumanoidRootPart)) or true and
  264. (table.Grabbed and Grabbed(v)) or true and
  265. (table.Knocked and Knocked(v)) or true and
  266. (table.CrewID and Crew(v)) or true
  267. ) then
  268. MaxDistance = Mag
  269. Target = v
  270. end
  271. end
  272. end
  273. return Target
  274. end
  275.  
  276. function Velocity(Target, method)
  277. if method == true then
  278. local pos = Target.Character.HumanoidRootPart.Position
  279. local lastTime = tick()
  280. local currentPos, currentTime
  281. local connection
  282. connection =
  283. game:GetService("RunService").Heartbeat:Connect(
  284. function()
  285. currentPos = Target.Character.HumanoidRootPart.Position
  286. currentTime = tick()
  287. connection:Disconnect()
  288. end
  289. )
  290. wait(0.01)
  291. local velocity = (currentPos - pos) / (currentTime - lastTime)
  292. return Vector3.new(math.floor(velocity.X), math.floor(velocity.Y), math.floor(velocity.Z))
  293. else
  294. return Target.character:FindFirstChild("HumanoidRootPart").AssemblyLinearVelocity
  295. end
  296. end
  297.  
  298. function playAnimation(animationName)
  299. local args = {
  300. [1] = "AnimationPack",
  301. [2] = animationName,
  302. }
  303. game:GetService("ReplicatedStorage").MainEvent:FireServer(unpack(args))
  304. end
  305.  
  306.  
  307. -- // updates
  308.  
  309. function UpdateSilent()
  310. local SilentTable = getgenv().NemesisPreBeta.Silent
  311. if SilentTable.Toggling.Enable then
  312. Storage.targets[2] = GetClosest(SilentTable.Conditions.Player)
  313. if Storage.targets[2] ~= nil and Storage.targets[2].Character ~= nil and Storage.targets[2].Character:FindFirstChild("HumanoidRootPart") then
  314. Storage.bodyparts[2] = tostring(Closespart(Storage.targets[2], SilentTable.Conditions.BodyParts))
  315. local position = Storage.targets[2].Character[Storage.bodyparts[2]].Position
  316. if SilentTable.Settings.OffSets.Jump.Enable and Storage.targets[2].Character:FindFirstChildOfClass("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall then
  317. position = position + SilentTable.Settings.OffSets.Jump[1]
  318. end
  319. Storage.CFposition = position + (SilentTable.Settings.Prediction and Velocity(Storage.targets[2], SilentTable.Settings.Resolver) * GetPrediction() or 0)
  320. end
  321. end
  322. end
  323.  
  324.  
  325. function UpdateCamlock()
  326. local CamLockTable = getgenv().NemesisPreBeta.Camlock
  327. if Storage.etc.Ctoggled and CamLockTable.Toggling.Enable and Storage.targets[1] ~= nil and Storage.targets[1].Character ~= nil then
  328. local position = Storage.targets[1].Character[Storage.bodyparts[1]].Position
  329.  
  330. if CamLockTable.Settings.OffSets.Jump.Enable and Storage.targets[1].Character:FindFirstChildOfClass("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall then
  331. position = position + CamLockTable.Settings.OffSets.Jump[1]
  332. end
  333.  
  334. if CamLockTable.Settings.Smoothing.enable then
  335. local goal = CFrame.new(Camera.CFrame.Position, position + (CamLockTable.Settings.Prediction[1] * GetPrediction() or Vector3.new()))
  336. Camera.CFrame = Camera.CFrame:Lerp(goal, CamLockTable.Settings.Smoothing.x, CamLockTable.Settings.Smoothing.y)
  337. else
  338. local prediction = CamLockTable.Settings.Prediction[1] and Storage.targets[1].Character.HumanoidRootPart.AssemblyLinearVelocity * GetPrediction() or Vector3.new()
  339. Camera.CFrame = CFrame.new(Camera.CFrame.Position, position + prediction)
  340. end
  341. end
  342. end
  343.  
  344. do -- main connection
  345.  
  346. NewConnection(UserInput.InputBegan, function(key, wtv)
  347. if key.KeyCode == Enum.KeyCode[getgenv().NemesisPreBeta.Camlock.Toggling.Keybind:upper()] and not wtv then
  348. if getgenv().NemesisPreBeta.Camlock.Toggling.Enable then
  349. Storage.etc.Ctoggled = not Storage.etc.Ctoggled
  350. Storage.targets[1] = GetClosest(getgenv().NemesisPreBeta.Camlock.Conditions.Player)
  351.  
  352. if Storage.targets[1] and Storage.targets[1].Character then
  353. Storage.bodyparts[1] = tostring(Closespart(Storage.targets[1], getgenv().NemesisPreBeta.Camlock.Conditions.BodyParts))
  354.  
  355. end
  356. else
  357. if Storage.targets[1] ~= nil then
  358. Storage.targets[1] = nil
  359. end
  360. end
  361. end
  362. end)
  363.  
  364. NewConnection(UserInput.InputBegan, function(key, wtv)
  365. if getgenv().NemesisPreBeta.Settings.Disabling.Toggle and key.KeyCode == Enum.KeyCode[getgenv().NemesisPreBeta.Settings.Disabling.Keybind:upper()] and not wtv then
  366. for i,v in pairs(Storage.Connections) do
  367. if v then
  368. v:Disconnect()
  369. end
  370. end
  371. for i,v in pairs(Storage.Drawings) do
  372. if v and v.__OBJECT_EXISTS then
  373. print("f")
  374. end
  375. end
  376. end
  377. end)
  378.  
  379. NewConnection(UserInput.InputBegan, function(key, wtv)
  380. if getgenv().NemesisPreBeta.Miscs.Sorting.Toggled and key.KeyCode == Enum.KeyCode[getgenv().NemesisPreBeta.Miscs.Sorting.Key:upper()] and not wtv then
  381. local items = {}
  382.  
  383. if getgenv().NemesisPreBeta.Miscs.Sorting.Custom.Enable then
  384. for _, customName in ipairs(getgenv().NemesisPreBeta.Miscs.Sorting.Custom.List) do
  385. for _, item in pairs(backpack:GetChildren()) do
  386. if item:IsA("Tool") and item.Name == customName then
  387. table.insert(items, 1, item)
  388. break
  389. end
  390. end
  391. end
  392. end
  393.  
  394. for _, item in pairs(backpack:GetChildren()) do
  395. if item:IsA("Tool") and (not getgenv().NemesisPreBeta.Miscs.Sorting.Custom.Enable or not isInCustomList(item.Name)) then
  396. table.insert(items, item)
  397. end
  398. end
  399.  
  400. if getgenv().NemesisPreBeta.Miscs.Sorting.alphabetically and not getgenv().NemesisPreBeta.Miscs.Sorting.Custom.Enable then
  401. table.sort(items, function(a, b)
  402. return a.Name < b.Name
  403. end)
  404. end
  405.  
  406. if getgenv().NemesisPreBeta.Miscs.Sorting.Ammo and not getgenv().NemesisPreBeta.Miscs.Sorting.Custom.Enable then
  407. table.sort(items, function(a, b)
  408. return a.Value > b.Value
  409. end)
  410. end
  411.  
  412. for _, item in ipairs(items) do
  413. item.Parent = nil
  414. wait(0.01)
  415. item.Parent = backpack
  416. end
  417.  
  418. end
  419. end)
  420.  
  421. NewConnection(UserInput.InputBegan, function(key, wtv)
  422. if getgenv().NemesisPreBeta.Miscs.Animation.Enable and not wtv then
  423. for animationName, animationData in pairs(getgenv().NemesisPreBeta.Miscs.Animation.Animations) do
  424. if animationData[1] and key.KeyCode == Enum.KeyCode[animationData[2]] then
  425. playAnimation(animationName)
  426. break
  427. end
  428. end
  429. end
  430. end)
  431.  
  432.  
  433.  
  434.  
  435. NewConnection(Rservice.Heartbeat, function()
  436.  
  437. --// camlock
  438. Thread(UpdateCamlock())
  439.  
  440. --// Silent UPDATE
  441. Thread(UpdateSilent())
  442.  
  443. end)
  444. end
  445.  
  446.  
  447. for connection, index in next, getconnections(workspace.CurrentCamera.Changed) do
  448. index:Disable()
  449. end
  450. for connection, index in next, getconnections(workspace.CurrentCamera:GetPropertyChangedSignal("CFrame")) do
  451. index:Disable()
  452. end
  453.  
  454.  
  455. local oldIndex
  456. oldIndex = hookmetamethod(game, "__index", function(t, k)
  457. if t:IsA("Mouse") and k == "Hit" or k == "Target" then
  458. if getgenv().NemesisPreBeta.Silent.Toggling.Enable and Chance(getgenv().NemesisPreBeta.Silent.Settings.HitChance, 100) and Storage.targets[2] ~= nil then
  459. local Hit = CFrame.new(Storage.CFposition)
  460. return (k == "Hit" and Hit)
  461. end
  462. end
  463. return oldIndex(t, k)
  464. end)
  465. end)
  466.  
  467.  
  468.  
  469. -- Integration of the provided scripts
  470.  
  471. local Settings1 = {
  472. range1 = 500,
  473. range2 = 800,
  474. }
  475.  
  476. for __, v in pairs(game.CoreGui.RobloxGui.PerformanceStats:GetChildren()) do
  477. if v.Name == "PS_Button" and v.StatsMiniTextPanelClass.TitleLabel.Text == "Mem" then
  478. Memory = v.StatsMiniTextPanelClass.ValueLabel
  479. end
  480. end
  481.  
  482. Memory:GetPropertyChangedSignal("Text"):Connect(function()
  483. local Random = math.random(Settings1.range1, Settings1.range2)
  484. Random = Random * 1.23
  485. Memory.Text = "".. Random .." MB"
  486. end)
  487.  
  488. local Settings2 = {
  489. range1 = 423,
  490. range2 = 1782,
  491. }
  492.  
  493. local PerformanceStats = game:GetService("CoreGui"):WaitForChild("RobloxGui"):WaitForChild("PerformanceStats")
  494. local PingLabel
  495.  
  496. for _, Child in next, PerformanceStats:GetChildren() do
  497. if Child.StatsMiniTextPanelClass.TitleLabel.Text == "Ping" then
  498. PingLabel = Child.StatsMiniTextPanelClass.ValueLabel
  499. break
  500. end
  501. end
  502.  
  503. local text = "0.00 ms"
  504. PingLabel:GetPropertyChangedSignal("Text"):Connect(function()
  505. local RandomPing = math.random(Settings2.range1, Settings2.range2) / 100
  506. PingLabel.Text = string.format("%.2f ms", RandomPing)
  507. end)
  508.  
  509. local sector3 = FunTab:CreateSector("Resolution", "right")
  510.  
  511. sector3:AddButton("Stretch Resolution", function()
  512. getgenv().Resolution = {
  513. [" "] = 0.65
  514. }
  515.  
  516. local Camera = workspace.CurrentCamera
  517. if getgenv().gg_scripters == nil then
  518. game:GetService("RunService").RenderStepped:Connect(
  519. function()
  520. Camera.CFrame = Camera.CFrame * CFrame.new(0, 0, 0, 1, 0, 0, 0, getgenv().Resolution[" "], 0, 0, 0, 1)
  521. end
  522. )
  523. end
  524. getgenv().gg_scripters = " "
  525. end)
  526.  
  527. local sector4 = MiscTab:CreateSector("NO DELAY", "right")
  528.  
  529. sector4:AddButton("EXECUTE", function()
  530. local ReplicatedStorage = game.ReplicatedStorage
  531. local Network = game.Network
  532. local Delay = ReplicatedStorage.BulletHole.Delay
  533.  
  534. Delay.Position:Destroy()
  535. Delay.Position = 0
  536. end)
  537.  
  538.  
  539. local sector6 = LegitTab:CreateSector("Anti-AimViewer", "left")
  540.  
  541. sector6:AddButton("EXECUTE", function()
  542. local China = setmetatable({}, {
  543. __index = function(Company, Price)
  544. return game:GetService(Price)
  545. end})
  546.  
  547. local Players = China.Players
  548. local ReplicatedStorage = China.ReplicatedStorage
  549.  
  550. --//Variables
  551. local LocalPlayer = Players.LocalPlayer
  552. local Mouse = LocalPlayer:GetMouse()
  553.  
  554. local MainEvent = ReplicatedStorage:FindFirstChild("MainEvent") or nil
  555. local Tool = nil
  556.  
  557. Bypass = function(Entity)
  558. Entity.ChildAdded:Connect(function(Child)
  559. if Child:IsA("Tool") then
  560. Tool = Child.Activated:Connect(function()
  561. if MainEvent then
  562. MainEvent:FireServer("UpdateMousePos", Mouse.Hit.Position)
  563. end
  564. end)
  565. end
  566. end)
  567. end
  568.  
  569.  
  570.  
  571. local Alive = function(Player)
  572. return Player and Player.Character and Player.Character:FindFirstChild("Humanoid") and Player.Character:FindFirstChild("Head") or false
  573. end
  574.  
  575. LocalPlayer.CharacterAdded:Connect(function(Character)
  576. Bypass(Character)
  577. end)
  578.  
  579. if Alive(LocalPlayer) then
  580. LocalPlayer.Character.Humanoid:UnequipTools()
  581. Bypass(LocalPlayer.Character)
  582. end
  583.  
  584. local Hook
  585. Hook = hookmetamethod(game, "__namecall", function(self, ...)
  586. local Args = {...}
  587. local Method = getnamecallmethod()
  588.  
  589. if not checkcaller() and Method == "FireServer" and self.Name == "MainEvent" and Args[1] == "UpdateMousePos" then
  590.  
  591. Args[2] = "Scarcin made this" and Mouse.Hit.Position
  592.  
  593. return self.FireServer(self, unpack(Args))
  594. end
  595.  
  596. return Hook(self, ...)
  597. end)
  598. end)
  599.  
  600. local sector7 = LegitTab:CreateSector("Legit-AntiLock-V1", "right")
  601.  
  602. sector7:AddButton("EXECUTE", function()
  603. getgenv().Underground = true
  604. getgenv().UndergroundAmount = 90
  605.  
  606. game:GetService("RunService").heartbeat:Connect(function()
  607. if getgenv().Underground ~= false then
  608. local vel = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
  609. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,- getgenv().UndergroundAmount,0)
  610. game:GetService("RunService").RenderStepped:Wait()
  611. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = vel
  612. end
  613. end)
  614. end)
  615.  
  616. local sector8 = MiscTab:CreateSector("AUTO RELOAD", "left")
  617.  
  618. sector8:AddButton("EXECUTE", function()
  619. _G.AutoReload = true -- change to false if u don't want it anymore.
  620.  
  621. while _G.AutoReload == true and game:GetService("RunService").Heartbeat:Wait() do
  622. if game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Tool") then
  623. if game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Tool"):FindFirstChild("Ammo") then
  624. if game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Tool"):FindFirstChild("Ammo").Value <= 0 then
  625. game:GetService("ReplicatedStorage").MainEvent:FireServer("Reload", game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Tool"))
  626. wait(1)
  627. end
  628. end
  629. end
  630. end
  631. end)
  632.  
  633.  
  634. local sector12 = FunTab:CreateSector("CALL ALL", "left")
  635.  
  636. sector12:AddButton("EXECUTE", function()
  637. local StarterGui = game:GetService("StarterGui")
  638. for i,v in pairs(game.Players:GetChildren()) do
  639. if v.Name ~= game.Players.LocalPlayer.Name then
  640. game.Players.LocalPlayer.Backpack["[Phone]"].Parent = game.Players.LocalPlayer.Character
  641. game.ReplicatedStorage.MainEvent:FireServer("PhoneCall", tostring(v.Name))
  642. task.wait()
  643. game.Players.LocalPlayer.Character["[Phone]"].Parent = game.Players.LocalPlayer.Backpack
  644. task.wait()
  645. local success, result = pcall(StarterGui.SetCoreGuiEnabled, StarterGui, Enum.CoreGuiType.Backpack, true)
  646. task.wait(.2)
  647. end
  648. end
  649. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement