local RepStorage = game:GetService("ReplicatedStorage") local KGFolder = RepStorage:WaitForChild("KGRemoteEvents") local ActivateRemote = KGFolder:WaitForChild("SharinganActivate") local ServerStorage = game:GetService("ServerStorage") local KGItemFolder = ServerStorage:WaitForChild("KG_Folder") local SharinganFolder = KGItemFolder:WaitForChild("Sharingan") local function ActivateSharingan(plr) if plr.KGStore.KGActive.Value == true then if plr.Character.Head:FindFirstChild("GenkaiDisplay") then plr.Character.Head.GenkaiDisplay:Destroy() SharinganFolder.SFX.SharinganDictivated:Play() plr.KGStore.KGActive.Value = false end else SharinganFolder.Stuff.GenkaiDisplay:Clone().Parent = plr.Character.Head SharinganFolder.SFX.SharinganActivated:Play() plr.KGStore.KGActive.Value = true end end ActivateRemote.OnServerEvent:Connect(ActivateSharingan)
Get the Sound Object and do:
local sound = script.Sound ~~your event~~ sound:Play()
It depends where you sound is, what works for me is if you put the sound in workspace and put a server script in workspace and then write this in the script
local sound = game.Workspace["insert sound name in here"] --insert the sound name in the " " sound:Play()
I hope this helps!