Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How do you make a starter morph?

Asked by 10 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

I tried making a script when a player joins the game, they will look like a morph I put in lighting. But it dosen't work. Could anyone please make their own version? Thank you!

[Update] Can someone edit this? It dosen't work.

game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:conenct(function(char)
local morph = game.Lighting.MORPH:Clone() --Replace "MORPH" with the model's name
morph.Parent = char
end)
end)

2 answers

Log in to vote
0
Answered by 10 years ago

Maybe this will work

game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:conenct(function(char)
local morph = game.Lighting.MORPH:Clone() --Replace "MORPH" with the model's name
morph.Parent = char
end)
end)
Ad
Log in to vote
0
Answered by
Jackd44 35
10 years ago

Can't leave comments so I had to post this as a full answer.

game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
local morph = game.Lighting.MORPH:Clone() --Replace "MORPH" with the model's name
morph.Parent = char
end)
end)

On the line "plr.CharacterAdded:connect(function(char)" you had spelt "connect" as "conenct". Which as you should know, is incorrect. :P

Answer this question