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

Orientation making parts fall off the character?

Asked by
Elixcore 1337 Moderation Voter
6 years ago
Edited 6 years ago

so the parts stick just fine to the character without orientation but cos of this it looks messed up

GIF WITHOUT ORIENTATION as you can see in the gif above, the orientation is messed up and looks weird

GIF WITH ORIENTATION in the gif above the parts simply fall off cos of the orientation

is there a way to fix this without anchoring them?

spawn(function()
            wait(0.6)
            for i,v in pairs(chr:GetChildren()) do
                if v:IsA("Part") or v:IsA("MeshPart") then
                    parts = v:Clone()
                    if not string.find(parts.Name, "HumanoidRootPart") then
                    parts.CanCollide = false
                    parts.Name = "effect"
                    parts.Size =  parts.Size + Vector3.new(0.05,0.05,0.05)
                    parts.Parent = chr
                    parts.Transparency = 0.8
                    parts.BrickColor = BrickColor.new("Med. yellowish orange")
                    parts.Material = "Neon"
                    parts.CFrame = v.CFrame
                    parts.Orientation = v.Orientation
                    chr.HumanoidRootPart.CFrame = cfr
                    end
                    end
                end
        end)
0
Huh, what are you doing to make that happend, can you add a script? User#20388 0 — 6y
0
added the script. Elixcore 1337 — 6y
1
Instance.new("Weld") ThatPreston 354 — 6y
0
you won't believe this but it actually helped me, made the script work, tyvm Elixcore 1337 — 6y
1
No problem ThatPreston 354 — 6y

Answer this question