#sound not playing for one person (not playing at all)
28 messages · Page 1 of 1 (latest)
um could it be because you have a localscript in serverscriptservice ???
where is it supposed to be at?
😨
only server scripts run in server sided environments
localscripts only work on the client
ok
Holt crap I didnt saw that... You can't use client stuff on server, that doest make sense lol
Even if I move the local script to startplayerscripts sound still dosent play
client
Put a local script in starter player -> starter player scripts
If you want it to be triggered when someone activates a proximity prompt, you can do like
local prox = ... --> the proximity prompt
local sound = ... -->
local function OnTrigger()
print(`sound playing for {game.Players.LocalPlayer}`)
sound:Play()
end
prox.Triggered:Connect(OnTrigger)
When the proximity prompt is triggered
btw that didnt work
i know how to make a sound play when its triggered just not how to make it client and not server
You've replaced the ... Right ?
And the sound as well ?