Im trying to write a script that duplicates your character then sets your character to the new one, but i keep getting this error ':5: attempt to index local 'cclo' (a nil value)' with this script:
local plr = game:service('Players').LocalPlayer
plr.CharacterAdded:connect(function()
local olc = plr.Character
local cclo = olc:Clone()
cclo.Parent = workspace
plr.Character = cclo
end)
btw its in a local script and it needs to be in a local script.

1 comment
tysm i just said it needed to be in a local script because its in a script for script builder