vous pouvez me contacter mp sur dc g7hk si vous voulez d'autre type de script ou des mis à jours
1


Reviewed by QueueSherlockPaid revieweron How review works
No reports yet. Tried it? Be the first to say.
godmod sans interface si il bug ou se désactive veillé le re injecter avant de signaler
vous pouvez me contacter mp sur dc g7hk si vous voulez d'autre type de script ou des mis à jours
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local localPlayer = Players.LocalPlayer
-- Fonction pour appliquer l'immunité aux collisions
local function appliquerImmunite(character)
local humanoid = character:WaitForChild("Humanoid", 5)
local rootPart = character:WaitForChild("HumanoidRootPart", 5)
if not humanoid or not rootPart then return end
-- 1. On s'assure que la vie est normale pour pouvoir bouger
humanoid.MaxHealth = 100
humanoid.Health = 100
-- 2. Boucle pour désactiver les collisions avec les attaques/monstres
local connection
connection = RunService.Stepped:Connect(function()
if not character:IsDescendantOf(workspace) or humanoid.Health <= 0 then
connection:Disconnect()
return
end
-- Rend toutes les parties de ton corps invisibles aux capteurs de dégâts (Hitboxes)
for _, part in ipairs(character:GetChildren()) do
if part:IsA("BasePart") then
part.CanTouch = false -- Les monstres ne déclenchent plus leurs scripts de dégâts sur toi
end
end
end)
end
-- Activation immédiate sur ton personnage actuel
if localPlayer.Character then
appliquerImmunite(localPlayer.Character)
end
-- Réactivation automatique si tu changes de zone ou si tu réapparais normalement
localPlayer.CharacterAdded:Connect(appliquerImmunite)







