I took your advice and I tried to do it in local functions but i still got purple aura for unique /:
local playerID = {
58508301,
15454353,
2023345
}
local Module = { }
--(player, player.UserId, character)
function Module.Aura(player, UserId,Character)
local replicatedstorage = game:GetService("ReplicatedStorage")
local aura = replicatedstorage.Aura
local Aura1 = aura.Aura1Effect:Clone()
local Aura2 = aura.Embers:Clone()
local EyeRedLeft = aura:WaitForChild("ParticleEmitterRedLeft")
local EyeRedRight = aura:WaitForChild("ParticleEmitterRedRight")
local Shineleft = aura.shineLeft:Clone()
local ShineRight = aura.shineRight:Clone()
local AuraBloom1 = aura.Aura1Bloom:Clone()
local AuraBloom2 = aura.AuraBloom2:Clone()
local Head = Character.Head
local RightArm = Character["Right Arm"]
local LeftArm = Character["Left Arm"]
local LeftLeg = Character["Left Leg"]
local RightLeg = Character["Right Leg"]
local Torso = Character.Torso
local HumanoidRootPart = Character.HumanoidRootPart
--Attachments
local AttachmentLeft = Instance.new("Attachment")
AttachmentLeft.Position = Vector3.new(0.204, 0.221, -0.6)
AttachmentLeft.Name = "AttachmentLeft"
AttachmentLeft.Parent = Head
local AttachmentRight = Instance.new("Attachment")
AttachmentRight.Position = Vector3.new(-0.192, 0.216, -0.6)
AttachmentRight.Name = "AttachmentRight"
AttachmentRight.Parent = Head
local SpecialPartAttachment1 = Instance.new("Attachment")
--SpecialPartAttachment1.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,-2.32,0)
SpecialPartAttachment1.Name = "SpecialPartAttachment1"
local SpecialPartAttachment2 = Instance.new("Attachment")
--SpecialPartAttachment2.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,-2.32,0)
SpecialPartAttachment2.Name = "SpecialPartAttachment1"
local SpecialAttachment3 = Instance.new("Attachment")
SpecialAttachment3.Name = "SpecialAttachment3"
local SpecialAttachment4 = Instance.new("Attachment")
SpecialAttachment4.Name = "SpecialAttachment4"
--SpecialAttachment3.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,-2.32,0)
Aura1:Clone().Parent = RightArm
Aura2:Clone().Parent = RightArm
Aura1:Clone().Parent = LeftArm
Aura2:Clone().Parent = LeftArm
Aura1:Clone().Parent = Torso
Aura2:Clone().Parent = Torso
Aura1:Clone().Parent = LeftLeg
Aura2:Clone().Parent = LeftLeg
Aura1:Clone().Parent = RightLeg
Aura2:Clone().Parent = RightLeg
EyeRedLeft:Clone().Parent = AttachmentLeft
EyeRedRight:Clone().Parent = AttachmentRight
--Making a New Part
local AwakenAura = Instance.new("Part")
AwakenAura.Name = "AwakenAura"
AwakenAura.Parent = HumanoidRootPart
AwakenAura.Size = Vector3.new(1, 0.1, 1)
AwakenAura.Massless = true
AwakenAura.CanCollide = false
AwakenAura:Clone()
local weld = Instance.new("WeldConstraint")
weld.Part0 = HumanoidRootPart
weld.Part1 = AwakenAura
weld.Part1.Anchored = false
AwakenAura.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,-2.32,0)
AwakenAura.Parent = HumanoidRootPart
weld.Parent = HumanoidRootPart -- NEED TO PARENT THE WELD TOO OR ITS GONNA FALL THROUGH THE MAP
SpecialPartAttachment1.Parent = AwakenAura
SpecialPartAttachment2.Parent = AwakenAura
SpecialAttachment3.Parent = AwakenAura
AuraBloom1:Clone().Parent = SpecialPartAttachment1
AuraBloom2:Clone().Parent = SpecialPartAttachment2
ShineRight:Clone().Parent = SpecialAttachment3
Shineleft:Clone().Parent = SpecialAttachment3
end
function Module.UniqueAura(player, UserId, Character)
local replicatedstorage = game:GetService("ReplicatedStorage")
local aura = replicatedstorage.Aura
local Aura1 = aura.Aura1Effect:Clone()
local Aura2 = aura.Embers:Clone()
local EyeRedLeft = aura:WaitForChild("ParticleEmitterRedLeft")
local EyeRedRight = aura:WaitForChild("ParticleEmitterRedRight")
local Shineleft = aura.shineLeft:Clone()
local ShineRight = aura.shineRight:Clone()
local AuraBloom1 = aura.Aura1Bloom:Clone()
local AuraBloom2 = aura.AuraBloom2:Clone()
local Head = Character.Head
local RightArm = Character["Right Arm"]
local LeftArm = Character["Left Arm"]
local LeftLeg = Character["Left Leg"]
local RightLeg = Character["Right Leg"]
local Torso = Character.Torso
local HumanoidRootPart = Character.HumanoidRootPart
local AttachmentLeft = Instance.new("Attachment")
AttachmentLeft.Position = Vector3.new(0.204, 0.221, -0.6)
AttachmentLeft.Name = "AttachmentLeft"
AttachmentLeft.Parent = Head
local AttachmentRight = Instance.new("Attachment")
AttachmentRight.Position = Vector3.new(-0.192, 0.216, -0.6)
AttachmentRight.Name = "AttachmentRight"
AttachmentRight.Parent = Head
local SpecialPartAttachment1 = Instance.new("Attachment")
--SpecialPartAttachment1.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,-2.32,0)
SpecialPartAttachment1.Name = "SpecialPartAttachment1"
local SpecialPartAttachment2 = Instance.new("Attachment")
--SpecialPartAttachment2.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,-2.32,0)
SpecialPartAttachment2.Name = "SpecialPartAttachment1"
local SpecialAttachment3 = Instance.new("Attachment")
SpecialAttachment3.Name = "SpecialAttachment3"
local SpecialAttachment4 = Instance.new("Attachment")
SpecialAttachment4.Name = "SpecialAttachment4"
--SpecialAttachment3.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,-2.32,0)
Aura1:Clone().Parent = RightArm
Aura2:Clone().Parent = RightArm
Aura1:Clone().Parent = LeftArm
Aura2:Clone().Parent = LeftArm
Aura1:Clone().Parent = Torso
Aura2:Clone().Parent = Torso
Aura1:Clone().Parent = LeftLeg
Aura2:Clone().Parent = LeftLeg
Aura1:Clone().Parent = RightLeg
Aura2:Clone().Parent = RightLeg
EyeRedLeft:Clone().Parent = AttachmentLeft
EyeRedRight:Clone().Parent = AttachmentRight
--Making a New Part
local AwakenAura = Instance.new("Part")
AwakenAura.Name = "AwakenAura"
AwakenAura.Parent = HumanoidRootPart
AwakenAura.Size = Vector3.new(1, 0.1, 1)
AwakenAura.Massless = true
AwakenAura.CanCollide = false
AwakenAura:Clone()
local weld = Instance.new("WeldConstraint")
weld.Part0 = HumanoidRootPart
weld.Part1 = AwakenAura
weld.Part1.Anchored = false
AwakenAura.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,-2.32,0)
AwakenAura.Parent = HumanoidRootPart
weld.Parent = HumanoidRootPart -- NEED TO PARENT THE WELD TOO OR ITS GONNA FALL THROUGH THE MAP
SpecialPartAttachment1.Parent = AwakenAura
SpecialPartAttachment2.Parent = AwakenAura
SpecialAttachment3.Parent = AwakenAura
AuraBloom1:Clone().Parent = SpecialPartAttachment1
AuraBloom2:Clone().Parent = SpecialPartAttachment2
ShineRight:Clone().Parent = SpecialAttachment3
Shineleft:Clone().Parent = SpecialAttachment3
Aura1.Color = ColorSequence.new(Color3.new(1, 1, 1))
Aura2.Color = ColorSequence.new(Color3.new(0, 0, 0))
EyeRedLeft.Color = ColorSequence.new(Color3.new(0.709804, 0.698039, 0.290196))
EyeRedRight.Color = ColorSequence.new(Color3.new(0.709804, 0.698039, 0.290196))
AuraBloom1.Color = ColorSequence.new(Color3.new(0.709804, 0.698039, 0.290196))
AuraBloom2.Color = ColorSequence.new(Color3.new(0.709804, 0.698039, 0.290196))
ShineRight.Color = ColorSequence.new(Color3.new(0.941176, 0.941176, 0.941176))
Shineleft.Color = ColorSequence.new(Color3.new(0.941176, 0.941176, 0.941176))
end
function Module.TurnOffAura(player, UserId, Character)
if not Character then return end
local AwakenPart = Character.HumanoidRootPart.AwakenAura
Character.Head.AttachmentLeft:Destroy()
Character.Head.AttachmentRight:Destroy()
for _, Decendant in pairs(Character:GetDescendants()) do
if Decendant.ClassName == "ParticleEmitter" then
Decendant:Destroy()
AwakenPart:Destroy()
end
end
end
return Module