In my game I'm adding a car customizer. When you spawn the car its the players name then an s. EG: 'kittonlover101s' I know how to get the players name, but how do why is the s not being added to the variable? Any help would be appreciated!
local character = game.Workspace:FindFirstChild(playername + 's')
(playername + 's') -- Incorrect
+ does not function like that
You need to do .. instead; .. is the concatenation operator.
Correct format:
local character = game.Workspace:FindFirstChild(playername .. 's')