#Why do I float when motor6D is applied to the character?

1 messages · Page 1 of 1 (latest)

dense grove
#

So what would happen is when i touch the part, that part is supposed to be attached to the player with Motor6D with an offset. However when touched, the player starts to levitate and cant be able to move. and on the server side, i'm sideways stuck in midair. so is there any fix to this?

code shown below:

local weld = Instance.new("Motor6D", otherPart.Parent.HumanoidRootPart)
local torso = otherPart.Parent.HumanoidRootPart -- Or HumanoidRootPart, etc.
weld.Part0 = torso
weld.Part1 = item
        
weld.C0 = CFrame.new(-5, 0, 0)  -- Example offset (2 studs up)
weld.C1 = CFrame.new()
glass gust
#

the server sees u are there

#

the client however doesnt

#

this is because

#

u only linked to to ur humanoidrootpart or position changed on the humanoidrootpart, try pivotto

dense grove
#

But what i want to achieve is for the player to freely walk without being on the side or stuck in the air

agile sonnetBOT
#

studio** You are now Level 14! **studio