
6.6k Views
596 Executions
Build and battle auto heal but delay ICE
Universal Script 📌
featulaxFirst script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Auto heal
Updates
Script edited: Create script
local healPads = workspace.Interactables.HealPads:GetChildren() -- Lấy tất cả các pad
local player = game.Players.LocalPlayer
-- Hàm chạy va chạm
local function healLoop()
local humanoidRoot = player.Character:WaitForChild("HumanoidRootPart") -- Đợi nhân vật load xong
while true do
for i = 3, 1, -1 do -- Duyệt qua các pad từ 3 -> 2 -> 1
local healPad = healPads[i]
if healPad then
-- Giả lập va chạm
firetouchinterest(humanoidRoot, healPad, 0)
wait(0.0001)
firetouchinterest(humanoidRoot, healPad, 1)
wait(0.0001)
end
end
end
end
-- Chạy khi nhân vật spawn hoặc respawn
player.CharacterAdded:Connect(function()
wait(1) -- Chờ nhân vật load xong tránh lỗi
healLoop()
end)
-- Khởi động lần đầu
if player.Character then
healLoop()
end









what happened to the control part one i really like that script