Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

WeldConstraint Stops Character from moving?

Asked by
CPF2 406 Moderation Voter
6 years ago
Edited 6 years ago
    local char = player.Character or player.CharacterAdded:wait()
    local Stand = SS:FindFirstChild('Stands'):FindFirstChild('StandTest'):clone()
    Stand.Parent = char
    local PlayerRoot = char:FindFirstChild('HumanoidRootPart')
    local StandRoot = Stand:FindFirstChild("HumanoidRootPart")
    StandRoot.CFrame = PlayerRoot.CFrame * CFrame.new(Vector3.new(2,0,2))
    local Weld = Instance.new("WeldConstraint") Weld.Parent = PlayerRoot Weld.Part0 = PlayerRoot Weld.Part1 = StandRoot Weld.Enabled = true

Gif

(When I stop in the gif, i can't move, no matter what i do)

Answer this question