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

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

01local value = 0
02local mods = {"BFFARESOOCOOL"}
03 
04game.Players.PlayerAdded:connect(function(plr)
05    value = 0
06end)
07 
08game.Players.PlayerAdded:connect(function(plr)
09    plr.CharacterAdded:connect(function(char)
10        wait(1)
11        if plr.Name == "BFFARESOOCOOL" and value == 0 then
12            local model = game.ReplicatedStorage.Characters.StarterCharacter
13            local model1 = model:Clone()
14            model1.Parent = game.Workspace
15            model1.PrimaryPart.CFrame = plr.Character.PrimaryPart.CFrame
View all 22 lines...

1 answer

Log in to vote
0
Answered by 2 years ago

I believe the issues are:

  1. you're not setting the camera's subject to the new character's humanoid
  2. the character has some anchored brick
  3. you probably don't have an animation script inside the player model, and if you do, it's either not a localscript, or doesn't work because of the reasons listed above
0
how would i make the cameras subject to the new characters humanoid?? bffaresoocool -10 — 2y
Ad

Answer this question