MerhabaArkadaşlar korna scripti m basınca çalısıyor ben bunu basılı tutunca çalısmasını istiyorum
function playRootSound (path,loop,volume)
local sound = playSound(tostring(path),false)
setSoundVolume(sound,volume)
return sound
end
addEvent("playRootSound_",true);
addEventHandler("playRootSound_",root,playRootSound)
addEventHandler("onClientKey",root,
function(both, state)
if (both == "m") then
if (state) then
triggerServerEvent ( "onsound", localPlayer)
end
end
end
)