Is there a way to morph a character on spawn while being able to put all the things in StarterCharacterScripts inside the character? This would normally be achieved by putting a model named “StarterCharacter” In StarterPlayer, but I want to filter out some players from morphing, and some players from not.
To be as transparent as possible; I don’t have issues with morphing the character, only putting all of StarterCharacterScripts inside the character when the players gets morphed.
You could go with how you normally do it except if the Player is a certain player or has a certain value or something then the folder is removed/scripts inside are disabled or something, or you can make the functions within the morphing script only work if a value is true/false etc.
local players = game:GetService("Players")
local player = players.Player or players.PlayerAdded:Wait()
local starterCharacterScripts = game:GetService("StarterPlayer"):WaitForChild("StarterCharacterScripts")
if player.Name == "" then
starterCharacterScripts:FindFirstChild("StarterCharacter"):Destroy()
end
Check if a player is a player and if they are that player then destroy the StarterCharacter model (which players morph into) from the StarterCharacterScripts folder. This is of course a local script.