#Script can't find dummy humanoid
1 messages · Page 1 of 1 (latest)
local anim = script:WaitForChild("Animation")
local hum = clone:WaitForChild("Humanoid")
local anim = hum:LoadAnimation(anim)
anim:Play()
wait(2)
tween(CSfolder.Test1)```
that
look if it works
ur clone was missing the ()
at the end
Makes sense lol
if ur tryign to clone
i thought is like a folder
i was like
nah its prob just him tryna clone it
good luck
Yeah probably lol
the clone was going to be an already placed dummy in workspace
i couldnt decide whether to do that or actually just clone the character
bro
anyone works
people do that
for multiple variables so they can just write one word
and it would be the same
but are u tryna clone it in the put as like a folder or something
or just tryna clone it
yeah i wanted to make a clone of the character and put it in a specific place w an animation
so it looked like the player was doing smth in the setting i gave
keeps saying "attempt to index nil with "Humanoid"
where tho? in the clone?
yeah
so clone is like a folder or an animation?
i mean i had it set up in a folder but it's still doing it without the folder
clone.Parent=workspace
means you tried to do nil.Humanoid
oh
show what is in explorer you maybe have the wrong path or something'
but i just set the child in a variable
Clone and the parent is a gui?
ok wait
send a screen shot of the gui and clone it will give me a better understanding
i just set the script in starterGui cuz a tutorial told me to 💀
it's supposed to be set in the workspace
i figured since it was a clone of the player it would be automatic
show current code, all of it
as well as current error
wait so what is CLONE
k
players don't have a humanoidrootpart
or a humanoid. their character does, but not the player itself
"Clone" is a set dummy already in the world that i was going to give all of the player's accessories, I was swapping between just cloning the player just to make it easier
so how do I set their position then
add .Character to .LocalPlayer
so you get the player's character instead of the player itself
ohhh gotchu
normally this is accompanied with character = plr.character or plr.characteradded:wait
coz while localplayer is always valid in a localscript, their character isn't always valid
okay so i did that but it just puts my camera way up into the air
clone:WaitForChild("HumanoidRootPart").Position = Vector3.new(0, 100, 0)
local anim = script:WaitForChild("Animation")
local hum = clone:WaitForChild("Humanoid")
local track = hum:LoadAnimation(anim)
track:Play()```
** You are now Level 8! **
sounds like progress bruh, no more errors?
tell me if it works
nah not anymore
alr lemme try it
again no errors but nothing happened
oh wait shi nvm I had something making the variables not work
fixed that and it kinda worked?
the position is changed at least
k
imma tweak it a bit and tell u guys
ok ok
ok tried changing clone to a player copy didnt work, ig i just gotta do it w the dummy
should I just set all the dummy's traits to the local players then
wait what do u mean by "set all the dummy's traits to the local players then"
are u tryan bring it to the player in the game
or the actual player
im trying to make the dummy look exactly like the local player
** You are now Level 7! **
thats why i was gonna make it a clone in the first place
so ur trying to copy the skin color and the accessorys of the player?
You have to use humanoidDescription
Refer to the documentation on applying humanoid descriptions
You can't clone character models directly because the archivable property is set to false
Also, cloning character models directly is considered bad practice
oh gotchu
how so
so i set archivable to true when the players character loads and use humanoid description
unless hes trying to copy that charcaters skin color and accs
nit the player
the player is like
in simpler words its just the client thats is connected to the game
a character is like your thing that u control its a character that has ur accs and data of that character
i dont know how to explain it
but its like that
the player is the client its elf thats connected
It depends on the use case actually. Its not the biggest thing, but if you're trying to change the character appearance of a players character, as opposed to just making an NPC or visual clone, it's recommended in roblox docs to use humanoid:ApplyDescription().
ok so how would i script that in
nah im making a clone of the character meant to look exactly like them but playing an animation
Ohh
yeye
liek one of thoese animation system
don't suppose you happen to know which page that appears on? i mean i agree on the parts where archivable defaults to false, just curious where it says that ;p
how do i give myself pets in my own game im using dev console but im so confused
wrong thread man
btw i got it to load bcuz there's an error on a lower line but i can't see it anywhere
idk man im trying to find every where to type
Low-key yeah you can just set archivable to true and clone the character model directly
Let me find it lol
ive tried
Check the instance explorer
yo i just got softlocked out my game
What ðŸ˜ðŸ˜ðŸ˜
idk it just froze and my dumbahh decided to try and save but now i cant exit bcuz its saving 💀
had to end the task, opening it back up and praying my stuff is still there
😠I hate when stuff like this happens, thankfully saving has had a lot of updates since then.
fr
ok i have everything but I still cant find the clone when it does load and theres a problem with the animation player
this really all i had to do 💀
HE'S REAL
but my character assets aren't getting copied, he's a dull model
Can u send me a screenshot of the instance explorer?
And maybe you need to use Humanoid:ApplyDescription() after all. Unless there's an alternate reason for why the character assets aren't loading.
fixed it mb, had to work around with the functions i was using
another-another problem though, the positions are being stupid
but im going to bed so thats a problem for tomorrow
if youre still available do you mind helping me out again
U can use use CFrame instead of position
Yeah I'll be on tommorow lol
Do you think u can help me out by voting on my suggestion
The one about ranks :3
i gotchu 💯
yo rq could you help me out w this, I set the dummy's position to a part position but it keeps saying it doesn't exist
Let me see the code rq?
it even autofills "CloneLocation" for me so i know 100% that i'm not typing it wrong
Is this in a local script or a server script
local script
bro in my game one of the pets has a 1/736k rarity and the number value is 0. but when i try it with another pet it just says 1/inf
helllp
bro you were in my post yesterday too