This script is supposed to allow the player to control a custom character. However, whenever it runs I get this : 00:00:38.987 - startScript re-entrancy has exceeded 3 00:00:38.987 - Script 'Players.Player1.Backpack.CharMorph', Line 8
Also, whenever this script is active, it stops a second script from running.
Here is the script.
local player = game:GetService('Players').LocalPlayer
local newCharacter = game.ReplicatedStorage.newPlayer:Clone()
local SpawnLocation = game.Workspace.SpawnLocation
local debounce = false
player.CharacterAdded:connect(function()
if not debounce then
debounce = true
newCharacter.Parent = game.Workspace
newCharacter.Name = player.Name
player.Character = newCharacter
player.CanLoadCharacterAppearance = nil
newCharacter.Archivable = false
wait(1)
debounce = false
end
end)
And here is the second script.
local Player = game.Players.LocalPlayer
Player.Character.Humanoid.Running:connect(function(speed)
if speed > 0 then --Straight from the Wiki!
print("Player is running")
elseif speed < 1 then
print("Player has stopped")
end
end)

3 comments
Maybe because character is a read only property? (just brainstorming)
The script works in the sense that it allows the player to control the custom character. However, whenever the script is active, it stops an unrelated script from firing.
Does the second script run only once or every time per character loading? This depends on script location and settings.