How should I attach a part to a tweened part?

Hello!

I am trying to make a drawer that when you open it you get a key to something. However the key won’t move with the drawer.

I have tried welding it but it’s still not working and I have no idea what to do

Any help is appreciated!

my dumb ahh said try welding it not reading the whole thing you might have to tween the key at the same time as the drawer unless its randomized I got no clue

1 Like

maybe try to make an attachment inside the drawer model and always adjust the key’s cframe to the attachment

local Key = path.to.key
local Drawer = path.to.drawer

while task.wait() do
	Key.CFrame = Drawer.Attachment.Position
end

or you can weld they key w/ the drawer to prevent the lag

Its Attachment.Position Not CFrame. But it works!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.