#I want anyone who enters the game to see his character in the form of a dummy
74 messages · Page 1 of 1 (latest)
yes pls
yeah i think so
but hold up
like this right?
i got the script for it but lemme find it
yep but you keep the hats and stuff right?
just the form?
wait wat
ok, nvm, i dont get it.
** You are now Level 1! **
maybe you can just make the ui and the main ui with a building and set the camera to look at it?
** You are now Level 7! **
sorry
hold up
sure..
if u want the main ui,just make the building background and set the camera.
hold on
while true do
wait()
c=game.Workspace:getChildren()
for i = 1, #c do
cc=c[i]:getChildren()
for ii = 1, #cc do
if cc[ii].className=="CharacterMesh" then
cc[ii]:Remove()
end
end
end
end
workspace
if u want players to be like a dummy
** You are now Level 2! **
why not just clone the player's character?
if you want them to have nothing on then just remove the shirt,pants,hats and body color by iterating through the characters children
could possibly be achieved using a localscript but you could also just clone the menu for each player and apply their clothes to the dummy
nah, i recommend doing research into iteration, cloning and character:GetChildren()
I think you can do this by copying the players Humanoid Description to the dummy
In a local script inside the dummy, clone the players humanoid description, delete the dummy’s humanoid description and put the clone inside the humanoid
this would work but he is asking for each player to see their own version of the dummy wearing their avatar
local scripts dont run when inside of workspace
Then put it in somewhere where it can
ReplicatedFirst, player scripts, starter gear
... yes
put a local script inside of starterplayerscripts, grab the player's userID from their player instance, then use game.Players:CreateHumanoidModelFromUserId(playerUserId)
that will create an exact copy of their avatar
Do you want a line of dummys each showing every person in the server?
Well what i said is the answerr
in explorer
game.Players:CreateHumanoidModelFromUserId(playerUserId)
Scroll down to StarterPlayer
Open its children
Add a local script to StarterPlayerScripts
copying the humanoid description isnt needed here
I never knew that existed cool
no just do
game.Players:CreateHumanoidModelFromUserId(game.Players.LocalPlayer.UserId)
you dont need to manually add any user ids, the local script will just grab them for you
yea
local script
game.Players:CreateHumanoidModelFromUserId(game.Players.LocalPlayer.UserId)
that will create a model of their character when the game is run
yea run it
** You are now Level 3! **
local player = game.Players:CreateHumanoidModelFromUserId(game.Players.LocalPlayer.UserId)
player.Parent = workspace
** You are now Level 5! **
I forgot, you also need to add the dummy to the workspace for it to be seen
If he will need the local script for other uses in the future, its better to name the variable Dummy instead of Player!
true
same script just modify it to look like the newer version
local Dummy = game.Players:CreateHumanoidModelFromUserId(game.Players.LocalPlayer.UserId)
Dummy.Parent = workspace
As Blout said you should name the variable as Dummy
this wont apply the clothing to that dummy
look around, there will be a dummy of your character spawned at your workspace root
It was spawned at 0,0,0
Change the position of the dummy in the script using :MoveTo()
he should be named "Player"
Did it work?