#hi can someone help me pls??

92 messages · Page 1 of 1 (latest)

frigid slate
#

i made an animation on studio, then i rigged it to a dummy. whenever i join the game, the animation works, but idk how to link it to the player instead. does anyone have a script i can use so it works?? also which folder would i put it in??? pls help

neat schooner
#

wdym

#

@frigid slate

#

like make the player have the animation?

frigid slate
#

yes

sick patrolBOT
#

studio** You are now Level 1! **studio

frigid slate
#

so when i join game the player is the one that is animated

neat schooner
#

o

#

so uh.. whats the animations purpose?

frigid slate
#

wdym

neat schooner
#

like how does it play

#

walking,pressing a button

#

using a tool

#

or automatically

frigid slate
#

no as in playing whenever the user jouns the game

#

yea automatically

neat schooner
#

why not loading the animation into the player

#

/character

#

I may not be good at coding but i think I can make it

sick patrolBOT
#

studio** You are now Level 1! **studio

neat schooner
#

for you

frigid slate
#

ok

#

wait

#

could u type it in studio and copy paste it here?

neat schooner
#

game.Players.PlayerAdded:Connect(function(plr)
wait(1) -- just to have time for the player to load You can increase it--
local char = plr.Character
local Humanoid = char:WaitForChild("Humanoid")
local JoinAnim = script:WaitForChild("Animation")
local AnimTrack = Humanoid:LoadAnimation(JoinAnim)

AnimTrack:Play()

end)

frigid slate
#

ok let me see

#

wait what folder would i put that into

neat schooner
#

wait a folder?

#

oh

frigid slate
#

like do i put it in starter plYer scripts

#

or smth

neat schooner
#

yeah u mean like services?

frigid slate
#

yea sorry

neat schooner
#

server script service

crimson whale
#

starter player / starter player(character) scripts

frigid slate
#

ok

neat schooner
#

like what he said

frigid slate
#

wait which one

neat schooner
#

try server script service

#

then

frigid slate
#

ok

neat schooner
#

it work orr.

frigid slate
#

do i add a line for the animID

neat schooner
#

nah

#

u need

#

to make a animation thingy

frigid slate
#

ohh yea

neat schooner
#

then put it inside the script

#

?

#

anything

frigid slate
#

i have to fix smth rq

#

hold on

#

give me a couple minutes

#

it didnt work

sick patrolBOT
#

studio** You are now Level 2! **studio

neat schooner
#

damn

frigid slate
#

@neat schooner

#

do i try player scripts

neat schooner
#

your choice i don't think it works though

#

because a lot of scripts in there are local

#

mostly used

frigid slate
#

oh

#

yea it didnt work :((

#

thanks for trying

neat schooner
#

Srry that i couldn't help

frigid slate
#

its okay

#

WAIT I CHANGED IT AND IT WORKED

#

TYSM

#

I HAD TO DELETE SOME OF THE OTHER SCRIPTS

#

YESS

#

@neat schooner

neat schooner
#

Oh Good!

sick patrolBOT
#

studio** You are now Level 2! **studio

frigid slate
#

the player is facing the wrong way for some reason but other than that it works

neat schooner
#

That’s great

frigid slate
#

wait nvm ik how to rix

#

fix

neat schooner
#

K

frigid slate
#

yay ty

neat schooner
#

Np

frigid slate
#

the only problem is that for some reason the first few frames of the animation are cut off so it looks kind of strange

#

idk ill figure it out

little bay
#

,

crimson whale
little bay
crimson whale
little bay
little bay