#animation and sound being off beat for different pcs
1 messages · Page 1 of 1 (latest)
Can you send a video of it happening?
Also, show me how you are playing the sound and animations
are you using marker events or task.wait(x)
No
Send an mp4
Are you playing this on the client or on the server?
I see
I’m not sure how to fix this, as I have never had this issue before
I think what you can do is, set up marker events in the animation
That each client can use to sync the sound with the animation
The animation controller shouldn't be an issue
are the animation and the sound the same length?
Which do you play first?
the sound or the animation?
try using only task.wait
oh they are on two different scripts?
put them in the same script
Thats fine
local anm = workspace.Character.AnimationController.Animator1
local trav1 = anm:LoadAnimation(script.Trav1)
local trav2 = anm:LoadAnimation(script.Trav2)
task.wait(15)
trav1:Play()
task.spawn(function()
while trav1.TimePosition < 0.99 do
task.wait()
end
script.Sound1:Play()
end)
task.wait(15)
trav2:Play()
task.wait(1.36)
trav1:Stop()
Put the sound in there
change Sound1's Id to SICKOMODE's id
Im not sure why the sound isnt working
Let me see the id of SICKOMODE
where is this script
** You are now Level 6! **
Then use this revised version
See if that syncs it
Character
This script
Is there any errors?
okay revert all the changes
And see if plays
No
Go back to how it was
Ok try it
See if it plays
Ok
Let me know
Awesome
What is it
Did it sync?
Okay yeah I think you will have to do a marker event
You need to open the animation in the editor
And then set the marker event
Basically you can set up points in the animation where things will happen
So on second 15 of the animation you can have the second animation play
It’s the same foundation
It works for your case too
This is the part you need
The video should tell you how to set them up
Oh wait
You know what
Undo everything
I have a better idea
Undo everything I told you to do
the only thing you will need to do now is move the script from server script service to workspace
Yes
Out
and then
You click on the script
And in its properties change the run context to client
Do that for both scripts
The one in the character and the one you just moved to workspace
Change that back to its original form
Yes
Looks right
Yeah
Yes
That way it will run sync
yea!
let’s test it
Send video of what you mean
Huh
Reduce the time it takes for the second animation to play
Nah that shouldn’t
try it
Test
Not telling you that
Alr
Later then
Probably not