#how to change player character when Round Start and Back it when Round Ended
171 messages · Page 1 of 1 (latest)
u could just put a character named startercharacter in starterplayer and remove it when the game ends
bro
it shop
character shop
and i need
if plr equip character
then
it changing only in round
to make this the player must die to respawn it with new charcter
if you dont have broblems with respawn player its easy to make it
bro
but idk
if all players are reset, the round will stopэ
here characterChanger
round script
mb i need to create new value
like InRoundForSkins
and add it before round
idk
bro
......

I want to make it so that when the round starts, the character of all players changes to their chosen one
kkk
you need to make remote event and fire it when round start
when remot event fireed the server script change player charcter to new one
like
local remot = --remotlocation
local newChar = -- the charcter the player choos
--when round start
remot:FireServer(newChar)
in local?
local remot = --remotlocation
remot.OnServerEvent:Connect(function(player , newChar)
---change char
end)
no

your rounds script is server script ?
You have to put value on the player to To find out which character he will spawn with , and respawn all player with the charcter they choos
here characters list
when player buy new charcter , the value change to the new char
you dont need it
do you make charcters shop ?
or somthing like gui choos charcter by it
do you have the charcters to clone it ?
yes
ok
make folder and put it in the ReplicatedStorage and name it charcters and put in it all shop charcters
you need to make valu and save it in player charcter
to know whats the charcter the player choos becuse when round start the game respawn the player with the charcter he choos
this is script
you are make system just change the charcter but the game dont know whats the charcter choos
a
you need to make something like in players stats the game know by it whats the charcter he choos to respawn it every time with new charcter
i have idea

** You are now Level 14! **
put the valu in statrter gui
no not bool
I have two idea
what are 2 ideas
stringValu or NumberValue
ok when player choos charcter by charcters gui the stringValu changed to the charcter name
when plr pressing use?
and when game check the value know whats the charcter player use
yes
ok
for i , v in charctersFolder:GetChildren() do
if v.Nmae == stringValu.Valu then
--respawn the player with v
end
end)
where you put the value
i can remove it
it server script
wait put the valu in charcterShopGui
ok
save it in text and remove it in studio to use it if you want
here we go
for i , v in game.players:GetChildren() do
local plrChrcter = v.PlayerGui.CharcterShopGui.Value.Value
for i , v in charctersFolder:GetCildren() do
if v.Name == plrChrcter then
--respawn the player with v
end
end)
end)
you shuld do this command when the round start to respawn all players with new charters
where i need to put it
when round start
in round script?
yes
wait
wat
for i , v in game.Players:GetChildren() do
local plrCharcter = v.PlayerGui.CharcterShopGui.Value.Value
for i , v in charctersFolder:GetCildren() do
if v.Name == plrCharcter then
--respawn the player with v
end
end)
end
how to respawn
this is anothe thing first do this
wait i forgot something the script that change the value , is it local or server ?
it local
🙂

you need change the value on server not local
use remots
if i change on the server
a
dam
I thought the value would be the same for all players
no
ok
its will be only for player who change
ok so
jus fire to server and change it there
i need to change it in Round Script or SkinsScript or create new which better?
idk you the scripter
ok
i make gun system take a Month But it was untidy so i remake it

but the new on much much better
bro can we talk again at another time sorry i have some work
ok
your system take time if edit your script s, I would quickly make it for you
❤️
wat
I want to make it so that when the round starts, the character of all players changes to their chosen one
does the value of what character each player want save
so when the round starts loop through all the players and then change their character to the one they have selected
ok
ik that but idk how to do it lol
Hi! I don't know if you've already gotten a solution for this, but if your game uses R15 exclusively, you can make use of Humanoid:ApplyDescriptionReset() to use a HumanoidDescription.
You can fetch the player's default HumanoidDescription using Players:GetHumanoidDescriptionFromUserId(UserId) and cache it.
When the round starts you can then call Humanoid:ApplyDescriptionReset(HumanoidDescription)
Once the round ends you can call Player:LoadCharacterWithHumanoidDescription(DefaultHumanoidDescription)
For more information on all of these API, you can read here
https://create.roblox.com/docs/reference/engine/classes/Humanoid#ApplyDescriptionReset
https://create.roblox.com/docs/reference/engine/classes/Player#LoadCharacterWithHumanoidDescription
https://create.roblox.com/docs/reference/engine/classes/Players#GetHumanoidDescriptionFromUserId
❤️
If you're struggling with any of it, feel free to tag me. Here to help 😁
It happens haha

Did you make the system ?
nvm
no we can Complete
one guy helped me
nice your make it ?
@stray rune Is this topic solved, then? If so, make sure to add the Solved tag 😁
