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

How come this keeps putting the character into the ground?

So I have a part welded to the character and when i try to change the part's size using Vector3, the character goes straight into the ground and gets stuck.. Why?

local CamModel = Instance.new("Model", cam)
	local HRP = Instance.new("Part", CamModel)
		HRP.Name = "HRP"
		HRP.Size = Vector3.new()
		HRP.Anchored = false
		HRP.CanCollide = false
	local HRPW = Instance.new("Motor6D", char:WaitForChild("Torso"))
		HRPW.Name = "HRPW"
		HRPW.Part0 = char:WaitForChild("Torso")
		HRPW.Part1 = HRP

1 answer

✓ Accepted answer

This is very simple its basically the baseplate which has different surface and when u insert a new part its bottom surface attaches to the top surface, when you create a new place the baseplate is in the center of every thing hence when a new part spawns it will spawn in the center therefore welding its self how do you fix this?:

Just change the top surface to smooth no outlines or make a new script containing this!

local base=workspace.Baseplate--name of your baseplate
base.TopSurface=Enum.SurfaceType.SmoothNoOutlines
base.BottomSurface=Enum.SurfaceType.SmoothNoOutlines
base.FrontSurface=Enum.SurfaceType.SmoothNoOutlines
base.BackSurface=Enum.SurfaceType.SmoothNoOutlines
base.LeftSurface=Enum.SurfaceType.SmoothNoOutlines
base.RightSurface=Enum.SurfaceType.SmoothNoOutlines

If there are still errors please let me know

1 comment

0

You could also reposition your baseplate

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