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

How do I disabled collision of Character Head Clone in Module Script?

Asked by 4 years ago

I have made a module script that clones my Character, I'm starting with the head before I do the rest of the body

local module = {}
    function module.GhostClonePlayer(plr)
        local H = plr.Character.Head:Clone()
        H.Parent = workspace
        H.CanCollide = false
        H.Anchored = true
        H.Transparency = 0
        H.Color = Color3.new(255,255,255)
        print"CloneWorked?"
    end
return module

The problem I'm having is that when it clones, the cloned head refuses to leave the characters head, leaving him stuck in place until the cloned head is sent to debris I would appreciate it if someone could tell me why Can Collide doesn't work and how to completely disable collision on cloned head!

1 answer

Log in to vote
0
Answered by 4 years ago

I figured out what it was, the neck child of Head that was cloned was still there so there was no way to move because of this, sorry for the inconvenience!

Ad

Answer this question