I'm making a simple car game and starting off with free model cars and they all have the same horn formats, all of which making the horn local. If you go to any free model car, it has the same layout of " HN" (the horn audio) under drive seat with a control script, GUI and a local script. I just want anyway to modify the horns to make them server wide.
COMMUNITY QUESTION
Why are all the car horns local?
1 answer
You can create a RemoteEvent that sends a request instead of playing the sound locally. The OnServerEvent function should look a bit like this:
RE.OnServerEvent:Connect(function(Player)
CAR.Sound:Play()
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
