Aura only shows in Roblox Studio, not In-Game

Hi all,

For some reason when I summon the stand ability in Roblox studio, the aura is visible around the whole player’s character. However, when I do it in-game, it only appears on the head.

IN ROBLOX STUDIO (WORKS):

IN GAME (BROKEN):

The console shows that the aura instance doesn’t even exist in other limbs, only in the head:

Code (only the relevant parts):

function giveAura(character, aura)
	for i, limb in pairs(character:GetChildren()) do
		if limb:IsA("BasePart") or limb:IsA("MeshPart") then
			if limb.Name~="HumanoidRootPart" and limb:FindFirstChild("PlrAura") == nil then
				aura:Clone().Parent = limb
			end
		end
	end
end

local Aura = game.ServerStorage.VisualFX.PlrAura
game.Players.PlayerAdded:connect(function(plr)
	plr.CharacterAdded:Connect(function(char)
		local human = char:WaitForChild("Humanoid")
		local head = char:WaitForChild("Head")
		local rarm = char:WaitForChild("RightHand")
		local hrp = char:WaitForChild("HumanoidRootPart")
		giveAura(char, Aura)
	end)
end)

What exactly is the issue here? Why does it only work in Roblox Studio?

Thanks in advance.

Any ideas??? I can’t figure this out

This is really odd, I still can’t find what interferes with the other limbs

Change the graphics quality to maximum and you will get a different picture

1 Like

This cannot be the case, the particle simply does not exist in-game whereas it does in studio testing.

Bumpp, no solutions found yet (Still not solved!)

maybe just change it to limb:IsA(“BasePart”)

actually it probably is just because they havent added yet. give the aura but then hook up a decendants added and add the aura if the decendant that is added is correect

I remember having this problem and what I did was increasing my graphics to the max quality in-game and all the auras surprisingly showed up, maybe you should try that…

EDIT: I see the issue that you’re having now. nevermind.

Have you tried to separate your cloning and parenting into separate lines and making the clone a variable? Maybe this will help.

function giveAura(character, aura)
	for i, limb in pairs(character:GetChildren()) do
		if limb:IsA("BasePart") or limb:IsA("MeshPart") then
			if limb.Name~="HumanoidRootPart" and limb:FindFirstChild("PlrAura") == nil then
				local auraClone = aura:Clone()
                auraClone.Parent = limb
			end
		end
	end
end

Try checking to see if there’s a “MeshPart”, “Mesh”, or a “BasePart”.

The rig is R15, so every limb except the head is a MeshPart

Unfortunately that made no difference

UPDATE: I added a task.wait() right before calling the giveaura function and it works. Not sure how that works but I guess I found a solution…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.