Attempt to index nil 'Name'

function module.DressBendy(Bendy)
    	local character

    	if Bendy.EquippedSkin.Value ~= "" then
    		if ReplicatedStorage.Skins:FindFirstChild(Bendy.EquippedSkin.Value) then
    			character = ReplicatedStorage.Skins[Bendy.EquippedSkin.Value]:Clone()
    		end
    	else
    		character = ReplicatedStorage.Skins.Bendy:Clone()
    	end
    	character.Name = Bendy.Name

    	Bendy.Character = character

    	character.Parent = workspace
    end

i can’t find and resolve non existent ‘Name’ in all of these scripts.

error code
character.Name = Bendy.Name

Take a screen shot of the error for me or you can check to see which line was the error and I’ll help you figure it out.

Can you send the specific part of the script in which the error occurs? It is too long and we cant see the line numbers

Is line 109 in your module script “character.Name = Bendy.Name” ? Bendy.Name is nil if it is line 109.

It other words, what I mean is that the object “Bendy” is nil, or does not exist.

Propably, the variable character is nil.
I think the code doesn’t enter the else statement and variable character remains nil

I found the problem. You created the character variable in line 100 with nothing. Change that function to:

function modeul.DressBendy(Bendy,plr)
    local character = plr.Character
    -- the rest of the function here
end

sorry for the typo. It is

function module.DressBendy(Bendy,plr)
    local character = plr.Character
    --the rest of the code in the function here
end

Actually I will just help you with it. Copy and paste this to replace the function DressBendy.

function module.DressBendy(Bendy,plr)
local character = plr.Character

if Bendy.EquippedSkin.Value ~= "" then
	if ReplicatedStorage.Skins:FindFirstChild(Bendy.EquippedSkin.Value) then
		character = ReplicatedStorage.Skins[Bendy.EquippedSkin.Value]:Clone()
	end
else
	character = ReplicatedStorage.Skins.Bendy:Clone()
end
    character.Name = Bendy.Name

    Bendy.Character = character

	character.Parent = workspace
end

not resolved
attempt to index nil with ‘Character’

Hey, when you call the module you should send the player argument with it

not resolved yet
This script error is called in two ways.

  1. Attempt to index nil ‘Name’ index
  2. Attempt to index nil ‘Character’ index
    I read and followed your post

The error code line is 109th.

function module.DressBendy(Bendy)
local character

if Bendy.EquippedSkin.Value ~= "" then
	if ReplicatedStorage.Skins:FindFirstChild(Bendy.EquippedSkin.Value) then
		character = ReplicatedStorage.Skins[Bendy.EquippedSkin.Value]:Clone()
	end
else
	character = ReplicatedStorage.Skins.Bendy:Clone()
end
character.Name = Bendy.Name

Bendy.Character = character

character.Parent = workspace

end

When you are calling the function, add the player as an argument.

Please show me how to add an argument for example.

Script can exit this part with a nil character variable if it can’t find Bendy.EquippedSkin.Value. You can check with explorer when you are testing to see if that value really doesn’t have a skin’s name. It might be set to something else than a skin name from another script.

Bendy meant player the error has been resolved