Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Character stuck on the ground when spawning?

So i made this script that gives you a 3D shirt but for some reason the character spawns on the ground Meaning that its stuck inside the baseplate I Dont wanna make the spawn higher doe

EDIT: THE SHIRT IS A MESH NOT AN ACTUAL 2D SHIRT

Here is the script:

--Locals
local Char = script.Parent
local Torso = script.Parent.Torso
local mesh = Instance.new("SpecialMesh")
local weld = Instance.new("Weld")
local shirt = script.Shirt

--Head
Char.Head.Reflectance = 0.15

--Shirt
shirt.CanCollide = false
shirt.Position = Vector3.new(script.Parent.Torso)
weld.Parent = Char.Torso
weld.Part0 = shirt
weld.Part1 = Char.Torso

1 comment

0

I find another way to make an amor i just made the mesh a hat and putted it on a dummy

2 answers

Btw the shirt is a mesh I Dont want anybody to get confused

2 comments

0

I Noticed that no matter how high the character is it keeps getting stuck on the ground

0

Spawn*

Try changing line 13 to

shirt.Position = script.Parent.Torso.Position

and add a wait() after line 13

3 comments

0

Dosent work just makes me float in the air when i dont use vector3 and im pretty sure wait() is just gonna make it fall then get welded since its not anchored

0

does the shirt go inside of the player at all? There shouldn't be a reason why the player is immobilized mid-air

0

Yeah the shirt goes inside the torso of the player

This discussion is preserved as it was. New answers, comments, and votes are closed.