I have the part inserted but I need it to have a value in it when its inserted, this is how it looks: function drop() local p = Instance.new("Part") p.formFactor = "Symmetric" p.Position = script.Parent.Position p.Size = Vector3.new(1,1,1) p.BrickColor = BrickColor.new("White") p.BottomSurface = 0 p.TopSurface = 0 p.Parent = script.Parent local cash = Instance.new("NumberValue",p) cash.Name = "Cash"
while true do wait(1) drop() end end
everything works but the inserting numbervalue to the part how do i do this?