--auto m1 gng
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Communicate = nil
local function updateCommunicate()
local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
Communicate = char:FindFirstChild("Communicate") or char:WaitForChild("Communicate", 5)
end
LocalPlayer.CharacterAdded:Connect(function()
task.wait(1)
updateCommunicate()
end)
updateCommunicate()
while true do
task.wait(0.03)
if not Communicate then
updateCommunicate()
continue
end
local myChar = LocalPlayer.Character
if not myChar then continue end
local myRoot = myChar:FindFirstChild("HumanoidRootPart")
if not myRoot then continue end
local isNearby = false
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LocalPlayer then
local char = player.Character
if char then
local root = char:FindFirstChild("HumanoidRootPart")
if root then
local distance = (root.Position - myRoot.Position).Magnitude
if distance < 8 then
isNearby = true
break
end
end
end
end
end
if isNearby and Communicate then
pcall(function()
Communicate:FireServer({
["Mobile"] = true,
["Goal"] = "LeftClick"
})
Communicate:FireServer({
["Mobile"] = true,
["Goal"] = "LeftClickRelease"
})
Communicate:FireServer({
["Goal"] = "PingCheck",
["Time"] = tick()
})
end)
end
end
Comments
No comments yet
Be the first to share your thoughts!