How do I spawn a part on top of my baseplate?

Hello! I want to clone a part into the workspace and place it on the floor (on top of my baseplate)
currently my code is like

part.CFrame= HumanoidRootPart.CFrame

However, I want the Y axis to be on top of the baseplate, x and z are fine. How do I do this?

Set a position to a baseplate position plus with 1

Code:

script.Parent.Position = Vector3.new(x,ybaseplate + 1,z)

Or just set it 10 y above then use a bodyvelocity to lower down then delete the body velocity and a script

part.Position = workspace.Baseplate.Position + Vector3.new(0,3,0)
you can customize how many studs above the baseplate for me I tried 3.

1 Like