Rotation of certain parts in tool

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
    I want my tool to come out as my display shows.

  2. What is the issue?
    My tool gets squashed and some ingredients (the smaller ones like pickle and onion flip)

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I didn’t find any topics answering my question. I tried getting rid of the seperators that make the small vegetables visible but that didn’t work.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

local function onfired(player, station)
	local newtool = Instance.new('Tool')
	newtool.Parent = workspace[station]
	newtool.Name = "Burger"
	for _ ,ingredients in ipairs(workspace[station].BurgerAssembly:GetChildren()) do
		if ingredients.Name == "Seperator" then
			ingredients:Destroy()
		else
			local rotation = ingredients.Orientation
			if ingredients.Name == "BottomBun" then
				ingredients.Name = "Handle"
			end
			ingredients.Parent = newtool
			local weld = Instance.new('Weld')
			weld.Parent = ingredients
			weld.Name = "Weld"
			weld.Part0 = ingredients
			weld.Part1 = newtool.Handle
			weld.Enabled = true
			ingredients.Anchored = false
			if ingredients.Name == "Handle" then
			else
				ingredients.Parent = newtool.Handle
			end
			ingredients.Orientation = Vector3.new(rotation)
		end
	end
	newtool.Parent = player.Backpack
end

remoteevent.OnServerEvent:Connect(onfired)

I am not asking for whole scripts. Just how can I solve this? As you can see this is a remote event fired from client . The most confusing part is the display shows correct but the new tool messes it up. -

But the outcome not so much.

you need to use weld constraint if the objects are in the position they need to be else use an offset cframe from handle on the weld c0

1 Like

Yea, I welded them together but I didn’t use a weld constraint I will try that!