local Core = Instance.new("Part",workspace)
local OuterCore = Instance.new("Part",workspace)
Core.CanCollide = false
OuterCore.CanCollide = false
Core.Position = Missile.Position
OuterCore = Core.Position
Core.BrickColor = BrickColor.new("New Yeller")
OuterCore.BrickColor = BrickColor.new("Neon orange")
Core.Transparency = 0.3
OuterCore.Transparency = 0.3
Literally no property can be assigned to the part except for parent. The error is "(property) cannot be assigned to".This is inside a module script if that helps. Please help
the problem is in this line:
OuterCore = Core.Position
this line will set the variable OuterCore
to a Vector3
value and BrickColor
is not a valid member of Vector3
resulting into this error: BrickColor cannot be assigned to
.
the way to fix this error is to change that line to the following:
OuterCore.Position = Core.Position