Help with script

Try checking your models to see if there’s a local script named animate. If not, I’ll tell you what to do. Run test your game in studio, open the explorer, go to Workspace and then go to a model named after your username. Open that, and then you’ll see a script named “Animate”, copy that script and stop your game. Go to the place where your characters are stored in and right click the object. You’ll see a menu of stuff. Click the “Paste into” button and run your game again. When you buy your character from the shop, you should see it being animated.

@syntaqs

the thing is the script already does that!
can you please check the script out

That seems rather odd. Can you put this before you insert the local script into the table: item2.Archivable = true

like this??

for index2,item2 in pairs(LocalScripts) do
				item2.Archivable = true
				item2.Parent = ChosenCharacter
			end	

Sorry, I meant this part. Try adding it.

like this??

	for index2,item2 in pairs(game.StarterPlayer.StarterCharacterScripts:GetChildren()) do
				if item2:IsA('LocalScript') then
                                        item2.Archivable = true
					table.insert(LocalScripts,item2:Clone())
				else
					item2:Clone().Parent = ChosenCharacter
				end
			end
			
			```

I believe so, if not, try debugging the script.

it did not work can you help please

and also characters aren’t showing in-game but in-Studio shows

Testing…

Test.rbxl (67.7 KB)

1 Like