Roblox Forum banner

[SOLVED] Help with separating 2 objects for each body part

119 Views 0 Replies 1 Participant Last post by  raseli
Hello! So, I am new to the Roblox forum, since I can't post on the dev forum, I am going to post it here.

I am making a Roblox JoJo's Bizarre Adventure game, and I already made 2 stands and stuff.
I want to add an aura, so when the stand is summoned, the player receives an aura.
I have added two particle emitters for each body part of the Stand, and I'm trying to clone it and put in each body part of the player, but I'm having trouble doing that;

Here is my code.
Code:
if arg3.Stand == "blueStand" then
            
            local char = game.Players.LocalPlayer.Character
            local s = char.blueStand
            local p = s:GetDescendants("blueStandAura")
        for i, v in pairs(char:GetDescendants()) do
            if v:IsA("BasePart") then
                p:Clone().Parent = v
            end
            end
            end
I'm guessing the problem here is on the p variable, correct me if I'm wrong.
1 - 1 of 1 Posts
1 - 1 of 1 Posts
Top