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

Why can't I move whenever I activate this script?

Asked by 3 years ago
script.Parent.RemoteEvent.OnServerEvent:Connect(function(player)
    local Man = game.ReplicatedStorage.Man:Clone()
    Man.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.new(2, 0, 2)
    Man.Parent = game.Workspace
    local Weld = Instance.new("ManualWeld")
    Weld.Part0 = Man.HumanoidRootPart
    Weld.Part1 = player.Character.HumanoidRootPart
    Weld.C0 = Man.HumanoidRootPart.CFrame:inverse() * player.Character.HumanoidRootPart.CFrame
    Weld.Parent = Weld.Part0
end)
0
Is the "Man" anchored? Sparks 534 — 3y
0
Like what Sparks said, "Man" should be unanchored because if it is the player can't move TheBigBro122 427 — 3y
0
Man is Unanchored FireCoolflame 21 — 3y

Answer this question