how to make only one person spawn as a different character to the rest?
Asked by
2 years ago Edited 2 years ago
Hello i have a script that allows me to have a custom character and the rest to have a different morph but when i spawn in as me the camera is locked and the body is floating while not playing any animation, Also with the display above it "StarterCharacter"
heres the script. This is also a script in serverscriptservice
02 | local mods = { "BFFARESOOCOOL" } |
04 | game.Players.PlayerAdded:connect( function (plr) |
08 | game.Players.PlayerAdded:connect( function (plr) |
09 | plr.CharacterAdded:connect( function (char) |
11 | if plr.Name = = "BFFARESOOCOOL" and value = = 0 then |
12 | local model = game.ReplicatedStorage.Characters.StarterCharacter |
13 | local model 1 = model:Clone() |
14 | model 1. Parent = game.Workspace |
15 | model 1. PrimaryPart.CFrame = plr.Character.PrimaryPart.CFrame |
16 | plr.Character = model 1 |
17 | model 1. Humanoid.HipHeight = 3.8 |