repeat task.wait() until game:IsLoaded() local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local events = ReplicatedStorage:WaitForChild("Events") local proximityPromptEvent = events:WaitForChild("ProximityPrompt") player.CharacterAdded:Connect(function(NewCharacter) character = NewCharacter end) -- wally ui local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/theneutral0ne/wally-modified/refs/heads/main/wally-modified.lua"))() local AutoReviveActive = false local TargetsFound = 0 local Window = Library:CreateWindow("Auto Revive", { itemspacing = 2, underlinecolor = "rainbow", togglestyle = "checkmark", }) Window:Toggle("Enabled", { default = false, }, function(State) AutoReviveActive = State if not AutoReviveActive then TargetsFound = 0 end end) task.spawn(function() while true do task.wait(0.3) if AutoReviveActive then local rootPart = character and character:FindFirstChild("HumanoidRootPart") local entitiesFolder = workspace:FindFirstChild("Entities") if character and rootPart and entitiesFolder and not character:GetAttribute("Dead") then local count = 0 for _, entity in ipairs(entitiesFolder:GetChildren()) do if entity ~= character then local entityRoot = entity:FindFirstChild("HumanoidRootPart") if entityRoot then -- MAX 15 STUDS DO NOT CHANGE if (rootPart.Position - entityRoot.Position).Magnitude <= 15 then local promptAttachment = entityRoot:FindFirstChild("PromptAttachment") if promptAttachment then for _, child in ipairs(promptAttachment:GetChildren()) do if child:IsA("ProximityPrompt") and child.Name == "Revive" then count += 1 proximityPromptEvent:FireServer(child, "Revive") end end end end end end end TargetsFound = count else TargetsFound = 0 end end end end)