#I want anyone who enters the game to see his character in the form of a dummy

74 messages · Page 1 of 1 (latest)

desert light
#

like the one where the torso is just a square or smth?

#

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.

raw hollowBOT
#

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

desert light
#

maybe you can just make the ui and the main ui with a building and set the camera to look at it?

raw hollowBOT
#

studio** You are now Level 7! **studio

desert light
#

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

raw hollowBOT
#

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

opal pecan
#

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

opal pecan
#

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

opal pecan
#

nah, i recommend doing research into iteration, cloning and character:GetChildren()

random plaza
#

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

opal pecan
random plaza
#

yeah?

#

Local script covers that

#

Just do game.Players.LocalPlayer

opal pecan
#

local scripts dont run when inside of workspace

random plaza
#

Then put it in somewhere where it can

#

ReplicatedFirst, player scripts, starter gear

opal pecan
#

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

random plaza
#

Do you want a line of dummys each showing every person in the server?

#

Well what i said is the answerr

#

in explorer

opal pecan
#
game.Players:CreateHumanoidModelFromUserId(playerUserId)
random plaza
#

Scroll down to StarterPlayer

#

Open its children

#

Add a local script to StarterPlayerScripts

opal pecan
#

copying the humanoid description isnt needed here

random plaza
opal pecan
#

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

raw hollowBOT
#

studio** You are now Level 3! **studio

opal pecan
#
local player = game.Players:CreateHumanoidModelFromUserId(game.Players.LocalPlayer.UserId)
player.Parent = workspace
raw hollowBOT
#

studio** You are now Level 5! **studio

opal pecan
#

I forgot, you also need to add the dummy to the workspace for it to be seen

random plaza
opal pecan
#

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

random plaza
#

It was spawned at 0,0,0

opal pecan
#

yea thats the root

#

oh thought u were hum oops

#

him

random plaza
#

Change the position of the dummy in the script using :MoveTo()

opal pecan
#

he should be named "Player"

random plaza
#

Did it work?

opal pecan
#

no

#

that dummy will just be you if you do that

#

position the model in the script, not in the workspace