im getting an error
i think the issue may be due to the character, yet I’m unsure as to why I’m unable to call the character.
here is what I’m using in my other script
local module = {}
module.RaceTypes = function(player, race)
local rs = game:GetService("ReplicatedStorage")
if race == Skypeian then
print("module works2")
for i,v in rs.RaceAccessories:GetChildren() do
if v.Name == "Skypeian" then
print("module works")
local wings = v:Clone()
--wings:ScaleTo(player.leaderstats.Scale.Value)
local Weld = Instance.new("WeldConstraint")
local chr = player.character
wings.Position = player.chr.Torso.Position
wings.Orientation = player.chr.Torso.Orientation
wings.Parent = player.chr
Weld.Part0 = player.chr.Torso
Weld.Part1 = wings
end
end
end
end
return module