#Team
47 messages · Page 1 of 1 (latest)
The character spawns with Pants and Shirt already.
You have to replace the texture instead by pasting different template ID's.
and how to do it more precisely
Instead of cloning the clothes from the folders, copy their ID and replace the characters current cloth ID with it.
This ID
To here
but what character to swap it with, sorry to ask, but I'm from another country and I don't know English very well and the translator doesn't translate very well either.
Character.Pants:Destroy() - ❌
Character.Pants.PantsTemplate = ReplicatedStorage.Teacher.Pants.PantsTemplate - ✅
Delete the :Clone() too
now?
The entire segment
local shirt = ...
shirt.Parent...
local pants = ...
pants.Parent...
delete this
Then try storing the values as variables in the script instead.
you know what I don't quite understand through this translator would be a chance if you have time for me to add you to the game and you will check what is wrong
Check if the team ur sending dosent exist
?
Make a table
with the IDs of the student and teacher clothes
local uniformsTable = {
["Student"] = {
['Shirt'] = "PUT_TEMPLATE_ID_HERE",
['Pants'] = "PUT_TEMPLATE_ID_HERE"
},
["Teachers"] = {
['Shirt'] = "PUT_TEMPLATE_ID_HERE",
['Pants'] = "PUT_TEMPLATE_ID_HERE"
},
}
and on what line add that
5
doesn't work again I used another script and now it works but only after resetcharacter
I can't really help you with rescripting the whole code rn man
I'll get back to you soon.
Okay
Back.
Can you show me the full scripts for everything that handles the clothes?
This is full script and on script are shirt and pants its all i cant send ss now i am not at home
no like the info ur sending from the client
add prints in each if statemnt function