#humanoid state thing
53 messages · Page 1 of 1 (latest)
so you dont have to wait for someone to reply
whats the point of making a post just to not say what your issue is
you absolute ###### ############ of #### ###########
How's the chat going on
it does a sound everytime the humanoid landed state is triggered
What ur problem
In script?
What exactly u making
a marble
U got script?
just hear me out
Sure
yk how when you drop marbles they bounce a lot
-_-
and i did the same thing with that character model by increasing the elasticity
now it bounces alot
so sometimes
Reduce it
when it lands
Also
what
Ask it in #1006356488912121967
There would be many that would know
Ig reduce elasticity
no its not just that
** You are now Level 1! **
the humanoid state changes cant keep up
like the landed dosent get fired
even tho the player has landed
the studio dosent even count it as jumping, freefall
@frail monolith the thing im trying to say is, im using humanoid state to get detect the land and play the sound. is there any alternative to use?
local character = script.Parent
local humanoid = character:FindFirstChild("Humanoid")
local sound = Instance.new("Sound", character)
sound.SoundId = "rbxassetid://6716484515"
sound.Volume = 1
sound.Looped = false
humanoid.StateChanged:Connect(function(oldState, newState)
if newState == Enum.HumanoidStateType.Landed then
sound:Play()
end
end)
sorry i didnt put it in a block
but thats the script
local character = script.Parent
local humanoid = character:FindFirstChild("Humanoid")
local sound = Instance.new("Sound", character)
sound.SoundId = "rbxassetid://6716484515"
sound.Volume = 1
sound.Looped = false
humanoid.StateChanged:Connect(function(oldState, newState)
if newState == Enum.HumanoidStateType.Landed then
sound:Play()
end
end)
There is no bounce thingi here
the bounce is a property in the part
i just increase or decrease it
What u did
i used heartbeat
local character = script.Parent
local rootPart = character:FindFirstChild("Head")
local sound = character:FindFirstChild("LandingSound")
if not sound then
sound = Instance.new("Sound")
sound.Name = "LandingSound"
sound.SoundId = "rbxassetid://6716484515"
sound.Volume = 1
sound.Looped = false
sound.Parent = character
end
local isFalling = false
rootPart.Touched:Connect(function(hit)
if isFalling and hit.Material then
sound:Play()
isFalling = false
end
end)
game:GetService("RunService").Heartbeat:Connect(function()
if rootPart.Velocity.Y < -10 then
isFalling = true
end
end)