Yo! I kind of have an issue with the dummys in roblox studio these days. back then it was kind of easier and it worked and now it doesnt work anymore lmao? but anyway, what i am trying to do (its simple and im dumb ik) is making the dummy look like your active avatar you have in roblox right now, and i kind of dont find any resouces or help in the internet and really need the help lol. and if im already here, i also need help how i could make the dummy animated 24/7 like sitting somewhere animated. that was evrything, thanks !
#How to make a dummy looks like your active avatar 24/7
1 messages · Page 1 of 1 (latest)
whoops
anyway meant this dummy always turn into my avatar i have on rn? for like every player visually for their own
humanoid:applydescription
I tried that earlier, but it didn't work, idk what I'm doing wrong
Players:GetHumanoidDescriptionFromUserId and Humanoid:ApplyDescription or Players:CreateHumanoidModelFromUserId and parent it to the workspace
where exacly do i have to write that
in a local script or
._.
serverscript playeradded event
ServerscriptService?
** You are now Level 1! **
ye
server script
yeah but
add script
okay, what then? what do i add in the script
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player: Player)
local userId = player.UserId
local humanoidDescription: HumanoidDescription = Players:GetHumanoidDescriptionFromUserId(userId)
local npcModel: Model = Players:CreateHumanoidModelFromDescription(humanoidDescription, Enum.HumanoidRigType.R6)
npcModel.Parent = workspace
end)
try the script out and it should spawn a dummy with the players avatar
yep
oh hm
i wanna see it in the studio and test yes
thats the issue
the goal i want is like animating the dummy aswell
in the command bar paste this
local humanoidDescription: HumanoidDescription = game.Players:GetHumanoidDescriptionFromUserId(userid)
local npcModel: Model = game.Players:CreateHumanoidModelFromDescription(humanoidDescription, Enum.HumanoidRigType.R6)
npcModel.Parent = workspace```
change userid with the player's avatar you want
yeah but, it should be different for every player, that its always the active avatar
it is different for every player with the playerAdded script i sent before
yeah i want 1 dummy, it should be visual for every player differently, i am trying to do a title screen with the dummy + animation, thats why i ask, so everytime a player logs in they see their own character in the title screen
alright
and the only issue is the dummy rn
wait gimme a bit
its always the active avatar they have and wear rn so
alrightt, thankss
dyk how to spawn a dummy into the workspace
i forgot sadly ._.
sorry it took so long had to go to eat but
avatar at the top of roblox studio -> character -> masculine, r6, spawn block avatar -> it will spawn a rig in workspace -> move that rig into replicatedstorage
create a local script in starter player -> starterplayerscripts
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = game.Players.LocalPlayer
local dummy = ReplicatedStorage.Rig:Clone()
dummy.Parent = workspace
local userid = player.UserId
local humanoidDescription: HumanoidDescription = Players:GetHumanoidDescriptionFromUserId(userid)
local humanoid = dummy.Humanoid
humanoid:ApplyDescription(humanoidDescription)
that should be everything?
** You are now Level 2! **
what is it
well we are 3 people in the world rn
and i see 3 rigs
and i am supposed to see only my own?
using client test?
nope roblox
im in roblox rn testing, its a bit better bc of somth like that
omg wait
im dumb
i forgot to delete that before
the script you gave me before
it worked
THANKSS
client tests dont work for this script since userids are negative in client tests
np
and one more question, when i put an animation on that rig, will it be animated aswell?
on that specific rig
yeah you gotta do it using the script though
yeah it should