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

Is it possible that i can make a starter character for only 1 player?

Asked by 3 years ago

So i made a starter character... And i only want it to go to one person and that's me but i don't know how. i didn't do any scripting by the way.

0
Could add a loop in startercharacter that looks for specific player id, and if that matches the person that has that custom character waifuSZN 123 — 3y

3 answers

Log in to vote
1
Answered by 3 years ago
Edited 3 years ago

Try this, see the comments embedded!

-- [[Server Script]]
local character = path.to.Startercharacter -- change path.to.Startercharacter to your startercharacter
local plr = path.to.plr -- change path.to.plr to your player
local last = 91
plr.CharacterAdded:Connect(function(char)
     if ((tick() - last) >= 2) then
          local new = character:Clone()
          new.Parent = workspace
          plr.Character = new

     end
end)
-- [Client Script [In the character model [LocalScript]]]
workspace.CurrentCamera = game:GetService("Players").LocalPlayer.Character:FindFirstChild("Humanoid")
Ad
Log in to vote
0
Answered by 3 years ago

This question has been answered before

https://scriptinghelpers.org/questions/77449/how-do-i-make-it-so-i-have-a-startercharacter-for-one-specific-player

I havne't tested their script so hopefully it works.

Log in to vote
0
Answered by 3 years ago

Inside your script, put an if statement to check if it is the player you are looking for.

Answer this question