Try this - its a client.lua
print(“Zombify script loaded.”)
local function LoadClipSet(clipset)
while not HasClipSetLoaded(clipset) do
RequestClipSet(clipset)
Wait(10)
end
end
RegisterCommand(“zombify”, function()
print(“/zombify command executed.”)
local movementClipset = “clipset@anim@ingame@move_m@zombie@core”
local strafeClipset = “clipset@anim@ingame@move_m@zombie@core”
local actionModeClipset = “clipset@anim@ingame@move_m@zombie@strafe”
local weaponAnimationName = GetHashKey(“ZOMBIE”)
print("Loading clipsets...")
LoadClipSet(movementClipset)
LoadClipSet(strafeClipset)
LoadClipSet(actionModeClipset)
if HasClipSetLoaded(movementClipset) and HasClipSetLoaded(strafeClipset) and HasClipSetLoaded(actionModeClipset) then
print("Clipsets loaded successfully.")
local ped = PlayerPedId()
SetPedMovementClipset(ped, movementClipset, 0.25)
SetPedStrafeClipset(ped, strafeClipset)
SetPedUsingActionMode(ped, true, -1, actionModeClipset)
SetWeaponAnimationOverride(ped, weaponAnimationName)
else
print("Failed to load one or more clipsets.")
end
end)
print(“Zombify command registered.”)