Just wondering what I did wrong? it gives this error: 13:24:32.380 - Workspace.Script:6: attempt to call method 'Clone' (a nil value) If I dont use the pname and put my name in it works fine.
local pname = game.Players.LocalPlayer
print (pname)
local ch = game.Workspace.pname:Clone()
ch.Name = "character" ..name
ch.Parent = game.Lighting
thanks for helping anyways.

2 comments
Is this a Server Script or LocalScript?
This can be either i guss. Its just when a player joins it make a copy of the olayer