Uniform Giver error - Shirt is not a valid member of Model

Error. I do all the steps but the script doesn’t work

1 Like

Do you have any logs in the output?

I did all the steps im pretty sure. Logs in the output?

Yes, logs in the output.

How to check that? I dont know

Debugging | Roblox Creator Documentation

The Output window, accessible from the View tab, displays errors captured from running scripts, messages from Roblox Engine, messages from calls to print(), and errors from calls to warn(). For more information on the Output window and how to customize it, see Output.

Oh Yes i have a lots of documents in that folder

Can you paste the logs here please?

I cant errror that says

There are no errors in output?

19:30:06.278 Se ha creado un archivo de recuperación automática The Imperial Military Federation @ 04 jul. 2022 19:30 - Studio
19:30:07.117 Requiring asset 1868400649.
Callstack:
Workspace.Kohl’s Admin Infinite.Credit, line 38

  • Servidor - Kohl’s Admin Infinite:38
    19:30:07.119 :arrow_forward: Adding welds to prevent model breaking (x10) - Servidor - WeldManager:7
    19:30:07.119 Finished Loading Welds, Moving onto Fixing - Servidor - WeldManager:10
    19:30:07.119 :arrow_forward: getWeldsData (x10) - Servidor - WeldManager:12
    19:30:07.120 ServerScriptService.RankHandler:117: Expected identifier when parsing expression, got ‘)’ - Studio - RankHandler:117
    19:30:08.029 Shirt is not a valid member of Model “Workspace.davidcrack7777” - Servidor - Uniformgiver:13
    19:30:08.029 Stack Begin - Studio
    19:30:08.029 Script ‘ServerScriptService.Uniformgiver’, Line 13 - Studio - Uniformgiver:13
    19:30:08.029 Stack End - Studio
    19:30:08.215 :arrow_forward: DataPersistence is deprecated, please use DataStoreService instead. (x4) - Studio
    19:30:08.238 Workspace…FlashGUI.Frame.RH.Script:4: attempt to index nil with ‘findFirstChild’ - Servidor - Script:4
    19:30:08.238 Stack Begin - Studio
    19:30:08.238 Script ‘Workspace…FlashGUI.Frame.RH.Script’, Line 4 - Studio - Script:4
    19:30:08.238 Stack End - Studio
    19:30:08.238 Workspace…FlashGUI.Frame.RH.Script:4: attempt to index nil with ‘findFirstChild’ - Servidor - Script:4
    19:30:08.238 Stack Begin - Studio
    19:30:08.239 Script ‘Workspace…FlashGUI.Frame.RH.Script’, Line 4 - Studio - Script:4
    19:30:08.239 Stack End - Studio
    19:30:08.239 Workspace…FlashGUI.Frame.RH.Script:4: attempt to index nil with ‘findFirstChild’ - Servidor - Script:4
    19:30:08.239 Stack Begin - Studio
    19:30:08.239 Script ‘Workspace…FlashGUI.Frame.RH.Script’, Line 4 - Studio - Script:4
    19:30:08.239 Stack End - Studio
    19:30:08.239 Workspace…FlashGUI.Frame.RH.Script:4: attempt to index nil with ‘findFirstChild’ - Servidor - Script:4
    19:30:08.239 Stack Begin - Studio
    19:30:08.239 Script ‘Workspace…FlashGUI.Frame.RH.Script’, Line 4 - Studio - Script:4
    19:30:08.239 Stack End - Studio
    19:30:08.239 Workspace…FlashGUI.Frame.RH.Script:4: attempt to index nil with ‘findFirstChild’ - Servidor - Script:4
    19:30:08.239 Stack Begin - Studio
    19:30:08.239 Script ‘Workspace…FlashGUI.Frame.RH.Script’, Line 4 - Studio - Script:4
    19:30:08.239 Stack End - Studio
    19:30:08.499 502: API Services rejected request with error. Error code: 7 Reason: Studio access to APIs is not allowed. - Studio
    19:30:08.499 Stack Begin - Studio
    19:30:08.499 Script ‘required_asset_1868400649.MainModule’, Line 167 - Studio
    19:30:08.499 Stack End - Studio
    19:30:28.736 The current identity (2) cannot Class security check (lacking permission 6) - Servidor - Guest_Talking_Script:52
    19:30:28.736 Stack Begin - Studio
    19:30:28.736 Script ‘Workspace.Model.Model.Model.Guest_Talking_Script’, Line 52 - function findLowestLevel - Studio - Guest_Talking_Script:52
    19:30:28.736 Script ‘Workspace.Model.Model.Model.Guest_Talking_Script’, Line 67 - Studio - Guest_Talking_Script:67
    19:30:28.736 Stack End - Studio
    19:31:08.919 403: Cannot write to DataStore from studio if API access is not enabled. - Studio
    19:31:08.919 Stack Begin - Studio
    19:31:08.919 Script ‘required_asset_1868400649.MainModule’, Line 166 - Studio
    19:31:08.919 Stack End - Studio
    19:31:21.094 CmdBar is not a valid member of Frame “CommandBar” - Studio
    19:31:21.094 Stack Begin - Studio
    19:31:21.094 Script 'ReplicatedFirst.
    a
    ', Line 115 - Studio
    19:31:21.094 Stack End - Studio
    19:31:21.249 The Parent property of
    a
    is locked, current parent: NULL, new parent ReplicatedFirst - Studio
    19:31:21.249 Stack Begin - Studio
    19:31:21.249 Script ‘required_asset_1868400649.MainModule’, Line 20 - Studio
    19:31:21.249 Stack End - Studio
    19:31:21.250 Disconnect from ::ffff:127.0.0.1|58352 - Studio
    19:33:16.354 :arrow_forward: Se ha creado un archivo de recuperación automática The Imperial Military Federation (x2) - Studio

