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

How do I make a player spawn in as a model?

Asked by
Rhyvex 0
8 years ago

I have this idea for a game were all players are cubes/spheres or something simple like that. I need to know how to make the characters spawn in as a simple model like that, while retaining all normal functionality that you would otherwise have.

0
You can set the players character model by using player.Character = model User#5423 17 — 8y

4 answers

Log in to vote
0
Answered by 8 years ago

This is not ' Requesting Helpers ' we are not going to make a script for you, you need to attempt to make a script yourself, need help, go to roblox wiki make a script, and when a problem occurs that you cannot fix please look at the wiki first and if you still have problems, then post the script here and we will Help .

0
How is this not 'Requesting Helpers'? I thought that's what this site was about, I didn't know I was required to include my failed attempts in order to get help. Rhyvex 0 — 8y
0
When i say requesting site, I mean we will not make the script from scratch for you, if you tried to make a script, show us that script, and we'll be glad to HELP TheTermaninator 45 — 8y
0
There is a difference between a "How do make" and a "Make me a", if I'd have enough points, I'd downvote this "answer". Dolphinous 36 — 8y
0
k TheTermaninator 45 — 8y
Ad
Log in to vote
0
Answered by
ImfaoXD 158
8 years ago

I don't know what you're looking for but here's an example of the model I found in my toolbox.

Link to model:

https://www.roblox.com/Morph-Builder-2016-item?id=215794624

The model does not own by me, credit to Kevitis who made the model. All you have to do is read the instruction inside of the script on how to make this works.

I hope this helps.

Log in to vote
0
Answered by
Chronomad 180
8 years ago

Why not try directly setting the character to the model using the method below? Be sure to click on Players in the explorer and uncheck the box that says 'CharacterAutoLoads' and place the model you want into the ReplicatedStorage (Or wherever you want , really). Typically though, for a character to remain living, There must be a head, torso and humanoid present in the model, as well as a connection between the torso and head (Welds, Motor6ds, etc)

Hope this helped you.

function Spawn(player)
    local char = game.ReplicatedStorage["newPlayer"]:Clone()
     local SpawnLocation = game.Workspace.SpawnLocation
            char.Parent = workspace
                char.Name = player.Name
                    char:MoveTo(SpawnLocation.Position)
                     player.Character = char

    local human = char:WaitForChild("Humanoid")

    human.WalkSpeed = 10




game.Players.PlayerAdded:connect(function(player)
Spawn(player)
    end)
0
What type of script? And where do I put it? Obsercium -5 — 6y
Log in to vote
0
Answered by
AIphanium 124
5 years ago
Edited 5 years ago

Hello, Rhyvex.

I was searching through the site until i noticed your question. I believe you just want to change the player's Character once they join.

You don't need scripting for this! Before we start, you need to know a few things, a Player's character is made from Meshes/Blocks and Joints to make them attached, since you want to change the player's Character to a Model, you have to change the Joints too, simply, create a dummy using the Rig Builder plugin which is already in Roblox Studio, next, create the parts you wanted inside the dummy, after that, use Properties option to change each joint inside the dummy to the parts you made, ONE and the SPECIAL joint is, Neck... * R6 Dummy > Torso > Neck *, without this Joint, your character will instantly die, if you don't need Arms/Legs in your game, then you don't have to edit other joints, so, the final step is here, once you changed the Joints you wanted, now you have to rename your model to "StarterCharacter", after that, move it inside "StarterPlayer" in Explorer, now you are set!

Best Regards!

--- For More Help, Click Here ---

Answer this question