Custom Material Footsteps | Roblox Scripting

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น •

  • @FlamingoSomehow
    @FlamingoSomehow 2 ปีที่แล้ว +4

    some footstep sounds don’t work, how do I fix that

    • @apex.studios
      @apex.studios  2 ปีที่แล้ว +2

      Some of the footsteps were made by me. and with roblox’s wacky audio system, some of the audio might not work for others. Meaning you have to make the footstep sound on your own

  • @galaxyzel
    @galaxyzel ปีที่แล้ว

    damn man, great job. I've been looking for this script for a long time, and finally it worked. thanks dude.

    • @apex.studios
      @apex.studios  ปีที่แล้ว +1

      glad it worked for you!

    • @Simpfok
      @Simpfok ปีที่แล้ว

      ​@@apex.studiosI used a different script. But could I use the OnClientEvent script even tho I have a different one?

    • @apex.studios
      @apex.studios  11 หลายเดือนก่อน

      You can use an Onclientevent in any local script@@Simpfok

    • @Simpfok
      @Simpfok 10 หลายเดือนก่อน

      Sorry for the late reply, but could it be placed in any line of the coding?

  • @apex.studios
    @apex.studios  2 ปีที่แล้ว +2

    Fairly sure you can also use a remote function for this as well.
    Edit: Not completely sure because I have not tested it yet.

  • @Jurian0
    @Jurian0 2 ปีที่แล้ว +3

    How could i make it so that one material has multiple sounds so it has a different step sound
    each time?

    • @apex.studios
      @apex.studios  2 ปีที่แล้ว +1

      To answer the question you commented before you edited it, yes

  • @lunebleux1889
    @lunebleux1889 ปีที่แล้ว +1

    it worked at the first try and then i've added like the video i didnt hear anything so i've removed this code and it still doesnt work

    • @lunebleux1889
      @lunebleux1889 ปีที่แล้ว

      Find the bug was abt i was on calling and for idk reason my laptop hate this

  • @gigachadasmr519
    @gigachadasmr519 2 ปีที่แล้ว +1

    I don’t think that this will help in my fighting dungeon game, but i’ll save it for future)

  • @AttaliaCult
    @AttaliaCult 2 ปีที่แล้ว +1

    Hello! How would you change the speed of the audio depending on the players walk speed? I had an old script that used to be able to do that and was wondering how you would pull it off in this one.

    • @SailboatParagon
      @SailboatParagon 2 ปีที่แล้ว +1

      You could try to use an 'if' statement, example:
      if char.Humanoid.WalkSpeed > 16 then
      SOUNDNAMEHERE.Speed = YOURSPEEDHERE
      end/end)

    • @AttaliaCult
      @AttaliaCult 2 ปีที่แล้ว

      @@SailboatParagon thank you, I’ll try that!

    • @nemo9324
      @nemo9324 2 ปีที่แล้ว

      @@SailboatParagon but where do i put it and in which script and first line or last line

    • @HeldByStrings
      @HeldByStrings ปีที่แล้ว +1

      kinda late but you can also do some math with the player speed / x and making the result the audio speed

  • @simonli5271
    @simonli5271 2 ปีที่แล้ว +1

    WOWIE!

  • @1INTELLz
    @1INTELLz 2 ปีที่แล้ว +1

    local RunningSound = movingPlayer.HumanoidRootPart:FindFirstChild("Running") I get an error that says "HumanoidRootPart is not a valid member of Player" how do I fix it?

    • @apex.studios
      @apex.studios  2 ปีที่แล้ว

      Maybe because your player is equal to nil or you haven't followed the whole tutorial

    • @1INTELLz
      @1INTELLz 2 ปีที่แล้ว +1

      @@apex.studios I followed the whole tutorial, I even tried to use the one in your description as well, and its also not matching my walkspeed

    • @apex.studios
      @apex.studios  2 ปีที่แล้ว +1

      @@1INTELLz You need to change the audio on your own. The sound is something that is SET, meaning the sound can't just change on its own to match the walk speed.

  • @ikejuettner3675
    @ikejuettner3675 ปีที่แล้ว

    It says that in line 29 that i cant call the materialtable

  • @hmmm5561
    @hmmm5561 2 ปีที่แล้ว

    im trying to use it with terrain and whenever my character walks it just does the running sound for it

    • @hmmm5561
      @hmmm5561 2 ปีที่แล้ว

      also i need to jump in order for the audio to actually play

    • @apex.studios
      @apex.studios  2 ปีที่แล้ว +1

      @@hmmm5561 This was meant to be for mainly materials, but it also works for terrain. In the table, rename the Enum.Material.[RENAME THING HERE] to the terrain you want to change the sound of.
      Finally, I have no idea on how you've made it so the audio only plays when you jump. Possibly because you mixed up the sounds in the character for jumping and not running?

  • @ClassyBaxy
    @ClassyBaxy 2 ปีที่แล้ว +1

    what a geniune waste of time

  • @ObsidianIsOk
    @ObsidianIsOk 2 ปีที่แล้ว

    I keep getting an error that says "SoundID is not a valid member of Sound "Workspace.[username here].HumanoidRootPart.Running"

    • @apex.studios
      @apex.studios  2 ปีที่แล้ว +1

      soundid is a property of the sound, so make sure you set the sound id to the actual sound within the table

    • @apex.studios
      @apex.studios  2 ปีที่แล้ว

      did you also make sure to add the remote event and fire it within the server and client?
      also make sure you copy the code shown within the video completely

    • @ObsidianIsOk
      @ObsidianIsOk 2 ปีที่แล้ว +1

      @@apex.studios I misspelled SoundId into SoundID

    • @apex.studios
      @apex.studios  2 ปีที่แล้ว +1

      @@ObsidianIsOk ah alright, it happens. just be sure to double check your code or get someone to screen it if you are ever stuck on something