generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Remote Event Question

Previous Thread :: Next Thread 
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 06:02 AM
Hello, I'm trying to make a script that makes noises when you walk with remote event but is it the right way? Or should I use something else O.o'?
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 06:04 AM
lol, I don't mean "walk with remote event" xp
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 06:08 AM
...
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 06:19 AM
...
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 06:22 AM
:(
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 06:28 AM
:(
Report Abuse
ironrobot914 is not online. ironrobot914
Joined: 08 Jan 2010
Total Posts: 183
04 Aug 2015 06:30 AM
To my knowledge this would be hard, I'm trying to think up something and I have a basis. One second.
Report Abuse
ironrobot914 is not online. ironrobot914
Joined: 08 Jan 2010
Total Posts: 183
04 Aug 2015 06:35 AM
Alright, so I'm pretty dumb. I looked through sounds in my Player.Character, and I found this:

function onRunning(speed)
sClimbing:Stop()
sSwimming:Stop()
if (prevState == "FreeFall" and fallSpeed > 0.1) then
local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
sLanding.Volume = vol
sLanding:Play()
fallSpeed = 0
end
if speed>0.5 then
sRunning:Play()
sRunning.Pitch = 1.6
else
sRunning:Stop()
end
prevState = "Run"
end

You could:

A. Make a script that changes the running sound placed in Character.Head
or
B. Make a script along those lines that plays a looped footstep sound when speed > .5
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 06:40 AM
Thank you :D I'll try A or B.
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 07:00 AM
O.O This doesn't work...




game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
local head = char:WaitForChild("Head")
local sounds = head:GetChildren()
for i = 1, #sounds do
if sounds[i].SoundId == "rbxasset://sounds/action_footsteps_plastic.mp3" then
sounds[i].SoundId = "rbxassetid://198360408"

end
end
end)
end)

Should work right?
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 07:01 AM
I'm a little bit rusty..
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 07:07 AM
LoL, I was about to make a RPG game I fixed a leaderboard and then I started to make small "details" like when U walk it sounds a different sound and things...
Report Abuse
wille430 is not online. wille430
Joined: 24 Sep 2012
Total Posts: 189
04 Aug 2015 08:10 AM
:(((((
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
04 Aug 2015 08:20 AM
j_st give _p
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image