How to Add Sound Effects Into Your Game | Roblox Studio

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 177

  • @CyberCreator
    @CyberCreator  3 года назад +32

    What is a funny scripting idea?

    • @mr_griffolukegriffiths9166
      @mr_griffolukegriffiths9166 3 года назад +4

      Something that mixes up everybody's body parts clothes and accessories leaving everyone muddled up :D

    • @xsticcyds5459
      @xsticcyds5459 3 года назад +5

      Whenever you say GG somebody walks to you and starts spamming "ez"

    • @fazlurrahman9045
      @fazlurrahman9045 3 года назад +2

      Please make a tutorial on cars.

    • @Rebounds88
      @Rebounds88 3 года назад +1

      When someone says "Ez"
      a noob comes in and kills him and says " 2 ez "

    • @notcardi
      @notcardi 3 года назад +1

      Basically you have a button and if you press it, it will go crazy and the world will blow up

  • @_Glecko
    @_Glecko 3 года назад +32

    5:58 Touch Event
    local sound = script.Parent.Sound
    local debounce = true
    script.Parent.Touched:Connect(function(otherPart)
    local humanoid = otherPart.Parent:FindFirstChildWhichIsA("Humanoid")
    if humanoid and debounce then
    debounce = false
    sound:Play()
    sound.Ended:Wait()
    debounce = true
    end
    end)

  • @Papaintion
    @Papaintion 3 года назад +10

    I thought adding sounds to parts are a lot harder. Thanks for the tutorial as always. I don’t comment that much on videos

    • @CyberCreator
      @CyberCreator  3 года назад +2

      Thanks for commenting! It isn't too bad really! The hardest part for most people is just figuring out where in the script to play the sound

  • @Motormouth17
    @Motormouth17 4 месяца назад

    this might be an old video, but it still works. thank you, as without these videos i would have no door.

  • @BonnieBuilds
    @BonnieBuilds 2 года назад +2

    One of the best Roblox Studio tutorials I've seen. Thank you. This was well explained!

  • @louisfrederick6512
    @louisfrederick6512 3 года назад +4

    i swear you r sooo underrated, LOVE YOUR CONTENTS! keep it up mate as a fellow dev👍

    • @CyberCreator
      @CyberCreator  3 года назад

      Thanks, will do! I appreciate you watching the videos!

  • @andreyuh_
    @andreyuh_ Год назад +1

    omg tysm. i was searching everywhere on yt and this is the only that worked for me.

  • @DomTheBossing
    @DomTheBossing 2 года назад +7

    If you wanna make volume higher or lower in the proximity prompt part add
    "sound.Volume = 10 --change the volume number to whatever you like"
    right under
    "sound.Parent = script.Parent"

  • @dumminum
    @dumminum 6 месяцев назад

    thanks so much man, I knew how to get sound effects and play them but the fact that it was playing globally confused me so much. great vid!

  • @mr_griffolukegriffiths9166
    @mr_griffolukegriffiths9166 3 года назад +3

    Brilliant! the .isloaded bit had been causing me problems and I hadn't even realised why. this is gonna make things much better for me 😁

    • @Papaintion
      @Papaintion 3 года назад +1

      Did you do Audio.IsLoaded:Wait() ?

    • @CyberCreator
      @CyberCreator  3 года назад +2

      I'm glad you got some use out of the video!

    • @mr_griffolukegriffiths9166
      @mr_griffolukegriffiths9166 3 года назад +1

      @@Papaintion no I didn't wait at all! Most of the time I guess I was getting away with it but other players were running into issues.

  • @mazen8648
    @mazen8648 3 года назад +6

    Dude u are underrated you should be 100k+ you will hit that some day

  • @nathano5289
    @nathano5289 3 года назад +3

    Making another banger video
    Love the vid 🤩

  • @t4cisfat_
    @t4cisfat_ 2 года назад +1

    Thank you so much I was stuck on making a sound when a player opens a door.

  • @doodlebryan35
    @doodlebryan35 3 года назад +2

    Oh, now i get it, this is very cool

  • @zachPlushgaming
    @zachPlushgaming 2 года назад

    thanks so much! im trying to make a horror game and wanted to add a sound every time you approach a little cave i made, so i watched this video and it worked! thanks so much!

  • @ThePig1354
    @ThePig1354 3 года назад +3

    Thank you so much for the help mate!

  • @-Mlbo
    @-Mlbo 2 года назад +4

    If you want to do Close door sound and open sound use this:
    local openSound = script.Parent.OpenSound
    local closeSound = script.Parent.CloseSound
    prompt.Triggered:Connect(function()
    if prompt.ActionText == "Close" then
    closeSound:Play()
    tweenClose:Play()
    prompt.ActionText = "Open"
    else
    openSound:Play()
    tweenOpen:Play()
    prompt.ActionText = "Close"
    end
    end)

    • @sammorossi
      @sammorossi Год назад

      Do you replace the OpenSound and the CloseSound with the ID of the roblox sound asset?. Nvm (I figured it out, and the answer is yes I indeed do replace it)

    • @xdg21yt
      @xdg21yt Год назад

      BROOO TY U SO MUCH!!

  • @fazlurrahman9045
    @fazlurrahman9045 3 года назад +4

    Day 2 of asking for a tutorial on cars.

  • @Senugg
    @Senugg 6 месяцев назад

    Thank you so much it really helped to my game development

  • @superz6597
    @superz6597 3 года назад +2

    You've helped me so much thanks

  • @shushimlb3d
    @shushimlb3d Год назад +2

    How do you make it so the door plays a different sound when closing?

  • @JeremiahWheatley
    @JeremiahWheatley 2 года назад +2

    please, how do I make a timed audio with no triggers? like just an audio playing every X seconds

  • @lazynooboffical
    @lazynooboffical 3 года назад +1

    Love this channel

  • @sugardust
    @sugardust 2 года назад

    Nvm, i fixed my problem, great video :D

  • @Matthew0014
    @Matthew0014 2 года назад

    this really helped Thank you so much!!!

  • @68ship
    @68ship 3 года назад +1

    Damn imma add this into a few games lol

  • @LetGoMyLegosTyler
    @LetGoMyLegosTyler 2 года назад

    TYSM i watched ur door video originally but wanted sound too!
    edit: can u make a locked door tutorial

  • @robloxplayere3573
    @robloxplayere3573 2 года назад

    thanks now i can make alexnewtron sound effects

  • @TMH_PLAYER
    @TMH_PLAYER 3 года назад +2

    I need that tho thank you ☺️

  • @URANIUM.MP4
    @URANIUM.MP4 2 года назад

    This was realy good for my games it helpen alor!

  • @Jdhdin73
    @Jdhdin73 3 года назад +3

    How do you add sound effects to your animation?

  • @marsupia
    @marsupia 3 года назад +1

    CyberCreator, i loved your video and it helped me alot, but could you also make an animation on how to do a jump animation play on the second jump?

    • @CyberCreator
      @CyberCreator  3 года назад +1

      Definitely! A lot of people have been asking for a video on that!

  • @ikea3487
    @ikea3487 2 года назад

    if you mess with a script a bit (you'd need to know a bit of coding for this) you can make voicelines for story games!

  • @ManguaBlox
    @ManguaBlox 2 года назад +2

    on the touch event i have done all the code right but i still cannot hear my sound effect

  • @mr_notperfect9492
    @mr_notperfect9492 3 года назад +1

    earned a sub your a genius

    • @CyberCreator
      @CyberCreator  3 года назад

      Thanks for watching and subbing!

    • @mr_notperfect9492
      @mr_notperfect9492 3 года назад

      @@CyberCreator is there a way to make it so everyone can hear it?

  • @flight9685
    @flight9685 3 года назад

    Good video and you do one where you just left mouse click and it makes a sound please ty

  • @sattacgamer8295
    @sattacgamer8295 3 года назад +2

    Video idea: shop gui character

  • @rayanekadi9995
    @rayanekadi9995 8 месяцев назад

    very well expalined though how to do the same but with imported sound?

  • @tomypower4898
    @tomypower4898 3 года назад

    cool sounds!

  • @blueslime5457
    @blueslime5457 3 года назад +2

    4:20 book mark lol

  • @thedxrkvoid6658
    @thedxrkvoid6658 2 года назад

    Thank you so much

  • @NotNoobstuff
    @NotNoobstuff 3 года назад +16

    Nice video also its not called game its called "experience" lol.

    • @CyberCreator
      @CyberCreator  3 года назад +5

      That is going to take some getting used to haha

    • @Kaffedarr
      @Kaffedarr 2 года назад +2

      Its like the same thing

    • @windows2785
      @windows2785 2 года назад +4

      "Its actually called experience" 🤓🤓🤓🤓🤓

    • @Kaffedarr
      @Kaffedarr 2 года назад +2

      Nerd

  • @YoYo-kh4tl
    @YoYo-kh4tl 3 года назад +3

    i did the script part and did everything correctly but it still didn't work
    why and how?

    • @kennaiscool
      @kennaiscool 3 года назад

      same here

    • @CyberCreator
      @CyberCreator  3 года назад

      Sorry to hear that. Let me know what errors you're getting or send the script in the discord so we can help you troubleshoot discord.gg/X3zdqHy

  • @attackscorpion5323
    @attackscorpion5323 3 месяца назад

    I added sound to my object, but still no sound. I’m trying to make a coin pick up sound

  • @uto32
    @uto32 2 года назад

    thank you

  • @giyutomiokarblx1542
    @giyutomiokarblx1542 2 года назад +1

    How do i add a sound effect into a tool when being used?

  • @redite2024
    @redite2024 10 месяцев назад

    If you want a close and open sound in the last part u can just put this
    local sound = script.Parent.DoorSound
    local sounds = script.Parent.Sound
    prompt.Triggered:Connect(function()

    if prompt.ActionText == "Close" then
    tweenClose:Play()
    prompt.ActionText = "Open"
    sound:Play()
    else
    tweenOpen:Play()
    prompt.ActionText = "Close"
    sounds:Play()
    end
    end)

  • @balkanist9963
    @balkanist9963 Год назад

    i follwed everything on the door, but the sound just does not activate.

  • @thegreenmememan827
    @thegreenmememan827 3 года назад +4

    I cant hear anything when I play the audios, even the ones in the toolbox.

  • @Binehoad
    @Binehoad 3 года назад +4

    How do you make a sound lower in volume the farther you are? So like when you’re on top of the sound part you will hear it clearly, but if you’re 50 studs away it’ll be harder to hear

    • @sweetdcver82
      @sweetdcver82 2 года назад +2

      Even if this was answered 10 months ago, I'll go into more detail. Select your sound. In the Properties section, scroll down until you find "RollOffMaxDistance." Change the number to 50 studs. (That is as far as you'll be able to hear it.) You'll probably never see this, but your welcome!

  • @khyrietrain5763
    @khyrietrain5763 2 года назад

    I dont care if this is from 11 months ago but can you make one where the sound plays at random

  • @sqreaky
    @sqreaky 2 года назад

    Hey I'm trying to script Sounds for my boat, I have no luck. Can you Make a video about scripting sounds for vehicles?

  • @Tonals
    @Tonals 3 года назад

    Thanks bro :DDDDDD

  • @amandaboyer3435
    @amandaboyer3435 2 года назад

    I’m making a horror game and u have to pick up vsh tapes and I’m trying to add a static sound effect that plays when your close to it but it doesn’t work when I try it

  • @aniqfaiz4993
    @aniqfaiz4993 3 года назад

    Nice new subscriber!

  • @MuranMoth
    @MuranMoth 3 года назад +1

    Hello! Is it possible for you to make a tutorial on how to make it so when you talk to a npc a door unlocks, thank you!

    • @CyberCreator
      @CyberCreator  3 года назад +1

      I'll make some videos on NPCs soon. For that specific scenario you should join the discord and we can help you out discord.gg/X3zdqHy

  • @mixiegacha4792
    @mixiegacha4792 3 года назад +1

    This is really basic but for water, how do I add the sound effect to the water so it sounds louder there? You do it in the video with object, not a terrain so idk.

    • @Purstaryom
      @Purstaryom 2 года назад

      put the sound in a part then make it invisible and turn on cancollide then scale it to whenever you want people to hear it

  • @tuber420
    @tuber420 Год назад

    Is there a way I can stop the audio from playing midway?

  • @pitkpitq7616
    @pitkpitq7616 2 года назад

    for the door sound effect what do we do if the door doesnt have a proximity prompt

  • @saya47k46
    @saya47k46 3 года назад +2

    Can you give me the link of your game when its ready?

  • @oxiliairek
    @oxiliairek 2 года назад

    i just dont know why none of these are not working!

  • @Buzzbee2.0
    @Buzzbee2.0 3 года назад

    For me this is quite confusing I don’t know what script for the door one is

  • @kw_roblox
    @kw_roblox 2 года назад

    How do I make it so when im dashing (custom dash) it will make a sound effect.

  • @achunderweel
    @achunderweel 2 года назад

    is there any way to make the sound stop playing after a second click?

  • @1egg588
    @1egg588 3 года назад

    could u add a keycode to the script one so if u click on E then it makes the sound ?!

  • @OutplayerR
    @OutplayerR 2 года назад

    As always i do the .Triggered thingy and it says "Triggered is not a valid member of Dummy.Head.Dialogue"
    can you tell me how to fix this?

  • @chiibit-w6h
    @chiibit-w6h 2 года назад

    Does anyone know if the scripts (specifically for the door) was for people around only to hear it? Or will everyone in the game hear it?

  • @BloxySnow
    @BloxySnow 3 года назад

    is there any way to make sound effect when you walk to a brick?

  • @batman6429
    @batman6429 3 года назад

    i have a problem with my local script
    my idea is to play an animation synced with the sound
    the animation is in the local script, while the Sound is in a normal script so everyone can hear it
    i tried getting the Sound.TimePosition in my local script but when i play and print the timeposition
    my server script plays it but the localscript just get the sound position
    so the server prints the correct timestamp while the local script just keeps printing 0
    any idea on how to fix that?

  • @matt-qx2kv
    @matt-qx2kv 3 года назад

    what if the object has a humanoid root part, will that trigger the sound?

  • @akainusakazuki7334
    @akainusakazuki7334 2 года назад

    1st how to make sound it didnt work for me

  • @CNStudios1
    @CNStudios1 11 месяцев назад

    How to add a close sound?

  • @peakshuu
    @peakshuu 3 года назад

    what about like a walking animation?

  • @micat_gamers2264
    @micat_gamers2264 3 года назад

    The scrip not working pls give the model pls

  • @lasombra75nba16
    @lasombra75nba16 3 года назад

    Bro I see that if you know well about scripts, you can make a video where you explain how to put an effect you are terrified, so go walking and go through that block with the script and listen, if you understand me hahaha?, Please bro believe me that always e wanted to make a horror game, but there is no one to explain how to do that :(

  • @aureatestudios6011
    @aureatestudios6011 3 года назад

    How to make a gun make a sound when it is shot

  • @redless2050
    @redless2050 3 года назад

    what's the sound id for the creepy doorsound?

  • @lordboboforever
    @lordboboforever Год назад

    I cannot find the URI

  • @Angie-Who
    @Angie-Who 3 года назад

    Is there a way to make a sound happen at a certain time? I want to make a noise happen before a monster appears and chases my players.

    • @ZekoQS
      @ZekoQS 3 года назад

      I don't think so sadly

  • @hahathatisfunnybro
    @hahathatisfunnybro 2 года назад

    Id? How do you just put in a .WAV file?

  • @warrobots9383
    @warrobots9383 3 года назад

    How do you make a game pass where you touch a block and a game pass buy screen pops up

    • @CyberCreator
      @CyberCreator  3 года назад

      I will make a video on game passes soon!

  • @nekirokoyusho5303
    @nekirokoyusho5303 3 года назад

    how do i use the sound location thing

  • @devo_uber9746
    @devo_uber9746 2 года назад

    Hey, my roblox studio has been having a glitch for a while now where when you play test the game, its plays in locked first person. Does anyone know how to fix this?

    • @Majade-uy6ys
      @Majade-uy6ys 2 года назад

      do u have a first person script on the workspace

  • @asadfai
    @asadfai 2 года назад

    how about animation?

  • @idkbrah473
    @idkbrah473 2 года назад

    Hey, i wanna add voice acting into my game. How do i make it that a character, when spoken to, plays a roblox sound?

    • @_vep
      @_vep Год назад

      Exactlyyy I need this tooo!!

  • @scxffed1023
    @scxffed1023 2 года назад

    could you reply with the door script with sound

  • @supernovanman9612
    @supernovanman9612 2 года назад

    no.... i need sound effect for killer..

  • @saykocaty1421
    @saykocaty1421 2 года назад

    1:15 *C r I m i n A li T y??!!*

  • @teentee5718
    @teentee5718 2 года назад

    It didnt work for me.🤔

  • @wgamer9314
    @wgamer9314 2 года назад

    Backrooms my boi

  • @ermhygen
    @ermhygen 2 года назад

    local prompt = script.Parent.ProxomityPrompt
    local soundid = " "
    sound.Parent = script.parent
    prompt.Triggered:Connect(function()
    end)

  • @DonkEKong-qs2co
    @DonkEKong-qs2co 3 года назад

    Thx dude can u help me with my game??

    • @CyberCreator
      @CyberCreator  3 года назад

      Thanks for watching! Unfortunately I don't have time to work on anyone else's games!
      Also thanks for commenting on all the vids! lol

    • @DonkEKong-qs2co
      @DonkEKong-qs2co 3 года назад

      @@CyberCreator okk

  • @teentee5718
    @teentee5718 2 года назад

    well nothing works i do ever works so... 😶

  • @sansbunny2004
    @sansbunny2004 3 года назад

    do you know how to add it to an animation/emote?

    • @jennynavel5222
      @jennynavel5222 3 года назад

      Honistly, I dont know
      Might wanna go to the discord and find out

  • @poon5627
    @poon5627 3 года назад

    How to open audio

  • @sentigosedge8510
    @sentigosedge8510 3 года назад +1

    hi

  • @cree_bo5264
    @cree_bo5264 3 года назад

    how do i make a npc make a sound though?

    • @CyberCreator
      @CyberCreator  3 года назад

      It all depends on when you want the sound to play. You can use the exact methods show in this video. You can make the NPC make a sound when you run into it, when you click it, when you activate a proximity prompt etc.

  • @franceskelaiahfitero5906
    @franceskelaiahfitero5906 2 года назад

    i add movie sonic simulator

  • @mspaintpuyo9437
    @mspaintpuyo9437 3 года назад

    Touch script is broken

    • @CyberCreator
      @CyberCreator  3 года назад

      It works. Join the discord to get more in depth help discord.gg/X3zdqHy

  • @sruffolo9303
    @sruffolo9303 Год назад

    for some reason when i use a typewrite module i have, the module references the sound but when i use the module in a server script it won't play. Can someone help me?
    code:
    module script:
    function module.typewrite(object, text, length, sound)
    for i = 1, #text, 1 do
    object.Text = string.sub(text, 1, i)
    sound:Play()
    task.wait(length)

    end
    end
    snippet of server script:
    module.typewrite(DialogueBillboard.TextLabel, Text.Value, 0.08, sound)