local sound = playSound3D("build.mp3", 720.36853027344, -1355.8355712891, 14.276350975037)
setSoundMaxDistance(sound, 100)
setSoundVolume(sound, 40)

local peds = {
    {654.33654785156, -1384.0343017578, 21.857122421265, 57},
    {659.39270019531, -1362.0263671875, 21.780439376831, 251},
    {653.90246582031, -1340.1470947266, 21.706979751587, 199},
    {714.13702392578, -1328.7391357422, 24.349243164063, 191},
    {733.34143066406, -1349.4716796875, 23.449245452881, 83},
    {726.91619873047, -1386.1423339844, 23.449245452881, 0},
    {702.12390136719, -1381.6656494141, 25.717597961426, 0},
    {747.02374267578, -1358.9924316406, 21.640625, 180},
}

local skins = {260}

for k, v in ipairs(peds) do 
    local ped = createPed(skins[math.random(#skins)], v[1], v[2], v[3], v[4])
    setElementFrozen(ped, true)
    setPedAnimation(ped, "chainsaw", "csaw_1")
end