Make sure you’re doing what this says.

This is not we need.

Click on the hyperlinks if you need more help.

Here is all the errors.

 19:30:07.120  ServerScriptService.RankHandler:117: Expected identifier when parsing expression, got ')'  -  Studio - RankHandler:117
  19:30:08.029  Shirt is not a valid member of Model "Workspace.davidcrack7777"  -  Servidor - Uniformgiver:13
  19:30:08.238  Workspace...FlashGUI.Frame.RH.Script:4: attempt to index nil with 'findFirstChild'  -  Servidor - Script:4
  19:30:08.238  Workspace...FlashGUI.Frame.RH.Script:4: attempt to index nil with 'findFirstChild'  -  Servidor - Script:4
  19:30:08.239  Workspace...FlashGUI.Frame.RH.Script:4: attempt to index nil with 'findFirstChild'  -  Servidor - Script:4
  19:30:08.239  Workspace...FlashGUI.Frame.RH.Script:4: attempt to index nil with 'findFirstChild'  -  Servidor - Script:4
  19:30:08.239  Workspace...FlashGUI.Frame.RH.Script:4: attempt to index nil with 'findFirstChild'  -  Servidor - Script:4
  19:30:08.499  502: API Services rejected request with error. Error code: 7 Reason: Studio access to APIs is not allowed.  -  Studio
  19:30:28.736  The current identity (2) cannot Class security check (lacking permission 6)  -  Servidor - Guest_Talking_Script:52
  19:31:08.919  403: Cannot write to DataStore from studio if API access is not enabled.  -  Studio
  19:31:21.094  CmdBar is not a valid member of Frame "CommandBar"  -  Studio
  19:31:21.249  The Parent property of  is locked, current parent: NULL, new parent ReplicatedFirst  -  Studio
1 Like

Here is the issue, can we have a look at your Uniform giver script?

Alright, I think I have an idea. You can do wait for child, something like:

Playercharacter:WaitForChild("Shirt").ShirtTemplate = Shirt
Playercharacter:WaitForChild("Pants").PantsTemplate= Pants

Make the “c” a lower case, I didn’t mean to literally copy and paste it :computer_mouse:, but try now!

What do you mean’what is the “c”?