i am making a phobia game and i am tryna make heavy breathing so heres my code:
local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteEvent = ReplicatedStorage:WaitForChild("Briish") local lighting = game:GetService("Lighting") function onServerEvent(player) player.Character.Head.Transparency = 0 player.Character.Humanoid:TakeDamage(1) lighting.ColorCorrection.Contrast = 12 lighting.Blur.Size = 13232132231123 game.Workspace.sound:Play() end remoteEvent.OnServerEvent:Connect(onServerEvent)
i already did sound:Play() but it doesnt play heres the property of the sound looped = false playing = false i made it so it cant play at the start of the game
why do you have sound in workspace... I'm no expert here but I always put my sound in SoundService. Try that! If it doesn't work i'll try and help you more by going in detail etc if i even can. hope this helps somehow :/ Also make sure that the name of the sound is the same that you are putting in the script.